fluent-plugin-flatten-hash 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
 
5
5
  Gem::Specification.new do |spec|
6
6
  spec.name = "fluent-plugin-flatten-hash"
7
- spec.version = "0.0.1"
7
+ spec.version = "0.0.2"
8
8
  spec.authors = ["Masahiro Sano"]
9
9
  spec.email = ["sabottenda@gmail.com"]
10
10
  spec.description = %q{A fluentd plugin to flatten nested hash structure as a flat record}
@@ -17,5 +17,6 @@ Gem::Specification.new do |spec|
17
17
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
18
18
  spec.require_paths = ["lib"]
19
19
 
20
- spec.add_dependency "fluentd"
20
+ spec.add_dependency "fluentd", "~> 0.10.0"
21
+ spec.add_development_dependency "rake"
21
22
  end
@@ -22,11 +22,11 @@ module Fluent
22
22
  end
23
23
 
24
24
  def emit(tag, es, chain)
25
- @tag ||= tag
25
+ tag = @tag || tag
26
26
  es.each do |time, record|
27
27
  record = flatten_record(record, [])
28
- filter_record(@tag, time, record)
29
- Engine.emit(@tag, time, record)
28
+ filter_record(tag, time, record)
29
+ Engine.emit(tag, time, record)
30
30
  end
31
31
  chain.next
32
32
  end
metadata CHANGED
@@ -1,27 +1,46 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluent-plugin-flatten-hash
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
+ prerelease:
5
6
  platform: ruby
6
7
  authors:
7
8
  - Masahiro Sano
8
9
  autorequire:
9
10
  bindir: bin
10
11
  cert_chain: []
11
- date: 2013-08-25 00:00:00.000000000 Z
12
+ date: 2013-08-28 00:00:00.000000000 Z
12
13
  dependencies:
13
14
  - !ruby/object:Gem::Dependency
14
15
  name: fluentd
15
16
  requirement: !ruby/object:Gem::Requirement
17
+ none: false
16
18
  requirements:
17
- - - '>='
19
+ - - ~>
18
20
  - !ruby/object:Gem::Version
19
- version: '0'
21
+ version: 0.10.0
20
22
  type: :runtime
21
23
  prerelease: false
22
24
  version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ~>
28
+ - !ruby/object:Gem::Version
29
+ version: 0.10.0
30
+ - !ruby/object:Gem::Dependency
31
+ name: rake
32
+ requirement: !ruby/object:Gem::Requirement
33
+ none: false
34
+ requirements:
35
+ - - ! '>='
36
+ - !ruby/object:Gem::Version
37
+ version: '0'
38
+ type: :development
39
+ prerelease: false
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
23
42
  requirements:
24
- - - '>='
43
+ - - ! '>='
25
44
  - !ruby/object:Gem::Version
26
45
  version: '0'
27
46
  description: A fluentd plugin to flatten nested hash structure as a flat record
@@ -43,26 +62,27 @@ files:
43
62
  homepage: https://github.com/sabottenda/fluent-plugin-flatten-hash
44
63
  licenses:
45
64
  - MIT
46
- metadata: {}
47
65
  post_install_message:
48
66
  rdoc_options: []
49
67
  require_paths:
50
68
  - lib
51
69
  required_ruby_version: !ruby/object:Gem::Requirement
70
+ none: false
52
71
  requirements:
53
- - - '>='
72
+ - - ! '>='
54
73
  - !ruby/object:Gem::Version
55
74
  version: '0'
56
75
  required_rubygems_version: !ruby/object:Gem::Requirement
76
+ none: false
57
77
  requirements:
58
- - - '>='
78
+ - - ! '>='
59
79
  - !ruby/object:Gem::Version
60
80
  version: '0'
61
81
  requirements: []
62
82
  rubyforge_project:
63
- rubygems_version: 2.0.7
83
+ rubygems_version: 1.8.23
64
84
  signing_key:
65
- specification_version: 4
85
+ specification_version: 3
66
86
  summary: A fluentd plugin to flatten nested hash structure as a flat record
67
87
  test_files:
68
88
  - test/helper.rb
checksums.yaml DELETED
@@ -1,7 +0,0 @@
1
- ---
2
- SHA1:
3
- metadata.gz: 06106e3a3fba0cc454f3d2b638f79f2efe1194ec
4
- data.tar.gz: 6ff631bc5f9b14ebc48d72477992701458328e04
5
- SHA512:
6
- metadata.gz: 96bf0b454249f603ea4aaf6e78376685c77691d2a9a7158cca8d7b08a86e64f6deed59c4f8f9e8783ffa1ea14aafb5f12d2724a49e82b5c044a52397e6bebcaa
7
- data.tar.gz: 4f3cbcabab41450deadb2683e926b27336cb0e942b2180163c2c01cedae197bbcbeb84101dd7328dab66ec32dc5805f5b930306cb25bbf2ee73be5b961815633