fluent-plugin-parse_request_body 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
  SHA256:
3
- metadata.gz: b012fd233c16dec7ddb97702a1d73f9f050c75ab85af6330d0cfe33d2fa45344
4
- data.tar.gz: fc297081f810c08b477dec3193cefeca2f24c1f25f43e126f8c43aff729f895f
3
+ metadata.gz: 09f546b793ebfd209dcf63dd79f27477e34ffac132a472617ff427a556f41dec
4
+ data.tar.gz: 1834db8debc739aaf45e07564ac6bd6202556a9f69018f24243e37094a7bbf6c
5
5
  SHA512:
6
- metadata.gz: 614e97185dbd0bd031ce0b2ac17db1f5f85fadb90bb5624b43f5a65d0cf455a9c4c770a55c22ec0cfafbbadc43defb2ea91c628cab4e20c71c85e2cd0e0d1dd6
7
- data.tar.gz: 13fe2fd198e9fa434444af715b064b717eab2795719d4a7320cbfeb14f142dcb1b109472f5a589ad25ed48588d6676a55c670aafc6356797a233fcf0f6ea1bf8
6
+ metadata.gz: 6e8cdf1959c9bc4739d70c4fb4bb7c92251f8279e51a2125a3e379a82a7af29ccae1429b4e8b595af0dd9c475ff906482d95cadea658c819a8c5bb2169733bb8
7
+ data.tar.gz: 36da38e9ffd9448b743fb549090be6662ca5627c65d4192ea6c426fa910631f920018c7c03aef865159cca61c7b8cf1f293bcbbf399f3c3976ea20234b1c8607
@@ -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.5'
3
+ gem.version = '0.0.6'
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,10 @@ module Fluent::Plugin
59
59
  }
60
60
  end
61
61
 
62
+ def json?(text)
63
+ text.match(/^\[.+\]$/) || text.match(/^\{.+\}$/)
64
+ end
65
+
62
66
  def quoted_value?(text)
63
67
  # to improbe compatibility with fluentd v1-config
64
68
  text.match(/(^'.+'$|^".+"$)/)
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.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - EkiSong