fluent-plugin-oui-filter 0.0.2 → 0.0.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: 3b59c0949439c849e106765462c4ee2716a607a5
4
- data.tar.gz: 746da4d93bd5fa7c829083252199cade1d21ec5d
3
+ metadata.gz: 3ab675e96b703dec3c328fab72dabb4a2f366991
4
+ data.tar.gz: 7a5a9b512ede1c225b55beb88bf41efd99ec455e
5
5
  SHA512:
6
- metadata.gz: 1316c01e77b46e346fd422a3e90cc5292ff870877e49475b6f00ab0a9f5039a16579b8f0d8937a3b7e44735a5a2ae0d378bfc042eb784b6db18e013cdc5765df
7
- data.tar.gz: e858105d1aea140937c45d3205d16dae937db7aedf473d2d2bc5afdbaa49a0d70b5eb9e2d1c6b92eddd169ffe58fd8d7e6337ec780f8366887d25624f53f54ff
6
+ metadata.gz: 482e2f2d46dc0570c6c8b5b0fd7f76e79e9f3b08cce574d7b9fcbf04dac918e7a390066f06af305c4aceff94a2ed7c5b30731fb256e05aacb6170e1fb14ee69e
7
+ data.tar.gz: aba5178c2743bbccdfd0961126b496202376fe67183f8added339194a7610580cd1081089f3f1f00b0cf223252c3fab03477c0d16e84dcac5ffd9b2da8dea5f8
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
 
5
5
  Gem::Specification.new do |spec|
6
6
  spec.name = "fluent-plugin-oui-filter"
7
- spec.version = "0.0.2"
7
+ spec.version = "0.0.3"
8
8
  spec.authors = ["Tokyo Home SOC"]
9
9
  spec.email = ["github@homesoc.tokyo"]
10
10
 
@@ -18,7 +18,7 @@ module Fluent::Plugin
18
18
  @key_prefix_oui = @mac_address + "_" + @key_prefix_oui
19
19
  end
20
20
 
21
- def filter_stream(tag, es)
21
+ def filter(tag, es)
22
22
  new_es = Fluent::MultiEventStream.new
23
23
  tag = tag.sub(@remove_prefix, '') if @remove_prefix
24
24
  tag = (@add_prefix + '.' + tag) if @add_prefix
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluent-plugin-oui-filter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tokyo Home SOC