fluentdly 0.1.8

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 288aa9cba6b56656c3e0044e0a3418ce7b80c609
4
+ data.tar.gz: 426f18f7573293e01a2a3da60a6f51a65379e4df
5
+ SHA512:
6
+ metadata.gz: 6a81101fad25bd16404d835af2372afb31420e7849a2c60b284ec5919dd49ea63b5d142947efcc5d41fd3b03d0f4be4c651755793a8e00a864d5cace50c6ffc1
7
+ data.tar.gz: 157c5c791f99a12c42bfb4a3a845f78132a6e3a4825e69479a07dd305daafe3a20367e0073e0d3daf38f8662bee77b7e766df1f72d1853cb20d655e9c5fc5b33
data/.gitignore ADDED
@@ -0,0 +1,10 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /Gemfile.lock
4
+ /_yardoc/
5
+ /coverage/
6
+ /doc/
7
+ /pkg/
8
+ /spec/reports/
9
+ /tmp/
10
+ /nbproject
data/.rspec ADDED
@@ -0,0 +1,2 @@
1
+ --format documentation
2
+ --color
data/.travis.yml ADDED
@@ -0,0 +1,4 @@
1
+ language: ruby
2
+ rvm:
3
+ - 2.3.0
4
+ before_install: gem install bundler -v 1.11.2
data/CHANGELOG.md ADDED
@@ -0,0 +1,3 @@
1
+ ## v0.1.0
2
+
3
+ * First release
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in fluentdly.gemspec
4
+ gemspec
data/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2016 THE MOBILE TECHNOLOGY COMPANY LIMITED
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2016 Diego Lendoiro
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,80 @@
1
+ # Fluentdly
2
+
3
+ Fluentdly is a wrapper for easily structured logging HTTP and non HTTP requests using fluent-logger.
4
+
5
+ ## Installation
6
+
7
+ Add this line to your application's Gemfile:
8
+
9
+ ```ruby
10
+ gem 'fluentdly'
11
+ ```
12
+
13
+ And then execute:
14
+
15
+ $ bundle
16
+
17
+ Or install it yourself as:
18
+
19
+ $ gem install fluentdly
20
+
21
+ ## Examples
22
+ ###Configure logger
23
+
24
+ Setup `fluent-logger` parameters. See [link](https://github.com/fluent/fluent-logger-ruby "fluent-logger doc")
25
+
26
+ ```ruby
27
+ $logger = Fluentdly::Logger.new({:host => 'myhost', :port => 24224, :app_name => 'my_app'})
28
+
29
+ ```
30
+ Configure fluentdly task logger:
31
+
32
+ ```ruby
33
+
34
+ Fluentdly.configure do |config|
35
+ config.task_logger = $logger
36
+ end
37
+
38
+ ```
39
+ ###Configure middleware HTTP params to log
40
+
41
+ Custom parameters will merge with default ones: `:method, :query_string and :path`
42
+
43
+ ```ruby
44
+ require 'fluentdly'
45
+
46
+ Fluentdly.configure do |config|
47
+ custom_parameters = {
48
+ :user_agent => 'HTTP_USER_AGENT',
49
+ :uri => 'REQUEST_URI'
50
+ }
51
+
52
+ config.request_parameters custom_parameters
53
+ end
54
+ ```
55
+ ###Task logging example
56
+
57
+ ```ruby
58
+
59
+ Fluentdly::Task.log(:info, {:log_param => 'log_information' ... }) do
60
+ your_business_logic_here
61
+
62
+ [status, result]
63
+ end
64
+
65
+ ```
66
+
67
+ ###Setup middleware
68
+
69
+ For instance in config.ru for rack applications:
70
+
71
+ ```ruby
72
+
73
+ use Fluentdly::Rack::Middleware
74
+
75
+ ```
76
+
77
+ ## License
78
+
79
+ The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
80
+
data/Rakefile ADDED
@@ -0,0 +1,6 @@
1
+ require "bundler/gem_tasks"
2
+ require "rspec/core/rake_task"
3
+
4
+ RSpec::Core::RakeTask.new(:spec)
5
+
6
+ task :default => :spec
data/bin/console ADDED
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "fluentdly"
5
+
6
+ # You can add fixtures and/or initialization code here to make experimenting
7
+ # with your gem easier. You can also use a different console, if you like.
8
+
9
+ # (If you use this, don't forget to add pry to your Gemfile!)
10
+ # require "pry"
11
+ # Pry.start
12
+
13
+ require "irb"
14
+ IRB.start
data/bin/setup ADDED
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+
8
+ # Do any other automated setup that you need to do here
data/fluentdly.gemspec ADDED
@@ -0,0 +1,38 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'fluentdly/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "fluentdly"
8
+ spec.version = Fluentdly::VERSION
9
+ spec.authors = ["Diego Lendoiro"]
10
+ spec.email = ["diego@iadbox.com"]
11
+
12
+ spec.summary = %q{Sends logs to fluentd agent}
13
+ spec.description = %q{Allows to customize messages for sending logs to fluentd}
14
+ spec.homepage = "https://github.com/iadbox/fluentdly"
15
+ spec.license = "MIT"
16
+
17
+ # Prevent pushing this gem to RubyGems.org by setting 'allowed_push_host', or
18
+ # delete this section to allow pushing this gem to any host.
19
+ if spec.respond_to?(:metadata)
20
+ spec.metadata['allowed_push_host'] = "https://rubygems.org"
21
+ else
22
+ raise "RubyGems 2.0 or newer is required to protect against public gem pushes."
23
+ end
24
+
25
+ spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
26
+ spec.bindir = "exe"
27
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
28
+ spec.require_paths = ["lib"]
29
+
30
+ spec.add_runtime_dependency "fluent-logger"
31
+
32
+ spec.add_development_dependency "bundler", "~> 1.11"
33
+ spec.add_development_dependency "rake", "~> 10.0"
34
+ spec.add_development_dependency "rspec", "~> 3.0"
35
+ spec.add_development_dependency "pry"
36
+ spec.add_development_dependency "pry-coolline"
37
+ spec.add_development_dependency "rack"
38
+ end
data/lib/fluentdly.rb ADDED
@@ -0,0 +1,20 @@
1
+ require "fluentdly/version"
2
+ require "fluentdly/severity"
3
+ require "fluentdly/logger"
4
+ require "fluentdly/task"
5
+ require "fluentdly/timer"
6
+ require "fluentdly/configuration"
7
+ if Gem::Specification::find_all_by_name('rack').any?
8
+ require "fluentdly/rack/middleware"
9
+ end
10
+
11
+ module Fluentdly
12
+
13
+ def self.configuration
14
+ @configuration ||= Configuration.new
15
+ end
16
+
17
+ def self.configure
18
+ yield configuration
19
+ end
20
+ end
@@ -0,0 +1,21 @@
1
+ module Fluentdly
2
+ class Configuration
3
+
4
+ attr_writer :task_logger
5
+ attr_accessor :request_parameters
6
+
7
+ def task_logger
8
+ @task_logger ||= Logger.new(:host => 'localhost', :port => '24224', :app_name => 'test')
9
+ end
10
+
11
+ def request_parameters custom_parameters = {}
12
+ @request_parameters = {
13
+ :method => 'REQUEST_METHOD',
14
+ :path => 'PATH_INFO'
15
+ }
16
+
17
+ @request_parameters.merge(custom_parameters)
18
+ end
19
+
20
+ end
21
+ end
@@ -0,0 +1,86 @@
1
+ require 'fluent-logger'
2
+
3
+ module Fluentdly
4
+ class Logger
5
+
6
+ attr_accessor :level, :datetime_format
7
+
8
+ def initialize config
9
+ @host = config.fetch(:host, 'localhost')
10
+ @port = config.fetch(:port, 24224)
11
+ @app_name = config.fetch(:app_name, 'myapp')
12
+ @level = Severity.info
13
+ end
14
+
15
+ def log severity, content = nil, &block
16
+ message = content || block.call
17
+ payload = format(message, severity)
18
+
19
+ if level <= severity
20
+ adapter.post(severity, payload)
21
+ end
22
+ end
23
+ alias_method :add, :log
24
+
25
+ def debug?
26
+ level <= Severity.debug
27
+ end
28
+ def debug (content = nil, &block)
29
+ log Severity.debug, content, &block
30
+ end
31
+
32
+ def info?
33
+ level <= Severity.info
34
+ end
35
+ def info (content = nil, &block)
36
+ log Severity.info, content, &block
37
+ end
38
+ alias_method :<<, :info
39
+
40
+ def warn?
41
+ level <= Severity.warn
42
+ end
43
+ def warn (content = nil, &block)
44
+ log Severity.warn, content, &block
45
+ end
46
+
47
+ def error?
48
+ level <= Severity.error
49
+ end
50
+ def error (content = nil, &block)
51
+ log Severity.error, content, &block
52
+ end
53
+
54
+ def fatal?
55
+ level <= Severity.fatal
56
+ end
57
+ def fatal (content = nil, &block)
58
+ log Severity.fatal, content, &block
59
+ end
60
+
61
+ def unknown (content = nil, &block)
62
+ log Severity.unknown, content, &block
63
+ end
64
+
65
+ def close
66
+ adapter.close
67
+ end
68
+
69
+ private
70
+
71
+ attr_reader :host, :port, :app_name
72
+
73
+ def format content, severity
74
+ if content.is_a?(Hash)
75
+ content.merge(:severity => severity, :service => app_name)
76
+ else
77
+ {:message => content, :severity => severity, :service => app_name}
78
+ end
79
+ end
80
+
81
+ def adapter
82
+ @adapter ||= Fluent::Logger::FluentLogger.new(app_name, :host=>host, :port=>port)
83
+ end
84
+
85
+ end
86
+ end
@@ -0,0 +1,55 @@
1
+ require "fluentdly/rack/middleware/debug"
2
+ require "fluentdly/rack/middleware/standard"
3
+
4
+ module Fluentdly
5
+ module Rack
6
+ class Middleware
7
+
8
+ def initialize app, config = Fluentdly.configuration
9
+ @app = app
10
+ @logger = config.task_logger
11
+ @parameters = config.request_parameters
12
+ end
13
+
14
+ def call env
15
+ time, result = Timer.measure do
16
+ app.call(env)
17
+ end
18
+
19
+ logger.info(params(env, time, result))
20
+ result
21
+ end
22
+
23
+ private
24
+
25
+ def params env, time, result
26
+ message = format(env, time, result)
27
+ status = get_status(result)
28
+
29
+ custom(env).merge :status => status, :message => message, :time => time
30
+ end
31
+
32
+ def format env, time, result
33
+ if logger.debug?
34
+ Debug.call(env, time, result)
35
+ else
36
+ Standard.call(env, time, result)
37
+ end
38
+ end
39
+
40
+ def get_status result
41
+ status, _headers, _body = result
42
+ status.to_s
43
+ end
44
+
45
+ def custom env
46
+ parameters.each_with_object({}) do |(k,v), result|
47
+ result[k] = env[v]
48
+ end
49
+ end
50
+
51
+ attr_reader :app, :logger, :parameters
52
+
53
+ end
54
+ end
55
+ end
@@ -0,0 +1,42 @@
1
+ require 'rack/request'
2
+
3
+ module Fluentdly
4
+ module Rack
5
+ class Middleware
6
+ class Debug
7
+
8
+ def self.call *args
9
+ formatter = new(*args)
10
+ formatter.call
11
+ end
12
+
13
+ def initialize env, time, result
14
+ @env = env
15
+ @time = time
16
+
17
+ @status, @headers, @body = result
18
+ end
19
+
20
+ def call
21
+ %Q(
22
+ Received #{data.request_method} #{data.path_info}
23
+ params: #{data.params.inspect}
24
+ Responded in #{time}ms
25
+ status: #{status}
26
+ headers: #{headers}
27
+ body: #{body.inspect}
28
+ )
29
+ end
30
+
31
+ private
32
+
33
+ def data
34
+ @data ||= ::Rack::Request.new(env)
35
+ end
36
+
37
+ attr_reader :env, :time, :status, :headers, :body
38
+
39
+ end
40
+ end
41
+ end
42
+ end
@@ -0,0 +1,47 @@
1
+ require 'rack'
2
+
3
+ module Fluentdly
4
+ module Rack
5
+ class Middleware
6
+ class Standard
7
+
8
+ def self.call *args
9
+ formatter = new(*args)
10
+ formatter.call
11
+ end
12
+
13
+ def initialize env, time, result
14
+ @env = env
15
+ @time = time
16
+
17
+ @status, _headers, _body = result
18
+ end
19
+
20
+ def call
21
+ "Completed #{method} #{path} (#{params}) with #{status} in #{time}ms"
22
+ end
23
+
24
+ private
25
+
26
+ def method
27
+ data.request_method
28
+ end
29
+
30
+ def path
31
+ data.path_info
32
+ end
33
+
34
+ def params
35
+ data.params
36
+ end
37
+
38
+ def data
39
+ @data ||= ::Rack::Request.new(env)
40
+ end
41
+
42
+ attr_reader :env, :time, :status
43
+
44
+ end
45
+ end
46
+ end
47
+ end
@@ -0,0 +1,32 @@
1
+ require 'logger'
2
+
3
+ module Fluentdly
4
+ module Severity
5
+ include Logger::Severity
6
+
7
+ def self.debug
8
+ DEBUG
9
+ end
10
+
11
+ def self.info
12
+ INFO
13
+ end
14
+
15
+ def self.warn
16
+ WARN
17
+ end
18
+
19
+ def self.error
20
+ ERROR
21
+ end
22
+
23
+ def self.fatal
24
+ FATAL
25
+ end
26
+
27
+ def self.unknown
28
+ UNKNOWN
29
+ end
30
+
31
+ end
32
+ end
@@ -0,0 +1,38 @@
1
+ module Fluentdly
2
+ class Task
3
+
4
+ def self.log severity, parameters, &block
5
+ task = self.new severity, parameters, block
6
+ task.call
7
+ end
8
+
9
+ attr_reader :severity, :parameters, :logger, :block
10
+
11
+ def initialize severity, parameters, block, config = Fluentdly.configuration
12
+ @severity = severity
13
+ @parameters = parameters
14
+ @logger = config.task_logger
15
+ @block = block
16
+ end
17
+
18
+ def call
19
+ began_at = Time.now
20
+ status, result = block.call
21
+ finish_at = Time.now
22
+
23
+ time_diff = finish_at - began_at
24
+ content = parameters.merge(:status => status, :time => time_diff, :message => format_message(status,time_diff))
25
+
26
+ logger.log(severity, content)
27
+ result
28
+ end
29
+
30
+ private
31
+
32
+ def format_message status, time
33
+ formatted_parameters = parameters.map{ |k,v| "#{k}: #{v}"}.join(", ")
34
+
35
+ "Task with params #{formatted_parameters}, finished with #{status} in #{time}"
36
+ end
37
+ end
38
+ end
@@ -0,0 +1,14 @@
1
+ module Fluentdly
2
+ class Timer
3
+
4
+ def self.measure
5
+ start_time = Time.now
6
+ result = yield
7
+ end_time = Time.now
8
+
9
+ duration = (end_time - start_time) * 1000
10
+ [duration, result]
11
+ end
12
+
13
+ end
14
+ end
@@ -0,0 +1,3 @@
1
+ module Fluentdly
2
+ VERSION = "0.1.8"
3
+ end
metadata ADDED
@@ -0,0 +1,165 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: fluentdly
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.8
5
+ platform: ruby
6
+ authors:
7
+ - Diego Lendoiro
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2018-03-11 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: fluent-logger
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: bundler
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '1.11'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '1.11'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rake
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '10.0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '10.0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: rspec
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '3.0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '3.0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: pry
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: pry-coolline
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ">="
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
97
+ - !ruby/object:Gem::Dependency
98
+ name: rack
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - ">="
102
+ - !ruby/object:Gem::Version
103
+ version: '0'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - ">="
109
+ - !ruby/object:Gem::Version
110
+ version: '0'
111
+ description: Allows to customize messages for sending logs to fluentd
112
+ email:
113
+ - diego@iadbox.com
114
+ executables: []
115
+ extensions: []
116
+ extra_rdoc_files: []
117
+ files:
118
+ - ".gitignore"
119
+ - ".rspec"
120
+ - ".travis.yml"
121
+ - CHANGELOG.md
122
+ - Gemfile
123
+ - LICENSE
124
+ - LICENSE.txt
125
+ - README.md
126
+ - Rakefile
127
+ - bin/console
128
+ - bin/setup
129
+ - fluentdly.gemspec
130
+ - lib/fluentdly.rb
131
+ - lib/fluentdly/configuration.rb
132
+ - lib/fluentdly/logger.rb
133
+ - lib/fluentdly/rack/middleware.rb
134
+ - lib/fluentdly/rack/middleware/debug.rb
135
+ - lib/fluentdly/rack/middleware/standard.rb
136
+ - lib/fluentdly/severity.rb
137
+ - lib/fluentdly/task.rb
138
+ - lib/fluentdly/timer.rb
139
+ - lib/fluentdly/version.rb
140
+ homepage: https://github.com/iadbox/fluentdly
141
+ licenses:
142
+ - MIT
143
+ metadata:
144
+ allowed_push_host: https://rubygems.org
145
+ post_install_message:
146
+ rdoc_options: []
147
+ require_paths:
148
+ - lib
149
+ required_ruby_version: !ruby/object:Gem::Requirement
150
+ requirements:
151
+ - - ">="
152
+ - !ruby/object:Gem::Version
153
+ version: '0'
154
+ required_rubygems_version: !ruby/object:Gem::Requirement
155
+ requirements:
156
+ - - ">="
157
+ - !ruby/object:Gem::Version
158
+ version: '0'
159
+ requirements: []
160
+ rubyforge_project:
161
+ rubygems_version: 2.4.5.1
162
+ signing_key:
163
+ specification_version: 4
164
+ summary: Sends logs to fluentd agent
165
+ test_files: []