fluent-plugin-go-audit-parser 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ba22e96bea2ae400b687602a97d450158e4ec505b84248dab397ff9b0ec9b229
4
- data.tar.gz: f7891bcefd7796ca666561956162759745f32a1f6c7177279ba27ace1723fc02
3
+ metadata.gz: 5fcd033eb832dc942bcdc40ddd3d1f854fe3495546078ab7007d1f8a76ecdbc4
4
+ data.tar.gz: 92006dc2153f74691f827629f16a6986e5e0ba353a36aa6e7132e88b6d1a1b55
5
5
  SHA512:
6
- metadata.gz: a817930b2d24a2dc7ff04cd9375c57a9defe70d8492f9649ce8a54c5c540231f8c88853b60155b71e8f8a740dbefa8f387d52f84563ed787807bccb0b911db70
7
- data.tar.gz: 89ecacbe447fccc5ee7ac1cb1476a1943e95e675ff7e71c0a69bbe55dce1e6fe79b69f012a14e256ba5bcabe446814d0da00b5f41820386f7d9fdb4338d436c3
6
+ metadata.gz: 90fb8c565839c81e116c4ed86a672b94e91ed23bf753b86986092833693a148c54a5b1f530767dda82147d603861359f94689864be81f663c83d6c42e2a1cd4a
7
+ data.tar.gz: 4b0a8ae01c4933e77b83ff17e241251e7ac60f86cab11930f31a743e4fe9072112e4673443fadcc27b9be71dc12553bae410f1e8295200080c81b8f4f28bf4c8
@@ -3,7 +3,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
3
3
 
4
4
  Gem::Specification.new do |spec|
5
5
  spec.name = "fluent-plugin-go-audit-parser"
6
- spec.version = "0.1.0"
6
+ spec.version = "0.1.1"
7
7
  spec.authors = ["haccht"]
8
8
  spec.email = ["haccht@users.noreply.github.com"]
9
9
 
@@ -266,7 +266,7 @@ module Fluent
266
266
  def parseline(text)
267
267
  regex = /([^\s=]+)=('[^']*'|"[^"]*"|\S+)/
268
268
  text.scan(regex).each.with_object({}) do |(key, val), hash|
269
- val = val[1..-2] if val.start_with?(/['"]/)
269
+ val = val[1..-2] if val.start_with?('\'') || val.start_with?('"')
270
270
  hash[key] = val
271
271
  end
272
272
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluent-plugin-go-audit-parser
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - haccht
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-07-15 00:00:00.000000000 Z
11
+ date: 2021-07-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler