zbxapi 0.3.6 → 0.3.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/zbxapi.rb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f75add24c1b9a436b1026533079b95542a36970b
|
4
|
+
data.tar.gz: 7215580f5f47c1378947c15e79f44b9875506876
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ef5e8946e6aec045ccf4cf959ab6b585c34f2dd9037a8adac156f3952e11bde179cf98d726f647737603d815e0d10226725355b1e40ba0585a2bad0f28344e44
|
7
|
+
data.tar.gz: c2feb032db1022a625b62e6071f0cbb4830b60c2f78cb840428b6b641bcc1ad9e504153d7d3f934085d2ff182d3afc6af27668cc8f01d503217064530d8de981
|
data/zbxapi.rb
CHANGED
@@ -75,7 +75,7 @@ class ZabbixAPI
|
|
75
75
|
@url=nil
|
76
76
|
@verify_ssl=true
|
77
77
|
@proxy_server=nil
|
78
|
-
@custom_headers=
|
78
|
+
@custom_headers={}
|
79
79
|
|
80
80
|
private
|
81
81
|
@user_name=''
|
@@ -131,7 +131,7 @@ class ZabbixAPI
|
|
131
131
|
end
|
132
132
|
|
133
133
|
if options.has_key?:custom_headers
|
134
|
-
@custom_headers = options[:custom_headers]
|
134
|
+
@custom_headers = options[:custom_headers] unless options[:custom_headers].nil?
|
135
135
|
end
|
136
136
|
|
137
137
|
#Generate the list of sub objects dynamically, from all objects
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: zbxapi
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- A. Nelson
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-03-
|
11
|
+
date: 2014-03-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: json
|