madvertise-logging 0.9.1 → 0.9.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -8,12 +8,10 @@ module Madvertise
8
8
  # @param [Exception] exc The exception to log.
9
9
  # @param [String] message Additional reason to log.
10
10
  def exception(exc, message = nil, attribs = {})
11
- Airbrake.notify_or_ignore(exc, attribs.merge({
12
- error_class: exc.class,
13
- error_message: message,
14
- reason: exc.message,
15
- backtrace: clean_trace(exc.backtrace)
16
- }))
11
+ Airbrake.notify_or_ignore(exc, {
12
+ :error_message => message,
13
+ :cgi_data => ENV.to_hash,
14
+ }.merge(attribs))
17
15
  end
18
16
  end
19
17
  end
@@ -1,6 +1,6 @@
1
1
  module Madvertise
2
2
  module Logging
3
3
  # @private
4
- VERSION = "0.9.1"
4
+ VERSION = "0.9.2"
5
5
  end
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: madvertise-logging
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.1
4
+ version: 0.9.2
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: 2013-01-21 00:00:00.000000000 Z
12
+ date: 2013-01-23 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: Advanced logging classes with buffer backend, transactions, multi logger,
15
15
  etc
@@ -58,7 +58,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
58
58
  version: '0'
59
59
  segments:
60
60
  - 0
61
- hash: 2758512505850548801
61
+ hash: 3837556437676324722
62
62
  required_rubygems_version: !ruby/object:Gem::Requirement
63
63
  none: false
64
64
  requirements:
@@ -67,7 +67,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
67
67
  version: '0'
68
68
  segments:
69
69
  - 0
70
- hash: 2758512505850548801
70
+ hash: 3837556437676324722
71
71
  requirements: []
72
72
  rubyforge_project:
73
73
  rubygems_version: 1.8.24