fluent-plugin-filter-list 0.6.1 → 0.6.2

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
  SHA256:
3
- metadata.gz: f6a90e5e975c2bcf76c8c30418dff2ccf2e3f4728b964fc952423c7e28004218
4
- data.tar.gz: b6094adbcd3973449b473025d04c1c5e050f2fd68ea7d8f4884d755c495c9c8a
3
+ metadata.gz: 1f1beff88a018e08d4bc91c64df9c4366fae068b2a1b52943a97dbf7da3db5f7
4
+ data.tar.gz: 700de6cd91d914d1e24fcd5f00935478d57d60749983d9f2c961f03adcaca97d
5
5
  SHA512:
6
- metadata.gz: 1c2a1269f37ae68f68bb657b0832c6e311ac1d0e03cf56122c33077077e837f5fada77e347f3aff29f89866f0011e7a32ea67343f2465774c25f50855518c689
7
- data.tar.gz: 9ff01be81c9bb97d6e97234d97ac0744ed62b71419378f039b13d0dbdd3d4a0bc4c1337623ed0b770e781ffa92fdf9a7db6937d44fb9e25971b4982b157ca234
6
+ metadata.gz: 878771c4a28216d0c69c2f2f71235a73dd9bc9031fde4ef32a42b8c3fdac51aae9a81f73e22f6435955adf0011da4d6647bd218efe526c3bb63a437c88c0c6af
7
+ data.tar.gz: 8a8f76921f0b739c1ca396c4f7ddfafdecd396c6e44dc4cf1f0101c4ffad9996f2479d194a21eb81c1ed5d604824d84ccdb157ad0202fc8fa7cfcd86800359cc
@@ -47,7 +47,7 @@ module Fluent
47
47
  def configure(conf)
48
48
  super
49
49
  [@retag, @retag_for_filtered].each { |c| validate c }
50
- patterns = @pattern_file_paths.flat_map { |p| File.readlines(p).map(&:chomp).reject(&:empty?) }
50
+ patterns = @pattern_file_paths.flat_map { |p| File.readlines(p).map(&:strip).reject(&:empty?) }
51
51
  @matcher = (@filter == 'IP') ? IPMatcher.new(patterns) : ACMatcher.new(patterns)
52
52
  configure_prefixes
53
53
  end
@@ -1,7 +1,7 @@
1
1
  module Fluent
2
2
  module Plugin
3
3
  module FilterList
4
- VERSION = "0.6.1"
4
+ VERSION = "0.6.2"
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluent-plugin-filter-list
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.1
4
+ version: 0.6.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shun Yanaura