rightresource 0.2.4 → 0.2.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/right_resource/server.rb +1 -3
  2. metadata +3 -3
@@ -36,9 +36,7 @@ class Server < RightResource::Base
36
36
 
37
37
  def settings(id)
38
38
  path = element_path(id, :settings)
39
- result = format.decode(connection.get(path)).map do |instance|
40
- generate_attributes(instance)
41
- end
39
+ generate_attributes(format.decode(connection.get(path)))
42
40
  end
43
41
  end
44
42
  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: 31
4
+ hash: 29
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 2
9
- - 4
10
- version: 0.2.4
9
+ - 5
10
+ version: 0.2.5
11
11
  platform: ruby
12
12
  authors:
13
13
  - Satoshi Ohki