fluent-plugin-xml-simple-filter 0.0.10 → 0.0.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/fluent-plugin-xml-simple-filter.gemspec +2 -2
- data/lib/fluent/plugin/filter_xml_simple.rb +4 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c91a8c69c01ee9a0a35f997cdf23ee6031b36652
|
4
|
+
data.tar.gz: 68a8cab0d8c13c8ffa79f4abfbf07ddc81959731
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: af282b44e29ed725a6e7d6bb28779b1fbfb7be32fd6b42a74ed0ca536f629d55b194e4b2213e73cf3484e4d1657116926e0843baef578b1f032083d831b2c931
|
7
|
+
data.tar.gz: 7850ce9182cb3d8ace036481156a0a78289cf3cfc6884a45983496288965fe1037f5e8a402e4fbadea125557878699b44de609bfcfd937407f02c4874b0950c2
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.11
|
@@ -2,11 +2,11 @@
|
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
3
3
|
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
|
-
# stub: fluent-plugin-xml-simple-filter 0.0.
|
5
|
+
# stub: fluent-plugin-xml-simple-filter 0.0.11 ruby lib
|
6
6
|
|
7
7
|
Gem::Specification.new do |s|
|
8
8
|
s.name = "fluent-plugin-xml-simple-filter".freeze
|
9
|
-
s.version = "0.0.
|
9
|
+
s.version = "0.0.11"
|
10
10
|
|
11
11
|
s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
|
12
12
|
s.require_paths = ["lib".freeze]
|
@@ -42,8 +42,11 @@ module Fluent
|
|
42
42
|
end
|
43
43
|
|
44
44
|
hash = @parser.parse(record[field])
|
45
|
+
hash = self.try_convert_times ? convert_times(hash) : hash
|
45
46
|
|
46
|
-
|
47
|
+
$log.debug "Hash from XML: #{hash.to_json}"
|
48
|
+
|
49
|
+
record[field_name] = hash
|
47
50
|
end
|
48
51
|
}
|
49
52
|
|