airbrake 9.5.4 → 9.5.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1674eebe809e2624774c0d3166fe5e214db9f947a9b41cfcdf4d510268e77993
4
- data.tar.gz: c902febfb24d2a8147324b8cb9d225ba41529ee89b97ace68be9c5a529885578
3
+ metadata.gz: 90f7f39f6012a7e8383f50d1d99c8631582032feddaaa5a452bb7ba9afc40fc6
4
+ data.tar.gz: 728831ea6a9a57815fec54ac507f4712923bcfe5b012b31658ddd0c1b4d576ba
5
5
  SHA512:
6
- metadata.gz: ccc91fb99278364f2539ed0a09bc8e60aef3780c651f92b65f05108b320d464f6627daf18c3c838def9d7ac6203fd46c84f333d6d905b0959c9b93aae509a2ff
7
- data.tar.gz: 151914bb3405cdd4c094a664ef81eb214fe269cacd3af17f8922e2b6bfb79b375f63dcdafe7df06c05aad7a69a1f58358196c3ade5e2fa6f5c43f84347ebab37
6
+ metadata.gz: d899543189d807cbc393fba4643274eea3b02134fa09aec828926dc2dced70adef3071b36092fa0f3ba9809217b3c74aa8e6d25849c22cfcc88640a6d257c85b
7
+ data.tar.gz: ca0c24bbd41fdd983a128763c99a3ce43aef445266d71606d54263782894e9a4987dde638c08083eb037ae6cae322d51ba1f42e4b690422478f4c3550cec817b
@@ -10,7 +10,10 @@ module Airbrake
10
10
  # @param [] request
11
11
  # @return [Airbrake::Rails::App::Route, nil]
12
12
  def self.recognize_route(request)
13
- ::Rails.application.routes.router.recognize(request) do |route, _params|
13
+ # Duplicate `request` because `recognize` *can* strip the request's
14
+ # `path_info`, which results in broken engine links (when the engine has
15
+ # an isolated namespace).
16
+ ::Rails.application.routes.router.recognize(request.dup) do |route, _params|
14
17
  path =
15
18
  if route.app.respond_to?(:app) && route.app.app.respond_to?(:engine_name)
16
19
  "#{route.app.app.engine_name}##{route.path.spec}"
@@ -1,5 +1,5 @@
1
1
  # We use Semantic Versioning v2.0.0
2
2
  # More information: http://semver.org/
3
3
  module Airbrake
4
- AIRBRAKE_VERSION = '9.5.4'.freeze
4
+ AIRBRAKE_VERSION = '9.5.5'.freeze
5
5
  end
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: 9.5.4
4
+ version: 9.5.5
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: 2019-11-27 00:00:00.000000000 Z
11
+ date: 2019-12-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: airbrake-ruby