zabbixapi 0.5.1b4 → 0.5.1b5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -57,9 +57,9 @@ class ZabbixApi
57
57
  end
58
58
 
59
59
  def get_id(data)
60
- result = get_full_data(data)
60
+ result = symbolize_keys( get_full_data(data) )
61
61
  id = nil
62
- result.each { |item| id = item[key].to_i if item[indentify] == data[indentify.to_sym] }
62
+ result.each { |item| id = item[key.to_sym].to_i if item[indentify.to_sym] == data[indentify.to_sym] }
63
63
  id
64
64
  end
65
65
 
@@ -1,3 +1,3 @@
1
1
  class ZabbixApi
2
- VERSION = "0.5.1b4"
2
+ VERSION = "0.5.1b5"
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.1b4
4
+ version: 0.5.1b5
5
5
  prerelease: 5
6
6
  platform: ruby
7
7
  authors:
@@ -63,7 +63,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
63
63
  version: '0'
64
64
  segments:
65
65
  - 0
66
- hash: -2138424862399880814
66
+ hash: -1201945505207306528
67
67
  required_rubygems_version: !ruby/object:Gem::Requirement
68
68
  none: false
69
69
  requirements: