bugsnag 6.0.1 → 6.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7051f1b045ba90626c2130cda598dcc8db6e93c4
4
- data.tar.gz: bf4bd085a0f1cf838d26335f6567128768ef1cde
3
+ metadata.gz: 87a875a7b8d7eb04937db718665e498303157cea
4
+ data.tar.gz: 39d1e2ad03f42d882286a4ed6845312e99a63738
5
5
  SHA512:
6
- metadata.gz: 146a2cdd6ba41c334948ed643263dab8b4480fec92c430bd4f4025704ce3a7089b0d1a9e0778244d0ec79664670090b132aac6e5f4d7e3ab960218dfc7205c53
7
- data.tar.gz: 8db4ec587f1c9e0760dc71f569fbb947ee6addf0dc1074b18cc1baddd6d1872fb21a7a314c9194c2a91504a0fcbd5de1ab7da5ca08a9e9c3949aa2de72cafb12
6
+ metadata.gz: 9fb191d7ec53908887b1b3cbb200a9d714fb0dbd7d17b2157808b110b1f0b5994f2b6d04a0549e39311fa4e822f21bf51152ceb55a151f90fcf28300cdc30244
7
+ data.tar.gz: 6def29d78105b3e3c2b39aa4d874d86d080285a0afe5e27b2fae9e11c348c1e37ef71dae1447a1656224e989611f96bc4ed597f2d6069daf635cbbdfe86cd0b6
@@ -1,6 +1,24 @@
1
1
  Changelog
2
2
  =========
3
3
 
4
+ ## 6.1.0 (17 Nov 2017)
5
+
6
+ ### Enhancements
7
+
8
+ * Use lazy load hooks to hook on ActionController::Base
9
+ | [Edouard-chin](https://github.com/Edouard-chin)
10
+ | [#393](https://github.com/bugsnag/bugsnag-ruby/pull/393)
11
+
12
+ ### Fixes
13
+
14
+ * Fix type in Rack/Clearance integration
15
+ | [geofferymm](https://github.com/geoffreymm)
16
+ | [#392](https://github.com/bugsnag/bugsnag-ruby/pull/392)
17
+
18
+ * Fix upgrade link to docs
19
+ | [duncanhewett](https://github.com/duncanhewett)
20
+ | [#390](https://github.com/bugsnag/bugsnag-ruby/pull/390)
21
+
4
22
  ## 6.0.1 (09 Nov 2017)
5
23
 
6
24
  Adds a warning for the change in usage for the `notify()` method from < 6.0 to
@@ -56,7 +56,8 @@ If you're a member of the core team, follow these instructions for releasing bug
56
56
  * Release to rubygems
57
57
 
58
58
  ```
59
- bundle exec rake release
59
+ gem build bugsnag.gemspec
60
+ gem push bugsnag-[version].gem
60
61
  ```
61
62
 
62
63
  * Update the version running in the bugsnag-website project
@@ -9,7 +9,7 @@ changes required to use the new integrations_
9
9
 
10
10
  Support for notifying Bugsnag of deployments has been separated into a separate
11
11
  gem named `bugsnag-capistrano`. See the [integration
12
- guide](https://docs.bugsnag.com/platforms/ruby/capistrano) for more information.
12
+ guide](https://docs.bugsnag.com/api/deploy-tracking/capistrano/) for more information.
13
13
 
14
14
 
15
15
  #### Configuration
data/VERSION CHANGED
@@ -1 +1 @@
1
- 6.0.1
1
+ 6.1.0
@@ -25,7 +25,7 @@ module Bugsnag
25
25
  # Hook up rack-based notification middlewares
26
26
  config.middleware.insert_before([Bugsnag::Middleware::Rails3Request,Bugsnag::Middleware::Callbacks], Bugsnag::Middleware::RackRequest) if defined?(::Rack)
27
27
  config.middleware.insert_before(Bugsnag::Middleware::Callbacks, Bugsnag::Middleware::WardenUser) if defined?(Warden)
28
- config.middleware.insert_before(Bugsnag::Middleware::Callbkacs, Bugsnag::Middleware::ClearanceUser) if defined?(Clearance)
28
+ config.middleware.insert_before(Bugsnag::Middleware::Callbacks, Bugsnag::Middleware::ClearanceUser) if defined?(Clearance)
29
29
 
30
30
  config.app_type ||= "rack"
31
31
  end
@@ -43,17 +43,14 @@ module Bugsnag
43
43
  config.middleware.insert_before Bugsnag::Middleware::Callbacks, Bugsnag::Middleware::Rails3Request
44
44
  end
45
45
 
46
- if defined?(::ActionController::Base)
46
+ ActiveSupport.on_load(:action_controller) do
47
47
  require "bugsnag/integrations/rails/controller_methods"
48
- ::ActionController::Base.send(:include, Bugsnag::Rails::ControllerMethods)
48
+ include Bugsnag::Rails::ControllerMethods
49
49
  end
50
- if defined?(ActionController::API)
51
- require "bugsnag/integrations/rails/controller_methods"
52
- ActionController::API.send(:include, Bugsnag::Rails::ControllerMethods)
53
- end
54
- if defined?(ActiveRecord::Base)
50
+
51
+ ActiveSupport.on_load(:active_record) do
55
52
  require "bugsnag/integrations/rails/active_record_rescue"
56
- ActiveRecord::Base.send(:include, Bugsnag::Rails::ActiveRecordRescue)
53
+ include Bugsnag::Rails::ActiveRecordRescue
57
54
  end
58
55
 
59
56
  Bugsnag.configuration.app_type = "rails"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bugsnag
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.0.1
4
+ version: 6.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Smith
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-11-09 00:00:00.000000000 Z
11
+ date: 2017-11-17 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Ruby notifier for bugsnag.com
14
14
  email: james@bugsnag.com
@@ -109,7 +109,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
109
109
  version: '0'
110
110
  requirements: []
111
111
  rubyforge_project:
112
- rubygems_version: 2.4.5
112
+ rubygems_version: 2.6.13
113
113
  signing_key:
114
114
  specification_version: 4
115
115
  summary: Ruby notifier for bugsnag.com