fluent-plugin-flatten 0.0.3 → 0.0.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.
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |gem|
2
2
  gem.name = 'fluent-plugin-flatten'
3
- gem.version = '0.0.3'
3
+ gem.version = '0.0.4'
4
4
  gem.authors = ['Kentaro Kuribayashi']
5
5
  gem.email = ['kentarok@gmail.com']
6
6
  gem.homepage = 'http://github.com/kentaro/fluent-plugin-flatten'
@@ -39,7 +39,7 @@ module Fluent
39
39
  end
40
40
 
41
41
  def flatten(record)
42
- flattend = {}
42
+ flattened = {}
43
43
 
44
44
  if record.has_key?(key)
45
45
  hash = JSON.parse(record[key])
@@ -63,10 +63,10 @@ module Fluent
63
63
  flattened
64
64
  end
65
65
 
66
- flattend = processor.call(key, hash)
66
+ flattened = processor.call(key, hash)
67
67
  end
68
68
 
69
- flattend
69
+ flattened
70
70
  end
71
71
  end
72
72
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluent-plugin-flatten
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: