fluent-plugin-jvm-gclog 0.0.2 → 0.0.3

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: ebca3bc9c247cf606286a1142d7d1a27dd2b62e1
4
- data.tar.gz: b075d6f010ab10704f3ae9cfb2b7f3b9498b64d7
3
+ metadata.gz: 8e20f68ae80e55aa58c34118840d590038de7a1a
4
+ data.tar.gz: e311efba5eb6a508dc6ec02eeb2f0b0bf0eb0bf5
5
5
  SHA512:
6
- metadata.gz: 3de580a295cebb98a8acbe317ddc2271a8c2d2f83f07f49f75de2a5d4831f656d789cf92e414d99c0ef295abd22a5a3e1b0c0643b2e48bbca3507a7bd84b90ec
7
- data.tar.gz: a26e582431f175da3eccbdcabbdf3038de87fcfb3afc9b7fb6bb2a9a3812d582ae27cc1b6cbce98cd9b89aed390e11c54e5a49015ed4388b74df8ad1945d2ae0
6
+ metadata.gz: 5756178360f3c2b89c2da308f6b6092e84632f6b7a319153f8f08f86cc6cb8998b854a6f631c7d5bc61c290d8e580502db503a23f22f179ea6918693267badd0
7
+ data.tar.gz: 3a76faa6bdfadea546ae0284c529774286e9038dde5cbf026ca8173bb3df69787799e5a102334a219547890b5cb4f14ed4bb3592c9474d211f6dc81c6cb0ee0a
@@ -14,7 +14,7 @@ Gem::Specification.new do |gem|
14
14
  gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
15
15
  gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
16
16
  gem.require_paths = ["lib"]
17
- gem.version = "0.0.2"
17
+ gem.version = "0.0.3"
18
18
  gem.add_development_dependency "rake"
19
19
  gem.add_runtime_dependency "fluentd"
20
20
  gem.add_runtime_dependency "jvm_gclog"
@@ -59,7 +59,11 @@ class JVMGCLogInput < TailInput
59
59
  @tag
60
60
  end
61
61
  begin
62
- router.emit_stream(tag, es)
62
+ if defined? router
63
+ router.emit_stream(tag, es)
64
+ else
65
+ Engine.emit_stream(tag, es)
66
+ end
63
67
  rescue
64
68
  # ignore errors. Engine shows logs and backtraces.
65
69
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluent-plugin-jvm-gclog
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shinji Tanaka