raygun-apm-rails 1.0.24 → 1.0.25
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.rdoc +4 -0
- data/lib/raygun/apm/rails/middleware.rb +4 -4
- data/lib/raygun/apm/rails/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e1ed60ffbe45aae39cb1950c0c264018437c3c144ec7bbe178a5c172c062b72d
|
4
|
+
data.tar.gz: 01f3aec28f93c40c6339187270b4bf2ca0fddbcd64a6dab67bd6af2040c20e4e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2eb362b074e81d3c2f9c149c040f6c328f6c1adbe567382edddf2f683517fc01e4d56f43540603683af2d5092f62749076985dac92f33f0c5cc6b71b3e16afd6
|
7
|
+
data.tar.gz: 2c3887fcfdf1b57008bca5a4f7ff9e9f41e8c0ec787895fea293fae073b9f044180438a0f3b20819c037ae0c453135e76ba2c8f97ba1f50c5f92d91c2c52bf96
|
data/CHANGELOG.rdoc
CHANGED
@@ -36,14 +36,14 @@ module Raygun
|
|
36
36
|
rescue => e
|
37
37
|
Raygun.track_exception(e, env) if Raygun::Apm::Rails.raygun4ruby?
|
38
38
|
end
|
39
|
-
exceptional_http_in_handler(env, status)
|
39
|
+
exceptional_http_in_handler(env, status) if @tracer
|
40
40
|
end
|
41
41
|
end
|
42
42
|
rescue => e
|
43
43
|
Ruby_APM_request_error do
|
44
44
|
raise e rescue nil
|
45
45
|
Raygun.track_exception(e, env) if Raygun::Apm::Rails.raygun4ruby?
|
46
|
-
exceptional_http_in_handler(env, 500)
|
46
|
+
exceptional_http_in_handler(env, 500) if @tracer
|
47
47
|
end
|
48
48
|
exception = e
|
49
49
|
end
|
@@ -64,12 +64,12 @@ module Raygun
|
|
64
64
|
|
65
65
|
ActiveSupport::Notifications.unsubscribe(@http_in_subscriber) if @http_in_subscriber
|
66
66
|
@http_in_subscriber = ActiveSupport::Notifications.subscribe('process_action.action_controller') do |*args|
|
67
|
-
http_in_handler(args)
|
67
|
+
http_in_handler(args) if @tracer
|
68
68
|
end
|
69
69
|
|
70
70
|
ActiveSupport::Notifications.unsubscribe(@sql_subscriber) if @sql_subscriber
|
71
71
|
@sql_subscriber = ActiveSupport::Notifications.subscribe('sql.active_record') do |*args|
|
72
|
-
sql_handler(args)
|
72
|
+
sql_handler(args) if @tracer
|
73
73
|
end
|
74
74
|
|
75
75
|
GC.stress = true if ENV['RAYGUN_STRESS_GC']
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: raygun-apm-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.25
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Raygun
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: exe
|
11
11
|
cert_chain: []
|
12
|
-
date: 2020-04-
|
12
|
+
date: 2020-04-11 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: raygun-apm
|