bugsnag 2.8.7 → 2.8.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/bugsnag/middleware/rails3_request.rb +8 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 45e5633d92f40d5a0bd96fbf03cbbe5c808ce7ec
|
4
|
+
data.tar.gz: 4566d88616c540a6d668cf290416869fdc8af516
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: de54715b8e69a6c6ce464548d46638e5433561373d59e8efb8c2d1a9149bb07e35767c357ad8eee118af34d307a240116b43eb05fd63c452f0e1798204c4e428
|
7
|
+
data.tar.gz: 7548655948694c82aecdc957639e993526c94cf0b0c64c0f51f6831d17080f076a6429f2d9816a36e62da5da55b2cce6488c2552c5b49b785855f8f920a88343
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.8.
|
1
|
+
2.8.8
|
@@ -15,12 +15,19 @@ module Bugsnag::Middleware
|
|
15
15
|
|
16
16
|
# Augment the request tab
|
17
17
|
notification.add_tab(:request, {
|
18
|
-
:requestId => env["action_dispatch.request_id"],
|
19
18
|
:railsAction => "#{params[:controller]}##{params[:action]}",
|
20
19
|
:params => params
|
21
20
|
})
|
22
21
|
end
|
23
22
|
|
23
|
+
# Use action_dispatch.remote_ip for IP address fields and send request id
|
24
|
+
notification.add_tab(:request, {
|
25
|
+
:clientIp => env["action_dispatch.remote_ip"],
|
26
|
+
:requestId => env["action_dispatch.request_id"]
|
27
|
+
})
|
28
|
+
|
29
|
+
notification.user_id = env["action_dispatch.remote_ip"]
|
30
|
+
|
24
31
|
# Add the rails version
|
25
32
|
if notification.configuration.send_environment
|
26
33
|
notification.add_tab(:environment, {
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bugsnag
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.8.
|
4
|
+
version: 2.8.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Smith
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-06-
|
11
|
+
date: 2015-06-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: multi_json
|