zabbixapi 0.5.3b1 → 0.5.3b2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/zabbixapi/1.8/classes/screens.rb +3 -3
- data/lib/zabbixapi/version.rb +1 -1
- metadata +2 -2
@@ -41,8 +41,8 @@ class ZabbixApi
|
|
41
41
|
valign = data[:valign] || 2
|
42
42
|
halign = data[:halign] || 2
|
43
43
|
vsize = data[:vsize] || ((graphids.size/hsize) + 1).to_i
|
44
|
-
if get_id(:name => screen_name)
|
45
|
-
delete(:
|
44
|
+
if screenid = get_id(:name => screen_name)
|
45
|
+
delete(:screenids => [screenid])
|
46
46
|
end
|
47
47
|
# create screan
|
48
48
|
graphids.each_with_index do |graphid, index|
|
@@ -55,7 +55,7 @@ class ZabbixApi
|
|
55
55
|
:halign =>halign
|
56
56
|
}
|
57
57
|
end
|
58
|
-
|
58
|
+
|
59
59
|
create(
|
60
60
|
:name => screen_name,
|
61
61
|
:hsize => hsize,
|
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.3b2
|
5
5
|
prerelease: 5
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -98,7 +98,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
98
98
|
version: '0'
|
99
99
|
segments:
|
100
100
|
- 0
|
101
|
-
hash:
|
101
|
+
hash: -4146470985339656475
|
102
102
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
103
103
|
none: false
|
104
104
|
requirements:
|