Commit Graph

745 Commits

Author SHA1 Message Date
Adrian Mugnolo and Santiago Pastorino
ca1e1b4b55 Extract Association login into AssociationConfiguration 2014-01-17 13:15:40 -02:00
Santiago Pastorino
203887e613 Move include stuff close to the deprecation warn for easier removal in future 2014-01-17 12:15:57 -02:00
Santiago Pastorino
ada072f316 Avoid Configuration inheritance 2014-01-17 12:15:51 -02:00
Adrian Mugnolo and Santiago Pastorino
1a26a089d5 Split Configuration object 2014-01-16 13:38:50 -02:00
Adrian Mugnolo and Santiago Pastorino
1e5ea0b356 Move options to configuration 2014-01-13 16:48:42 -02:00
Adrian Mugnolo and Santiago Pastorino
3db2fcec6c Make embed use serializer configuration 2014-01-13 14:26:56 -02:00
Adrian Mugnolo and Santiago Pastorino
32318f9daf Move ActiveModel::Serializer.embed to DSL 2014-01-13 14:15:08 -02:00
Adrian Mugnolo and Santiago Pastorino
832a269e98 Remove ActiveModel::Serializer.setup 2014-01-13 14:10:37 -02:00
Adrian Mugnolo and Santiago Pastorino
0ba4830dee New take on configuration 2014-01-10 19:39:46 -02:00
Adrian Mugnolo and Santiago Pastorino
cf91146471 Extract DSL to a class 2014-01-10 19:39:46 -02:00
Santiago Pastorino
1c440b513f Depend on the released activerecord-jdbcsqlite3-adapter
create_table_definition changed from 3 to 4 parameters was fixed and
was included in 1.3.5
2014-01-10 12:57:21 -02:00
Santiago Pastorino
1ec499bd64 Use Minitest::Test instead of ActiveModel::TestCase 2014-01-09 21:52:10 -02:00
Adrian Mugnolo and Santiago Pastorino
cec7980208 Don't embed empty associations in root 2014-01-09 15:45:20 -02:00
Santiago Pastorino
3e510c829b Don't concat to nil objects 2014-01-09 15:35:29 -02:00
Jorge Bejar
df481b2b35 Don't memoize association serializer 2014-01-09 15:30:51 -02:00
Santiago Pastorino
3329a43d02 Merge pull request #487 from jlecour/patch-1
README : Mention the `options` and `UrlHelpers` issue
2014-01-09 06:27:05 -08:00
Jérémy Lecour
e1f84c26ee Mention the options and UrlHelpers issue 2014-01-09 15:23:09 +01:00
Santiago Pastorino
36b917ef23 Add license to gemspec 2014-01-07 15:31:52 -02:00
Santiago Pastorino
de78df509a Version = 0.9.0.alpha1 2014-01-07 15:28:23 -02:00
Santiago Pastorino
ed9a5288f9 Revert "Merge branch 'context'"
This reverts commit 1bd8180a94, reversing
changes made to 9bb32331f4.
2014-01-07 15:02:09 -02:00
Santiago Pastorino
1bd8180a94 Merge branch 'context' 2014-01-06 15:51:05 -02:00
Adrian Mugnolo and Santiago Pastorino
dc32b5fc1b Extract context build to a method 2014-01-06 15:50:53 -02:00
Adrian Mugnolo and Santiago Pastorino
0d8ef2b165 Nest scope under context option 2014-01-06 15:50:30 -02:00
Santiago Pastorino
8bd2542ed2 Allow to pass context around serializers 2014-01-06 12:22:16 -02:00
Santiago Pastorino
9bb32331f4 Force install Bundler 1.5.1 as a workaround of http://changelog.travis-ci.com/post/71633370723/mri-ruby-2-1-0-and-jruby-1-7-9-available 2014-01-03 20:32:05 -02:00
Santiago Pastorino
78245b07bc Move the default value to the options param 2014-01-03 20:02:43 -02:00
Santiago Pastorino
5fa4002039 Allow only to pass scope to associations
Closes #483
2014-01-03 19:48:01 -02:00
Santiago Pastorino
60fc55021c Revert "Allow to pass options to associations"
This reverts commit c8cfe94f29.
2014-01-03 19:44:40 -02:00
Santiago Pastorino
c8cfe94f29 Allow to pass options to associations
Closes #331
2014-01-02 19:56:08 -02:00
Santiago Pastorino
67c550f2ee Serialize embedding in root deeply nested associations
Closes #444
2014-01-02 18:34:11 -02:00
Adrian Mugnolo
3cbcf461a3 Set up a logger on tests 2013-12-30 14:14:08 -02:00
Santiago Pastorino and Adrian Mugnolo
8fa252b4fd Make sure generator hooks get run
Use Rails::Engine#load_generators instead of require +
Rails::Generators::configure!.
2013-12-30 12:03:51 -02:00
Santiago Pastorino and Adrian Mugnolo
8f03596d7b Use railtie + initialize on tests
Use Rails::Application#initialize! instead of Rails::Engine#load_generators in
integration tests.
2013-12-30 12:03:45 -02:00
Adrian Mugnolo
5e77e7fcd0 Add test:isolated task 2013-12-30 11:09:30 -02:00
Adrian Mugnolo
771b70aa84 No need to add lib to tests 2013-12-30 11:07:29 -02:00
Adrian Mugnolo
1c9ab8fd24 Drop reference to self 2013-12-30 10:57:39 -02:00
Adrian Mugnolo
80ff5ebc5a Use 1.9 hash syntax 2013-12-30 10:57:39 -02:00
Santiago Pastorino
e6bb000419 Merge pull request #476 from sherwinyu/master
Update README documentation on Serializer#filter
2013-12-27 10:55:42 -08:00
Santiago Pastorino
99fa399ae6 Depend on activerecord-jdbc-adapter for jruby edge tests
When this
358505dbdd
commit is released we can depend again on the released gem
2013-12-27 12:17:39 -02:00
Sherwin Yu
18336d7699 Update README.md explaining that Serializer#filter needs to return an array 2013-12-26 18:01:27 -05:00
Santiago Pastorino
7c68ee4b3f Remove unneeded require 2013-12-26 19:47:52 -02:00
Santiago Pastorino
171a520106 Disallow failures on rbx 2013-12-26 18:03:27 -02:00
Santiago Pastorino
9327afb0fc Move rubysl-test-unit to the right place and add json to the rest of the Gemfiles 2013-12-26 18:00:37 -02:00
Santiago Pastorino
1589a35ff8 Add rubysl-test-unit to the rbx section of the Gemfile 2013-12-26 17:55:37 -02:00
Santiago Pastorino
2375154a6d Add json dep in the rbx section of the Gemfile 2013-12-26 17:25:32 -02:00
Santiago Pastorino
f18594a980 Add missing json require 2013-12-26 17:16:48 -02:00
Santiago Pastorino
0ca9e18219 Use 2.1.0 in Travis 2013-12-26 13:09:49 -02:00
Santiago Pastorino
19bdc52a43 Make Travis test with 2.1.0-rc1 2013-12-21 16:00:04 -02:00
Santiago Pastorino
d04cbb3806 Add dependencies needed to run Rubinius tests 2013-12-19 15:59:43 -02:00
Santiago Pastorino
428f3ba3bf Move edge out from allow_failures on Travis 2013-12-18 13:35:27 -02:00