fluent-plugin-go-audit-parser 0.1.0 → 0.1.1
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: 5fcd033eb832dc942bcdc40ddd3d1f854fe3495546078ab7007d1f8a76ecdbc4
|
4
|
+
data.tar.gz: 92006dc2153f74691f827629f16a6986e5e0ba353a36aa6e7132e88b6d1a1b55
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
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.
|
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-
|
11
|
+
date: 2021-07-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|