zabbix-client 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/zabbix/client/client.rb +1 -1
- data/lib/zabbix/client/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: afe57c5c0df8e0697b078819f389c24800851c5f
|
4
|
+
data.tar.gz: 39f8ae2f99cd3ad53a1526a89c82021a9c11d08e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0d79e5942658df87f604146100f0f5530459ded6190bb9714a01349d87b6e1d25caa98f2e44f8d01968943903b8ca37ef2630ab950edf1d8f4b5ff2c99895b7e
|
7
|
+
data.tar.gz: fccd34bde530893ec6ebe9095ce73b21f76ed5d0dc56880b0160f2dbf4a3ba1b09e18e38956ea3809dfd85bf0f45f1d60cf03d227d1e18dc1f870d30b6646b3a
|
data/lib/zabbix/client/client.rb
CHANGED
@@ -67,7 +67,7 @@ class Zabbix::Client
|
|
67
67
|
|
68
68
|
proxy_user = @client.options[:proxy_user]
|
69
69
|
proxy_password = @client.options[:proxy_password]
|
70
|
-
http = Net::HTTP.Proxy(
|
70
|
+
http = Net::HTTP.Proxy(proxy_user, proxy_password).new(@client.url.host, @client.url.port)
|
71
71
|
|
72
72
|
if @client.url.scheme == 'https'
|
73
73
|
http.use_ssl = true
|