zenoss_client 0.5.2 → 0.5.3

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.5.2
1
+ 0.5.3
@@ -40,7 +40,7 @@ module Zenoss
40
40
  data[:limit] = opts[:limit] if opts.has_key? :limit
41
41
  data[:sort] = opts[:sort_key] if opts.has_key? :sort_key
42
42
  data[:dir] = opts[:sort_ord] if opts.has_key? :sort_ord
43
- data[:params] = opts[:params] if opts.has_key? :params
43
+ data[:params] = opts[:params] || {}
44
44
  resp = json_request('DeviceRouter', 'getDevices', [data])
45
45
 
46
46
  devs = []
metadata CHANGED
@@ -1,61 +1,60 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: zenoss_client
3
- version: !ruby/object:Gem::Version
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.5.3
4
5
  prerelease:
5
- version: 0.5.2
6
6
  platform: ruby
7
- authors:
7
+ authors:
8
8
  - Dan Wanek
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
-
13
- date: 2011-07-08 00:00:00 -05:00
14
- default_executable:
15
- dependencies:
16
- - !ruby/object:Gem::Dependency
12
+ date: 2012-03-05 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
17
15
  name: httpclient
18
- prerelease: false
19
- requirement: &id001 !ruby/object:Gem::Requirement
16
+ requirement: &13338900 !ruby/object:Gem::Requirement
20
17
  none: false
21
- requirements:
18
+ requirements:
22
19
  - - ~>
23
- - !ruby/object:Gem::Version
20
+ - !ruby/object:Gem::Version
24
21
  version: 2.2.0
25
22
  type: :runtime
26
- version_requirements: *id001
27
- - !ruby/object:Gem::Dependency
28
- name: tzinfo
29
23
  prerelease: false
30
- requirement: &id002 !ruby/object:Gem::Requirement
24
+ version_requirements: *13338900
25
+ - !ruby/object:Gem::Dependency
26
+ name: tzinfo
27
+ requirement: &13338400 !ruby/object:Gem::Requirement
31
28
  none: false
32
- requirements:
29
+ requirements:
33
30
  - - ~>
34
- - !ruby/object:Gem::Version
31
+ - !ruby/object:Gem::Version
35
32
  version: 0.3.20
36
33
  type: :runtime
37
- version_requirements: *id002
38
- - !ruby/object:Gem::Dependency
39
- name: json
40
34
  prerelease: false
41
- requirement: &id003 !ruby/object:Gem::Requirement
35
+ version_requirements: *13338400
36
+ - !ruby/object:Gem::Dependency
37
+ name: json
38
+ requirement: &13337800 !ruby/object:Gem::Requirement
42
39
  none: false
43
- requirements:
40
+ requirements:
44
41
  - - ~>
45
- - !ruby/object:Gem::Version
42
+ - !ruby/object:Gem::Version
46
43
  version: 1.5.0
47
44
  type: :runtime
48
- version_requirements: *id003
49
- description: " This is a wrapper around the Zenoss JSON and REST APIs. For the most things it\n should feel very familiar to zendmd, but there are some changes do to the merging\n of the JSON and REST APIs. Please read the API docs for Zenoss and the YARDDoc for\n this gem (rdoc.info).\n"
45
+ prerelease: false
46
+ version_requirements: *13337800
47
+ description: ! " This is a wrapper around the Zenoss JSON and REST APIs. For the
48
+ most things it\n should feel very familiar to zendmd, but there are some changes
49
+ do to the merging\n of the JSON and REST APIs. Please read the API docs for Zenoss
50
+ and the YARDDoc for\n this gem (rdoc.info).\n"
50
51
  email: dan.wanek@gmail.com
51
52
  executables: []
52
-
53
53
  extensions: []
54
-
55
- extra_rdoc_files:
54
+ extra_rdoc_files:
56
55
  - README.textile
57
56
  - COPYING.txt
58
- files:
57
+ files:
59
58
  - COPYING.txt
60
59
  - Gemfile
61
60
  - README.textile
@@ -99,36 +98,32 @@ files:
99
98
  - preamble
100
99
  - tools/callZenossMethod.py
101
100
  - zenoss_client.gemspec
102
- has_rdoc: true
103
101
  homepage: http://github.com/zenchild/zenoss_client
104
102
  licenses: []
105
-
106
103
  post_install_message:
107
- rdoc_options:
104
+ rdoc_options:
108
105
  - -x
109
106
  - test/
110
107
  - -x
111
108
  - examples/
112
- require_paths:
109
+ require_paths:
113
110
  - lib
114
- required_ruby_version: !ruby/object:Gem::Requirement
111
+ required_ruby_version: !ruby/object:Gem::Requirement
115
112
  none: false
116
- requirements:
117
- - - ">="
118
- - !ruby/object:Gem::Version
113
+ requirements:
114
+ - - ! '>='
115
+ - !ruby/object:Gem::Version
119
116
  version: 1.8.7
120
- required_rubygems_version: !ruby/object:Gem::Requirement
117
+ required_rubygems_version: !ruby/object:Gem::Requirement
121
118
  none: false
122
- requirements:
123
- - - ">="
124
- - !ruby/object:Gem::Version
125
- version: "0"
119
+ requirements:
120
+ - - ! '>='
121
+ - !ruby/object:Gem::Version
122
+ version: '0'
126
123
  requirements: []
127
-
128
124
  rubyforge_project:
129
- rubygems_version: 1.6.2
125
+ rubygems_version: 1.8.10
130
126
  signing_key:
131
127
  specification_version: 3
132
128
  summary: A wrapper around the Zenoss JSON and REST APIs
133
129
  test_files: []
134
-