zabbixapi 0.5.2b3 → 0.5.2b4
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/zabbixapi/classes/applications.rb +0 -5
- data/lib/zabbixapi/version.rb +1 -1
- metadata +2 -2
@@ -39,11 +39,6 @@ class ZabbixApi
|
|
39
39
|
applicationid = nil
|
40
40
|
result.each { |app| applicationid = app['applicationid'].to_i if app['name'] == data[:name] }
|
41
41
|
applicationid
|
42
|
-
if %w(127.0.0.1 localhost).include? host
|
43
|
-
host_cmd = ""
|
44
|
-
else
|
45
|
-
host_cmd = "-h #{host}"
|
46
|
-
end
|
47
42
|
end
|
48
43
|
|
49
44
|
end
|
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.2b4
|
5
5
|
prerelease: 5
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -79,7 +79,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
79
79
|
version: '0'
|
80
80
|
segments:
|
81
81
|
- 0
|
82
|
-
hash:
|
82
|
+
hash: 839256002440888061
|
83
83
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
84
84
|
none: false
|
85
85
|
requirements:
|