fluent-plugin-amplifier-filter 0.1.4 → 0.1.5

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: ab5955dcb3adc2aea8ee884012c22a99b705a552
4
- data.tar.gz: cdb87072dbde32a9cd47cdf36891ddb1a663f2a9
3
+ metadata.gz: 1a57b34226fa0cc904593f9d3c11ec7e1ff6a529
4
+ data.tar.gz: b4021c85e02fca814daae21e08120e91f1c570f8
5
5
  SHA512:
6
- metadata.gz: 0075609bff8cd075d4bc463ad32b50245921d204a93845047f4b1f22a9d683cb611af231099f7f2af2cd28bb4f20c2acefb5514e808e1b0f872cd8cdabe03b38
7
- data.tar.gz: cb1fdbced99186b443d99342ea61cbfed5bd3be4c5f6a2645b53feb498cdbd860310a6a30a943d5291954b21520b0798c4b79b7c7f61f016eaee920f29808f7c
6
+ metadata.gz: 3a5d4a2a3a82759b88c5d5ab38120cbffd18f820c267a04504d725f108160c8d5b36911b2b1800dbc0371d3d4c4383ac4c235345927bc71b4f8e7d10cab55595
7
+ data.tar.gz: b5ffcb5ded641ccf4dab2098a70ec9eec42b182549f49de2a61831ad05594afb48c83e2cdef10cc98e5ac8fd22b829e04b83b9bdb95de3b5b6daa746da74a68c
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
@@ -4,7 +4,7 @@
4
4
 
5
5
  ### AmplifierFilterOutput
6
6
 
7
- Modify numeric values of specified fields, and Re-emit with modified tags. Useful for counting values of sampled data (by fluent-plugin-sampling-filter or etc).
7
+ [Fluentd](http://fluentd.org) plugin to modify numeric values of specified fields, and Re-emit with modified tags. Useful for counting values of sampled data (by fluent-plugin-sampling-filter or etc).
8
8
 
9
9
  ## Configuration
10
10
 
@@ -1,12 +1,13 @@
1
1
  # -*- encoding: utf-8 -*-
2
2
  Gem::Specification.new do |gem|
3
3
  gem.name = "fluent-plugin-amplifier-filter"
4
- gem.version = "0.1.4"
4
+ gem.version = "0.1.5"
5
5
  gem.authors = ["TAGOMORI Satoshi"]
6
6
  gem.email = ["tagomoris@gmail.com"]
7
7
  gem.summary = %q{plugin to re-emit messages with amplified values}
8
8
  gem.description = %q{plugin to increase/decrease values by specified ratio (0-1 or 1-)}
9
9
  gem.homepage = "http://github.com/tagomoris/fluent-plugin-amplifier-filter"
10
+ gem.license = "APLv2"
10
11
 
11
12
  gem.files = `git ls-files`.split($\)
12
13
  gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
@@ -14,4 +15,6 @@ Gem::Specification.new do |gem|
14
15
  gem.require_paths = ["lib"]
15
16
 
16
17
  gem.add_runtime_dependency "fluentd"
18
+ gem.add_development_dependency "bundler"
19
+ gem.add_development_dependency "rake"
17
20
  end
@@ -11,6 +11,11 @@ class Fluent::AmplifierFilterOutput < Fluent::Output
11
11
  config_param :remove_prefix, :string, :default => nil
12
12
  config_param :add_prefix, :string, :default => nil
13
13
 
14
+ # Define `log` method for v0.10.42 or earlier
15
+ unless method_defined?(:log)
16
+ define_method("log") { $log }
17
+ end
18
+
14
19
  def configure(conf)
15
20
  super
16
21
 
metadata CHANGED
@@ -1,27 +1,55 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluent-plugin-amplifier-filter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
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: 2013-04-26 00:00:00.000000000 Z
11
+ date: 2014-03-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: fluentd
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: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - '>='
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: bundler
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rake
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
25
53
  - !ruby/object:Gem::Version
26
54
  version: '0'
27
55
  description: plugin to increase/decrease values by specified ratio (0-1 or 1-)
@@ -31,7 +59,8 @@ executables: []
31
59
  extensions: []
32
60
  extra_rdoc_files: []
33
61
  files:
34
- - .gitignore
62
+ - ".gitignore"
63
+ - ".travis.yml"
35
64
  - Gemfile
36
65
  - LICENSE.txt
37
66
  - README.md
@@ -41,7 +70,8 @@ files:
41
70
  - test/helper.rb
42
71
  - test/plugin/test_out_amplifier_filter.rb
43
72
  homepage: http://github.com/tagomoris/fluent-plugin-amplifier-filter
44
- licenses: []
73
+ licenses:
74
+ - APLv2
45
75
  metadata: {}
46
76
  post_install_message:
47
77
  rdoc_options: []
@@ -49,17 +79,17 @@ require_paths:
49
79
  - lib
50
80
  required_ruby_version: !ruby/object:Gem::Requirement
51
81
  requirements:
52
- - - '>='
82
+ - - ">="
53
83
  - !ruby/object:Gem::Version
54
84
  version: '0'
55
85
  required_rubygems_version: !ruby/object:Gem::Requirement
56
86
  requirements:
57
- - - '>='
87
+ - - ">="
58
88
  - !ruby/object:Gem::Version
59
89
  version: '0'
60
90
  requirements: []
61
91
  rubyforge_project:
62
- rubygems_version: 2.0.0
92
+ rubygems_version: 2.2.2
63
93
  signing_key:
64
94
  specification_version: 4
65
95
  summary: plugin to re-emit messages with amplified values