Tema Bolshakov
|
553c470e10
|
Serializer should be available wiithing adapter to inspect attributes and assotions
|
2014-08-27 09:09:01 +04:00 |
|
Tema Bolshakov
|
6cc4fa0258
|
* Configure adapter using ActiveModel::Serializer.config.adapter
* Get adapter instance using ActiveModel::Serializer::Adapter.adapter_for(serializer)
|
2014-08-27 09:05:28 +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 |
|
Tema Bolshakov
|
a54813806d
|
Tests for ActiveModel::Serializer.serializer_for for not array serializer
|
2014-08-26 13:27:46 +04:00 |
|
Tema Bolshakov
|
d39a3e0aec
|
serializer_for Array
|
2014-08-26 12:50:47 +04:00 |
|
Jordan Faust
|
00f7cab864
|
Add DSL for assocations
|
2014-08-23 15:20:48 -05: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 |
|
Steve Klabnik
|
c6eea916ad
|
Move serializer tests into their own directory.
It'd be nice to keep some hygene here.
|
2014-07-09 16:19:02 -04:00 |
|
Steve Klabnik
|
729a823868
|
Getting started: attributes.
Super super basic collection of attributes. Nothing fancy.
|
2014-07-09 16:16:39 -04:00 |
|
Steve Klabnik
|
4fc0f679df
|
Add generators.
This seemed like the easiest place to start.
|
2014-07-05 12:35:29 -04:00 |
|
Steve Klabnik
|
a5107b32e2
|
Set up the test helper and Gemfile.
Now Travis will build across all the Rails-es.
|
2014-07-05 12:03:48 -04:00 |
|
Steve Klabnik
|
99e3d0f70b
|
Set up minitest
|
2014-07-05 11:55:45 -04:00 |
|