raygun-apm-rails 1.0.24 → 1.0.25

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b1947daa3dde5ecae7057bc878855cb674650ce9e7fc01ebb36486299f829116
4
- data.tar.gz: 5e17a60724c045590729a95eb9b3774551a811743f55bf8540b1fce37d39383b
3
+ metadata.gz: e1ed60ffbe45aae39cb1950c0c264018437c3c144ec7bbe178a5c172c062b72d
4
+ data.tar.gz: 01f3aec28f93c40c6339187270b4bf2ca0fddbcd64a6dab67bd6af2040c20e4e
5
5
  SHA512:
6
- metadata.gz: 41ca05fb4218a8a11f5953ab064ade337d50cec736768adea381f9c29b707e4b763d64d8817064a2ebd5fffb3d8bc66bc23c35e87fe6d350165e045cb3639516
7
- data.tar.gz: 4f4f6cf16b00b4db422b3055dd445253f400493edf683a721e592b08c7eae23b73934293fb8641a90ada5431bd629587861c115e60931d4c3ff6071482317705
6
+ metadata.gz: 2eb362b074e81d3c2f9c149c040f6c328f6c1adbe567382edddf2f683517fc01e4d56f43540603683af2d5092f62749076985dac92f33f0c5cc6b71b3e16afd6
7
+ data.tar.gz: 2c3887fcfdf1b57008bca5a4f7ff9e9f41e8c0ec787895fea293fae073b9f044180438a0f3b20819c037ae0c453135e76ba2c8f97ba1f50c5f92d91c2c52bf96
@@ -1,5 +1,9 @@
1
1
  = Changelog
2
2
 
3
+ == 1.0.25 (April 11, 2020)
4
+
5
+ * Only ever attempt to emit extended events if a tracer instance is alive
6
+
3
7
  == 1.0.24 (April 1, 2020)
4
8
 
5
9
  * Blacklist Enumeration
@@ -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']
@@ -1,7 +1,7 @@
1
1
  module Raygun
2
2
  module Apm
3
3
  module Rails
4
- VERSION = "1.0.24"
4
+ VERSION = "1.0.25"
5
5
  end
6
6
  end
7
7
  end
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.24
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-01 00:00:00.000000000 Z
12
+ date: 2020-04-11 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: raygun-apm