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 +4 -4
- data/CHANGELOG.md +6 -0
- data/README.md +1 -1
- data/fluent-plugin-stats.gemspec +1 -1
- data/lib/fluent/plugin/out_stats.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 036f3acd030741392ec82058f22e3921cfb4bf3a
|
4
|
+
data.tar.gz: 67a195961977e80ff7ef70e0d1418236a5ec7a4b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a208ce10bcf0245ef0d5a36dde4134012583455881bcc370a16061cbed12b1cc7555df81725fc124cdd3c4bd9a8046440d39c7f2d4c15799d9c74609bf1872c5
|
7
|
+
data.tar.gz: a2639f78d865f3e71a87d7ccb68aed91e1eb652c9cc6bc70d1bac0c04753d877e749a818791d98cf84801b1ba0036da508b5020c7be0182c96599c6693d0dfd4
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
data/fluent-plugin-stats.gemspec
CHANGED
@@ -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.
|
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.
|
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:
|
11
|
+
date: 2014-01-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: fluentd
|