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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7108374ad36589c3f1f93ab360e5b44aa4c26931
4
- data.tar.gz: a58b1d6d3b4947a1abd72d6cc39c4ef19a9f1ab1
3
+ metadata.gz: c7a125074b0ce11af4b27fdec174ae254e9f93f6
4
+ data.tar.gz: d9ec806e212474fb4a91ad7d743ba0e52a1e3eba
5
5
  SHA512:
6
- metadata.gz: 4c835800cb05a0db5761f722617209c29db6d6cb798e60f39097a97a916771f682ca0f7ad659156d2e113d773d636e7801ddb2e964951c26fb7e4d12c91de029
7
- data.tar.gz: 05cfe84b373975f308fe753b81e8d74a3cee221376d6e7feb6b65d2078cc22ddf05cd7da6ce4d445c37eb9932806d4744fd62202b471a11b49901fb302bceb0d
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.0
1
+ 4.2.1
@@ -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} from api_key #{api_key}")
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
- require "bugsnag/rails"
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.0
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-17 00:00:00.000000000 Z
11
+ date: 2016-06-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake