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 +4 -4
- data/lib/raygun/apm/rails/middleware.rb +2 -2
- data/lib/raygun/apm/rails/railtie.rb +0 -3
- data/lib/raygun/apm/rails/version.rb +1 -1
- data/raygun-apm-rails.gemspec +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 503c35a65596bf15fe6b21de389379d666ad61285f8d5a1b2e47bd040e79b565
|
4
|
+
data.tar.gz: 7aed892aed451995f1665c32b5a6429fd16e44519eab3b4b0457e8ef4f748e5d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
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
|
data/raygun-apm-rails.gemspec
CHANGED
@@ -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.
|
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:
|
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:
|
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:
|
26
|
+
version: 1.1.11
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: bundler
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|