Gauthier Delacroix
|
efa22d9d44
|
Add plural_default_root config option
|
2014-09-12 18:56:51 +02:00 |
|
Steve Klabnik
|
922dd273c9
|
Merge pull request #620 from tristandunn/td-notifications
Avoid overwriting notifications for template assertions.
|
2014-08-31 20:02:08 -04:00 |
|
Steve Klabnik
|
d40f0d67b9
|
Merge pull request #617 from konukhov/namespaced_serializers-0-9
Namespaced serializers #499
|
2014-08-31 20:00:47 -04:00 |
|
Steve Klabnik
|
f7f5e29358
|
Merge pull request #601 from radanskoric/fix-nested-embed-in-root
Fix for nested embed_in_root when serializer used as part of an association
|
2014-08-31 19:57:27 -04:00 |
|
Tristan Dunn
|
610aeb2e92
|
Avoid overwriting notifications for template assertions.
|
2014-08-29 08:18:44 -05:00 |
|
Theodore Konukhov
|
493041fdff
|
sync with upstream
|
2014-08-29 06:28:13 +02:00 |
|
Theodore Konukhov
|
b297f17e53
|
test for namespaced associations + bug fixed
|
2014-08-29 06:11:40 +02:00 |
|
Theodore Konukhov
|
dde1492934
|
tests for namespaced controlleler
|
2014-08-26 18:07:31 +02:00 |
|
Pol Miro
|
bb18fc6225
|
Add tests for has_one polymorphic
|
2014-08-25 23:32:09 -07:00 |
|
Pol Miro
|
63589f7500
|
Add tests for has_many polymorphic
|
2014-08-25 23:32:09 -07:00 |
|
Radan Skoric
|
ddfd8d2c11
|
embed_in_root works even if serializer is invoked through another serializers' association which itself does not have embed_in_root set
|
2014-08-23 18:21:24 +02:00 |
|
Steve Klabnik
|
ae7959b76e
|
Merge pull request #512 from TimPetricola/fix-options-access
Custom options are accessible in serializer
|
2014-08-22 16:15:41 -04:00 |
|
Steve Klabnik
|
74625f778b
|
Merge pull request #594 from bolshakov/feature/custom_array_serializer
Support custom array serializer
|
2014-08-22 15:28:26 -04:00 |
|
Steve Klabnik
|
e9378cc9ab
|
Merge pull request #595 from bolshakov/feature/array_serializer_options
Array serializer pass except and only options to item serializers
|
2014-08-22 15:26:17 -04:00 |
|
Steve Klabnik
|
92f1db0137
|
Merge pull request #596 from bolshakov/feature/instumentation
Test::Unit assert_serializer implemented
|
2014-08-22 15:25:52 -04:00 |
|
Tema Bolshakov
|
c5d9d97f26
|
Assert with serializer class
|
2014-08-20 12:34:34 +04:00 |
|
Tema Bolshakov
|
865ab64025
|
rename spec file
|
2014-08-20 11:33:39 +04:00 |
|
Arthur Nogueira Neves
|
9fb343b5fb
|
Merge pull request #591 from donbobka/feature/fix_format_keys_for_array_wo_root
Feature/fix format keys for array wo root
|
2014-08-18 10:21:37 -04:00 |
|
Tema Bolshakov and Dmitry Myaskovskiy
|
eaedcefa4e
|
Test::Unit assert_serializer implemented
So you can assert specific serializer to be used.
|
2014-08-18 18:04:51 +04:00 |
|
Tema Bolshakov
|
e3ab34dd74
|
Array serializer pass except and only options to item serializers
|
2014-08-18 14:21:08 +04:00 |
|
Tema Bolshakov
|
6869cc9c3b
|
No need to instantiate serializer
|
2014-08-18 12:47:22 +04:00 |
|
Tema Bolshakov
|
c389ae2207
|
Support customer array serializer
|
2014-08-18 12:37:01 +04:00 |
|
Jean Boussier
|
6f8343d06e
|
Manually include AC::Serialization module in test suite
|
2014-08-16 20:39:38 -04:00 |
|
Vladimir Lyzo
|
c4e6cd48b6
|
Add failing test: serialize array with format_keys w/o root
|
2014-08-15 14:45:51 +04:00 |
|
Stanley Stuart
|
e650863c6d
|
fix tests from rebasing master for embed_namespace
|
2014-08-13 11:38:01 -05:00 |
|
Tim Petricola
|
14b1df5c36
|
Custom options are accessible in serializer (via :context)
|
2014-07-28 13:10:02 -04:00 |
|
Steve Klabnik
|
045ba2a48c
|
Merge pull request #534 from kylefritz/master
Support lowerCamel key format
|
2014-07-28 12:43:36 -04:00 |
|
Steve Klabnik
|
55fc6536fe
|
Remove Coveralls
Coveralls is fine, but it's interfering with Travis somehow.
|
2014-07-04 22:11:49 -04:00 |
|
Kyle Fritz
|
76c8de7b9f
|
root key format
|
2014-04-14 13:45:12 -04:00 |
|
Kyle Fritz
|
00c54baae3
|
Support lowerCamel key format
|
2014-03-30 12:31:21 -04:00 |
|
Wojtek Mach
|
2e31a14125
|
Add :only/:except options
|
2014-03-12 16:55:08 -03:00 |
|
Ken Ip
|
8ca4d4fcd6
|
HasOne nil object should return [] under embedded key.
Ensure that @wrap_in_array is always respected when set to true even
when associated object is nil.
|
2014-03-10 16:42:04 -03:00 |
|
Arthur Neves
|
b6520315d8
|
only require coverage_setup on CI
|
2014-03-10 15:23:09 -04: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
|
ed9a5288f9
|
Revert "Merge branch 'context'"
This reverts commit 1bd8180a94, reversing
changes made to 9bb32331f4.
|
2014-01-07 15:02:09 -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
|
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
|
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 |
|
Santiago Pastorino
|
7c68ee4b3f
|
Remove unneeded require
|
2013-12-26 19:47:52 -02:00 |
|
Santiago Pastorino
|
f18594a980
|
Add missing json require
|
2013-12-26 17:16:48 -02:00 |
|
Santiago Pastorino
|
d04cbb3806
|
Add dependencies needed to run Rubinius tests
|
2013-12-19 15:59:43 -02:00 |
|
Santiago Pastorino
|
039fa05018
|
Remove useless test that behaves differently in different Rails versions
|
2013-12-18 13:14:40 -02:00 |
|