fluent-plugin-parse_request_body 0.0.15 → 0.0.16
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d55c8ad27fd1480dd52033881a111dfeaf233384a1d6c47d3b48cf86c290d2de
|
4
|
+
data.tar.gz: 33348a3a917cd5b69e4f6a2454d82657c111e1b4d30d1c4418304878e8b83735
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5cf90b6200d6ace13a2e86ff67045829fd6c05376cd0b11906d290dace2c4abb028b6feddb166282e6767b0c92e2aba1f80a5526f40ebaaa634b7053d15d6904
|
7
|
+
data.tar.gz: f809571d05cbbd3dc6f8027c2df0cadbbcf7f57034e52b1ec3944b554dd6ef040cf715c12d9893183e4f4c2fcc0a119a06789b2ef379d8766bf73975770064b8
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Gem::Specification.new do |gem|
|
2
2
|
gem.name = 'fluent-plugin-parse_request_body'
|
3
|
-
gem.version = '0.0.
|
3
|
+
gem.version = '0.0.16'
|
4
4
|
gem.authors = ['EkiSong']
|
5
5
|
gem.email = ['yifriday0614@gmail.com']
|
6
6
|
gem.homepage = 'https://github.com/yifriday/fluent-plugin-parse_request_body.git'
|
@@ -109,12 +109,12 @@ module Fluent::Plugin
|
|
109
109
|
end
|
110
110
|
|
111
111
|
if @include_array_value
|
112
|
-
placeholder[placeholder.size] = value if @include_array_value.has_key?(key)
|
112
|
+
placeholder[placeholder.size] = value.to_f if @include_array_value.has_key?(key)
|
113
113
|
end
|
114
114
|
end
|
115
115
|
|
116
116
|
unless placeholder.empty?
|
117
|
-
record[@array_value_key] =
|
117
|
+
record[@array_value_key] = placeholder
|
118
118
|
end
|
119
119
|
end
|
120
120
|
end
|