Eric Guo
|
70702f0af3
|
Add windows platform to loading sqlite3 to make testing suite pass, which caused by #1105
|
2015-09-07 14:19:57 +08:00 |
|
João Moura
|
8e084377d8
|
Adding code climate badges
|
2015-09-06 18:33:13 -03:00 |
|
João Moura
|
83975fc5be
|
Updating appveyor badge
|
2015-09-06 18:03:03 -03:00 |
|
João Moura
|
6799453f09
|
Merge pull request #1069 from bf4/coverage
Add test coverage; account for no artifacts on CI
|
2015-09-06 17:58:54 -03:00 |
|
João Moura
|
2375420809
|
Merge pull request #1103 from beauby/fix-jsonapi-ri
Move `id` and `json_api_type` methods from `Serializer` to `JsonApi`.
|
2015-09-06 17:55:45 -03:00 |
|
Lucas Hosseini
|
f27f13ccc1
|
Fix style.
|
2015-09-06 19:29:51 +02:00 |
|
Lucas Hosseini
|
070a2e63bd
|
Merge remote-tracking branch 'upstream/master' into fix-jsonapi-ri
|
2015-09-06 17:21:43 +02:00 |
|
Benjamin Fleischer
|
c401722c10
|
Add codeclimate test reporter (CI only)
requires repo admin to add
CODECLIMATE_REPO_TOKEN
to the CI env
|
2015-09-06 09:19:07 -05:00 |
|
Benjamin Fleischer
|
94469be1ca
|
Add test coverage; account for no artifacts on CI
Drop coverage a bit for JRuby and Rubinius because they
don't generate the same Coverage as CRuby
|
2015-09-06 09:19:07 -05:00 |
|
João Moura
|
f2279946b6
|
Merge pull request #1106 from bf4/style_checking
Add Style enforcer (via Rubocop)
|
2015-09-05 15:54:35 -03:00 |
|
Benjamin Fleischer
|
c39c20d4a4
|
Add no-op rubocop for rbx
|
2015-09-04 02:32:16 -05:00 |
|
Benjamin Fleischer
|
1d15de4f8f
|
Skip checking style in tmp
|
2015-09-03 22:56:04 -05:00 |
|
Benjamin Fleischer
|
8e8f6aba7e
|
Remove space in {}
|
2015-09-03 20:55:40 -05:00 |
|
Benjamin Fleischer
|
228cc1c92a
|
Rubocop: Consistent spacing
|
2015-09-03 20:51:40 -05:00 |
|
Benjamin Fleischer
|
bdfe13c527
|
Style/StringLiterals single quote all the things
|
2015-09-03 20:50:45 -05:00 |
|
Benjamin Fleischer
|
09c97de90d
|
Add Style enforcer (via Rubocop)
It will fail the build, but as it is currently,
most of the cops are 'todos'. Great for new contributors.. :)
|
2015-09-03 20:50:45 -05:00 |
|
João Moura
|
6784866a2d
|
Merge pull request #1079 from bf4/all_serializer_have_object
Add ArraySerializer#object like Serializer
|
2015-09-03 01:43:14 -03:00 |
|
Lucas Hosseini
|
3793f3ff4b
|
Rename resource_objects_for to primary_data_for.
|
2015-09-02 19:27:40 +02:00 |
|
Lucas Hosseini
|
f8c553a0ed
|
Cleanup.
|
2015-09-02 15:58:31 +02:00 |
|
Lucas Hosseini
|
a8a0566d29
|
Refactor relationships_for.
|
2015-09-01 21:16:00 +02:00 |
|
Lucas Hosseini
|
c593adbcb2
|
Further cleanup add_included.
|
2015-09-01 20:46:18 +02:00 |
|
Lucas Hosseini
|
bae4951e05
|
Further cleanup included_for.
|
2015-09-01 20:30:38 +02:00 |
|
Lucas Hosseini
|
91c5cbe0b9
|
Cleanup add_included.
|
2015-09-01 17:57:30 +02:00 |
|
Lucas Hosseini
|
f7612f2542
|
Further refactor/streamline method names.
|
2015-09-01 16:52:43 +02:00 |
|
Lucas Hosseini
|
04012052a6
|
Fix 'id' -> :id.
|
2015-09-01 15:39:29 +02:00 |
|
João Moura
|
e0b74d8731
|
Merge pull request #1096 from beauby/fix-attribute
Fix definition of serializer attributes with multiple calls to `attri…
|
2015-09-01 09:42:59 -03:00 |
|
Lucas Hosseini
|
c4faafdebc
|
Refactor resource_identifier.
|
2015-09-01 10:15:50 +02:00 |
|
Lucas Hosseini
|
d9c680599a
|
Refactor.
|
2015-09-01 01:41:29 +02:00 |
|
João Moura
|
8d3a89e106
|
Merge pull request #1105 from beauby/add-activerecord-fixtures
Add ActiveRecord-backed fixtures.
|
2015-08-31 02:37:57 -03:00 |
|
João Moura
|
5f03454037
|
Merge pull request #1108 from bf4/better_lint
Better lint
|
2015-08-31 02:36:35 -03:00 |
|
Benjamin Fleischer
|
9673b6471c
|
Better lint
Extracted from
https://github.com/rails-api/active_model_serializers/pull/1004/files#diff-56455571c4ba7a2b4c640b9e8168f522R40
Correct cache_key lint for ActiveRecord 4.1+
https://github.com/rails/rails/blob/4-0-stable/activerecord/lib/active_record/integration.rb
def cache_key
https://github.com/rails/rails/blob/4-1-stable/activerecord/lib/active_record/integration.rb
def cache_key(*timestamp_names)
|
2015-08-31 00:22:17 -05:00 |
|
João Moura
|
b20f1f5f9d
|
Merge pull request #1102 from beauby/remove-embed
Remove remains of `embed` option.
|
2015-08-31 01:33:30 -03:00 |
|
Lucas Hosseini
|
343f8b96bd
|
Fix bug preventing id overriding.
|
2015-08-31 06:25:20 +02:00 |
|
Lucas Hosseini
|
83f11acd66
|
Add Gemfile dependencies to ActiveRecord and sqlite3.
|
2015-08-31 06:19:16 +02:00 |
|
Lucas Hosseini
|
b175b04408
|
Merge remote-tracking branch 'upstream/master' into add-activerecord-fixtures
|
2015-08-31 05:40:02 +02:00 |
|
João Moura
|
9ff35dabda
|
Merge pull request #1090 from bf4/clarify_ams_dependencies
Clarify AMS dependencies
|
2015-08-31 00:39:24 -03:00 |
|
Benjamin Fleischer
|
e3d3d92201
|
Clarify AMS dependencies
|
2015-08-30 22:26:25 -05:00 |
|
Lucas Hosseini
|
d0d00d02a0
|
Add ActiveRecord-backed fixtures.
|
2015-08-31 05:11:32 +02:00 |
|
Lucas Hosseini
|
f95f7369f0
|
Refactor add_resource_relationship.
|
2015-08-31 03:24:03 +02:00 |
|
Lucas Hosseini
|
8482abfac7
|
Move id and json_api_type methods from Serializer to JsonApi.
|
2015-08-31 02:32:38 +02:00 |
|
Lucas Hosseini
|
c5446d759f
|
Remove traces of embed option.
|
2015-08-31 01:26:22 +02:00 |
|
Lucas Hosseini
|
995bbcc18d
|
Fix definition of serializer attributes with multiple calls to attribute instead of one single call to attributes.
|
2015-08-28 21:06:10 +02:00 |
|
João Moura
|
64168cbecd
|
Merge pull request #1081 from beauby/jsonapi-singular-plural-config
Add configuration option to set resource type to singular/plural
|
2015-08-28 07:47:55 -03:00 |
|
João Moura
|
39d6dab218
|
Merge pull request #1067 from bf4/fix_warnings
Fix warnings
|
2015-08-26 16:52:44 -03:00 |
|
Benjamin Fleischer
|
d315151e8a
|
Fix warnings
JRuby-specific: fix 'warning: (...) interpreted as grouped expression'
|
2015-08-26 09:22:02 -05:00 |
|
Benjamin Fleischer
|
9aad8b4d29
|
Cleanup CaptureWarnings after_run
|
2015-08-26 09:19:36 -05:00 |
|
Benjamin Fleischer
|
a8e9bb1c14
|
Remove uniq on warnings that confused output
|
2015-08-26 09:19:36 -05:00 |
|
Benjamin Fleischer
|
530a1bdfd7
|
Compartmentalize test helper support
|
2015-08-26 09:19:36 -05:00 |
|
João M. D. Moura
|
49ea8bde86
|
TYPO on README
|
2015-08-26 04:49:27 -03:00 |
|
João Moura
|
af280abbb7
|
Merge pull request #1066 from rails-api/appveyor
Adding appveyor to the project
|
2015-08-26 04:46:16 -03:00 |
|