airbrake 5.4.2 → 5.4.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/airbrake/rails/railtie.rb +7 -1
- data/lib/airbrake/version.rb +1 -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: 8c118d6c1d986883f1df2b8d3729e625fd3769be
|
4
|
+
data.tar.gz: 70b3afa12edcc6488b1ec4ebe7da36b70f5d54b3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7427bd1b5c4284784e18101efec21e0e46c5f56efa4b5db779207e90a3a43044123b7c4b6cb210543a8e3e09342fdc60f4d97114d865fec468cf05c84d090576
|
7
|
+
data.tar.gz: 8128645f6e582557341742344adf16f4c30bec78826f75223038538f6d955030acb0df1ebf33c8c9bfa57af0790b71c98015732f06a890c1d514c1f50def7541
|
@@ -19,13 +19,19 @@ module Airbrake
|
|
19
19
|
ActionDispatch::DebugExceptions,
|
20
20
|
Airbrake::Rack::Middleware
|
21
21
|
)
|
22
|
-
|
22
|
+
elsif defined?(ActiveRecord)
|
23
23
|
# Insert after ConnectionManagement to avoid DB connection leakage:
|
24
24
|
# https://github.com/airbrake/airbrake/pull/568
|
25
25
|
app.config.middleware.insert_after(
|
26
26
|
ActiveRecord::ConnectionAdapters::ConnectionManagement,
|
27
27
|
'Airbrake::Rack::Middleware'
|
28
28
|
)
|
29
|
+
else
|
30
|
+
# Insert after DebugExceptions for apps without ActiveRecord.
|
31
|
+
app.config.middleware.insert_after(
|
32
|
+
ActionDispatch::DebugExceptions,
|
33
|
+
'Airbrake::Rack::Middleware'
|
34
|
+
)
|
29
35
|
end
|
30
36
|
end
|
31
37
|
|
data/lib/airbrake/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: airbrake
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.4.
|
4
|
+
version: 5.4.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Airbrake Technologies, Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-07-
|
11
|
+
date: 2016-07-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: airbrake-ruby
|