Guillermo Iguaran
|
5f198667be
|
Fix support for custom root in JSON-API adapter
|
2014-10-22 04:01:12 -03:00 |
|
Guillermo Iguaran
|
7c030314cb
|
Serialize ids as strings in JSON-API adapter
|
2014-10-15 18:56:49 -05:00 |
|
Guillermo Iguaran
|
557b56a50e
|
Refactor adapters to implement support for array serialization
|
2014-10-15 17:35:50 -05:00 |
|
Guillermo Iguaran
|
3fa1116035
|
Include root by default in JSON-API serializers
|
2014-10-14 11:33:06 -05:00 |
|
Steve Klabnik
|
410eacc30e
|
Merge pull request #677 from ride/embed-ids-option
Add support for embed: :ids option for in associations
|
2014-10-14 11:39:09 -04:00 |
|
NullVoxPopuli
|
7338b62b02
|
add support for root keys
remove debugging gem
fix white space
|
2014-10-13 13:27:09 -04:00 |
|
Guillermo Iguaran
|
188336522f
|
Add support for embed: :ids option for in associations
|
2014-10-10 16:48:55 -05:00 |
|
Tema Bolshakov and Dmitry Myaskovskiy
|
71a43a432a
|
Pass options to associations
|
2014-08-29 20:16:11 +04:00 |
|
Tema Bolshakov and Dmitry Myaskovskiy
|
ff37b6260d
|
test for json adapter
|
2014-08-29 19:40:01 +04:00 |
|
Tema Bolshakov
|
e45e5a82b7
|
Remove 'Adapter' suffix from adapters since they are in Adapter:: namespace
|
2014-08-29 11:40:56 +04:00 |
|
Tema Bolshakov
|
6bb4501f67
|
JsonApi adapter: serialize association
|
2014-08-29 11:37:27 +04:00 |
|
Tema Bolshakov
|
6496b08464
|
rename simple adapter to json
|
2014-08-29 11:01:39 +04:00 |
|
Tema Bolshakov
|
85ff8123fd
|
Include Enumerable to ArraySerializer
|
2014-08-28 23:03:28 +04:00 |
|
Tema Bolshakov
|
c1fdfc1cdc
|
First try to implement ArraySerializer
|
2014-08-28 19:16:24 +04:00 |
|
Tema Bolshakov
|
597765e3b0
|
start implementing json_api adapter to understand how associations should work
|
2014-08-28 18:55:27 +04:00 |
|
Tema Bolshakov
|
a6f9dae560
|
Concrete adapter should provide serializable hash for Adapter#to_json method
|
2014-08-27 09:33:14 +04:00 |
|
Tema Bolshakov
|
7b7d4d8907
|
Test for SimpleAdapter#serializable_hash
|
2014-08-27 09:15:07 +04:00 |
|
Tema Bolshakov
|
553c470e10
|
Serializer should be available wiithing adapter to inspect attributes and assotions
|
2014-08-27 09:09:01 +04:00 |
|
Tema Bolshakov
|
56725b45a6
|
Add NullAdapater
|
2014-08-27 08:41:45 +04:00 |
|
Tema Bolshakov
|
f00fe5595d
|
* Rename NullAdapter to SimpleAdapter
* Introduce abstract Adapter class
* Organaze test structure to match convemtions
|
2014-08-27 08:21:08 +04:00 |
|
Steve Klabnik
|
886ada9151
|
don't hold on to serializer
this is an optimization for now, this may have to change later.
|
2014-07-09 23:05:41 -04:00 |
|
Steve Klabnik
|
970b542549
|
Implement basic rendering
Woo actioncontroller
|
2014-07-09 17:52:31 -04:00 |
|
Steve Klabnik
|
1ea83c8bee
|
Implement a NullAdapter.
This adapter basically doesn't do anything, and just serializes
the attributes into plain old JSON.
|
2014-07-09 16:51:30 -04:00 |
|