fluent_logger_statistics 0.3.0 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ed0b43301c6beb92978b77b3eee67f05c8b7c3da
4
- data.tar.gz: 74e98587db73f9270ffe91b603c0477bb37b408f
3
+ metadata.gz: b995bf21d96b1a953973d5046a589e201ae3082e
4
+ data.tar.gz: 95f9fb21487468660cb7f26c334bf6e7660520b0
5
5
  SHA512:
6
- metadata.gz: b12299eea163d97ced0722126efe21c0d5772a88d578e03359fa417d72c7d16575ff0de1f5e01949c72747b9a706eeb88f7d44a6ae9cb413baa2c1a6d97942e9
7
- data.tar.gz: 1c086a9aba069c80b9f3b004c4e04dbcbbcd81cbe5fe553d8e218d043c2be65dd7e3c5622c7e18691e59d41d546c0c819c908900cc2480a4e69c049f4205e6f5
6
+ metadata.gz: 794f821bbf6f9ac0cdcb9787827536fbacf54a371da0089c3a928084036a8999d9b4bc0b5ebfa6eaf142ee677d223b25ed6d3f5766ae4f0c741693cb2f73f910
7
+ data.tar.gz: 403d5ce23123d266e406ed42fac5bb3b73248dc3564b27168983f88963f9647b5593776bb475f85396b88185620f28086863c6721362b9bc8db21a66125803a3
data/LICENSE ADDED
@@ -0,0 +1,22 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2017 Takuya Kosugiyama
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.
22
+
@@ -24,5 +24,5 @@ Gem::Specification.new do |spec|
24
24
  spec.add_development_dependency "rake", "~> 10.0"
25
25
  spec.add_development_dependency "rspec", "~> 3.0"
26
26
  spec.add_development_dependency "fluentd"
27
- spec.add_runtime_dependency "fluent-logger", "~> 0.5"
27
+ spec.add_runtime_dependency "fluent-logger", "~> 0.6.3"
28
28
  end
@@ -1,4 +1,3 @@
1
1
  require "fluent_logger_statistics/version"
2
2
  require "fluent_logger_statistics/app"
3
3
  require "fluent_logger_statistics/middleware"
4
- require "fluent_logger_statistics/fluent_logger"
@@ -1,3 +1,3 @@
1
1
  module FluentLoggerStatistics
2
- VERSION = "0.3.0"
2
+ VERSION = "0.4.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluent_logger_statistics
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Takuya Kosugiyama
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-02-14 00:00:00.000000000 Z
11
+ date: 2017-03-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -72,14 +72,14 @@ dependencies:
72
72
  requirements:
73
73
  - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: '0.5'
75
+ version: 0.6.3
76
76
  type: :runtime
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: '0.5'
82
+ version: 0.6.3
83
83
  description: Rack middleware for monitoring buffer of fluent-logger.
84
84
  email:
85
85
  - takuya-kosugiyama@cookpad.com
@@ -91,6 +91,7 @@ files:
91
91
  - ".rspec"
92
92
  - ".travis.yml"
93
93
  - Gemfile
94
+ - LICENSE
94
95
  - README.md
95
96
  - Rakefile
96
97
  - bin/console
@@ -98,7 +99,6 @@ files:
98
99
  - fluent_logger_statistics.gemspec
99
100
  - lib/fluent_logger_statistics.rb
100
101
  - lib/fluent_logger_statistics/app.rb
101
- - lib/fluent_logger_statistics/fluent_logger.rb
102
102
  - lib/fluent_logger_statistics/middleware.rb
103
103
  - lib/fluent_logger_statistics/version.rb
104
104
  homepage: https://github.com/itkq/fluent_logger_statistics
@@ -120,7 +120,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
120
120
  version: '0'
121
121
  requirements: []
122
122
  rubyforge_project:
123
- rubygems_version: 2.5.1
123
+ rubygems_version: 2.5.2
124
124
  signing_key:
125
125
  specification_version: 4
126
126
  summary: Rack middleware for monitoring buffer of fluent-logger.
@@ -1,15 +0,0 @@
1
- require 'fluent-logger'
2
-
3
- module FluentLoggerStatistics
4
- module FluentLoggerExt
5
- def pending_bytesize
6
- if @pending
7
- @pending.bytesize
8
- else
9
- 0
10
- end
11
- end
12
- end
13
- end
14
-
15
- Fluent::Logger::FluentLogger.include(FluentLoggerStatistics::FluentLoggerExt)