Darren Cheng
35abadd8f7
Upgrade codebase to support latest AMS version.
2016-07-14 19:25:58 -07:00
Naoki Kobayashi
78229c9dea
Use ActiveModelSerializers::Adapter
2016-07-14 19:17:43 -07:00
Darren Cheng
0c98ff6b07
Preparing for release, 1.4.0.
2016-07-14 19:14:46 -07:00
Jonathan Richard Henry Evans
fcec84dc92
Update github references from jrhe to ruby-grape
2016-05-19 14:02:35 +01:00
Daniel Doubrovkine (dB.) @dblockdotorg
300eed4128
Merge pull request #51 from dblock/changes
...
Added CHANGELOG, CONTRIBUTING, updated README and UPGRADING.
2016-05-17 12:15:01 -04:00
dblock
9a56be4d46
Added CHANGELOG, CONTRIBUTING, updated README and UPGRADING. [ci skip]
2016-05-17 12:14:14 -04:00
Daniel Doubrovkine (dB.) @dblockdotorg
4190cbf18f
Merge pull request #49 from syntaxTerr0r/versioned-api
...
API Versioning: Supporting Active Model Serializers namespacing
2016-05-17 10:51:43 -04:00
syntaxTerr0r
8889b5a1ee
Merge branch 'versioned-api' of https://github.com/syntaxTerr0r/grape-active_model_serializers into versioned-api
2016-05-16 02:49:23 +02:00
syntaxTerr0r
c57a388e91
Bump version to 1.4.0
...
Adding failing specs for issue #48
Proposition of implementation for #48
Readme update
Rollback travis
2016-05-16 02:48:29 +02:00
syntaxTerr0r
4202e7e1d4
Merge branch 'master' into versioned-api
2016-05-16 02:44:05 +02:00
syntaxTerr0r
bec6d444a3
Rollback travis
2016-05-16 02:38:29 +02:00
Daniel Doubrovkine (dB.) @dblockdotorg
1594eb0452
Merge pull request #50 from dblock/fix-build
...
Fix: update build matrix with newer versions of Grape.
2016-05-10 07:18:24 -04:00
dblock
af50be86b9
Fix: update build matrix with newer versions of Grape.
2016-05-10 07:11:43 -04:00
syntaxTerr0r
c2bdab8f69
Bump version to 1.4.0
...
Adding failing specs for issue #48
Proposition of implementation for #48
Readme update
Travis fix
2016-05-10 02:06:35 +02:00
Daniel Doubrovkine (dB.) @dblockdotorg
bc758e0b66
Merge pull request #47 from sethherr/patch-1
...
Readme update with note about accessing current_user
2015-12-03 23:20:13 -05:00
Seth Herr
4347c8d7d3
Add information about accessing current_user
...
Fix. project using:
- active_model_serializers - 0.9.3
- grape 0.13.0
- grape-active_model_serializers 1.3.2
2015-12-02 14:19:42 -06:00
Siong
ca9c8faaa9
Merge pull request #39 from jwkoelewijn/options_from_namespace
...
Look for namespace and other options to configure serializers
2015-01-22 13:49:35 -08:00
Daniel Doubrovkine (dB.) @dblockdotorg
f13d008506
Merge pull request #40 from dblock/one-meta
...
Use env to pass AMS meta around.
2015-01-15 11:16:59 -05:00
dB
f773bcbb8e
Use env to pass meta to the formatter.
2015-01-14 14:54:44 -05:00
dB
19bb6b50f7
Simplify meta assignment to a single hash.
2015-01-14 14:53:07 -05:00
J.W. Koelewijn
6b16d22123
Changed some cosmetics in layout
2015-01-14 16:57:56 +01:00
J.W. Koelewijn
906d772202
Look for namespace and other options to configure serializers
...
By default not all serializer options are considered (for instance
the :root option, or the :each_serializer option). This potentially
results in an incomplete configuration of the serializers used.
Added 2 specs to test this when used as a single endpoint and when
used within a namespace. At the moment it is fixed by plucking
the correct settings in the .build_options_from_endpoint,
but I could imagine that this is not exactly the right spot.
2015-01-14 16:35:11 +01:00
jrhe
5bba714457
Merge pull request #38 from dblock/rubocop
...
Implemented RuboCop, Ruby linter.
2015-01-13 23:58:39 +00:00
dB
04c21470e3
Implemented RuboCop, Ruby linter.
2015-01-13 18:50:18 -05:00
Siong
cc6389f0ca
Merge pull request #36 from dblock/grape-10
...
Added support for Grape 0.10.x
2015-01-13 15:35:31 -08:00
dB
ffd1770ab2
Added support for Grape 0.10.x.
2015-01-13 16:27:36 -05:00
dB
40e04ef23e
Test against multiple versions of Grape.
2015-01-13 09:25:35 -05:00
Siong
4d785b4754
Fix indentation on README.
2014-12-08 15:27:12 -08:00
Siong
7f243c017d
fix typo on README. fix #34 .
2014-12-08 15:26:18 -08:00
jrhe
c48d3ed07c
Removes looking for maintainer message
2014-11-21 22:39:00 +00:00
jrhe
c9bf16b1ce
Merge pull request #29 from ignat-zakrevsky/test-fixes
...
Tests fixing.
2014-11-21 19:11:01 +00:00
Ignat Zakrevsky
f6feb5f5ef
Merge branch 'master' into test-fixes
...
Conflicts:
spec/grape-active_model_serializers/formatter_spec.rb
2014-11-21 09:30:11 +03:00
Jonathan Richard Henry Evans
4085f90432
Adds new maintainers message to readme
2014-11-20 22:50:13 +00:00
Jonathan Richard Henry Evans
d9c7e7c38d
Bump version number
2014-11-20 22:45:36 +00:00
jrhe
3a0a1b4eee
Merge pull request #30 from OutrageousLabs/read-options
...
read options from default_serializer_options.
2014-11-20 22:10:18 +00:00
Siong
28de380fc2
update README.
2014-11-20 13:29:41 -08:00
Siong
a2578f893d
add spec for default_serializer_options.
2014-11-20 13:23:15 -08:00
Siong
cfb80be11e
better formatting.
2014-11-20 13:22:53 -08:00
Siong
6426c772a8
Merge branch 'master' into read-options
2014-11-20 12:57:16 -08:00
Ignat Zakrevsky
6e8757dd88
Tests fixing.
2014-11-17 12:28:51 +03:00
jrhe
c2aed6f8c8
Merge pull request #27 from andrusha/look-ma-no-hands
...
Enable Ruby 2 and 2.1 on Travis
2014-10-12 18:32:21 +01:00
Andrew Korzhuev
172d1710bb
Add Ruby 2 & 2.1 to Travis
2014-10-12 23:02:08 +07:00
Andrew Korzhuev
e510817abf
Remove jazz-hands dependency
2014-10-12 23:01:58 +07:00
Andrew Korzhuev
704838ef5f
Read default serializer options from the controller
2014-10-12 22:14:31 +07:00
jrhe
85b92a4856
Merge pull request #24 from sonxurxo/master
...
Makes it possible to use current_user within serializers
2014-10-06 13:01:09 +01:00
jrhe
a2c8632ce2
Merge pull request #25 from DanyHunter/patch-1
...
Update dependency version for active_model_serializers
2014-10-06 13:00:38 +01:00
DanyHunter
9e56991a50
Modify first argument for Grape::Endpoint.new to fix error caused by calling a method on nil.
2014-10-02 11:09:55 -05:00
Daniel Ochoa
1625bd2603
Update dependency version for active_model_serializers
...
Using Alpha1 breaks when adding a `has_one` relation and the relation is not set, throwing an error of `TypeError - no implicit conversion of nil into Array`
2014-10-02 10:30:39 -05:00
Xurxo Méndez Pérez
52d8f81395
Makes it possible to use current user within serializers
2014-09-22 11:32:00 +02:00
jrhe
56121ad6d1
Merge pull request #21 from radanskoric/fix-for-0.9.x
...
Correctly fetch serialization scope
2014-08-20 23:35:07 -04:00