fluent-plugin-stats 0.3.0 → 0.3.1

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
  SHA1:
3
- metadata.gz: 5bc9f72a5a727bc1397f45b015193d8762b10533
4
- data.tar.gz: a2ba051b18070f6cf5518416c50330495fa56829
3
+ metadata.gz: 036f3acd030741392ec82058f22e3921cfb4bf3a
4
+ data.tar.gz: 67a195961977e80ff7ef70e0d1418236a5ec7a4b
5
5
  SHA512:
6
- metadata.gz: 212b0f23da7de8e80edfa0a01de810730d6f2e23adc83b694a63214197f04b9ae58a0b1091754e0745cf396567a4e60b3f9ef1e0ebfd464be013816bd80d69dc
7
- data.tar.gz: 577089bb6d526f10d4911891e0fb8284073cc97d6a91a9439dfaedf66af3e4ea41a34c772508df120f5e03ccf4e8aa8ca837b195ef89ea391ec07e3fbc53b899
6
+ metadata.gz: a208ce10bcf0245ef0d5a36dde4134012583455881bcc370a16061cbed12b1cc7555df81725fc124cdd3c4bd9a8046440d39c7f2d4c15799d9c74609bf1872c5
7
+ data.tar.gz: a2639f78d865f3e71a87d7ccb68aed91e1eb652c9cc6bc70d1bac0c04753d877e749a818791d98cf84801b1ba0036da508b5020c7be0182c96599c6693d0dfd4
data/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ ## 0.3.1 (2014/01/02)
2
+
3
+ Fixes
4
+
5
+ - Trivial fix not to emit empty {} message
6
+
1
7
  ## 0.3.0 (2013/12/27)
2
8
 
3
9
  Changes
data/README.md CHANGED
@@ -90,7 +90,7 @@ then output bocomes as belows:
90
90
 
91
91
  - aggragate
92
92
 
93
- Statsulate by each `tag` or `all`. The default value is `tag`.
93
+ Calculate by each `tag` or `all`. The default value is `tag`.
94
94
 
95
95
  - store_file
96
96
 
@@ -3,7 +3,7 @@ $:.push File.expand_path("../lib", __FILE__)
3
3
 
4
4
  Gem::Specification.new do |s|
5
5
  s.name = "fluent-plugin-stats"
6
- s.version = "0.3.0"
6
+ s.version = "0.3.1"
7
7
  s.authors = ["Naotoshi Seo"]
8
8
  s.email = ["sonots@gmail.com"]
9
9
  s.homepage = "https://github.com/sonots/fluent-plugin-stats"
@@ -198,7 +198,7 @@ class Fluent::StatsOutput < Fluent::Output
198
198
  matches = flushed_matches[tag]
199
199
  output = generate_output(matches)
200
200
  emit_tag = @tag_proc.call(tag)
201
- Fluent::Engine.emit(emit_tag, time, output) if output
201
+ Fluent::Engine.emit(emit_tag, time, output) if output and !output.empty?
202
202
  end
203
203
  end
204
204
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluent-plugin-stats
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Naotoshi Seo
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-12-27 00:00:00.000000000 Z
11
+ date: 2014-01-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: fluentd