rightresource 0.3.3 → 0.3.4

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.
@@ -267,13 +267,15 @@ module RightResource
267
267
  when Array
268
268
  value.map do |a|
269
269
  if a.is_a?(Hash)
270
- a.dup.alter_keys rescue a.alter_keys
270
+ v = a.dup.alter_keys rescue a.alter_keys
271
+ correct_attributes(v)
271
272
  else
272
273
  a.dup rescue a
273
274
  end
274
275
  end
275
276
  when Hash
276
- value.dup.alter_keys rescue value.alter_keys
277
+ v = value.dup.alter_keys rescue value.alter_keys
278
+ correct_attributes(v)
277
279
  else
278
280
  value.dup rescue value
279
281
  end
@@ -38,6 +38,6 @@ require 'right_resource/macro'
38
38
  require 'right_resource/credential'
39
39
 
40
40
  module RightResource
41
- VERSION = '0.3.3'
41
+ VERSION = '0.3.4'
42
42
  API_VERSION = "1.0"
43
43
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rightresource
3
3
  version: !ruby/object:Gem::Version
4
- hash: 21
4
+ hash: 27
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 3
9
- - 3
10
- version: 0.3.3
9
+ - 4
10
+ version: 0.3.4
11
11
  platform: ruby
12
12
  authors:
13
13
  - Satoshi Ohki
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-11-29 00:00:00 +09:00
18
+ date: 2010-12-02 00:00:00 +09:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency