fluent-logger 0.4.2 → 0.4.3
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +1 -0
- data/.travis.yml +1 -0
- data/ChangeLog +4 -0
- data/Gemfile +2 -0
- data/VERSION +1 -1
- data/fluent-logger.gemspec +1 -1
- data/lib/fluent/logger/version.rb +1 -1
- data/spec/fluent_logger_spec.rb +2 -4
- data/spec/spec_helper.rb +10 -2
- metadata +16 -16
data/.gitignore
CHANGED
data/.travis.yml
CHANGED
data/ChangeLog
CHANGED
data/Gemfile
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.4.
|
1
|
+
0.4.3
|
data/fluent-logger.gemspec
CHANGED
@@ -35,7 +35,7 @@ EOF
|
|
35
35
|
gem.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
36
36
|
gem.require_paths = ['lib']
|
37
37
|
|
38
|
-
gem.add_dependency 'yajl-ruby', '~> 1.0
|
38
|
+
gem.add_dependency 'yajl-ruby', '~> 1.0'
|
39
39
|
gem.add_dependency 'msgpack', '~> 0.4.4'
|
40
40
|
gem.add_development_dependency 'rake', '>= 0.9.2'
|
41
41
|
gem.add_development_dependency 'rspec', '>= 2.7.0'
|
data/spec/fluent_logger_spec.rb
CHANGED
@@ -54,10 +54,8 @@ describe Fluent::Logger::FluentLogger do
|
|
54
54
|
|
55
55
|
let(:queue) {
|
56
56
|
queue = []
|
57
|
-
output.emits.each {|tag,
|
58
|
-
|
59
|
-
queue << [tag, record]
|
60
|
-
}
|
57
|
+
output.emits.each {|tag, time, record|
|
58
|
+
queue << [tag, record]
|
61
59
|
}
|
62
60
|
queue
|
63
61
|
}
|
data/spec/spec_helper.rb
CHANGED
@@ -2,8 +2,16 @@ $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
|
|
2
2
|
$LOAD_PATH.unshift(File.dirname(__FILE__))
|
3
3
|
|
4
4
|
if ENV['SIMPLE_COV']
|
5
|
-
|
6
|
-
|
5
|
+
require 'simplecov'
|
6
|
+
require 'simplecov-vim/formatter'
|
7
|
+
class SimpleCov::Formatter::MergedFormatter
|
8
|
+
def format(result)
|
9
|
+
SimpleCov::Formatter::HTMLFormatter.new.format(result)
|
10
|
+
SimpleCov::Formatter::VimFormatter.new.format(result)
|
11
|
+
end
|
12
|
+
end
|
13
|
+
SimpleCov.start do
|
14
|
+
formatter SimpleCov::Formatter::MergedFormatter
|
7
15
|
add_filter 'spec/'
|
8
16
|
add_filter 'test/'
|
9
17
|
add_filter 'pkg/'
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fluent-logger
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,22 +9,22 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-
|
12
|
+
date: 2012-04-24 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: yajl-ruby
|
16
|
-
requirement: &
|
16
|
+
requirement: &2164119400 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ~>
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version: 1.0
|
21
|
+
version: '1.0'
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *2164119400
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: msgpack
|
27
|
-
requirement: &
|
27
|
+
requirement: &2164118900 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ~>
|
@@ -32,10 +32,10 @@ dependencies:
|
|
32
32
|
version: 0.4.4
|
33
33
|
type: :runtime
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *2164118900
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: rake
|
38
|
-
requirement: &
|
38
|
+
requirement: &2164118420 !ruby/object:Gem::Requirement
|
39
39
|
none: false
|
40
40
|
requirements:
|
41
41
|
- - ! '>='
|
@@ -43,10 +43,10 @@ dependencies:
|
|
43
43
|
version: 0.9.2
|
44
44
|
type: :development
|
45
45
|
prerelease: false
|
46
|
-
version_requirements: *
|
46
|
+
version_requirements: *2164118420
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: rspec
|
49
|
-
requirement: &
|
49
|
+
requirement: &2164117740 !ruby/object:Gem::Requirement
|
50
50
|
none: false
|
51
51
|
requirements:
|
52
52
|
- - ! '>='
|
@@ -54,10 +54,10 @@ dependencies:
|
|
54
54
|
version: 2.7.0
|
55
55
|
type: :development
|
56
56
|
prerelease: false
|
57
|
-
version_requirements: *
|
57
|
+
version_requirements: *2164117740
|
58
58
|
- !ruby/object:Gem::Dependency
|
59
59
|
name: simplecov
|
60
|
-
requirement: &
|
60
|
+
requirement: &2164117160 !ruby/object:Gem::Requirement
|
61
61
|
none: false
|
62
62
|
requirements:
|
63
63
|
- - ! '>='
|
@@ -65,10 +65,10 @@ dependencies:
|
|
65
65
|
version: 0.5.4
|
66
66
|
type: :development
|
67
67
|
prerelease: false
|
68
|
-
version_requirements: *
|
68
|
+
version_requirements: *2164117160
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: timecop
|
71
|
-
requirement: &
|
71
|
+
requirement: &2164116380 !ruby/object:Gem::Requirement
|
72
72
|
none: false
|
73
73
|
requirements:
|
74
74
|
- - ! '>='
|
@@ -76,7 +76,7 @@ dependencies:
|
|
76
76
|
version: 0.3.0
|
77
77
|
type: :development
|
78
78
|
prerelease: false
|
79
|
-
version_requirements: *
|
79
|
+
version_requirements: *2164116380
|
80
80
|
description: fluent logger for ruby
|
81
81
|
email: frsyuki@gmail.com
|
82
82
|
executables:
|
@@ -135,7 +135,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
135
135
|
version: '0'
|
136
136
|
requirements: []
|
137
137
|
rubyforge_project:
|
138
|
-
rubygems_version: 1.8.
|
138
|
+
rubygems_version: 1.8.16
|
139
139
|
signing_key:
|
140
140
|
specification_version: 3
|
141
141
|
summary: fluent logger for ruby
|