airbrake 12.0.0 → 13.0.0

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: c85c0e09edeb08efee5cabc43e11d56a02fb9cacbb2c0e415b81d0effa3f27b1
4
- data.tar.gz: e6c403b7219e58f8e296f9a2dddc510a6749b651e52569b995db6ff8b5e71b86
3
+ metadata.gz: a07739c02f3e1221ca95e82f58fd79a36a94419144079db6eec8a935b5f8bfad
4
+ data.tar.gz: 9e4da0976faf90b479903503fb00aa6f21b7bb469089c1795d6019ed5b001d4a
5
5
  SHA512:
6
- metadata.gz: be4e1cffdf8560bc786970f5db60fd6a85961a55ea7d5f1c87533ef338d30a0f462909879977b91e3d921f4ed4b3b616ca0fcdbcc4d18c0c5ccb01841b00be5d
7
- data.tar.gz: 28c44be64dd701b8afbf286b3dbced4756b6132b807ffc00e8a89c269d91b5e6b268a5e983e87b50fc00a524bc8a71f8e6a5da15bd7d385ce0a0f9d6d141b623
6
+ metadata.gz: 4954a38023b2bd13afeef26690701876ab90141e7f552a020ce32f6182a5352d1211bba9d7f9965ebafc0603f444c1caeb1d282ef15e291ccec10298a5504e84
7
+ data.tar.gz: 9bcb90f9b3d621c2be1d3a653be9a434831f42399035af8eb57c8eac94c6f4c00d40d3bc2b8335794460b122277e0a9cee18cd44a57757ee492146188fc89054
@@ -40,12 +40,12 @@ module Airbrake
40
40
  # Skip "catch-all" routes such as:
41
41
  # get '*path => 'pages#about'
42
42
  #
43
- # @todo The `glob?` method was added in Rails v4.2.0.beta1. We
44
- # should remove the `respond_to?` check once we drop old Rails
45
- # versions support.
43
+ # Ideally, we should be using `route.glob?` but in Rails 7+ this
44
+ # call would fail with a `NoMethodError`. This is because in
45
+ # Rails 7+ the AST for the route is not kept in memory anymore.
46
46
  #
47
- # https://github.com/rails/rails/commit/5460591f0226a9d248b7b4f89186bd5553e7768f
48
- next if route.respond_to?(:glob?) && route.glob?
47
+ # See: https://github.com/rails/rails/pull/43006#discussion_r783895766
48
+ next if route.path.spec.any?(ActionDispatch::Journey::Nodes::Star)
49
49
 
50
50
  path =
51
51
  if engine == ::Rails.application
@@ -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 = '12.0.0'
6
+ AIRBRAKE_VERSION = '13.0.0'
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: 12.0.0
4
+ version: 13.0.0
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: 2021-09-22 00:00:00.000000000 Z
11
+ date: 2022-01-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: airbrake-ruby
@@ -154,16 +154,16 @@ dependencies:
154
154
  name: redis
155
155
  requirement: !ruby/object:Gem::Requirement
156
156
  requirements:
157
- - - '='
157
+ - - "~>"
158
158
  - !ruby/object:Gem::Version
159
- version: 4.1.4
159
+ version: '4.5'
160
160
  type: :development
161
161
  prerelease: false
162
162
  version_requirements: !ruby/object:Gem::Requirement
163
163
  requirements:
164
- - - '='
164
+ - - "~>"
165
165
  - !ruby/object:Gem::Version
166
- version: 4.1.4
166
+ version: '4.5'
167
167
  - !ruby/object:Gem::Dependency
168
168
  name: sidekiq
169
169
  requirement: !ruby/object:Gem::Requirement
@@ -184,14 +184,14 @@ dependencies:
184
184
  requirements:
185
185
  - - "~>"
186
186
  - !ruby/object:Gem::Version
187
- version: '0.9'
187
+ version: '1.0'
188
188
  type: :development
189
189
  prerelease: false
190
190
  version_requirements: !ruby/object:Gem::Requirement
191
191
  requirements:
192
192
  - - "~>"
193
193
  - !ruby/object:Gem::Version
194
- version: '0.9'
194
+ version: '1.0'
195
195
  - !ruby/object:Gem::Dependency
196
196
  name: excon
197
197
  requirement: !ruby/object:Gem::Requirement
@@ -349,7 +349,8 @@ files:
349
349
  homepage: https://airbrake.io
350
350
  licenses:
351
351
  - MIT
352
- metadata: {}
352
+ metadata:
353
+ rubygems_mfa_required: 'true'
353
354
  post_install_message:
354
355
  rdoc_options: []
355
356
  require_paths:
@@ -358,14 +359,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
358
359
  requirements:
359
360
  - - ">="
360
361
  - !ruby/object:Gem::Version
361
- version: '2.5'
362
+ version: '2.6'
362
363
  required_rubygems_version: !ruby/object:Gem::Requirement
363
364
  requirements:
364
365
  - - ">="
365
366
  - !ruby/object:Gem::Version
366
367
  version: '0'
367
368
  requirements: []
368
- rubygems_version: 3.1.4
369
+ rubygems_version: 3.2.32
369
370
  signing_key:
370
371
  specification_version: 4
371
372
  summary: Airbrake is an online tool that provides robust exception tracking in any