airbrake 7.0.2 → 7.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/airbrake/rack/middleware.rb +9 -1
- data/lib/airbrake/version.rb +1 -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: 23d8c2f2c29cdf750625c83e8374a91196256598
|
4
|
+
data.tar.gz: 95169b51269222317b8b1f6ca2e3899fbd1bdda9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1398aa9d54e208260b81cd066ba2d00b2c03029d804d07bec5219bd5ed6f46ee9e064792c879250ff47267f8227209ccf8007152a8eb133f91442425496014a9
|
7
|
+
data.tar.gz: be54e3e8649efddde4d6f87c8fbe17978aaac0fe82ed9860dcacefda064088ddd801e8ca48dc4122451743588a937b1704c8d358da6acced144e24db39362946
|
@@ -68,7 +68,15 @@ module Airbrake
|
|
68
68
|
notice = @notifier.build_notice(exception)
|
69
69
|
return unless notice
|
70
70
|
|
71
|
-
|
71
|
+
# ActionDispatch::Request correctly captures server port when using SSL:
|
72
|
+
# See: https://github.com/airbrake/airbrake/issues/802
|
73
|
+
notice.stash[:rack_request] =
|
74
|
+
if defined?(ActionDispatch::Request)
|
75
|
+
ActionDispatch::Request.new(env)
|
76
|
+
else
|
77
|
+
::Rack::Request.new(env)
|
78
|
+
end
|
79
|
+
|
72
80
|
@notifier.notify(notice)
|
73
81
|
end
|
74
82
|
|
data/lib/airbrake/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: airbrake
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 7.0.
|
4
|
+
version: 7.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Airbrake Technologies, Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-10-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: airbrake-ruby
|