bugsnag 4.2.0 → 4.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +11 -0
- data/VERSION +1 -1
- data/lib/bugsnag/notification.rb +1 -1
- data/rails/init.rb +5 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c7a125074b0ce11af4b27fdec174ae254e9f93f6
|
4
|
+
data.tar.gz: d9ec806e212474fb4a91ad7d743ba0e52a1e3eba
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 00f9605f9d914345731261720b2b9d9c1a5ad9e51c137eacd87aa58c6d1fb87b54576d08f701f61dd0c0ffad2f796b484848b6860899d26d905b91642b3b6fb1
|
7
|
+
data.tar.gz: 04094907d4eb4267e03ac1ab068eabf5ed07be81f6192c09376476faa56cfdcccd669cbce6f7c9e3a7dd0626eaac2c432a2c5c10a532ce1dc4a65785ba4c51b9
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,17 @@
|
|
1
1
|
Changelog
|
2
2
|
=========
|
3
3
|
|
4
|
+
## 4.2.1 (23 Jun 2016)
|
5
|
+
|
6
|
+
### Fixes
|
7
|
+
|
8
|
+
* Ensure Rails 2 extensions are not loaded on newer versions
|
9
|
+
| [#303](https://github.com/bugsnag/bugsnag-ruby/issues/303)
|
10
|
+
|
11
|
+
* Remove API key logging when Bugsnag is logging successfully
|
12
|
+
| [Julian Borrey](https://github.com/jborrey)
|
13
|
+
| [#299](https://github.com/bugsnag/bugsnag-ruby/pull/299)
|
14
|
+
|
4
15
|
## 4.2.0 (17 Jun 2016)
|
5
16
|
|
6
17
|
### Enhancements
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
4.2.
|
1
|
+
4.2.1
|
data/lib/bugsnag/notification.rb
CHANGED
@@ -219,7 +219,7 @@ module Bugsnag
|
|
219
219
|
|
220
220
|
# Build the endpoint url
|
221
221
|
endpoint = (@configuration.use_ssl ? "https://" : "http://") + @configuration.endpoint
|
222
|
-
Bugsnag.log("Notifying #{endpoint} of #{@exceptions.last.class}
|
222
|
+
Bugsnag.log("Notifying #{endpoint} of #{@exceptions.last.class}")
|
223
223
|
|
224
224
|
# Deliver the payload
|
225
225
|
self.class.deliver_exception_payload(endpoint, build_exception_payload, @configuration, @delivery_method)
|
data/rails/init.rb
CHANGED
@@ -1,3 +1,7 @@
|
|
1
1
|
# On Rails 2.x GEM_ROOT/rails/init.rb is auto loaded for all gems
|
2
2
|
# so this is the place to initialize Rails 2.x plugin support
|
3
|
-
|
3
|
+
if Gem::Version.new(ActiveRecord::VERSION::STRING) < Gem::Version.new("3.0")
|
4
|
+
require "bugsnag/rails"
|
5
|
+
else
|
6
|
+
Bugsnag.warn "Blocked attempt to initialize legacy Rails 2.x extensions"
|
7
|
+
end
|
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: 4.2.
|
4
|
+
version: 4.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Smith
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-06-
|
11
|
+
date: 2016-06-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|