fluent-plugin-retag 0.1.0 → 0.1.1

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
- SHA1:
3
- metadata.gz: 274ade0964d0e63df8227fe94598a609106a53fd
4
- data.tar.gz: 774a744bdbde01aa4f643e25d588c8178246585c
2
+ SHA256:
3
+ metadata.gz: ec3413e6dbeccf8f48481663548dd92f35e666220cd179c2526f9cb17ea0987b
4
+ data.tar.gz: 0a50621f0f5be39f6445dc2c120e17fd83204d98f7b8a516bf14caf4e5194da1
5
5
  SHA512:
6
- metadata.gz: ab34927fba8fc079b7a2a22e2bd1e3e0e7669ecedc8a353ab2e91ba791762e6706fd6184f05a5588c3966802a59940ed0b552fae64fa09dc38b703ebb7bd8fb1
7
- data.tar.gz: c02f15e992779ac29e630bf88a496b54000f66f40c8f51f2fbba02ceae583a6527ba002a062613b24094b11d389240a92aea61d348540889cff4cd537b60194a
6
+ metadata.gz: d2a1f8f900ad046dc374b93ae00d42248b689bad20069427130536050ec31b22f7eab3b85e6c4d2b17a2d295780bb99581cd0e3c51fd98d67ba79ce1b00f0ee3
7
+ data.tar.gz: 4bfe80172b912cfcf029428e27ab00eea9082cf9a76ee15112adb0a6b1f5a8ac6f4ee01288561ef5243eca697f54bcdb1500be556ef5f002b6189175d602946e
data/.gitignore CHANGED
@@ -20,3 +20,4 @@ vendor
20
20
  \#*
21
21
  .\#*
22
22
  *.swp
23
+ .wercker/
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
 
5
5
  Gem::Specification.new do |gem|
6
6
  gem.name = "fluent-plugin-retag"
7
- gem.version = "0.1.0"
7
+ gem.version = "0.1.1"
8
8
  gem.authors = ["Masahiro Yamauchi"]
9
9
  gem.email = ["sgt.yamauchi@gmail.com"]
10
10
  gem.description = %q{Output filter plugin to retag}
@@ -37,6 +37,10 @@ class Fluent::Plugin::RetagOutput < Fluent::Plugin::Output
37
37
  end
38
38
  end
39
39
 
40
+ def multi_workers_ready?
41
+ true
42
+ end
43
+
40
44
  def process(tag, es)
41
45
  tag = if @tag
42
46
  @tag
@@ -41,6 +41,7 @@ class RetagOutputTest < Test::Unit::TestCase
41
41
  ]
42
42
  d1.instance.inspect
43
43
  assert_equal 'a', d1.instance.tag
44
+ assert_true d1.instance.multi_workers_ready?
44
45
  d2 = create_driver %[
45
46
  remove_prefix b
46
47
  add_prefix c
@@ -0,0 +1,8 @@
1
+ box: ruby:2.3.5
2
+ build:
3
+ steps:
4
+ - bundle-install
5
+ - script:
6
+ name: run test
7
+ code: bundle exec rake test
8
+
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluent-plugin-retag
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
  - Masahiro Yamauchi
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-09-22 00:00:00.000000000 Z
11
+ date: 2018-11-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -74,6 +74,7 @@ files:
74
74
  - lib/fluent/plugin/out_retag.rb
75
75
  - test/helper.rb
76
76
  - test/plugin/test_out_retag.rb
77
+ - wercker.yml
77
78
  homepage: https://github.com/algas/fluent-plugin-retag
78
79
  licenses: []
79
80
  metadata: {}
@@ -93,7 +94,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
93
94
  version: '0'
94
95
  requirements: []
95
96
  rubyforge_project: fluent-plugin-retag
96
- rubygems_version: 2.5.1
97
+ rubygems_version: 2.7.8
97
98
  signing_key:
98
99
  specification_version: 4
99
100
  summary: Output filter plugin to retag