bugsnag 6.0.1 → 6.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +18 -0
- data/CONTRIBUTING.md +2 -1
- data/UPGRADING.md +1 -1
- data/VERSION +1 -1
- data/lib/bugsnag/integrations/rack.rb +1 -1
- data/lib/bugsnag/integrations/railtie.rb +5 -8
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 87a875a7b8d7eb04937db718665e498303157cea
|
4
|
+
data.tar.gz: 39d1e2ad03f42d882286a4ed6845312e99a63738
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9fb191d7ec53908887b1b3cbb200a9d714fb0dbd7d17b2157808b110b1f0b5994f2b6d04a0549e39311fa4e822f21bf51152ceb55a151f90fcf28300cdc30244
|
7
|
+
data.tar.gz: 6def29d78105b3e3c2b39aa4d874d86d080285a0afe5e27b2fae9e11c348c1e37ef71dae1447a1656224e989611f96bc4ed597f2d6069daf635cbbdfe86cd0b6
|
data/CHANGELOG.md
CHANGED
@@ -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
|
data/CONTRIBUTING.md
CHANGED
@@ -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
|
-
|
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
|
data/UPGRADING.md
CHANGED
@@ -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/
|
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
|
+
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::
|
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
|
-
|
46
|
+
ActiveSupport.on_load(:action_controller) do
|
47
47
|
require "bugsnag/integrations/rails/controller_methods"
|
48
|
-
|
48
|
+
include Bugsnag::Rails::ControllerMethods
|
49
49
|
end
|
50
|
-
|
51
|
-
|
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
|
-
|
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
|
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-
|
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.
|
112
|
+
rubygems_version: 2.6.13
|
113
113
|
signing_key:
|
114
114
|
specification_version: 4
|
115
115
|
summary: Ruby notifier for bugsnag.com
|