fluent-plugin-filter-list 0.7.3 → 0.7.4

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
  SHA256:
3
- metadata.gz: 43e0a813287433d553675fa915bf85f371e693a06284f9b6b459de6541009798
4
- data.tar.gz: 2d0774d211c5d2ea449dd25be10ea238a0208bc3ed051923ab43bd2bc0c14e85
3
+ metadata.gz: 6025312b2ef8ab49eba3c259f54a37d835ccac19e74bb781210cfc18e661791a
4
+ data.tar.gz: e646c57736caf246e975543f5f0dafdeda23b4a62c5e3053e0316cc73477d3a4
5
5
  SHA512:
6
- metadata.gz: 63650ac66d20e8d8df80e27c8e3e677111bab9201dd375aa96ea57088e6fb32cc66a176b2f2d468630ab0f553dcddca8188dee724ca87ded717cedbf7cb5efb2
7
- data.tar.gz: 26fe217237f2ea7c2406894ff4991646560234c62073efb6fbd0ab048cac41499917c557377de3a7f8a435792854d4e6b445437e777998373f7c2248414ffb73
6
+ metadata.gz: 28746a246fc18ab753febab8b7af0647b6e7e3fe661401d10b783668c6341cd42ecca70ac3522091c447c26af8c0862de56f5bf9567c316fd25d7d9755435df8
7
+ data.tar.gz: 757804606fb9536d34a9f96fe003af127b850c8bcb48b2680e93ed5acaa1cc843d8545bbbf7d6d5e3d0263ecf5396231be7a82a457f20a4c95446cb03ae82565
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # fluent-plugin-filter-list
2
2
 
3
- [![Build Status](https://travis-ci.org/yanana/fluent-plugin-filter-list.svg?branch=master)](https://travis-ci.org/yanana/fluent-plugin-filter-list)
3
+ [![Build Status](https://travis-ci.com/yanana/fluent-plugin-filter-list.svg?branch=master)](https://travis-ci.com/yanana/fluent-plugin-filter-list)
4
4
 
5
5
  Want to filter fluentd messages containing black-listed words in the list effectively? Use the _fluent-plugin-filter-list_ plugin. The plugin enables you to filter messages in the list of words you provide. You can either discard such messages simply, or process them in a different flow by retagging them.
6
6
 
@@ -1,7 +1,7 @@
1
1
  module Fluent
2
2
  module Plugin
3
3
  module FilterList
4
- VERSION = "0.7.3"
4
+ VERSION = "0.7.4"
5
5
  end
6
6
  end
7
7
  end
data/lib/matcher.rb CHANGED
@@ -21,6 +21,7 @@ module Matchers
21
21
 
22
22
  # Follow failure if it exists in case pattern doesn't match
23
23
  node = failure.children[char] if node.nil?
24
+ node = failure if node.nil?
24
25
  end
25
26
 
26
27
  return false if node.nil?
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluent-plugin-filter-list
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.3
4
+ version: 0.7.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shun Yanaura
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-06-14 00:00:00.000000000 Z
11
+ date: 2021-06-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler