zabbix_sender_api 1.0.6 → 1.0.7

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: 8047acf4e23279eaeccd8c815bc8066957291f396b67ffbc640b3ecc5cadfd7b
4
- data.tar.gz: dbffe9d1733b4d17bdb30c8aafc931b2693f4a3d9d724d3a7cf38d84fbfdbff0
3
+ metadata.gz: 89e13bebbddda9a40ec5990b685c876cccc4dc535d4f0aa71ee5e9e4c9ff0643
4
+ data.tar.gz: 5570e008ccdeae7d5f9866fa4edc6faf71bbc7968f1ee5a5a5f2a6d1c815131a
5
5
  SHA512:
6
- metadata.gz: 5c4f066506376ef8ac762775b67ef5f37d5bf211583cea9121b3566512b0ddda64b8df94bdadb61d5a17ff095d64c169d13aed7a9c719499883a0bad2d56d437
7
- data.tar.gz: 540dcdcadcc73689eccfe0a0b4256ef34cf6e91ff60eaad9a8132c51eb8c123f1034691344dc2b91f0a534ce8af0b4e5afdc2f1afb95cef289416cf8122da262
6
+ metadata.gz: 614555a8b2dd25f742140504eae44f84d28a977888ba7d3583ad8db818ecc646a3302a33893c5a46b92215e744f1e0ce7bed0126b4cfc1ac15d03c8657dd7880
7
+ data.tar.gz: 8ca65d78ae038b7ac78a093c9b85df976d3f969d3e115e50c0301f72d4a4664834adc3a2e0cbc79ab38180c4b0e4ea9412ff998aaea51a16ad3c687163808d40
data/.gitignore CHANGED
@@ -1,3 +1,4 @@
1
+ Gemfile.lock
1
2
  /.bundle/
2
3
  /.yardoc
3
4
  /_yardoc/
@@ -269,6 +269,12 @@ class Batch
269
269
  @data.unshift(aDiscovery)
270
270
  end
271
271
 
272
+ ##
273
+ # Append another batch's data into this one.
274
+ def appendBatch(aBatch)
275
+ @data.append(*aBatch.data)
276
+ end
277
+
272
278
  ##
273
279
  # Render this batch of data as a sequence of lines of text appropriate
274
280
  # for sending into zabbix_sender
@@ -1,3 +1,3 @@
1
1
  module ZabbixSenderApi
2
- VERSION = "1.0.6"
2
+ VERSION = "1.0.7"
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.6
4
+ version: 1.0.7
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-12-16 00:00:00.000000000 Z
11
+ date: 2021-06-09 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
@@ -21,7 +21,6 @@ extra_rdoc_files: []
21
21
  files:
22
22
  - ".gitignore"
23
23
  - Gemfile
24
- - Gemfile.lock
25
24
  - LICENSE.txt
26
25
  - README.md
27
26
  - Rakefile
@@ -58,8 +57,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
58
57
  - !ruby/object:Gem::Version
59
58
  version: '0'
60
59
  requirements: []
61
- rubyforge_project:
62
- rubygems_version: 2.7.6
60
+ rubygems_version: 3.1.6
63
61
  signing_key:
64
62
  specification_version: 4
65
63
  summary: Ruby frontend to the zabbix_sender command line tool
data/Gemfile.lock DELETED
@@ -1,30 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- zabbix_sender_api (1.0.4)
5
-
6
- GEM
7
- remote: https://rubygems.org/
8
- specs:
9
- byebug (11.1.3)
10
- coderay (1.1.3)
11
- method_source (1.0.0)
12
- pry (0.13.1)
13
- coderay (~> 1.1)
14
- method_source (~> 1.0)
15
- pry-byebug (3.9.0)
16
- byebug (~> 11.0)
17
- pry (~> 0.13.0)
18
- rake (12.3.3)
19
-
20
- PLATFORMS
21
- ruby
22
-
23
- DEPENDENCIES
24
- pry
25
- pry-byebug
26
- rake
27
- zabbix_sender_api!
28
-
29
- BUNDLED WITH
30
- 2.1.4