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

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: 62b603886288ca39a1d8a41e78170bcb2bc0f03f
4
- data.tar.gz: a4c45a6c23ffec907e2f0a03b2dd6791a1a1b0c0
3
+ metadata.gz: ec25f3a1cbfa2865ad4277ceefb9c6f6e01163ec
4
+ data.tar.gz: 30369b5f88c0805b76d5733bb765897f334fc7a3
5
5
  SHA512:
6
- metadata.gz: 0b318b5dc3bcc34f1246d12126e078c7dd4884b87c7e27fb57ff8abd74d0f61fd842eee10ee45ad944c947117b9458c8d2ae44e21dbd374d3c471aa77bbe7bb9
7
- data.tar.gz: 5efad177bbd69ecb06c968a90ee8cb3eb85986e53698cacb37d7c87a48cb4891c0b7441fd6623fe08d8c9783330e770ee7a7de7b50d25b97c9611c1550409b13
6
+ metadata.gz: a47e83f3330b510cf8d9bfdfffdd4d55a0c0ec3d6761dae7de127a5dd549d774beac75d5cbbbdbf3a9f63fe9f5ebf82b9dc113b68a814a75ea2f189c33c294be
7
+ data.tar.gz: d3d98655798883b5da42a36b474a1cc185e6b4473e6807351c5a204984325a1b8bab602376654030a1f5326854e2ee4ec32ec9753166ddc1aff3ff3b485ffcbb
@@ -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.5"
5
+ gem.version = "0.0.6"
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}
@@ -124,7 +124,7 @@ module Fluent
124
124
  value = tidy_up_string(value)
125
125
  end
126
126
  if 0 < @tidy_string_twice
127
- value = tidy_up_string(value)
127
+ value = tidy_up_string_twice(value)
128
128
  end
129
129
  if 0 < @only_alphabet
130
130
  if ( /^[a-zA-Z0-9 ]*$/.match(value) ) != nil
@@ -162,7 +162,12 @@ module Fluent
162
162
 
163
163
  # unescape and make it to downcase
164
164
  def tidy_up_string(string)
165
- string.downcase
165
+ string = string.downcase
166
+ string = CGI.unescape(string)
167
+ return string
168
+ end
169
+
170
+ def tidy_up_string_twice(string)
166
171
  string = CGI.unescape(string)
167
172
  return string
168
173
  end
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.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - wejick