onering-client 0.0.6 → 0.0.7

Sign up to get free protection for your applications and to get access to all the features.
@@ -46,7 +46,9 @@ subcommand :devices, "Operations related to Onering's assets database" do |devic
46
46
  field = sc[:args].first
47
47
  filter = sc[:filter]
48
48
 
49
- print_format api.list(field, filter)
49
+ print_format api.list(field, {
50
+ :filter => filter
51
+ })
50
52
  end
51
53
  end
52
54
 
@@ -31,8 +31,7 @@ module Onering
31
31
  end
32
32
 
33
33
  def find(filter, options={})
34
- rv = request("devices/find/#{make_filter(filter)}")
35
- rv
34
+ request("devices/find/#{make_filter(filter)}")
36
35
  end
37
36
 
38
37
  def save(id, data)
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: onering-client
3
3
  version: !ruby/object:Gem::Version
4
- hash: 19
4
+ hash: 17
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 6
10
- version: 0.0.6
9
+ - 7
10
+ version: 0.0.7
11
11
  platform: ruby
12
12
  authors:
13
13
  - Gary Hetzel