fluent-plugin-redis-store-wejick 0.0.4 → 0.0.5

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: d476378491594ac0c643411185c0af557cb2a1f7
4
- data.tar.gz: 5c1980af060b5a2bbb9cb2366857b97341c18e0c
3
+ metadata.gz: 62b603886288ca39a1d8a41e78170bcb2bc0f03f
4
+ data.tar.gz: a4c45a6c23ffec907e2f0a03b2dd6791a1a1b0c0
5
5
  SHA512:
6
- metadata.gz: cd8620d29fc6e2c7311e305624f2c0bca8ac70d6c445f2ed0582f62f93b7b40ce9b98d70caa29e3765e3cdc17cfb0342cec719f3e2b02fa29bc2c3c13cc8084d
7
- data.tar.gz: 133afa8c8a7bd23e2e81e594bbe563fcb076b7ae22aedb62b49082f9a99b256990a6ad320c7368f9dee0bbb6819036f8e795c9ab09bd2a6663f9cbb04bc8c16d
6
+ metadata.gz: 0b318b5dc3bcc34f1246d12126e078c7dd4884b87c7e27fb57ff8abd74d0f61fd842eee10ee45ad944c947117b9458c8d2ae44e21dbd374d3c471aa77bbe7bb9
7
+ data.tar.gz: 5efad177bbd69ecb06c968a90ee8cb3eb85986e53698cacb37d7c87a48cb4891c0b7441fd6623fe08d8c9783330e770ee7a7de7b50d25b97c9611c1550409b13
@@ -2,7 +2,7 @@
2
2
  Gem::Specification.new do |gem|
3
3
  gem.name = "fluent-plugin-redis-store-wejick"
4
4
  gem.email = "wejick@gmail.com"
5
- gem.version = "0.0.4"
5
+ gem.version = "0.0.5"
6
6
  gem.authors = ["wejick", "Gian Giovani"]
7
7
  gem.licenses = ["Apache License Version 2.0"]
8
8
  gem.summary = %q{Redis(zset/set/list/string/publish) output plugin for Fluentd}
@@ -26,6 +26,7 @@ module Fluent
26
26
  config_param :prevent_duplicate, :integer, :default => 0
27
27
  config_param :only_alphabet,:integer, :default => 0
28
28
  config_param :tidy_string, :integer, :default => 0
29
+ config_param :tidy_string_twice, :integer, :default => 0
29
30
 
30
31
  def initialize
31
32
  super
@@ -122,6 +123,9 @@ module Fluent
122
123
  if 0 < @tidy_string
123
124
  value = tidy_up_string(value)
124
125
  end
126
+ if 0 < @tidy_string_twice
127
+ value = tidy_up_string(value)
128
+ end
125
129
  if 0 < @only_alphabet
126
130
  if ( /^[a-zA-Z0-9 ]*$/.match(value) ) != nil
127
131
  else
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluent-plugin-redis-store-wejick
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - wejick
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2016-08-09 00:00:00.000000000 Z
12
+ date: 2016-08-10 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rake