fluent-plugin-reemit 0.2.0 → 0.2.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/fluent-plugin-reemit.gemspec +1 -1
- data/lib/fluent/plugin/out_reemit.rb +3 -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: 0404160cd5a1c4c5b048ff0dccc853242ed44299
|
4
|
+
data.tar.gz: 1d832c567318c7d268fcc2e7e764a439f1b422fd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 182e124f72351c76ef85a86f2ed51a7f50247504f174617120f89eb62a7eba391a457c67f70773b3b0b2cb5c2b6fcb83fccffa56608be371f9813adedd4f809b
|
7
|
+
data.tar.gz: e5c17f6c93b8e74a0c3cfc48cf6c9b9246cd52a04628e9f31fbecbe5e1da8b995af85c46a7bb929364db3edb481a17650f01577107dab983e619d7fd9d611dbf
|
data/CHANGELOG.md
CHANGED
@@ -3,7 +3,7 @@ $:.push File.expand_path('../lib', __FILE__)
|
|
3
3
|
|
4
4
|
Gem::Specification.new do |gem|
|
5
5
|
gem.name = "fluent-plugin-reemit"
|
6
|
-
gem.version = "0.2.
|
6
|
+
gem.version = "0.2.1"
|
7
7
|
gem.authors = ["Naotoshi Seo"]
|
8
8
|
gem.email = "sonots@gmail.com"
|
9
9
|
gem.homepage = "https://github.com/sonots/fluent-plugin-reemit"
|
@@ -1,3 +1,5 @@
|
|
1
|
+
require 'fluent/event_router'
|
2
|
+
|
1
3
|
module Fluent
|
2
4
|
class ReemitOutput < Output
|
3
5
|
Fluent::Plugin.register_output('reemit', self)
|
@@ -80,7 +82,7 @@ module Fluent
|
|
80
82
|
if rule.match?(tag)
|
81
83
|
if found_reemit && !@reemit.included?(rule.collector)
|
82
84
|
if rule.collector.is_a?(Filter)
|
83
|
-
pipeline ||= Pipeline.new
|
85
|
+
pipeline ||= EventRouter::Pipeline.new
|
84
86
|
pipeline.add_filter(rule.collector)
|
85
87
|
else
|
86
88
|
if pipeline
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fluent-plugin-reemit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.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: 2015-08-
|
11
|
+
date: 2015-08-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: fluentd
|