bugsnag 2.8.10 → 2.8.11

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +5 -0
  3. data/VERSION +1 -1
  4. data/lib/bugsnag/rails.rb +4 -2
  5. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1f6db1320ba3eba24245253319686d204f348854
4
- data.tar.gz: ad92f249bb6f50e15b373e4264edf9c297a82d67
3
+ metadata.gz: 4697b59038282e5bb3b097661f1eae25e940bd1c
4
+ data.tar.gz: 5f6f93268fa517f7c50657913111d51d46961405
5
5
  SHA512:
6
- metadata.gz: 8e8c28bcbe0cb93f024ead6c2ca67bd76cf1661d9da07f5aff2a6bddc5746160413a4e3495b0441d508078a9926a0302e6439d78e8e799ea91c11d33288828aa
7
- data.tar.gz: 0b85a4519b51808fc520044825f7eb63ceb697c4deaa052d4f8a392558f524f2d555c05768cd3c827117f2c67088a2811e9fb0e61d5c80d9ab2ed0d3965178f6
6
+ metadata.gz: bcb13960f60abdd65a384f05998d509d0493cd69e1f6d4db18e6479ad3f77bf366d8b149981f8fc7182a226e1d946fbf612a8f824a7ae239faf1bf7bea6a626c
7
+ data.tar.gz: 0ac38f55c9d0277539c538fddfa880b70010b15a2c228ca499aec84b8741dba735ea23a4c669666d99a0d41202ad74b3f2563975fbfd99e307186d42cdb68e6a
@@ -1,6 +1,11 @@
1
1
  Changelog
2
2
  =========
3
3
 
4
+ 2.8.11
5
+ ------
6
+
7
+ - Better handle errors in ActiveRecord transactions (thanks @arthurnn!)
8
+
4
9
  2.8.10
5
10
  ------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 2.8.10
1
+ 2.8.11
@@ -15,8 +15,10 @@ module Bugsnag
15
15
  ActionController::Base.send(:include, Bugsnag::Rails::ActionControllerRescue)
16
16
  ActionController::Base.send(:include, Bugsnag::Rails::ControllerMethods)
17
17
  end
18
- if defined?(ActiveRecord::Base)
19
- ActiveRecord::Base.send(:include, Bugsnag::Rails::ActiveRecordRescue)
18
+ if defined?(ActiveRecord::Base) && Gem::Version.new(ActiveRecord::VERSION::STRING) < Gem::Version.new("4.3")
19
+ unless ActiveRecord::Base.respond_to?(:raise_in_transactional_callbacks) && ActiveRecord::Base.raise_in_transactional_callbacks
20
+ ActiveRecord::Base.send(:include, Bugsnag::Rails::ActiveRecordRescue)
21
+ end
20
22
  end
21
23
 
22
24
  Bugsnag.configure do |config|
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: 2.8.10
4
+ version: 2.8.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Smith
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-07-03 00:00:00.000000000 Z
11
+ date: 2015-07-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json