fluent-plugin-light-core 0.1.3 → 0.1.4
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 +4 -4
- data/fluent-plugin-light-core.gemspec +1 -1
- data/lib/fluent/plugin/filter_light_core.rb +5 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0347a4994b0d80fe628f8e94b46ba34e09f3a7bd05d73f3e1149b41c03f4b008
|
4
|
+
data.tar.gz: 9200bc7fc01f2bd32199691ef72aeb64cd1b7c8bc4701111cc4dfbad4e51f34d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 19dc0a68b8061e0ab6a9c370a6237ed366a9fe68368df4d0f3877c14d51beb9d7c3f1cb17bc15c75fa95522b53d286d699dfd7516ae375fb05c819d46e2d245d
|
7
|
+
data.tar.gz: 6e04a967595b41ce436835c0a8495edf72507559a211498fa9ea86fb8a5e4cddb11dca1de5a39c82353a1c0bd2bd2b664e9ee093c61bf01a102ca6dc2e2b6a1f
|
@@ -239,9 +239,12 @@ module Fluent
|
|
239
239
|
end
|
240
240
|
|
241
241
|
if item[:query]
|
242
|
+
record['command'] = item[:query]
|
242
243
|
query = /^command\s* (?<collection>[^ ]*) (?<command>.*)$/.match(item[:query])
|
243
|
-
|
244
|
-
|
244
|
+
unless query.nil?
|
245
|
+
record['collection'] = query[:collection]
|
246
|
+
record['command'] = query[:command]
|
247
|
+
end
|
245
248
|
end
|
246
249
|
|
247
250
|
return record
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fluent-plugin-light-core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- LIN LI
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-01-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|