fluent-plugin-json-parser 0.0.2 → 0.0.3

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.
@@ -1,7 +1,7 @@
1
1
  # -*- encoding: utf-8 -*-
2
2
  Gem::Specification.new do |gem|
3
3
  gem.name = "fluent-plugin-json-parser"
4
- gem.version = "0.0.2"
4
+ gem.version = "0.0.3"
5
5
  gem.authors = ["anarcher"]
6
6
  gem.email = ["anarcher@gmail.com"]
7
7
  gem.description = %q{fluentd plugin to json parse single field, or to combine log structure into single field}
@@ -33,8 +33,7 @@ class Fluent::ParserOutput < Fluent::Output
33
33
  t,values = raw_value ? parse(raw_value) : [nil,nil]
34
34
  t ||= time
35
35
 
36
- r = @reserve_data ? record.merge(r) : values
37
-
36
+ r = @reserve_data ? record.merge(values) : values
38
37
  if r
39
38
  Fluent::Engine.emit(tag,t,r)
40
39
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluent-plugin-json-parser
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: