zabbixapi 0.5.3b1 → 0.5.3b2

Sign up to get free protection for your applications and to get access to all the features.
@@ -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(:name => screen_name)
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,
@@ -1,3 +1,3 @@
1
1
  class ZabbixApi
2
- VERSION = "0.5.3b1"
2
+ VERSION = "0.5.3b2"
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.3b1
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: 4224378575819107482
101
+ hash: -4146470985339656475
102
102
  required_rubygems_version: !ruby/object:Gem::Requirement
103
103
  none: false
104
104
  requirements: