zabbixapi 0.5.1a → 0.5.1b

Sign up to get free protection for your applications and to get access to all the features.
@@ -5,7 +5,7 @@ class ZabbixApi
5
5
  class Client
6
6
 
7
7
  def id
8
- @id = @id + 1
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
@@ -1,3 +1,3 @@
1
1
  class ZabbixApi
2
- VERSION = "0.5.1a"
2
+ VERSION = "0.5.1b"
3
3
  end
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.1a
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: