zabbixapi 0.5.1a → 0.5.1b
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/zabbixapi/client.rb +1 -2
- data/lib/zabbixapi/version.rb +1 -1
- metadata +2 -4
data/lib/zabbixapi/client.rb
CHANGED
|
@@ -5,7 +5,7 @@ class ZabbixApi
|
|
|
5
5
|
class Client
|
|
6
6
|
|
|
7
7
|
def id
|
|
8
|
-
|
|
8
|
+
rand(100000)
|
|
9
9
|
end
|
|
10
10
|
|
|
11
11
|
def api_version
|
|
@@ -24,7 +24,6 @@ class ZabbixApi
|
|
|
24
24
|
|
|
25
25
|
def initialize(options = {})
|
|
26
26
|
@options = options
|
|
27
|
-
@id = 1
|
|
28
27
|
unless ENV['http_proxy'].nil?
|
|
29
28
|
@proxy_uri = URI.parse(ENV['http_proxy'])
|
|
30
29
|
@proxy_host = @proxy_uri.host
|
data/lib/zabbixapi/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: zabbixapi
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.5.
|
|
4
|
+
version: 0.5.1b
|
|
5
5
|
prerelease: 5
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -61,9 +61,6 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
61
61
|
- - ! '>='
|
|
62
62
|
- !ruby/object:Gem::Version
|
|
63
63
|
version: '0'
|
|
64
|
-
segments:
|
|
65
|
-
- 0
|
|
66
|
-
hash: -2980579901879141751
|
|
67
64
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
68
65
|
none: false
|
|
69
66
|
requirements:
|
|
@@ -79,3 +76,4 @@ summary: Realization for Zabbix API.
|
|
|
79
76
|
test_files:
|
|
80
77
|
- spec/localhost.rb
|
|
81
78
|
- spec/run.rb
|
|
79
|
+
has_rdoc:
|