logstash-logger 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
data/.travis.yml CHANGED
@@ -3,6 +3,7 @@ rvm:
3
3
  # - ree
4
4
  # - 1.8.7
5
5
  - 1.9.3
6
+ - 2.0.0
6
7
  # - jruby-18mode # JRuby in 1.8 mode
7
8
  - jruby-19mode # JRuby in 1.9 mode
8
9
  # - rbx-18mode
data/Gemfile CHANGED
@@ -6,6 +6,6 @@ gemspec
6
6
  gem 'json', :platform => :ruby_18
7
7
 
8
8
  group :development do
9
- gem 'ruby-debug', :platform => :ruby_18
10
- gem 'debugger', :platform => :ruby_19
9
+ #gem 'ruby-debug', :platform => :ruby_18
10
+ #gem 'debugger', :platforms => [:ruby_19, :ruby_20]
11
11
  end
data/README.md CHANGED
@@ -56,7 +56,8 @@ Future versions of these gems could potentially have deeper integration with Log
56
56
  Verified to work with:
57
57
 
58
58
  * Ruby 1.9.3
59
- * JRuby 1.7.1 (1.9 mode)
59
+ * Ruby 2.0.0
60
+ * JRuby 1.7+ (1.9 mode)
60
61
 
61
62
  Ruby 1.8.7 is not supported because LogStash::Event is not compatible with Ruby 1.8.7. This might change in the future.
62
63
 
@@ -24,7 +24,7 @@ class LogStashLogger < ::Logger
24
24
  end
25
25
  end
26
26
  @logdev.write(
27
- format_message(format_severity(severity), Time.now, progname, message))
27
+ format_message(format_severity(severity), LogStash::Time.now, progname, message))
28
28
  true
29
29
  end
30
30
 
@@ -1,5 +1,5 @@
1
1
  require 'logger'
2
2
 
3
3
  class LogStashLogger < ::Logger
4
- VERSION = "0.2.0"
4
+ VERSION = "0.2.1"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logstash-logger
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-12-26 00:00:00.000000000 Z
12
+ date: 2013-03-12 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: logstash-event
@@ -91,15 +91,21 @@ required_ruby_version: !ruby/object:Gem::Requirement
91
91
  - - ! '>='
92
92
  - !ruby/object:Gem::Version
93
93
  version: '0'
94
+ segments:
95
+ - 0
96
+ hash: -3685342851697372128
94
97
  required_rubygems_version: !ruby/object:Gem::Requirement
95
98
  none: false
96
99
  requirements:
97
100
  - - ! '>='
98
101
  - !ruby/object:Gem::Version
99
102
  version: '0'
103
+ segments:
104
+ - 0
105
+ hash: -3685342851697372128
100
106
  requirements: []
101
107
  rubyforge_project:
102
- rubygems_version: 1.8.23
108
+ rubygems_version: 1.8.25
103
109
  signing_key:
104
110
  specification_version: 3
105
111
  summary: LogStash Logger for ruby