fluent-plugin-rewrite 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |gem|
2
2
  gem.name = "fluent-plugin-rewrite"
3
- gem.version = '0.0.1'
3
+ gem.version = '0.0.2'
4
4
  gem.authors = ["Kentaro Kuribayashi"]
5
5
  gem.email = ["kentarok@gmail.com"]
6
6
  gem.homepage = "http://github.com/kentaro/fluent-plugin-rewrite"
@@ -24,6 +24,11 @@ module Fluent
24
24
  if element.has_key?("pattern")
25
25
  element["regex"] = Regexp.new(element["pattern"])
26
26
  end
27
+
28
+ element.keys.each do |k|
29
+ # read and throw away to supress unread configuration warning
30
+ element[k]
31
+ end
27
32
  }
28
33
  end
29
34
 
data/test/test_helper.rb CHANGED
@@ -26,7 +26,7 @@ unless ENV.has_key?('VERBOSE')
26
26
  $log = nulllogger
27
27
  end
28
28
 
29
- require 'fluent/plugin/rewrite'
29
+ require 'fluent/plugin/out_rewrite'
30
30
 
31
31
  class Test::Unit::TestCase
32
32
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluent-plugin-rewrite
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -73,7 +73,7 @@ files:
73
73
  - README.md
74
74
  - Rakefile
75
75
  - fluent-plugin-rewrite.gemspec
76
- - lib/fluent/plugin/rewrite.rb
76
+ - lib/fluent/plugin/out_rewrite.rb
77
77
  - test/plugin/test_out_rewrite.rb
78
78
  - test/test_helper.rb
79
79
  homepage: http://github.com/kentaro/fluent-plugin-rewrite