Mark Havekes
22849c0399
fix include in failing test
2019-06-14 09:52:16 +02:00
Mark Havekes
4022337966
Revert "lock jsonapi renderer to < 0.2.1"
...
This reverts commit 58f4f98e41 .
2019-06-13 15:49:55 +02:00
Mark Havekes
cee0ad4494
update changelog
2019-06-13 10:52:44 +02:00
Mark Havekes
58f4f98e41
lock jsonapi renderer to < 0.2.1
2019-06-11 23:23:41 +02:00
Mark Havekes
28a172e66a
return nil if id is nil
2019-06-11 14:42:13 +02:00
Mark Havekes
4b0c230d76
add failing test and suggestion
2019-06-04 10:27:02 +02:00
Wasif Hossain
339f99fccc
Merge pull request #2334 from sikachu/0-10-stable-relax-rails-version
...
Allow AMS to run on Rails < 6.1
2019-06-02 09:32:11 +06:00
Prem Sichanugrist
a829bc05b0
Allow AMS to run on Rails 6.0.x
2019-05-31 14:45:14 +09:00
Wasif Hossain
1ff21bac18
Merge pull request #2321 from iggant/0-10-stable
...
Stick to bundler version < 2
2019-05-02 06:17:21 +06:00
Anton K
4a4a0f263e
Stick to bundle < 2
2019-05-01 22:58:09 +03:00
Wasif Hossain
1ebdda331a
Merge pull request #2328 from rails-api/rails-6-rc
...
Add support for Rails 6.0.0.rc1 on Travis
2019-04-29 20:30:33 +06:00
Wasif Hossain
0f75837f9e
Keep rubygems version < 3.0 until we keep supporting ruby < 2.3
2019-04-29 11:58:08 +06:00
Wasif Hossain
ca43661ac0
Add support for Rails 6.0.0.rc1 on travis
2019-04-29 11:46:20 +06:00
Wasif Hossain
19a6188323
Merge pull request #2304 from greysteil/slim-down-gem
...
Slim down bundled gem by excluding test files and docs
2019-04-23 21:03:52 +06:00
Grey Baker
14113ba85b
Slim down bundled gem by excluding test files and docs
2019-04-23 15:06:40 +01:00
Wasif Hossain
3419a01349
Merge pull request #2223 from rails-api/fields_support_in_all_adapters
...
Fieldset support in Attributes/JSON adapters
2019-04-23 15:55:43 +06:00
Wasif Hossain
c77fddadd4
Mention current rails version for #2327 ruby2.6/rails4.2 monkeypatch
2019-04-23 15:18:18 +06:00
Wasif Hossain
96303af45f
Add changelog entries for this PR and #2327
2019-04-23 15:14:35 +06:00
Wasif Hossain
807e160b9c
Add missing frozen string literal comment
2019-04-23 04:34:09 +06:00
Wasif Hossain
a9cb097109
Refactoring
2019-04-23 04:34:02 +06:00
Benjamin Fleischer
06fcd34807
Follows https://github.com/rails-api/active_model_serializers/pull/2100
2019-04-23 04:33:56 +06:00
Wasif Hossain
7896ad656a
Merge pull request #2327 from rails-api/ruby-2-6-rails-4-2-test-patch
...
Add support for Ruby 2.6, configure sqlite3 to use ~> 1.4 for rails 6+, patch for Rails 4.2 against Ruby 2.6
2019-04-23 02:50:47 +06:00
Wasif Hossain
5d122f2922
Fix rubocop offenses
2019-04-23 02:06:12 +06:00
Wasif Hossain
3715a101c2
Refactor travis.yml
2019-04-23 01:51:28 +06:00
Wasif Hossain
0aa1ed93a4
Configure sqlite3 to use ~> 1.4 for rails 6+
2019-04-22 23:22:28 +06:00
Wasif Hossain
942e10fdb8
Merge pull request #2323 from feliperenan/fix-serializer-link
...
Fix serializer class link on guides
2019-03-21 22:35:39 +06:00
Felipe Renan
12ccb78fdb
Fix serializer class link on guides
...
The link was pointing out to the master branch instead of the
v-10-stable branch.
2019-03-21 11:41:25 -03:00
Wasif Hossain
6fb4f7b111
Merge pull request #2319 from kylekeesling/rails6
...
Fix deprecation warnings on Rails 6
2019-03-14 21:51:04 +06:00
Kyle Keesling
912af7ef91
update test fixture schema to use timestamps instead of timestamp
...
- discovered via @wasifhossain
- Update CHANGELOG.md
2019-03-14 11:00:45 -04:00
Kyle Keesling
6fbeb9a93e
Fix deprecation warnings on Rails 6
...
takes into account suggestions from @bf4
2019-03-13 09:52:54 -04:00
Benjamin Fleischer
bb0f9d088d
Bump version to 0.10.9
2019-02-08 11:25:53 -06:00
cintamani
15b7974fac
Merge pull request #2288 from cintamani/patch-1
...
Change the fetch method to deal with recyclable key cache strategy
2019-02-08 12:14:03 +00:00
cintamani
be7f083d02
Fix sqlite3 version to 1.3.13 as the new 1.4 version released last week is not compatible with the adapters currently in use
2019-02-08 11:17:36 +00:00
cintamani
2cc2a048c6
Update CHANGELOG.md
...
Run tests again
2019-02-08 11:09:05 +00:00
cintamani
26bba194d0
Ensure that CacheVersioning is setted up only in the context of relevant tests
2019-02-05 15:50:43 +00:00
Benjamin Fleischer
6fd5c66837
Update test/cache_test.rb
...
Co-Authored-By: cintamani <cintamani.puddu@gmail.com>
2019-02-05 15:42:21 +00:00
cintamani
7ff2ac64b7
Update test/cache_test.rb
2019-02-01 17:44:09 +00:00
cintamani
f815d3e9f8
Merge pull request #1 from wasifhossain/collection-cache-expiry
...
Test cache expiration in collection on update of a record
2019-02-01 16:05:02 +00:00
Wasif Hossain
3d0b5acc37
Test cache expiration in collection on update of a record
2019-02-01 10:04:49 +06:00
Krzysztof Rybka
209834dc49
Performance and memory usage fixes ( #2309 )
...
* Use select and reject instead of partition.map
* Sort adapters keys in place
* Just select from options
* Add changelog entry
2019-01-29 15:38:11 -06:00
cintamani
141feeb259
Revert "Update caching.rb"
...
This reverts commit f31430a8185533246638a7cfebba325f0ac9b0fa.
2019-01-29 16:00:18 +00:00
cintamani
427dd05a73
Revert "Update caching.rb"
...
This reverts commit c6f34eb9e9df86b568b9463e2ea8c26f0f43a838.
2019-01-29 16:00:18 +00:00
cintamani
192c86ab2a
Update test/cache_test.rb
2019-01-29 16:00:18 +00:00
cintamani
7dbb583873
Update cache_test.rb
...
Re-run tests on appveyor. Based on https://github.com/rails-api/active_model_serializers/pull/1168/files looks like there are some config issue in that environment causing this.
2019-01-29 16:00:18 +00:00
cintamani
bd53d9b213
Update caching.rb
2019-01-29 16:00:18 +00:00
cintamani
b0039e3758
Update caching.rb
2019-01-29 16:00:18 +00:00
cintamani
70604bbae7
Only set cache_versioning to true on rails versions when relevant
2019-01-29 16:00:18 +00:00
cintamani
7f751fc1f7
Add test coverage and changelog
2019-01-29 16:00:18 +00:00
cintamani
be5fbf3d54
Use #cache_key_with_key when available
...
In order to keep compatibility between the AMS cache feature and with Rails > 5.1 cache versioning, we have to use the `cache_key_with_version`.
**NOTE** - This is a quick fix to the issue, if there will be future plans a proper cache versioning with recyclable key needs to be implemented.
More info: https://github.com/rails-api/active_model_serializers/issues/2287
2019-01-29 16:00:18 +00:00
Benjamin Fleischer
22f2cb76dd
Merge pull request #2310 from krzysiek1507/fix/bundler-on-travis
...
Install bundler ~> 1.17 on Travis
2019-01-29 09:48:19 -06:00