raygun-apm-rails 1.1.3 → 1.1.4

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
  SHA256:
3
- metadata.gz: 9e3f8b2271ffafd7d62979cffbeac24469393a26748b349fe8c251737bbe88e8
4
- data.tar.gz: a2cbe9f30105e72e0a436162ed01f98c33f63d87f51d8ecc233cc992b44566a6
3
+ metadata.gz: 503c35a65596bf15fe6b21de389379d666ad61285f8d5a1b2e47bd040e79b565
4
+ data.tar.gz: 7aed892aed451995f1665c32b5a6429fd16e44519eab3b4b0457e8ef4f748e5d
5
5
  SHA512:
6
- metadata.gz: e52a2045a7d9b1939dbbaa2cc0efe314f3ad1a37d1edd4b905c9a18efabffa6cd0bdf303ad42e37b430fda8c07460b4cd3eb3b9e86b9b6fb86ac767195d1e187
7
- data.tar.gz: 64f8bbcf5981597e18fb270c6b72f2f2d7c86106f297fae4d93603b932bb2a31110937ab9f9ed8132d4a423f5801374fb7c0b06226df1eadfe10b12728c8e7e4
6
+ metadata.gz: 23158e351ac2293d95887d083764b1b728885926dff2a4fadaff4a49ef63e57421cd820b6abfc4da107e53eb024cb46289f733bc43e34973c4889c917350e7d7
7
+ data.tar.gz: 433f0aaef732aafa5cfce06b710b73ef629d7e0014193906fba5832fbd1d93eb32fa5903d598c4a20090207298c78a1e558e576eb829ab3ff47345b7a0fc7429
@@ -54,7 +54,7 @@ module Raygun
54
54
 
55
55
  def init_tracer
56
56
  tracer = Raygun::Apm::Tracer.new
57
- tracer.udp_sink!
57
+ tracer.enable_sink!
58
58
  ObjectSpace.define_finalizer(self, self.class.finalize(tracer))
59
59
 
60
60
  ActiveSupport::Notifications.unsubscribe(@http_in_subscriber) if @http_in_subscriber
@@ -80,7 +80,7 @@ module Raygun
80
80
  ActiveSupport::Notifications.unsubscribe(@http_in_subscriber)
81
81
  ActiveSupport::Notifications.unsubscribe(@sql_subscriber)
82
82
  warn "[Raygun APM] notification hooks unsubscribed"
83
- @tracer.end_trace
83
+ @tracer.end_trace if @tracer
84
84
  # Let the GC clean up the sink thread through the finalizer below
85
85
  @tracer = Raygun::Apm::Tracer.instance = nil
86
86
  crash_report_exception(exception)
@@ -11,9 +11,6 @@ module Raygun
11
11
  app.middleware.delete Raygun::Middleware::RackExceptionInterceptor
12
12
  end
13
13
  app.middleware.use Raygun::Apm::Rails::Middleware
14
- # Explictly enable instrumenting HTTP until a good control API is figured out
15
- require "raygun/apm/hooks/net_http"
16
- require "raygun/apm/hooks/redis" if defined?(Redis::Client)
17
14
  end
18
15
  end
19
16
  end
@@ -1,7 +1,7 @@
1
1
  module Raygun
2
2
  module Apm
3
3
  module Rails
4
- VERSION = "1.1.3"
4
+ VERSION = "1.1.4"
5
5
  end
6
6
  end
7
7
  end
@@ -18,7 +18,7 @@ Gem::Specification.new do |spec|
18
18
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
19
19
  spec.require_paths = ["lib"]
20
20
 
21
- spec.add_dependency "raygun-apm"
21
+ spec.add_dependency "raygun-apm", "~> 1.1.11"
22
22
  spec.add_development_dependency "bundler", "~> 2.1.4"
23
23
  spec.add_development_dependency "rake", "~> 10.0"
24
24
  spec.add_development_dependency "minitest", "~> 5.0"
metadata CHANGED
@@ -1,29 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: raygun-apm-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.3
4
+ version: 1.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Raygun Limited
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-12-13 00:00:00.000000000 Z
11
+ date: 2022-02-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: raygun-apm
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ">="
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '0'
19
+ version: 1.1.11
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ">="
24
+ - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '0'
26
+ version: 1.1.11
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: bundler
29
29
  requirement: !ruby/object:Gem::Requirement