airbrake 10.0.3 → 10.0.4

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: 9cf7ffc169b0f4ee600dd9aa45f49b906192a6338181493c5a70d6b1e54f5d68
4
- data.tar.gz: 8e996ba5aa92bca073cae278d53fe62c444aedc862aa95be32f0df35e58cfe7c
3
+ metadata.gz: d1bea1ce3705909bcf1406466ceab591c1c58aa138cd274c820a20b7d52e3bd1
4
+ data.tar.gz: bb33d7d3fe68fc0ef1c8e65d9eccb9e3b663bb88440a53bd36b4ee5e8841ce00
5
5
  SHA512:
6
- metadata.gz: d9437169d94bde1b24c559f4f1c2c1ac143f8905e35dfd48a381a1cce3ff2476ede8dbef56ffffbba70ccc3364e76a2973d3ecc0005888efe4e78768a5de75ba
7
- data.tar.gz: 4c0018a79a1d181af1fa1917e3ff8fbaff0eb9a24f236c28b0de5c5ac3a4e6474636d4aa3bd532e8be8bcc969eb9f1d5d6e326e58a64cd30f3a13dcb656162ae
6
+ metadata.gz: 37aa7af6de420774bc83c9af305591536ca98331b5ec695b30fc18e503cfe9ec14bd27a8923906f6cf83ada31b5e3536b0f075308988aee35dbec32a0a330a81
7
+ data.tar.gz: 6dc006e4d19670905ec22f8c843adbaa2d59c2c369264c590ce73178c5dbccf75848062c18a1132e4a944f6766a37a94a4d5b1d0e3c4be429df47d55718c9079
@@ -26,6 +26,16 @@ module Airbrake
26
26
  # * `Marketing::Engine` recognizes it as `marketing#/pricing` (correct)
27
27
  engines.each do |engine|
28
28
  engine.routes.router.recognize(request_copy) do |route, _params|
29
+ # Skip "catch-all" routes such as:
30
+ # get '*path => 'pages#about'
31
+ #
32
+ # @todo The `glob?` method was added in Rails v4.2.0.beta1. We
33
+ # should remove the `respond_to?` check once we drop old Rails
34
+ # versions support.
35
+ #
36
+ # https://github.com/rails/rails/commit/5460591f0226a9d248b7b4f89186bd5553e7768f
37
+ next if route.respond_to?(:glob?) && route.glob?
38
+
29
39
  path =
30
40
  if engine == ::Rails.application
31
41
  route.path.spec.to_s
@@ -3,5 +3,5 @@
3
3
  # We use Semantic Versioning v2.0.0
4
4
  # More information: http://semver.org/
5
5
  module Airbrake
6
- AIRBRAKE_VERSION = '10.0.3'.freeze
6
+ AIRBRAKE_VERSION = '10.0.4'.freeze
7
7
  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: 10.0.3
4
+ version: 10.0.4
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: 2020-04-22 00:00:00.000000000 Z
11
+ date: 2020-05-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: airbrake-ruby