fluent-plugin-config-expander 0.1.3 → 0.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b6163f5b5c8209f9817608bffeeb70d83198dd4f
4
- data.tar.gz: 3269507b7a5c875f0e68ab97d84337034951aa55
3
+ metadata.gz: c1f8049ef67a96eab31ea6ebc032694209311fc4
4
+ data.tar.gz: be2930a63a6421bffffff362b1ce1ce7eea28202
5
5
  SHA512:
6
- metadata.gz: 2a7c19ec2868124de2f55873cd4767d6d3600075fce3daaa47f1cf76b48937dfd14f3d2d7660f3f02833f3d474e9a360fa0d9e1d102f2b271c771e5f0c4c5910
7
- data.tar.gz: ff7bc022153bcd26b2407acc42caf36b9bb57cba6ece7fe4df22f2d59c7e2dc742a993529d04755aface63e2b55d01258dd139254b840fc225b3c4c6d1cc0460
6
+ metadata.gz: 2ec948f7a080581a4fb1b3e2ff6189386b174646124c7d9374904a80bdeffe4679642eeb6d700a6a05a4b2d2bc05aca460464b0d66746bfd60579655411aee8d
7
+ data.tar.gz: 393ab92fa4c9ffac8d7447384a8224856beb1495de41ca7cb78075afcb0ecba79592bf1ea944532d2dfc9ae5bb04be09dbb0188810ca089bc7794c91ffde3af1
data/.travis.yml ADDED
@@ -0,0 +1,4 @@
1
+ language: ruby
2
+ rvm:
3
+ - 1.9.3
4
+ - 2.0.0
data/README.md CHANGED
@@ -1,5 +1,7 @@
1
1
  # fluent-plugin-config-expander
2
2
 
3
+ This is a plugin for [Fluentd](http://fluentd.org).
4
+
3
5
  ## ConfigExpanderInput, ConfigExpanderOutput
4
6
 
5
7
  ConfigExpanderInput and ConfigExpanderOutput plugins provide simple configuration template to write items repeatedly.
@@ -2,12 +2,13 @@
2
2
 
3
3
  Gem::Specification.new do |gem|
4
4
  gem.name = "fluent-plugin-config-expander"
5
- gem.version = "0.1.3"
5
+ gem.version = "0.1.4"
6
6
  gem.authors = ["TAGOMORI Satoshi"]
7
7
  gem.email = ["tagomoris@gmail.com"]
8
8
  gem.description = %q{This plugin provides directives for loop extraction}
9
9
  gem.summary = %q{Fluentd plugin to serve some DSL directives in configuration}
10
10
  gem.homepage = "https://github.com/tagomoris/fluent-plugin-config-expander"
11
+ gem.license = "APLv2"
11
12
 
12
13
  gem.files = `git ls-files`.split($\)
13
14
  gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
@@ -7,7 +7,7 @@ class Fluent::ConfigExpanderInput < Fluent::Input
7
7
  attr_accessor :plugin
8
8
 
9
9
  def mark_used(conf)
10
- conf.used = conf.keys
10
+ conf.keys.each {|key| conf[key] } # to suppress unread configuration warning
11
11
  conf.elements.each{|e| mark_used(e)}
12
12
  end
13
13
 
@@ -7,7 +7,7 @@ class Fluent::ConfigExpanderOutput < Fluent::MultiOutput
7
7
  attr_accessor :plugin
8
8
 
9
9
  def mark_used(conf)
10
- conf.used = conf.keys
10
+ conf.keys.each {|key| conf[key] } # to suppress unread configuration warning
11
11
  conf.elements.each{|e| mark_used(e)}
12
12
  end
13
13
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluent-plugin-config-expander
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - TAGOMORI Satoshi
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-04-24 00:00:00.000000000 Z
11
+ date: 2014-02-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -46,6 +46,7 @@ extensions: []
46
46
  extra_rdoc_files: []
47
47
  files:
48
48
  - .gitignore
49
+ - .travis.yml
49
50
  - Gemfile
50
51
  - LICENSE.txt
51
52
  - README.md
@@ -60,7 +61,8 @@ files:
60
61
  - test/plugin/test_out_config_expander.rb
61
62
  - test/plugins.rb
62
63
  homepage: https://github.com/tagomoris/fluent-plugin-config-expander
63
- licenses: []
64
+ licenses:
65
+ - APLv2
64
66
  metadata: {}
65
67
  post_install_message:
66
68
  rdoc_options: []
@@ -78,7 +80,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
78
80
  version: '0'
79
81
  requirements: []
80
82
  rubyforge_project:
81
- rubygems_version: 2.0.0
83
+ rubygems_version: 2.0.3
82
84
  signing_key:
83
85
  specification_version: 4
84
86
  summary: Fluentd plugin to serve some DSL directives in configuration
@@ -88,3 +90,4 @@ test_files:
88
90
  - test/plugin/test_in_config_expander.rb
89
91
  - test/plugin/test_out_config_expander.rb
90
92
  - test/plugins.rb
93
+ has_rdoc: