raygun-apm-rails 0.1.7 → 0.1.12
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 +4 -4
- data/.gitignore +1 -0
- data/README.rdoc +1 -2
- data/lib/raygun/apm/rails/middleware.rb +3 -2
- data/lib/raygun/apm/rails/railtie.rb +0 -1
- data/lib/raygun/apm/rails/version.rb +1 -1
- data/lib/raygun/apm/rails.rb +3 -1
- metadata +3 -4
- data/raygun-apm-rails-0.1.0.gem +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0a4b9163fa7ad19d6a57734000d788288c5f1ca74ce4d3729d4ff9acd81036d0
|
4
|
+
data.tar.gz: 76a7c8afa228f0586528f1009d0ae7fed3c596b5b332a9b61534dcdac37a7fdc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ac85078db0464c339ece99a1099e7ba0d4beaef0c36b2202efb007635f7344c14f78b0c2f15a318ffd1ad1f6a6e247cdeee41942e434b8fab4ea8a84134fd8e5
|
7
|
+
data.tar.gz: dedc829409e7e9a581b2b5a1d028338d1e4171f71ec937845de11267b1fd1f69654e6758322cc1c7421f82bff747e2def7f0702c8da49ed8e8e62079caf7fb50
|
data/.gitignore
CHANGED
data/README.rdoc
CHANGED
@@ -17,10 +17,9 @@ Distributed as a Rails wrapper to inject the precompiled native profiler gem.
|
|
17
17
|
|
18
18
|
The profiler only supports CRuby, also known as Matz's Ruby Interpreter (MRI).
|
19
19
|
|
20
|
-
* 2.4.x (End of life upstream release that does not receive backports anymore)
|
21
20
|
* 2.5.x
|
22
21
|
* 2.6.x
|
23
|
-
* 2.7.x
|
22
|
+
* 2.7.x
|
24
23
|
|
25
24
|
{Contact us}[https://raygun.com/about/contact] to support other Ruby versions.
|
26
25
|
|
@@ -30,7 +30,7 @@ module Raygun
|
|
30
30
|
res = nil
|
31
31
|
# Can be nil if we had a fatal error
|
32
32
|
if @tracer
|
33
|
-
Thread.current
|
33
|
+
Thread.current.thread_variable_set(:_raygun_apm_tracer, @tracer)
|
34
34
|
@tracer.start_trace
|
35
35
|
end
|
36
36
|
res = @app.call(env)
|
@@ -49,7 +49,8 @@ module Raygun
|
|
49
49
|
# Shutdown the tracepoint if enabled to reduce any overhead and stall emission
|
50
50
|
@tracer.tracepoint.stop if @tracer.tracepoint.enabled?
|
51
51
|
# Let the GC clean up the sink thread through the finalizer below
|
52
|
-
@tracer =
|
52
|
+
@tracer = nil
|
53
|
+
Thread.current.thread_variable_set(:_raygun_apm_tracer, nil)
|
53
54
|
end
|
54
55
|
|
55
56
|
def http_in_handler(args)
|
@@ -3,7 +3,6 @@ module Raygun
|
|
3
3
|
module Rails
|
4
4
|
class Railtie < ::Rails::Railtie
|
5
5
|
initializer "raygun.apm" do |app|
|
6
|
-
return if ENV['RAYGUN_SKIP_MIDDLEWARE']
|
7
6
|
require "raygun/apm"
|
8
7
|
require "raygun/apm/rails/middleware"
|
9
8
|
Raygun::Apm::Blacklist.extend_with Raygun::Apm::Rails::BLACKLIST
|
data/lib/raygun/apm/rails.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: raygun-apm-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.12
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Erkki Eilonen
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-01-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: raygun-apm
|
@@ -84,7 +84,6 @@ files:
|
|
84
84
|
- lib/raygun/apm/rails/middleware.rb
|
85
85
|
- lib/raygun/apm/rails/railtie.rb
|
86
86
|
- lib/raygun/apm/rails/version.rb
|
87
|
-
- raygun-apm-rails-0.1.0.gem
|
88
87
|
- raygun-apm-rails.gemspec
|
89
88
|
homepage:
|
90
89
|
licenses: []
|
@@ -104,7 +103,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
104
103
|
- !ruby/object:Gem::Version
|
105
104
|
version: '0'
|
106
105
|
requirements: []
|
107
|
-
rubygems_version: 3.
|
106
|
+
rubygems_version: 3.1.2
|
108
107
|
signing_key:
|
109
108
|
specification_version: 4
|
110
109
|
summary: Raygun application performance monitoring for Rails
|
data/raygun-apm-rails-0.1.0.gem
DELETED
Binary file
|