zabbixapi 0.6.3 → 0.6.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +15 -0
- data/.travis.yml +1 -1
- data/lib/zabbixapi.rb +2 -1
- data/lib/zabbixapi/version.rb +1 -1
- metadata +5 -10
checksums.yaml
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
---
|
2
|
+
!binary "U0hBMQ==":
|
3
|
+
metadata.gz: !binary |-
|
4
|
+
YTUwYjA2NzU4NDM0OGU0YzYyOTkxY2I1ZTM5OWJhOWUwOTIzMmY5ZQ==
|
5
|
+
data.tar.gz: !binary |-
|
6
|
+
NTdjNjMwYzMwOTM4OGYxMTFlM2VjMzI5YjlkZmQxNTA1M2QyNjYwZA==
|
7
|
+
!binary "U0hBNTEy":
|
8
|
+
metadata.gz: !binary |-
|
9
|
+
MGU3ZGZjNTAyOThmMTcxOGNiNDZmZjIwODYyMTBmNDczNDA3YTJhOTdlNjU5
|
10
|
+
OWIwNzNkMDM1ZDFjZmIyMzUwZGYxODRhMmEyNTIwNjliZDhjYWEzMmY4NWIy
|
11
|
+
MmQ2ZGZiZWY1NDk1MDQ4OWM5ODc3ZjM3NGEyMDZhOTdmMzA2NTA=
|
12
|
+
data.tar.gz: !binary |-
|
13
|
+
ODViOGRkYWM1OGRkZWFhOTg2NzFlNDQzYzdhNmI3ODE4MDBjMjI3ZGY4Mzdm
|
14
|
+
ZGFmYjE5ZjFkOTBhZWRmNzc5NTk4YWY4NWZhNzc5ZmY5ZDM2NTRhNjY3YzYy
|
15
|
+
MzllNDU1OGM3YWNjYTZjMzdkN2VhZjBmOTBhZjM0OTVhYjliM2Y=
|
data/.travis.yml
CHANGED
@@ -5,5 +5,5 @@ rvm:
|
|
5
5
|
before_script:
|
6
6
|
- sudo apt-get update; sudo apt-get install mysql-server zabbix-server-mysql zabbix-frontend-php
|
7
7
|
- mysql -u root -e "use zabbix; insert into users_groups(usrgrpid, userid) values(10,1);"
|
8
|
-
- echo "$(curl -fsSL https://
|
8
|
+
- echo "$(curl -fsSL https://gist.github.com/vadv/8f0df0d1824ea25a3827/raw/29b9fdd258d5cfcc89a505c166231359ad70d326/zabbix.php)" | sudo tee /usr/share/zabbix/conf/zabbix.conf.php
|
9
9
|
script: "bundle exec rspec spec/run.rb"
|
data/lib/zabbixapi.rb
CHANGED
@@ -26,7 +26,8 @@ class ZabbixApi
|
|
26
26
|
when "1.4", "2.0.4", "2.0.5", "2.0.6", "2.0.7", "2.0.8", "2.0.9"
|
27
27
|
apidir = "2.0"
|
28
28
|
else
|
29
|
-
|
29
|
+
apidir = "2.0"
|
30
|
+
puts "[DEBUG] Unknown API version: #{@client.api_version}. Continuing with #{apidir} apidir" if @client.options[:debug]
|
30
31
|
end
|
31
32
|
Dir["#{File.dirname(__FILE__)}/zabbixapi/#{apidir}/basic/*.rb"].each { |f| load(f) }
|
32
33
|
Dir["#{File.dirname(__FILE__)}/zabbixapi/#{apidir}/classes/*.rb"].each { |f| load(f) }
|
data/lib/zabbixapi/version.rb
CHANGED
metadata
CHANGED
@@ -1,20 +1,18 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: zabbixapi
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
5
|
-
prerelease:
|
4
|
+
version: 0.6.4
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Vasiliev D.V.
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date: 2013-
|
11
|
+
date: 2013-12-04 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: json
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
16
|
requirements:
|
19
17
|
- - ! '>='
|
20
18
|
- !ruby/object:Gem::Version
|
@@ -22,7 +20,6 @@ dependencies:
|
|
22
20
|
type: :runtime
|
23
21
|
prerelease: false
|
24
22
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
23
|
requirements:
|
27
24
|
- - ! '>='
|
28
25
|
- !ruby/object:Gem::Version
|
@@ -86,29 +83,27 @@ files:
|
|
86
83
|
homepage: https://github.com/vadv/zabbixapi
|
87
84
|
licenses:
|
88
85
|
- MIT
|
86
|
+
metadata: {}
|
89
87
|
post_install_message:
|
90
88
|
rdoc_options: []
|
91
89
|
require_paths:
|
92
90
|
- lib
|
93
91
|
required_ruby_version: !ruby/object:Gem::Requirement
|
94
|
-
none: false
|
95
92
|
requirements:
|
96
93
|
- - ! '>='
|
97
94
|
- !ruby/object:Gem::Version
|
98
95
|
version: '0'
|
99
96
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
100
|
-
none: false
|
101
97
|
requirements:
|
102
98
|
- - ! '>='
|
103
99
|
- !ruby/object:Gem::Version
|
104
100
|
version: '0'
|
105
101
|
requirements: []
|
106
102
|
rubyforge_project: zabbixapi
|
107
|
-
rubygems_version:
|
103
|
+
rubygems_version: 2.0.6
|
108
104
|
signing_key:
|
109
|
-
specification_version:
|
105
|
+
specification_version: 4
|
110
106
|
summary: Realization for Zabbix API.
|
111
107
|
test_files:
|
112
108
|
- spec/localhost.rb
|
113
109
|
- spec/run.rb
|
114
|
-
has_rdoc:
|