fluent-plugin-zabbix 0.2.1 → 0.2.2

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d6e28b9d233ac3e55fead20be133e738ec343fb3
4
- data.tar.gz: d72c18fb161135b2671aedddb6cd8d191ae5d8ca
3
+ metadata.gz: f9584189d91c7cb8240c598a1d263153773dd5b1
4
+ data.tar.gz: 37c9b2900af32681fa7ec8a2bda11627028c1b59
5
5
  SHA512:
6
- metadata.gz: 85d3a3adf93609a9863b43ce652049b3e9ba334fa05b245ff53ebdb1a96bad5bc206e26fa472c843007daa88b79e275e04171337979441cb484135e7923d176a
7
- data.tar.gz: 79803828c3f68e0c9274d095af37404ced81752c090e089669e65c12a606874fe1d42508d75f0cd9495e3b22fc8ef34ca4d559e2f002fa0c7271bdc72f061f87
6
+ metadata.gz: 9bbea55a979895b1d3a42407a7fe7c0a833ad48128c17a7cb941f68b4fdd83f172c5cd9aa8e13fb58feba8a59f60d4857a2c1989c133382b6994c6ae28662329
7
+ data.tar.gz: c0e6b45f5e9b816aca5a56094fffd5c986e5c1995149a6285c4b3d9ad60cb396207d73d5c98de41252b2a54c4f6b2436ac44219f1937f7c076ca5564b96c2d6b
@@ -14,7 +14,7 @@ Gem::Specification.new do |gem|
14
14
  gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
15
15
  gem.name = "fluent-plugin-zabbix"
16
16
  gem.require_paths = ["lib"]
17
- gem.version = "0.2.1"
17
+ gem.version = "0.2.2"
18
18
 
19
19
  gem.add_runtime_dependency "fluentd", [">= 0.10", "< 2"]
20
20
  gem.add_runtime_dependency "yajl-ruby", "~> 1.0"
@@ -56,7 +56,7 @@ class Fluent::ZabbixOutput < Fluent::Output
56
56
  super
57
57
  end
58
58
 
59
- def send(time, bulk)
59
+ def bulk_send(time, bulk)
60
60
  bulk.each do |d|
61
61
  end
62
62
  begin
@@ -89,7 +89,7 @@ class Fluent::ZabbixOutput < Fluent::Output
89
89
  })
90
90
  end
91
91
  }
92
- send(time, bulk) if bulk.size > 0
92
+ bulk_send(time, bulk) if bulk.size > 0
93
93
  }
94
94
  else # for name_key_pattern
95
95
  es.each {|time,record|
@@ -104,7 +104,7 @@ class Fluent::ZabbixOutput < Fluent::Output
104
104
  })
105
105
  end
106
106
  }
107
- send(time, bulk) if bulk.size > 0
107
+ bulk_send(time, bulk) if bulk.size > 0
108
108
  }
109
109
  end
110
110
  chain.next
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluent-plugin-zabbix
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - FUJIWARA Shunichiro
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-11-24 00:00:00.000000000 Z
11
+ date: 2017-03-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: fluentd