fluent-plugin-flatten 0.1.0 → 0.1.1

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
- SHA1:
3
- metadata.gz: 5f89bacd8f75c114993634731bce29093a182fe7
4
- data.tar.gz: 58defd52ece87e48bfeffa339591a10d79b256d8
2
+ SHA256:
3
+ metadata.gz: c82f4c7940e5ac3c665206e07862d86d8719f51bc87e4c85b25b292312811e9c
4
+ data.tar.gz: bfe0a3646d8ce2d101bae799416fe37ae62911bc7e7c4adae2265914e1239b8e
5
5
  SHA512:
6
- metadata.gz: 4c13ccffa9ee50538ce8ac06448e2f5f1cb56b7d413d254964dd17ee6f42984e5038741230eee8e282a3ac90012d1973866df291442f01d084e41dc927e8a283
7
- data.tar.gz: a10848bb4ec3b8e4ee37a90634a7b1e7e05255110c952210edd59ec0127e1ac21f351b58ef4c9aec153a8b70e4b56f3c7870407203caa6012c90bfb6501694ab
6
+ metadata.gz: e6416a61b1036e8b74d4d8853954f4f2a52ae01facd5157ec8f32c436ae0d5cfbfe87db0669dd92500f0a3f9673f1d5f191caa68e219d72ac9c296987e680743
7
+ data.tar.gz: 89fe7a075af15111d51993c2f9475ef9d7e8e5d08c4d02f4b351c483e0a751d0c244e7eb50f23b95a6b2339519405ced2dd92c314b0e503c184888a6f99b62cb
data/README.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # fluent-plugin-flatten, a plugin for [Fluentd](http://fluentd.org)
2
2
 
3
+ ## Requirements
4
+
5
+ | fluent-plugin-flatten | fluentd | ruby |
6
+ |-----------------------|------------|--------|
7
+ | >= 0.1.0 | >= v0.14.8 | >= 2.1 |
8
+ | < 0.1.0 | >= v0.12.0 | >= 1.9 |
9
+
3
10
  ## Component
4
11
 
5
12
  ### FlattenOutput
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |gem|
2
2
  gem.name = 'fluent-plugin-flatten'
3
- gem.version = '0.1.0'
3
+ gem.version = '0.1.1'
4
4
  gem.authors = ['Kentaro Kuribayashi']
5
5
  gem.email = ['kentarok@gmail.com']
6
6
  gem.homepage = 'http://github.com/kentaro/fluent-plugin-flatten'
@@ -1,4 +1,5 @@
1
1
  require 'json'
2
+ require 'fluent/plugin/output'
2
3
 
3
4
  module Fluent::Plugin
4
5
  class FlattenOutput < Fluent::Plugin::Output
@@ -18,17 +19,8 @@ module Fluent::Plugin
18
19
  desc "Replaces spaces in the resulting tag with the key passed"
19
20
  config_param :replace_space_in_tag, :string, default: nil
20
21
 
21
- def configure(conf)
22
- super
23
-
24
- if (
25
- !remove_tag_prefix &&
26
- !remove_tag_suffix &&
27
- !add_tag_prefix &&
28
- !add_tag_suffix
29
- )
30
- raise Fluent::ConfigError, "out_flatten: At least one of remove_tag_prefix/remove_tag_suffix/add_tag_prefix/add_tag_suffix is required to be set"
31
- end
22
+ def multi_workers_ready?
23
+ true
32
24
  end
33
25
 
34
26
  def process(tag, es)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluent-plugin-flatten
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kentaro Kuribayashi
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-11-14 00:00:00.000000000 Z
11
+ date: 2018-06-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: appraisal
@@ -112,7 +112,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
112
112
  version: '0'
113
113
  requirements: []
114
114
  rubyforge_project:
115
- rubygems_version: 2.4.5.1
115
+ rubygems_version: 2.7.6
116
116
  signing_key:
117
117
  specification_version: 4
118
118
  summary: Fluentd plugin to extract values for nested key paths and re-emit them as