zabbixapi 0.5.1b3 → 0.5.1b4

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.
@@ -1,6 +1,6 @@
1
1
  class Hash
2
2
 
3
- def deep_include?(sub_hash, without_key)
3
+ def deep_include?(sub_hash, without_key = nil)
4
4
  sub_hash.keys.all? do |key|
5
5
  next if key == without_key
6
6
  self.has_key?(key) && if sub_hash[key].is_a?(Hash)
@@ -28,7 +28,7 @@ class ZabbixApi
28
28
  end
29
29
 
30
30
  unless dump.deep_include?(data, key.to_sym)
31
- result = @client.api_request(:method => "#{method_name}.update", :params => data)
31
+ result = @client.api_request(:method => "#{method_name}.update", :params => data)
32
32
  parse_keys result
33
33
  else
34
34
  item_id
@@ -10,7 +10,7 @@ class ZabbixApi
10
10
  end
11
11
 
12
12
  def indentify
13
- "name"
13
+ "description"
14
14
  end
15
15
 
16
16
  end
@@ -1,3 +1,3 @@
1
1
  class ZabbixApi
2
- VERSION = "0.5.1b3"
2
+ VERSION = "0.5.1b4"
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.1b3
4
+ version: 0.5.1b4
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: 4489570165643587078
66
+ hash: -2138424862399880814
67
67
  required_rubygems_version: !ruby/object:Gem::Requirement
68
68
  none: false
69
69
  requirements: