Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/adapter #612

Merged
merged 27 commits into from
Aug 31, 2014
Merged
Changes from 1 commit
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
f00fe55
* Rename NullAdapter to SimpleAdapter
Aug 27, 2014
56725b4
Add NullAdapater
Aug 27, 2014
6cc4fa0
* Configure adapter using ActiveModel::Serializer.config.adapter
Aug 27, 2014
553c470
Serializer should be available wiithing adapter to inspect attributes…
Aug 27, 2014
7b7d4d8
Test for SimpleAdapter#serializable_hash
Aug 27, 2014
2c7906e
Test for NullAdapter#serializable_hash
Aug 27, 2014
a6f9dae
Concrete adapter should provide serializable hash for Adapter#to_json…
Aug 27, 2014
b1f7a5c
Move Adapter.adapter_for to Serializer.adapter
Aug 27, 2014
fa4ee9d
Add Serializer#associations
Aug 27, 2014
466c7d5
Wrap association into Serializers
Aug 28, 2014
597765e
start implementing json_api adapter to understand how associations sh…
Aug 28, 2014
1b718b6
fix spelling
Aug 28, 2014
c1fdfc1
First try to implement ArraySerializer
Aug 28, 2014
85b4b85
Remove 1.9.3 from CI build as we dropped support
Aug 28, 2014
85ff812
Include Enumerable to ArraySerializer
Aug 28, 2014
3dd4928
* Do not ingerit array serializer from Serializer
Aug 29, 2014
6496b08
rename simple adapter to json
Aug 29, 2014
6bb4501
JsonApi adapter: serialize association
Aug 29, 2014
e45e5a8
Remove 'Adapter' suffix from adapters since they are in Adapter:: nam…
Aug 29, 2014
b4a313e
Merge remote-tracking branch 'upstream/master' into feature/adapter
Aug 29, 2014
1396093
Object.const_get differs on 2.0 and 2.1.2. So rescue from NameError
Aug 29, 2014
77847d7
User String#constantize instead of Object.const_get
Aug 29, 2014
7293072
Revert "Remove 1.9.3 from CI build as we dropped support"
Aug 29, 2014
ff37b62
test for json adapter
Aug 29, 2014
45a47a1
safe_constantize instead of rescue
Aug 29, 2014
258b595
clean up code
Aug 29, 2014
71a43a4
Pass options to associations
Aug 29, 2014
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Revert "Remove 1.9.3 from CI build as we dropped support"
This reverts commit 85b4b85.
  • Loading branch information
Tema Bolshakov committed Aug 29, 2014
commit 7293072670ced148b4609fa679e93bd3020835cb
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
language: ruby
rvm:
- 1.9.3
- 2.0.0
- 2.1.1
- jruby-19mode
Expand Down