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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ec25f3a1cbfa2865ad4277ceefb9c6f6e01163ec
|
4
|
+
data.tar.gz: 30369b5f88c0805b76d5733bb765897f334fc7a3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
+
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 =
|
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
|