Santiago Pastorino
|
7dcef9f0f5
|
Rename Settings to Config and use accessors to configure things
|
2013-10-21 16:23:35 -02:00 |
|
Santiago Pastorino
|
5b727cc291
|
Merge pull request #410 from arthurnn/settings_warn
Deprecate embed method on Serializer class
|
2013-10-21 11:05:51 -07:00 |
|
Arthur Neves
|
84801301b9
|
Add deprecation message to .embed method
|
2013-10-21 13:08:07 -04:00 |
|
Arthur Neves
|
41f1855056
|
Add accessors to settings class
|
2013-10-21 13:05:39 -04:00 |
|
Santiago Pastorino
|
e1d9df2e8b
|
Merge pull request #409 from arthurnn/travis_ci
Allow failures on .edge, till we fix rails
|
2013-10-19 15:02:18 -07:00 |
|
Arthur Neves
|
88df4f6a7c
|
Allow failures on .edge, till we fix rails
|
2013-10-19 16:59:20 -04:00 |
|
Santiago Pastorino
|
c65d387705
|
Merge branch 'rewrite'
|
2013-10-18 17:52:36 -02:00 |
|
Santiago Pastorino
|
5ae47f7859
|
Add missing entries to CHANGELOG.md
|
2013-10-18 17:49:22 -02:00 |
|
Santiago Pastorino
|
c51fbcafb4
|
Use minitest 4.0 in Rails 3.2
|
2013-10-18 17:49:22 -02:00 |
|
Arthur Neves
|
3032bd7086
|
Add minitest to rails3
Also add rails3 gemfile to travis
And remote .15 from rails verison
|
2013-10-18 17:49:22 -02:00 |
|
Arthur Neves
|
f6d5340f89
|
Require minitest instead of test/unit
|
2013-10-18 17:49:22 -02:00 |
|
Arthur Neves
|
3c2af149d3
|
Ignore all .lock files
|
2013-10-18 17:49:22 -02:00 |
|
Arthur Neves
|
21bf1889be
|
Add rails3 Gemfile
Also point the main Gemfile to rails4
|
2013-10-18 17:49:22 -02:00 |
|
Arthur Neves
|
cf8b55ea01
|
Setting join_table on AR tests
|
2013-10-18 17:49:22 -02:00 |
|
Santiago Pastorino
|
4ab16381bd
|
Bump version to 0.9.0.pre
|
2013-10-18 17:49:22 -02:00 |
|
Santiago Pastorino
|
477a0ae1d2
|
Add back README.md file
|
2013-10-18 17:49:22 -02:00 |
|
Santiago Pastorino
|
0155f41003
|
AMS requires Ruby 1.9.3+ and Rails 3.2+
|
2013-10-18 17:49:21 -02:00 |
|
Santiago Pastorino
|
7d7bc75290
|
Add .travis.yml file
|
2013-10-18 17:49:21 -02:00 |
|
Santiago Pastorino
|
ae879d21ac
|
Add Gemfile.edge
|
2013-10-18 17:49:21 -02:00 |
|
Santiago Pastorino
|
b81deac320
|
Add coverage tools
|
2013-10-18 17:49:21 -02:00 |
|
Santiago Pastorino
|
1817398b57
|
Add back DESIGN.textile file
|
2013-10-18 17:49:21 -02:00 |
|
Santiago Pastorino
|
c941952eb2
|
Add back CONTRIBUTING.md file
|
2013-10-18 17:49:21 -02:00 |
|
Santiago Pastorino
|
bd9d322d17
|
Leave only MIT-LICENSE file
|
2013-10-18 17:49:21 -02:00 |
|
Santiago Pastorino
|
82a4f25002
|
Add CHANGELOG entries
|
2013-10-18 17:49:21 -02:00 |
|
Santiago Pastorino
|
73774649e3
|
Implement Generators
|
2013-10-18 17:49:21 -02:00 |
|
Santiago Pastorino
|
91f9317713
|
There's no need to define read_attribute_for_serialization in the Serializer class
|
2013-10-18 17:49:21 -02:00 |
|
Santiago Pastorino
|
b9a6dfac2f
|
Do not call send on associated objects, do it through elem.read_attribute_for_serialization
|
2013-10-18 17:49:21 -02:00 |
|
Santiago Pastorino
|
94a83c1cc0
|
Make relationship graph of AR integration tests bigger
|
2013-10-18 17:49:21 -02:00 |
|
Santiago Pastorino
|
4b91d0e5ec
|
embed :objects is the default
A commit with an integration test that covers this functionality is
coming after this one
|
2013-10-18 17:49:20 -02:00 |
|
Santiago Pastorino
|
4f70dc2091
|
has_one serialized objects shouldn't be wrapped in an array and it's key is singular
|
2013-10-18 17:49:20 -02:00 |
|
Santiago Pastorino
|
23e6ed32be
|
Add default_serializer_options test
|
2013-10-18 17:49:20 -02:00 |
|
Santiago Pastorino
|
dbf512c14c
|
Make embed nil ids work
|
2013-10-18 17:49:20 -02:00 |
|
Santiago Pastorino
|
cad8fafa60
|
Optimize serializer_for for Ruby >= 2.0
|
2013-10-18 17:49:20 -02:00 |
|
Santiago Pastorino
|
841f3b8181
|
Add filter to allow users implement filter method to include/exclude attributes and relations
|
2013-10-18 17:49:20 -02:00 |
|
Santiago Pastorino
|
f6ea07dd22
|
Do not convert attrs to String until needed
|
2013-10-18 17:49:20 -02:00 |
|
Santiago Pastorino
|
daa9304398
|
Do not convert root and meta_key to Strings
|
2013-10-18 17:49:20 -02:00 |
|
Santiago Pastorino
|
75e9a2599d
|
Store attributes as they are instead of converting them into Strings
|
2013-10-18 17:49:20 -02:00 |
|
Santiago Pastorino
|
10e882a14f
|
Allow to set embed options from AM::Serializer
|
2013-10-18 17:49:20 -02:00 |
|
Santiago Pastorino
|
aa23e811cc
|
Use controller name as root when serializing an array and not root is defined
|
2013-10-18 17:49:20 -02:00 |
|
Santiago Pastorino
|
86b9d5a226
|
Avoid work inside serializable_array
|
2013-10-18 17:49:20 -02:00 |
|
Santiago Pastorino
|
8006529e20
|
Allow ArraySerializer to pass the options down to item serializers
|
2013-10-18 17:49:19 -02:00 |
|
Santiago Pastorino
|
6f3503c965
|
Use serializer name as root when root not set
|
2013-10-18 17:49:19 -02:00 |
|
Santiago Pastorino
|
626a85bc3e
|
Allow using root = false in initialize
|
2013-10-18 17:49:19 -02:00 |
|
Santiago Pastorino
|
8462a73f3a
|
Make render json work when not using AMS
|
2013-10-18 17:49:19 -02:00 |
|
Santiago Pastorino
|
7405baafd7
|
Serialize associations that doesn't have an associated serializer
|
2013-10-18 17:49:19 -02:00 |
|
Santiago Pastorino
|
513e7f2166
|
Add setup method and Setting object to configure AMS
|
2013-10-18 17:49:19 -02:00 |
|
Santiago Pastorino
|
29148cbe1c
|
Add AC::Serialization#serialization_scope as a class level method
|
2013-10-18 17:49:19 -02:00 |
|
Santiago Pastorino
|
0e0341effc
|
Implement embed in root
|
2013-10-18 17:49:19 -02:00 |
|
Santiago Pastorino
|
af34adc7b5
|
Move key's initialization code to initializers
|
2013-10-18 17:49:19 -02:00 |
|
Santiago Pastorino
|
280fd65db8
|
Allow to set key for associations through options
|
2013-10-18 17:49:19 -02:00 |
|