airbrake 7.2.0 → 7.2.1

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
  SHA1:
3
- metadata.gz: ae253901ad2046c651692e110071b8754cbb129c
4
- data.tar.gz: cc9f1fd544132f817105e4cebdd52a593e4c0a60
3
+ metadata.gz: ad08b83395663dbc849b19e76a742f73608b4ad5
4
+ data.tar.gz: d0444e9a151acf5d4a6f10ac303327d0dccc5c1e
5
5
  SHA512:
6
- metadata.gz: '08ff586c61450878a3412b1f5ba56fa7a7fe9a10987bd1fc40c188a9d5d9122be9c6e8ccf35a8e53aebb2423dcc02e5b85091b6fa7947b7ab8e81293b306c89c'
7
- data.tar.gz: af881b6164a18675dae6e8b9004b7c751c8927843dd9d5489b04cce1b821c10535c909dadc5304c7a7e514fa676310033b0ca673ea1a3bfbd26a4812e4d1030c
6
+ metadata.gz: 4ba8f0ff691735709fb65978ec686c45e87f09f4717efaec1a70701bb74b837f0e8193e0f4a5bed124cf1c987a3e7d7fa562c2e52d7933b41c4366a61ec0d864
7
+ data.tar.gz: 7a5815afec844b519f6eff8dd3e46e5b84faf454b9ab2ed5ce7c40a50e7f0aa5bfd905ef6192b58e6f936674940d52eda0318941f972759e3b58ffd1fd7792d3
@@ -77,3 +77,15 @@ module Airbrake
77
77
  end
78
78
  end
79
79
  end
80
+
81
+ if defined?(ActionController::Metal)
82
+ require 'airbrake/rails/action_controller'
83
+ module ActionController
84
+ # Adds support for Rails API/Metal for Rails < 5. Rails 5+ uses standard
85
+ # hooks.
86
+ # @see https://github.com/airbrake/airbrake/issues/821
87
+ class Metal
88
+ include Airbrake::Rails::ActionController
89
+ end
90
+ end
91
+ end
@@ -2,5 +2,5 @@
2
2
  # We use Semantic Versioning v2.0.0
3
3
  # More information: http://semver.org/
4
4
  module Airbrake
5
- AIRBRAKE_VERSION = '7.2.0'.freeze
5
+ AIRBRAKE_VERSION = '7.2.1'.freeze
6
6
  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: 7.2.0
4
+ version: 7.2.1
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: 2018-01-10 00:00:00.000000000 Z
11
+ date: 2018-02-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: airbrake-ruby
@@ -310,32 +310,32 @@ specification_version: 4
310
310
  summary: Airbrake is an online tool that provides robust exception tracking in any
311
311
  of your Ruby applications.
312
312
  test_files:
313
- - spec/apps/rack/dummy_app.rb
314
- - spec/apps/rails/dummy_app.rb
315
- - spec/apps/rails/dummy_task.rake
316
- - spec/apps/rails/logs/40.log
317
- - spec/apps/rails/logs/42.log
318
- - spec/apps/rails/logs/50.log
319
- - spec/apps/rails/logs/51.log
320
- - spec/apps/rails/logs/52.log
321
- - spec/apps/sinatra/composite_app/sinatra_app1.rb
322
- - spec/apps/sinatra/composite_app/sinatra_app2.rb
323
- - spec/apps/sinatra/dummy_app.rb
324
- - spec/integration/rack/rack_spec.rb
325
- - spec/integration/rails/rails_spec.rb
326
- - spec/integration/rails/rake_spec.rb
327
- - spec/integration/shared_examples/rack_examples.rb
328
- - spec/integration/sinatra/sinatra_spec.rb
329
313
  - spec/spec_helper.rb
330
314
  - spec/unit/logger_spec.rb
331
- - spec/unit/rack/context_filter_spec.rb
332
- - spec/unit/rack/http_headers_filter_spec.rb
315
+ - spec/unit/rake/tasks_spec.rb
316
+ - spec/unit/sidekiq_spec.rb
317
+ - spec/unit/shoryuken_spec.rb
318
+ - spec/unit/sneakers_spec.rb
319
+ - spec/unit/rack/request_body_filter_spec.rb
333
320
  - spec/unit/rack/http_params_filter_spec.rb
321
+ - spec/unit/rack/http_headers_filter_spec.rb
334
322
  - spec/unit/rack/middleware_spec.rb
335
- - spec/unit/rack/request_body_filter_spec.rb
336
323
  - spec/unit/rack/session_filter_spec.rb
324
+ - spec/unit/rack/context_filter_spec.rb
337
325
  - spec/unit/rack/user_spec.rb
338
- - spec/unit/rake/tasks_spec.rb
339
- - spec/unit/shoryuken_spec.rb
340
- - spec/unit/sidekiq_spec.rb
341
- - spec/unit/sneakers_spec.rb
326
+ - spec/integration/sinatra/sinatra_spec.rb
327
+ - spec/integration/rack/rack_spec.rb
328
+ - spec/integration/shared_examples/rack_examples.rb
329
+ - spec/integration/rails/rake_spec.rb
330
+ - spec/integration/rails/rails_spec.rb
331
+ - spec/apps/sinatra/dummy_app.rb
332
+ - spec/apps/sinatra/composite_app/sinatra_app1.rb
333
+ - spec/apps/sinatra/composite_app/sinatra_app2.rb
334
+ - spec/apps/rack/dummy_app.rb
335
+ - spec/apps/rails/dummy_task.rake
336
+ - spec/apps/rails/dummy_app.rb
337
+ - spec/apps/rails/logs/42.log
338
+ - spec/apps/rails/logs/40.log
339
+ - spec/apps/rails/logs/50.log
340
+ - spec/apps/rails/logs/51.log
341
+ - spec/apps/rails/logs/52.log