airbrake 11.0.1 → 11.0.2

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: 4b780328fc01621a0273577655179008c6314c6fe5187e5562f15c5112f296cd
4
- data.tar.gz: 3036e80e03bbb2fa4159a9167a6971adcda2dcbee789ed3db320c0eaf0408d9b
3
+ metadata.gz: 3b3ded27d61e498357607b8b562b2254a9b11c11b6580161f3ded2557acd85e7
4
+ data.tar.gz: 9f6b460076c28a77312487505a5f8aa0aa98ac3ff46e6a14c5cc0796e5f8f906
5
5
  SHA512:
6
- metadata.gz: f307768db070afd129623ed312e7f4da4e4040f1bdf33cb9d1e31f2f1ee4278e992eac0e901a6bb257042ff9aff5f651c2a8bd74579606771c56d4040e63c0b1
7
- data.tar.gz: b6376325c1b352ac7f13a0a0467737fb2a8cb08a12748c10d991265342119bcd6f510271744facb11018312de593857835aceadef557c20bbf1e85a2296e7bd4
6
+ metadata.gz: e416c056868b6143ea2132a05fbd588d42b044604956678eb1d2b22a510d54274ab35d165abab5903696e19e01c1901c60971660d78e37fc43d3185d933014a0
7
+ data.tar.gz: 9209af921bc3c68e57ca6d032c8aa837e3be5684ec236b3d8f113a8707cabb12075db9214f621b5e4a95341d9a390d8d99f337e92cc223b46def34b71e34553e
@@ -1,14 +1,18 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- module HTTP
4
- # Monkey-patch to measure request timing.
5
- class Client
6
- alias perform_without_airbrake perform
7
-
8
- def perform(request, options)
9
- Airbrake::Rack.capture_timing(:http) do
10
- perform_without_airbrake(request, options)
3
+ module Airbrake
4
+ module Rails
5
+ # Monkey-patch to measure request timing.
6
+ # @api private
7
+ # @since v11.0.2
8
+ module HTTP
9
+ def perform(request, options)
10
+ Airbrake::Rack.capture_timing(:http) do
11
+ super(request, options)
12
+ end
11
13
  end
12
14
  end
13
15
  end
14
16
  end
17
+
18
+ HTTP::Client.prepend(Airbrake::Rails::HTTP)
@@ -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 = '11.0.1'
6
+ AIRBRAKE_VERSION = '11.0.2'
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: 11.0.1
4
+ version: 11.0.2
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-10-20 00:00:00.000000000 Z
11
+ date: 2021-05-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: airbrake-ruby
@@ -58,14 +58,14 @@ dependencies:
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: '12'
61
+ version: '13'
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: '12'
68
+ version: '13'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: pry
71
71
  requirement: !ruby/object:Gem::Requirement
@@ -170,14 +170,14 @@ dependencies:
170
170
  requirements:
171
171
  - - '='
172
172
  - !ruby/object:Gem::Version
173
- version: 3.3.3
173
+ version: 4.1.4
174
174
  type: :development
175
175
  prerelease: false
176
176
  version_requirements: !ruby/object:Gem::Requirement
177
177
  requirements:
178
178
  - - '='
179
179
  - !ruby/object:Gem::Version
180
- version: 3.3.3
180
+ version: 4.1.4
181
181
  - !ruby/object:Gem::Dependency
182
182
  name: sidekiq
183
183
  requirement: !ruby/object:Gem::Requirement
@@ -262,26 +262,40 @@ dependencies:
262
262
  - - "~>"
263
263
  - !ruby/object:Gem::Version
264
264
  version: '1.3'
265
+ - !ruby/object:Gem::Dependency
266
+ name: ethon
267
+ requirement: !ruby/object:Gem::Requirement
268
+ requirements:
269
+ - - '='
270
+ - !ruby/object:Gem::Version
271
+ version: 0.12.0
272
+ type: :development
273
+ prerelease: false
274
+ version_requirements: !ruby/object:Gem::Requirement
275
+ requirements:
276
+ - - '='
277
+ - !ruby/object:Gem::Version
278
+ version: 0.12.0
265
279
  - !ruby/object:Gem::Dependency
266
280
  name: public_suffix
267
281
  requirement: !ruby/object:Gem::Requirement
268
282
  requirements:
269
283
  - - "~>"
270
284
  - !ruby/object:Gem::Version
271
- version: '2.0'
285
+ version: '4.0'
272
286
  - - "<"
273
287
  - !ruby/object:Gem::Version
274
- version: '3.0'
288
+ version: '5.0'
275
289
  type: :development
276
290
  prerelease: false
277
291
  version_requirements: !ruby/object:Gem::Requirement
278
292
  requirements:
279
293
  - - "~>"
280
294
  - !ruby/object:Gem::Version
281
- version: '2.0'
295
+ version: '4.0'
282
296
  - - "<"
283
297
  - !ruby/object:Gem::Version
284
- version: '3.0'
298
+ version: '5.0'
285
299
  - !ruby/object:Gem::Dependency
286
300
  name: redis-namespace
287
301
  requirement: !ruby/object:Gem::Requirement