fluent-plugin-config-expander 0.1.4 → 0.1.5
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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c41142ef4394c1060bfc0514b8888ec3fb5d774a
|
|
4
|
+
data.tar.gz: 4ff74b9689ca7314831e1771370066388efcabdf
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: de75f176625cc2aea4b0ae46db44f148d04fbaef5f5d880566085669ad5d45d372c95e56fbae42347a3efa15b96791b8303bddeccfedc29d92319c33f7fd9bf8
|
|
7
|
+
data.tar.gz: 84a0a068041bb569043d8a37eccff683a29b1908f74aa098e831d5d9eb5daed5dc74c6f443fdc3cf3633864c2cf736f99ae92a147e71739bc0f0702bbe50c81a
|
|
@@ -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.
|
|
5
|
+
gem.version = "0.1.5"
|
|
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}
|
|
@@ -3,6 +3,11 @@ require_relative 'expander'
|
|
|
3
3
|
class Fluent::ConfigExpanderInput < Fluent::Input
|
|
4
4
|
Fluent::Plugin.register_input('config_expander', self)
|
|
5
5
|
|
|
6
|
+
# Define `log` method for v0.10.42 or earlier
|
|
7
|
+
unless method_defined?(:log)
|
|
8
|
+
define_method("log") { $log }
|
|
9
|
+
end
|
|
10
|
+
|
|
6
11
|
config_param :hostname, :string, :default => `hostname`.chomp
|
|
7
12
|
attr_accessor :plugin
|
|
8
13
|
|
|
@@ -3,6 +3,11 @@ require_relative 'expander'
|
|
|
3
3
|
class Fluent::ConfigExpanderOutput < Fluent::MultiOutput
|
|
4
4
|
Fluent::Plugin.register_output('config_expander', self)
|
|
5
5
|
|
|
6
|
+
# Define `log` method for v0.10.42 or earlier
|
|
7
|
+
unless method_defined?(:log)
|
|
8
|
+
define_method("log") { $log }
|
|
9
|
+
end
|
|
10
|
+
|
|
6
11
|
config_param :hostname, :string, :default => `hostname`.chomp
|
|
7
12
|
attr_accessor :plugin
|
|
8
13
|
|
metadata
CHANGED
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: fluent-plugin-config-expander
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.5
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- TAGOMORI Satoshi
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2014-
|
|
11
|
+
date: 2014-03-07 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rake
|
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
|
16
16
|
requirements:
|
|
17
|
-
- -
|
|
17
|
+
- - ">="
|
|
18
18
|
- !ruby/object:Gem::Version
|
|
19
19
|
version: '0'
|
|
20
20
|
type: :development
|
|
21
21
|
prerelease: false
|
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
|
23
23
|
requirements:
|
|
24
|
-
- -
|
|
24
|
+
- - ">="
|
|
25
25
|
- !ruby/object:Gem::Version
|
|
26
26
|
version: '0'
|
|
27
27
|
- !ruby/object:Gem::Dependency
|
|
28
28
|
name: fluentd
|
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
|
30
30
|
requirements:
|
|
31
|
-
- -
|
|
31
|
+
- - ">="
|
|
32
32
|
- !ruby/object:Gem::Version
|
|
33
33
|
version: '0'
|
|
34
34
|
type: :runtime
|
|
35
35
|
prerelease: false
|
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
|
37
37
|
requirements:
|
|
38
|
-
- -
|
|
38
|
+
- - ">="
|
|
39
39
|
- !ruby/object:Gem::Version
|
|
40
40
|
version: '0'
|
|
41
41
|
description: This plugin provides directives for loop extraction
|
|
@@ -45,8 +45,8 @@ executables: []
|
|
|
45
45
|
extensions: []
|
|
46
46
|
extra_rdoc_files: []
|
|
47
47
|
files:
|
|
48
|
-
- .gitignore
|
|
49
|
-
- .travis.yml
|
|
48
|
+
- ".gitignore"
|
|
49
|
+
- ".travis.yml"
|
|
50
50
|
- Gemfile
|
|
51
51
|
- LICENSE.txt
|
|
52
52
|
- README.md
|
|
@@ -70,17 +70,17 @@ require_paths:
|
|
|
70
70
|
- lib
|
|
71
71
|
required_ruby_version: !ruby/object:Gem::Requirement
|
|
72
72
|
requirements:
|
|
73
|
-
- -
|
|
73
|
+
- - ">="
|
|
74
74
|
- !ruby/object:Gem::Version
|
|
75
75
|
version: '0'
|
|
76
76
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
77
77
|
requirements:
|
|
78
|
-
- -
|
|
78
|
+
- - ">="
|
|
79
79
|
- !ruby/object:Gem::Version
|
|
80
80
|
version: '0'
|
|
81
81
|
requirements: []
|
|
82
82
|
rubyforge_project:
|
|
83
|
-
rubygems_version: 2.
|
|
83
|
+
rubygems_version: 2.2.2
|
|
84
84
|
signing_key:
|
|
85
85
|
specification_version: 4
|
|
86
86
|
summary: Fluentd plugin to serve some DSL directives in configuration
|
|
@@ -90,4 +90,3 @@ test_files:
|
|
|
90
90
|
- test/plugin/test_in_config_expander.rb
|
|
91
91
|
- test/plugin/test_out_config_expander.rb
|
|
92
92
|
- test/plugins.rb
|
|
93
|
-
has_rdoc:
|