zabbixapi 0.5.0b5 → 0.5.0b6

Sign up to get free protection for your applications and to get access to all the features.
@@ -35,7 +35,7 @@ class ZabbixApi
35
35
 
36
36
  def get_or_create(data)
37
37
  unless hostgroupid = get_id(data)
38
- hostgroupid = update(data)
38
+ hostgroupid = create(data)
39
39
  end
40
40
  hostgroupid
41
41
  end
@@ -1,3 +1,3 @@
1
1
  class ZabbixApi
2
- VERSION = "0.5.0b5"
2
+ VERSION = "0.5.0b6"
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.0b5
4
+ version: 0.5.0b6
5
5
  prerelease: 5
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-12-03 00:00:00.000000000 Z
12
+ date: 2012-12-05 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: Allows you to work with zabbix api from ruby.
15
15
  email:
@@ -59,7 +59,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
59
59
  version: '0'
60
60
  segments:
61
61
  - 0
62
- hash: -1736011782781099386
62
+ hash: 2116840559356682659
63
63
  required_rubygems_version: !ruby/object:Gem::Requirement
64
64
  none: false
65
65
  requirements: