fluent-plugin-parse_request_body 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
  SHA256:
3
- metadata.gz: ef0ac877afe06e963320f9466029549a512c953a2b9a7246ee79a550134909d3
4
- data.tar.gz: 81de586be056b280f3cbe019930cefd4a5a3ab80b55967353f43dd08e9d27ca1
3
+ metadata.gz: b012fd233c16dec7ddb97702a1d73f9f050c75ab85af6330d0cfe33d2fa45344
4
+ data.tar.gz: fc297081f810c08b477dec3193cefeca2f24c1f25f43e126f8c43aff729f895f
5
5
  SHA512:
6
- metadata.gz: ff50b4b62c1149eb142ee05549c40761c4c6b57f727dad8e39f6a8fa1193726ea243f288f45f96b82fcf6b16b761c50e85e45bbe246852404f9f02163401954c
7
- data.tar.gz: 29e9a2e0d26f847458f4a9a8715a1072ba8161996cc14a8e2b30bb7b41ba93a897c19d21abd62847a5ad7de37e6ba36f180ec3a99b9a3dea131ff1f9bc963590
6
+ metadata.gz: 614e97185dbd0bd031ce0b2ac17db1f5f85fadb90bb5624b43f5a65d0cf455a9c4c770a55c22ec0cfafbbadc43defb2ea91c628cab4e20c71c85e2cd0e0d1dd6
7
+ data.tar.gz: 13fe2fd198e9fa434444af715b064b717eab2795719d4a7320cbfeb14f142dcb1b109472f5a589ad25ed48588d6676a55c670aafc6356797a233fcf0f6ea1bf8
@@ -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.4'
3
+ gem.version = '0.0.5'
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'
@@ -59,6 +59,11 @@ module Fluent::Plugin
59
59
  }
60
60
  end
61
61
 
62
+ def quoted_value?(text)
63
+ # to improbe compatibility with fluentd v1-config
64
+ text.match(/(^'.+'$|^".+"$)/)
65
+ end
66
+
62
67
  def add_record_field(record)
63
68
  return record if @map.values.first.nil?
64
69
  @map.each do |record_key, value|
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.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - EkiSong