Jonathan Richard Henry Evans
02f4b154e4
Removed Gemfile.lock
2013-08-21 10:16:12 +01:00
Jonathan Richard Henry Evans
6b9bf5976a
Remove active_record require
2013-08-21 10:15:48 +01:00
jrhe
e3fa92406b
Merge pull request #8 from blackxored/small-fixes
...
Fixes the build and upgrades the locked gems
2013-08-10 16:12:30 -07: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
Adrian Perez
c64bbf22f3
Fix examples, should green the build
2013-08-03 18:06:12 +04:00
Adrian Perez
4ec628cd1f
Update Gemfile.lock
2013-08-03 18:05:54 +04:00
jrhe
6700eb2cca
Merge pull request #6 from tfe/master
...
Conform to ActiveModel::Serializers' way of determining array-ness
2013-07-19 09:26:14 -07:00
Todd Eichel
5f3f4d5904
Use the same test for resource array-ness that ActiveModel::Serializers itself uses. This should be more reliable and it's probably good to conform to AM::Serializers behavior wherever possible.
2013-06-20 00:55:29 -07:00
jrhe
77e3b26251
Merge pull request #5 from campaignio/master
...
Re-add Active Model Serializers Dependency
2013-06-06 03:04:18 -07:00
John Allen
503b05b53d
Requires compatible version of AMS
2013-05-24 10:13:55 -04:00
John Allen
1005a65513
Re-adds active_model_serializers as dependency
...
Thanks to @george pointing out that the current code base is currently
dependent on AMS 0.8.0 so let's enforce that dependency.
2013-05-24 09:01:28 -04:00
jrhe
cb7fd7a811
Merge pull request #2 from tevanoff/remove-pry-requirement
...
Removed the pry requirement since it created an unnecessary dependency.
2013-05-18 23:25:47 -07:00
jrhe
b55a8586fe
Merge pull request #4 from campaignio/master
...
Support for namespace options and rely more on active_model_serializers
2013-05-18 23:24:55 -07:00
John Allen
3b02d16211
Ensures there is a root available for arrays
2013-05-16 18:58:35 -04:00
John Allen
7933a1796b
Spec setup updates, almost passing
2013-05-16 09:56:13 -04:00
John Allen
9d9f166925
Moves Grape::Endpoint extension into a module
...
Adding methods into the Grape::Endpoint class that
ActiveModel::Serializers are relying on from ActionController as well as
a few convenience methods for Route and Namespace options. I believe we
can expand on some of the empty methods here to allow for higher (api)
level option setting and defaults. This is a first step in that
direction.
2013-05-16 09:14:11 -04:00
John Allen
7f02d8f0d5
Removes unnecessary dependencies
...
There are some dependencies that are not required for this gem (eg.
tilt) that I'm removing. In addition some of the dependencies were only
necessary for development/test so I'm moving all of that into the gempsec and
making that clear there.
2013-05-16 09:06:37 -04:00
John Allen
f8aff8dff2
Makes Grape::Endpoint quack like an ActionController
2013-05-15 21:42:02 -04:00
John Allen
e5cf9bdf8c
Adds support for namespace options
2013-05-15 20:47:32 -04:00
Dan deHavilland
2f69f318e0
Reinstated parameter passing
2013-05-14 12:57:38 +02:00
Todd Evanoff
28d42b4d16
Removed the line requiring pry since it created an unnecessary dependency.
2013-05-06 14:52:05 -04:00
jrhe
c91aa686d4
removed accidentally added file
2013-04-30 21:40:01 +01:00
jrhe
e98149adb5
Merge pull request #1 from george/proper_root_node_for_compound_model_names
...
Grape::ActiveModelSerializers for models with compound names
2013-04-30 11:33:24 -07:00
george
8022de2d54
Grape::ActiveModelSerializers for models with compound names
...
should generate the proper 'root' node for individual objects
should generate the proper 'root' node for serialized arrays of objects
2013-04-30 14:20:18 -04:00
jrhe
94efb988f5
Merge branch 'master' of github.com:jrhe/grape-active_model_serializers
...
Conflicts:
lib/grape-active_model_serializers/formatter.rb
2013-04-10 19:40:14 +01:00
jrhe
517731792b
Recoded to use active_model_serializer parameter of models/arrays and added array support
2013-04-10 19:36:25 +01:00
jrhe
3b67bd5393
Recoded to use active_model_serializer parameter of models/arrays and added array support
2013-04-10 19:17:26 +01:00
jrhe
a3416e51d4
Added pry debugging gems
2013-04-10 19:14:59 +01:00
jrhe
a60e10d5f4
changed rabl reference
2013-04-04 23:40:10 +01:00
jrhe
06018a5acf
Fixed travis badge
2013-04-04 21:11:21 +01:00
jrhe
65f6980dad
Added the ability to turn off serializer inference
2013-04-04 21:07:05 +01:00
jrhe
d3db8672ab
Improved readme
2013-04-04 20:35:10 +01:00
jrhe
cbbe2e79d9
Merged in readme
2013-04-04 20:15:16 +01:00
jrhe
1d2b6de7ea
Initial commit
2013-04-04 20:10:51 +01:00
jrhe
ee8bb6e71d
Initial commit
2013-04-02 09:41:53 -07:00