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 +4 -4
- data/lib/airbrake/rails/app.rb +10 -0
- data/lib/airbrake/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d1bea1ce3705909bcf1406466ceab591c1c58aa138cd274c820a20b7d52e3bd1
|
4
|
+
data.tar.gz: bb33d7d3fe68fc0ef1c8e65d9eccb9e3b663bb88440a53bd36b4ee5e8841ce00
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 37aa7af6de420774bc83c9af305591536ca98331b5ec695b30fc18e503cfe9ec14bd27a8923906f6cf83ada31b5e3536b0f075308988aee35dbec32a0a330a81
|
7
|
+
data.tar.gz: 6dc006e4d19670905ec22f8c843adbaa2d59c2c369264c590ce73178c5dbccf75848062c18a1132e4a944f6766a37a94a4d5b1d0e3c4be429df47d55718c9079
|
data/lib/airbrake/rails/app.rb
CHANGED
@@ -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
|
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: 10.0.
|
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-
|
11
|
+
date: 2020-05-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: airbrake-ruby
|