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 CHANGED
@@ -1,3 +1,4 @@
1
1
  Gemfile.lock
2
2
  pkg/*
3
3
  coverage/*
4
+ coverage.vim
@@ -1,6 +1,7 @@
1
1
  rvm:
2
2
  - 1.8.7
3
3
  - 1.9.2
4
+ - 1.9.3
4
5
  - ree
5
6
  - jruby
6
7
 
data/ChangeLog CHANGED
@@ -1,4 +1,8 @@
1
1
 
2
+ Release 0.4.3 - 2012/04/24
3
+
4
+ * Update yajl dependency version >= 1.0 (thanks shun0102)
5
+
2
6
  Release 0.4.2 - 2012/03/02
3
7
 
4
8
  * Added TestLogger#tag_queue(tag_name)
data/Gemfile CHANGED
@@ -4,6 +4,8 @@ source :rubygems
4
4
  gemspec
5
5
 
6
6
  gem "simplecov", :require => false
7
+ gem "simplecov-vim"
8
+
7
9
  gem 'yajl-ruby' # FIXME ruby 1.8.7 don't work add_dependency('yajl-ruby')
8
10
  gem "fluentd", :path => 'vendor/fluentd' if RUBY_VERSION >= "1.9.2"
9
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.4.2
1
+ 0.4.3
@@ -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.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'
@@ -1,7 +1,7 @@
1
1
  module Fluent
2
2
  module Logger
3
3
 
4
- VERSION = '0.4.2'
4
+ VERSION = '0.4.3'
5
5
 
6
6
  end
7
7
  end
@@ -54,10 +54,8 @@ describe Fluent::Logger::FluentLogger do
54
54
 
55
55
  let(:queue) {
56
56
  queue = []
57
- output.emits.each {|tag,events|
58
- events.each {|time,record|
59
- queue << [tag, record]
60
- }
57
+ output.emits.each {|tag, time, record|
58
+ queue << [tag, record]
61
59
  }
62
60
  queue
63
61
  }
@@ -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
- require 'simplecov'
6
- SimpleCov.start do
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.2
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-03-02 00:00:00.000000000 Z
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: &2172185840 !ruby/object:Gem::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.0
21
+ version: '1.0'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *2172185840
24
+ version_requirements: *2164119400
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: msgpack
27
- requirement: &2172185340 !ruby/object:Gem::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: *2172185340
35
+ version_requirements: *2164118900
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: rake
38
- requirement: &2172184880 !ruby/object:Gem::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: *2172184880
46
+ version_requirements: *2164118420
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: rspec
49
- requirement: &2172184420 !ruby/object:Gem::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: *2172184420
57
+ version_requirements: *2164117740
58
58
  - !ruby/object:Gem::Dependency
59
59
  name: simplecov
60
- requirement: &2172183960 !ruby/object:Gem::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: *2172183960
68
+ version_requirements: *2164117160
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: timecop
71
- requirement: &2172183500 !ruby/object:Gem::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: *2172183500
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.17
138
+ rubygems_version: 1.8.16
139
139
  signing_key:
140
140
  specification_version: 3
141
141
  summary: fluent logger for ruby