fluent-plugin-out-file-with-fix-path 0.0.1 → 0.1.0

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.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 4d758cbe9ca25d51f38c539045e5a9e373463ad4
4
+ data.tar.gz: d5751a62f7bb65a1629d2c39df9c0509e0988de0
5
+ SHA512:
6
+ metadata.gz: 90ba0348fe406aaff9db5b596f46591d1f1e04b81f0f0cd4e574edb0fd57220a73caeb7460bbcafad018215ff4ed9e5320e5363e57369a4e723c44f2f6b59884
7
+ data.tar.gz: bb50b3653baaf2a1c64087243a7eeed77239632abd24f8df4f8d3be3822538b857b3d194c8d076dd93e24b241f7bf6c8f397a19186fcc271968dbb323d69e7a7
data/README.md CHANGED
@@ -19,4 +19,5 @@ Therefore `time_format` and `compress` option are not available.
19
19
  <match td.test>
20
20
  type file_with_fix_path
21
21
  path /var/log/hoge.log
22
+ flush_interval 1s
22
23
  </match>
@@ -3,8 +3,7 @@ $:.push File.expand_path("../lib", __FILE__)
3
3
 
4
4
  Gem::Specification.new do |gem|
5
5
  gem.name = "fluent-plugin-out-file-with-fix-path"
6
- gem.version = "0.0.1"
7
- gem.date = '2014-09-19'
6
+ gem.version = "0.1.0"
8
7
  gem.authors = ["fetaro"]
9
8
  gem.email = ["fetaro@gmail.com"]
10
9
  gem.summary = %q{Extention of fluentd out_file plugin }
@@ -13,12 +12,9 @@ Gem::Specification.new do |gem|
13
12
  gem.license = 'MIT'
14
13
 
15
14
  gem.files = `git ls-files`.split($\)
16
- gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
17
15
  gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
18
16
  gem.require_paths = ["lib"]
19
17
 
20
- gem.add_development_dependency "rake", '~> 0.9', '>= 0.9.6'
21
-
22
- gem.add_runtime_dependency "fluentd", '~> 0.10', '>= 0.10.51'
18
+ gem.add_runtime_dependency "fluentd", '>= 0.10.58'
23
19
 
24
20
  end
@@ -19,8 +19,8 @@ module Fluent
19
19
  conf['buffer_path'] ||= @path
20
20
  super
21
21
 
22
- conf['format'] = @format
23
- @formatter = TextFormatter.create(conf)
22
+ @formatter = Plugin.new_formatter(@format)
23
+ @formatter.configure(conf)
24
24
 
25
25
  end
26
26
 
metadata CHANGED
@@ -1,88 +1,64 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: fluent-plugin-out-file-with-fix-path
3
- version: !ruby/object:Gem::Version
4
- prerelease:
5
- version: 0.0.1
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
6
5
  platform: ruby
7
- authors:
6
+ authors:
8
7
  - fetaro
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
-
13
- date: 2014-09-19 00:00:00 Z
14
- dependencies:
15
- - !ruby/object:Gem::Dependency
16
- name: rake
17
- prerelease: false
18
- requirement: &id001 !ruby/object:Gem::Requirement
19
- none: false
20
- requirements:
21
- - - ~>
22
- - !ruby/object:Gem::Version
23
- version: "0.9"
24
- - - ">="
25
- - !ruby/object:Gem::Version
26
- version: 0.9.6
27
- type: :development
28
- version_requirements: *id001
29
- - !ruby/object:Gem::Dependency
11
+ date: 2015-09-08 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
30
14
  name: fluentd
31
- prerelease: false
32
- requirement: &id002 !ruby/object:Gem::Requirement
33
- none: false
34
- requirements:
35
- - - ~>
36
- - !ruby/object:Gem::Version
37
- version: "0.10"
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
38
17
  - - ">="
39
- - !ruby/object:Gem::Version
40
- version: 0.10.51
18
+ - !ruby/object:Gem::Version
19
+ version: 0.10.58
41
20
  type: :runtime
42
- version_requirements: *id002
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: 0.10.58
43
27
  description: FLuentd plugin for SNMP Traps... WIP
44
- email:
28
+ email:
45
29
  - fetaro@gmail.com
46
30
  executables: []
47
-
48
31
  extensions: []
49
-
50
32
  extra_rdoc_files: []
51
-
52
- files:
53
- - .gitignore
33
+ files:
34
+ - ".gitignore"
54
35
  - Gemfile
55
36
  - README.md
56
37
  - Rakefile
57
38
  - fluent-plugin-out-file-with-fix-path.gemspec
58
39
  - lib/fluent/plugin/out_file_with_fix_path.rb
59
40
  homepage: https://github.com/fetaro/fluent-plugin-out-file-with-fix-path.git
60
- licenses:
41
+ licenses:
61
42
  - MIT
43
+ metadata: {}
62
44
  post_install_message:
63
45
  rdoc_options: []
64
-
65
- require_paths:
46
+ require_paths:
66
47
  - lib
67
- required_ruby_version: !ruby/object:Gem::Requirement
68
- none: false
69
- requirements:
48
+ required_ruby_version: !ruby/object:Gem::Requirement
49
+ requirements:
70
50
  - - ">="
71
- - !ruby/object:Gem::Version
72
- version: "0"
73
- required_rubygems_version: !ruby/object:Gem::Requirement
74
- none: false
75
- requirements:
51
+ - !ruby/object:Gem::Version
52
+ version: '0'
53
+ required_rubygems_version: !ruby/object:Gem::Requirement
54
+ requirements:
76
55
  - - ">="
77
- - !ruby/object:Gem::Version
78
- version: "0"
56
+ - !ruby/object:Gem::Version
57
+ version: '0'
79
58
  requirements: []
80
-
81
59
  rubyforge_project:
82
- rubygems_version: 1.7.1
60
+ rubygems_version: 2.4.5.1
83
61
  signing_key:
84
- specification_version: 3
62
+ specification_version: 4
85
63
  summary: Extention of fluentd out_file plugin
86
64
  test_files: []
87
-
88
- has_rdoc: