make_restful 0.1.5 → 0.1.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -48,6 +48,7 @@ module MakeRestful::Rendering
48
48
 
49
49
  pagination = { klass.pagination[:node] => pagination } if klass.pagination[:node]
50
50
 
51
+ response = { resource_name.to_sym => response } if response.is_a?(Array)
51
52
  response.merge!(pagination)
52
53
  end
53
54
 
@@ -1,3 +1,3 @@
1
1
  module MakeRestful
2
- VERSION = "0.1.5"
2
+ VERSION = "0.1.6"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: make_restful
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: