Commit Graph

798 Commits

Author SHA1 Message Date
Matjaz Muhic
d9ff6db36d Adds an example for using ArraySerializer under Render independently. 2014-03-06 19:53:24 +01:00
Arthur Nogueira Neves
97f7914107 Merge pull request #522 from teeparham/rubinius_2
Update Rubinius Gemfiles, Travis
2014-02-28 17:17:40 -05:00
Tee Parham
c19fcd5afe Update Rubinius Gemfiles, Travis
Simplify the Gemfile setup for Travis by requiring version 2.2.5.

This commit updates the Travis version of Rubinius to 2.2.5+, which
includes the ruby standard library. Thus platform-specific Gemfile
configuration is no longer needed for Rubinius.

Also, Rubinius 2.2.5 does not work with sqilte3 1.3.9, so require
sqlite3 version 1.3.8 until it does.

💻 To run the tests locally, you will need to use Rubinius
2.2.5.
2014-02-28 10:49:33 -07:00
Arthur Neves
61882e1e41 Allow to fail on ruby-head 2014-02-20 16:25:01 -05:00
Eric Bouchut
0465bc2b8e Fix a typo. 2014-02-20 14:22:38 +01:00
Eric Bouchut
4eee8eed50 Fix a typo. 2014-02-20 12:56:36 +01:00
Santiago Pastorino
2792210a88 Merge pull request #494 from billychan/add-doc-independent-usage
add doc for use serailizer independently
2014-02-04 12:37:03 -08:00
Santiago Pastorino
d985e6424c Merge pull request #462 from fab/master
Generator now properly detects ApplicationSerializer
2014-02-04 10:05:03 -08:00
Fab Mackojc
74d3398016 Update docs to explain ApplicationSerializer feature 2014-02-01 21:37:22 +11:00
Fab Mackojc
a49e04a6f2 Generator now properly detects ApplicationSerializer 2014-02-01 21:37:13 +11:00
Billy
b4cd4cd5ba add doc for use serailizer independently 2014-01-23 11:46:07 +08:00
Shakir Shakiel
9ae5142775 fixing sideloading of nested associations 2014-01-22 00:07:28 +05:30
Santiago Pastorino
9436d73b92 Travis now installs Bundler 1.5.1 2014-01-12 11:33:04 -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