rollbar 0.9.14 → 0.10.0
Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,8 @@
|
|
1
1
|
# Change Log
|
2
2
|
|
3
|
+
**0.10.0**
|
4
|
+
- Fixed bug causing duplicate reports when used inside Rails in production with the default error pages. Bumping version to 0.10.0 in case this turns out to be backwards-incompatible for some use cases (i.e. for applications that were relying on the duplicate report that has now been removed).
|
5
|
+
|
3
6
|
**0.9.14**
|
4
7
|
- Added `custom_data_method` config option. If set, it should be a lambda that returns a hash.
|
5
8
|
- Changed initializer template to disable reporting from the 'test' environment.
|
@@ -4,13 +4,6 @@ module Rollbar
|
|
4
4
|
module TestSession
|
5
5
|
include ExceptionReporter
|
6
6
|
|
7
|
-
def process_request_with_rollbar(uri, env, &block)
|
8
|
-
process_request_without_rollbar(uri, env, &block)
|
9
|
-
rescue => exception
|
10
|
-
report_exception_to_rollbar(env, exception)
|
11
|
-
raise exception
|
12
|
-
end
|
13
|
-
|
14
7
|
def env_for_with_rollbar(path, env)
|
15
8
|
env_for_without_rollbar(path, env)
|
16
9
|
rescue => exception
|
@@ -19,9 +12,6 @@ module Rollbar
|
|
19
12
|
end
|
20
13
|
|
21
14
|
def self.included(base)
|
22
|
-
base.send(:alias_method, :process_request_without_rollbar, :process_request)
|
23
|
-
base.send(:alias_method, :process_request, :process_request_with_rollbar)
|
24
|
-
|
25
15
|
base.send(:alias_method, :env_for_without_rollbar, :env_for)
|
26
16
|
base.send(:alias_method, :env_for, :env_for_with_rollbar)
|
27
17
|
end
|
@@ -4,11 +4,6 @@ module Rollbar
|
|
4
4
|
module ShowExceptions
|
5
5
|
include ExceptionReporter
|
6
6
|
|
7
|
-
def render_exception_with_rollbar(env, exception)
|
8
|
-
report_exception_to_rollbar(env, exception)
|
9
|
-
render_exception_without_rollbar(env, exception)
|
10
|
-
end
|
11
|
-
|
12
7
|
def call_with_rollbar(env)
|
13
8
|
call_without_rollbar(env)
|
14
9
|
rescue => exception
|
@@ -17,7 +12,6 @@ module Rollbar
|
|
17
12
|
end
|
18
13
|
|
19
14
|
def self.included(base)
|
20
|
-
base.send(:alias_method_chain, :render_exception, :rollbar)
|
21
15
|
base.send(:alias_method_chain, :call, :rollbar)
|
22
16
|
end
|
23
17
|
end
|
data/lib/rollbar/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rollbar
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.10.0
|
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-
|
12
|
+
date: 2013-06-11 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: multi_json
|