fluent-plugin-validate-tag-filter 0.2.0 → 0.2.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
2
  SHA1:
3
- metadata.gz: 0feb735d58f6e152de8a4c2a7c4bfe0bb7abe8a5
4
- data.tar.gz: 43849a572a4b45c1eaa39c021ec0db9d5aba21a0
3
+ metadata.gz: 5b8940201b734bce76f62af38a0e3865bf88c70a
4
+ data.tar.gz: bc73d1135a9bc8f99995a3c8606ef073b6fc24b2
5
5
  SHA512:
6
- metadata.gz: c9ec1349df54f911b33f8163dd9670f3781be94aa38b488334b331623fa467e45117d0114334a31107e79e16c5d7c6fefb3dd70356fe70b2fabdf0ef4efff25f
7
- data.tar.gz: d8ed4949f721a488156f452e69872806db5356613f72734b5dea522ca351242f59885c5eb6a600be59bf6664f751f33b61a7d5e2c9e78201cbdc40186f2d58dd
6
+ metadata.gz: 4c479e522be2626965d71cac19dd00640bfe75618d02a730a50e5d7c94c488d49cb3e9a5887856adaabcb12a2baa2e9929cf5cc99538bfcda54a797dab1fb8e9
7
+ data.tar.gz: 9851564f7a06959ff5a0ef7e1d786e7437ca02df7bca3c115712a790633384eb418dd28918656fc36ebe0ca408230dd18850f492f2e28d5bc69dab56eee35ba2
@@ -1,4 +1,5 @@
1
1
  language: ruby
2
2
  rvm:
3
- - 2.2.3
3
+ - 2.1
4
+ - 2.2
4
5
  before_install: gem install bundler -v 1.10.6
data/README.md CHANGED
@@ -1,3 +1,5 @@
1
+ [![Build Status](https://travis-ci.org/adorechic/fluent-plugin-validate-tag-filter.svg)](https://travis-ci.org/adorechic/fluent-plugin-validate-tag-filter)
2
+
1
3
  # fluent-plugin-validate-tag-filter
2
4
 
3
5
  This plugin validates queue tags and filter them.
@@ -29,6 +31,10 @@ Or install it yourself as:
29
31
  </filter>
30
32
  ```
31
33
 
34
+ ### regexpN
35
+ You can set match patterns as regexp1, regexp2, ...
36
+ If a tag does not match all patterns, it will be removed from queue.
37
+
32
38
  ## Development
33
39
 
34
40
  After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake test` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
@@ -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-validate-tag-filter"
7
- spec.version = "0.2.0"
7
+ spec.version = "0.2.1"
8
8
  spec.authors = ["adorechic"]
9
9
  spec.email = ["adorechic@gmail.com"]
10
10
 
@@ -8,9 +8,9 @@ module Fluent
8
8
  super
9
9
 
10
10
  @regexps = []
11
- conf.each do |key, value|
11
+ conf.keys.each do |key|
12
12
  if key =~ /\Aregexp[0-9]+\z/
13
- @regexps << Regexp.new(value)
13
+ @regexps << Regexp.new(conf[key])
14
14
  end
15
15
  end
16
16
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluent-plugin-validate-tag-filter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - adorechic
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2015-11-26 00:00:00.000000000 Z
11
+ date: 2015-12-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler