make_restful 0.1.5 → 0.1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -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: