zabbix-client 0.0.7 → 0.0.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/zabbix/client/client.rb +3 -3
- data/lib/zabbix/client/version.rb +1 -1
- 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: 97e009a0f9bd9e5a5e4d1c9ed23071ea7034ea54
|
4
|
+
data.tar.gz: 855a219210659c86973708d77f8b7f62620b5a20
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 72a255c5b90ea8339bb4687e501c66cf8cdbc6647728916b21dd34d9facf8de95815813ff348062a090d38ecd5498628929494364ce8dac0a049b8932d3f9966
|
7
|
+
data.tar.gz: 47c2eaa1d52cad22a4898531733d245a39946fc408937aeb8df3d1e098ec840b9928d89edb07e3b446f9604e80a6247d696be42cd261ee06c3e81d552169e538
|
data/README.md
CHANGED
data/lib/zabbix/client/client.rb
CHANGED
@@ -68,9 +68,9 @@ class Zabbix::Client
|
|
68
68
|
|
69
69
|
body = JSON.dump(body)
|
70
70
|
|
71
|
-
|
72
|
-
|
73
|
-
http = Net::HTTP.Proxy(
|
71
|
+
proxy_host = options[:proxy_host]
|
72
|
+
proxy_port = options[:proxy_port]
|
73
|
+
http = Net::HTTP.Proxy(proxy_host, proxy_port).new(@client.url.host, @client.url.port)
|
74
74
|
|
75
75
|
if @client.url.scheme == 'https'
|
76
76
|
http.use_ssl = true
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: zabbix-client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Genki Sugawara
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-08-
|
11
|
+
date: 2014-08-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|