zabbix_sender_api 1.0.4 → 1.0.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d16ac5d439463565af4464d544a3727b3db203f327f884db6ee4e1e0e6c3cf43
4
- data.tar.gz: dc9a90da9cccafe560d8b5c2ced56eace9190ae0b1bf846bd4a28d3c8ba855c1
3
+ metadata.gz: 6f768b8820795e99e87ea3af8ed4cdae063daef728e7c121d5bf9b51a155780b
4
+ data.tar.gz: b15a5dd5f1ead39e38edff158b35a1b015864c51dc1f4ac9907e1e6ac7f9e1cb
5
5
  SHA512:
6
- metadata.gz: 332b01b2058bbeeffe89dab63db3293202770d51c96f45dca4453d386640eae9b88bf81849b6165c0ff79c77db1ba167568f6d3b6f9ee5c3c3d2871e4bde69d6
7
- data.tar.gz: ae0e30678c6009254bf66704b5b9f817afe41c8d9c9cc1378ad1eae577af53c717c72d3802bfa14a88b684d818d8090b7d4017e38afaf42ea518887f4d6977c5
6
+ metadata.gz: cc34a4e8f82f4c4ca922c65ee35e0ce998eaea72ad5f46138c016bb5226fc1c9387712d2668727fb0305494cc009f79ed1df48586dab81b66a9ad0cbb47c4e99
7
+ data.tar.gz: 9a24440d4b7d0002ccd331fb43a3c3278af279f3834adb77d17c119583acc63fda4e1af1e23873cd0fe6912a350aa104c24a69928ebc6fb16e702ad6f6040bea
@@ -202,7 +202,7 @@ class Discovery < ItemData
202
202
  #
203
203
  def to_senderline
204
204
  disco = { 'data'=>Array.new }
205
- disco['data'] = @entities
205
+ disco['data'] = @entities.to_a
206
206
  @value = disco.to_json
207
207
  super
208
208
  end
@@ -1,3 +1,3 @@
1
1
  module ZabbixSenderApi
2
- VERSION = "1.0.4"
2
+ VERSION = "1.0.5"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zabbix_sender_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.4
4
+ version: 1.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dave Parker
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-08-04 00:00:00.000000000 Z
11
+ date: 2020-08-08 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: This gem describes an api to the zabbix sender facility. It saves tons
14
14
  of hassle when you're cranking out custom polling logic
@@ -58,7 +58,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
58
58
  - !ruby/object:Gem::Version
59
59
  version: '0'
60
60
  requirements: []
61
- rubygems_version: 3.1.4
61
+ rubygems_version: 3.1.2
62
62
  signing_key:
63
63
  specification_version: 4
64
64
  summary: Ruby frontend to the zabbix_sender command line tool