Commit graph

33 commits

Author SHA1 Message Date
Darren Cheng
0963774ecc Whitelist adapter options and support extra options. 2016-09-09 10:54:33 -07:00
Darren Cheng
4315930a55 Pass adapter options through calls to render. 2016-09-07 00:06:25 -07:00
Daniel Doubrovkine (dB.) @dblockdotorg
5360021287 Added gem version badge. [ci skip] 2016-07-26 13:39:08 -04:00
Darren Cheng
a48d57c2ba Update additional references from jrhe to ruby-grape. 2016-07-14 19:36:27 -07:00
Darren Cheng
d2a5bb4c4e Add dependency notes to README. 2016-07-14 19:25:58 -07:00
Jonathan Richard Henry Evans
fcec84dc92 Update github references from jrhe to ruby-grape 2016-05-19 14:02:35 +01:00
dblock
9a56be4d46 Added CHANGELOG, CONTRIBUTING, updated README and UPGRADING. [ci skip] 2016-05-17 12:14:14 -04: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
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
dB
04c21470e3 Implemented RuboCop, Ruby linter. 2015-01-13 18:50:18 -05:00
dB
ffd1770ab2 Added support for Grape 0.10.x. 2015-01-13 16:27:36 -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
Jonathan Richard Henry Evans
4085f90432 Adds new maintainers message to readme 2014-11-20 22:50:13 +00:00
Siong
28de380fc2 update README. 2014-11-20 13:29:41 -08:00
Jonathan Richard Henry Evans (JRHE)
a4ae1d64e9 Move 1.2.1 changes out of breaking changes 2014-07-23 13:42:43 +01:00
Jonathan Richard Henry Evans (JRHE)
4bef8357df Update readme to use full class names for serializer rather than the symbol #19 2014-07-23 13:42:07 +01:00
Jonathan Richard Henry Evans (JRHE)
42ee15ec67 Bump version and update README to reflect changes 2014-07-23 13:32:47 +01:00
Zander Hill
a7ce076ec7 [Issue #13] Add render syntactic sugar
As in issue #13 an example solution provided by @jrhe an implementation
of said feature has been created.

As per the discussion in the thread this is only a helper to be able to
reach the available options provided in the active_model_serializer gem.

usage is as follows:

```ruby
get '/some_path' do
  collection = Collection.all
  render collection, { meta: { current_page: 5 }, meta_key:
    :pagination_info }
end
```

The return value would be:
`{ pagination_info: { current_page: 5 }, collection: [item, item] }`

If given without a `meta_key` it would return as:
`{ meta: { current_page: 5 }, collection: [item, item] }`

Any feedback appreciated.

@zph, @olleolleolle and @bjoska
2014-02-09 22:51:17 +00:00
Kyle Passarelli
beb9057b97 add support for 'current_user' 2013-10-07 19:30:20 -06:00
Johannes Schickling
ee911f2669 Fixed require path 2013-10-03 14:38:20 +02:00
Jonathan Richard Henry Evans
c84a0ea230 Adds warning about change of array root behaviour in 1.0 2013-09-09 15:54:43 +01:00
Jonathan Richard Henry Evans
e138ea4276 Updated readme as to new root behaviour 2013-09-09 13:09:51 +01:00
Jonathan Richard Henry Evans
dddd528ea4 Refactors Formatter 2013-08-29 16:41:03 +01:00
Jonathan Richard Henry Evans
811b6ce583 Tidied up readme 2013-08-29 16:13:13 +01:00
Jonathan Richard Henry Evans
ea019c721e Remove disabling inferrence as it is no longer handled by us 2013-08-29 15:50:10 +01:00
Jonathan Evans
998e4b31e6 Added MIT License 2013-08-11 00:01:26 +01:00
Jonathan Evans
593d6498f0 Added code climate 2013-08-10 23:46:21 +01:00
John Allen
e5cf9bdf8c Adds support for namespace options 2013-05-15 20:47:32 -04:00
jrhe
06018a5acf Fixed travis badge 2013-04-04 21:11:21 +01:00
jrhe
d3db8672ab Improved readme 2013-04-04 20:35:10 +01:00
jrhe
1d2b6de7ea Initial commit 2013-04-04 20:10:51 +01:00