graylog2_exceptions 0.5.1 → 0.5.2

Sign up to get free protection for your applications and to get access to all the features.
data/Rakefile CHANGED
@@ -2,7 +2,7 @@ require 'rubygems'
2
2
  require 'rake'
3
3
  require 'echoe'
4
4
 
5
- Echoe.new('graylog2_exceptions', '0.5.1') do |p|
5
+ Echoe.new('graylog2_exceptions', '0.5.2') do |p|
6
6
  p.description = "A Rack middleware that sends every Exception as GELF message to your Graylog2 server"
7
7
  p.url = 'http://www.graylog2.org/'
8
8
  p.author = 'Lennart Koopmann'
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{graylog2_exceptions}
5
- s.version = "0.5.1"
5
+ s.version = "0.5.2"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Lennart Koopmann"]
@@ -31,7 +31,7 @@ class Graylog2Exceptions
31
31
 
32
32
  def send_to_graylog2 err
33
33
  begin
34
- gelf = Graylog2::Gelf.new @gl2_hostname, @gl2_port
34
+ gelf = Gelf.new @gl2_hostname, @gl2_port
35
35
  gelf.short_message = err.message
36
36
  gelf.full_message = err.backtrace.join("\n")
37
37
  gelf.level = @level
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: graylog2_exceptions
3
3
  version: !ruby/object:Gem::Version
4
- hash: 9
4
+ hash: 15
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 5
9
- - 1
10
- version: 0.5.1
9
+ - 2
10
+ version: 0.5.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Lennart Koopmann