fluent-plugin-config-expander 0.1.2 → 0.1.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: f389ce769a0c4b82c173d4fa9fb28c9b39a4feba
4
- data.tar.gz: d5db6b45a5998dad927a26b607461a1ef4a5ac3a
3
+ metadata.gz: b6163f5b5c8209f9817608bffeeb70d83198dd4f
4
+ data.tar.gz: 3269507b7a5c875f0e68ab97d84337034951aa55
5
5
  SHA512:
6
- metadata.gz: bb657f4f067407c696e6f0c80cd3deb7bbe0b3a0db91abce7bc5c47f986eec20d9e81ac48febe7abe7150cc0e52cfe34876c63cb0eff6b8556f1a8a87ca63bb1
7
- data.tar.gz: a76095b5cb97982cf0442a00409c7c4a8fdce8a57a7ee50c80a53d77038c0768c58d3bfdbdafa9c17c1e1db893ce6e776a9b6da70fbf52dbb7a4e9198f0f9104
6
+ metadata.gz: 2a7c19ec2868124de2f55873cd4767d6d3600075fce3daaa47f1cf76b48937dfd14f3d2d7660f3f02833f3d474e9a360fa0d9e1d102f2b271c771e5f0c4c5910
7
+ data.tar.gz: ff7bc022153bcd26b2407acc42caf36b9bb57cba6ece7fe4df22f2d59c7e2dc742a993529d04755aface63e2b55d01258dd139254b840fc225b3c4c6d1cc0460
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |gem|
4
4
  gem.name = "fluent-plugin-config-expander"
5
- gem.version = "0.1.2"
5
+ gem.version = "0.1.3"
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}
@@ -1,6 +1,6 @@
1
1
  require_relative 'expander'
2
2
 
3
- class Fluent::ConfigExpanderOutput < Fluent::Output
3
+ class Fluent::ConfigExpanderOutput < Fluent::MultiOutput
4
4
  Fluent::Plugin.register_output('config_expander', self)
5
5
 
6
6
  config_param :hostname, :string, :default => `hostname`.chomp
@@ -22,6 +22,8 @@ class Fluent::ConfigExpanderOutput < Fluent::Output
22
22
  ex
23
23
  end
24
24
 
25
+ attr_reader :outputs
26
+
25
27
  def configure(conf)
26
28
  super
27
29
 
@@ -33,6 +35,8 @@ class Fluent::ConfigExpanderOutput < Fluent::Output
33
35
  @plugin = Fluent::Plugin.new_output(ex['type'])
34
36
  @plugin.configure(ex)
35
37
 
38
+ @outputs = [@plugin]
39
+
36
40
  mark_used(configs.first)
37
41
  end
38
42
 
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.2
4
+ version: 0.1.3
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-08 00:00:00.000000000 Z
11
+ date: 2013-04-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake