rollbar 0.11.7 → 0.11.8
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.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e34c12766fca0c2c51b5d6259d61bd885d694363
|
4
|
+
data.tar.gz: cd6a924aec8457baed0c13ebd42a0fdc74510d1c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 89089b7cdb5258f4b1213f9bcea22e6935833572726a7719e0fa031a030a98d25a4fa8f5fb559f441e4d302e10d3b0d35f6fb385b6ae2dd43c92f1255b39d55d
|
7
|
+
data.tar.gz: 2afcf44b731cd0afa68ba8200e3bab04c38da570b5420296fba3dbbf88a883b52c0db2ac86d2c5a969e984a204c74750826fc8c15fb881f547fe2eccec8202e3
|
data/CHANGELOG.md
CHANGED
@@ -13,8 +13,8 @@ module Rollbar
|
|
13
13
|
@app.call(env)
|
14
14
|
rescue
|
15
15
|
controller = env["action_controller.instance"]
|
16
|
-
if controller
|
17
|
-
env['rollbar.person_data'] = controller.
|
16
|
+
if controller and controller.respond_to? Rollbar.configuration.person_method
|
17
|
+
env['rollbar.person_data'] = controller.send(Rollbar.configuration.person_method)
|
18
18
|
end
|
19
19
|
raise
|
20
20
|
end
|
data/lib/rollbar/version.rb
CHANGED
@@ -290,6 +290,14 @@ describe HomeController do
|
|
290
290
|
user.id.should == 123
|
291
291
|
user.name.should == 'test'
|
292
292
|
end
|
293
|
+
|
294
|
+
it 'should not fail if the controller doesnt contain the person method' do
|
295
|
+
Rollbar.configure do |config|
|
296
|
+
config.person_method = 'invalid_method'
|
297
|
+
end
|
298
|
+
|
299
|
+
get 'cause_exception'
|
300
|
+
end
|
293
301
|
end
|
294
302
|
end
|
295
303
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rollbar
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.11.
|
4
|
+
version: 0.11.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brian Rue
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-
|
11
|
+
date: 2013-11-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: multi_json
|