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: 58a5e18dbe4c7791a652d832a200a7d2338a370b29f055590f7f28a39e1310d3
4
- data.tar.gz: b73facd81747ff81e5ad2a8b8ca6aa193f1d014dd3e6d6e13d908a52c99c13ff
3
+ metadata.gz: d55c8ad27fd1480dd52033881a111dfeaf233384a1d6c47d3b48cf86c290d2de
4
+ data.tar.gz: 33348a3a917cd5b69e4f6a2454d82657c111e1b4d30d1c4418304878e8b83735
5
5
  SHA512:
6
- metadata.gz: 0b555c8a8461603ef41e604c5647acba50566203e10b3c8b1bc9ebccd6bff499dd6a2d3a4e41f055a05dddeb98117f015810fd841c518f916eec2f7afb3b08b7
7
- data.tar.gz: c2e0c725ea0746faecc2509342880b45c0d20bd35127242db8b44b84f619f358c0c764b7f91bbb9c13caa25441e4c1940ac47edf0eedcb299d70bcab649f119d
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.15'
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] = "#{placeholder}"
117
+ record[@array_value_key] = placeholder
118
118
  end
119
119
  end
120
120
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluent-plugin-parse_request_body
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.15
4
+ version: 0.0.16
5
5
  platform: ruby
6
6
  authors:
7
7
  - EkiSong