scout_apm 4.0.2 → 4.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.markdown +5 -0
- data/lib/scout_apm/instruments/action_view.rb +1 -5
- data/lib/scout_apm/instruments/typhoeus.rb +4 -3
- data/lib/scout_apm/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: b992479d1f96a3acca3f9cdbbafad0eb87e6fc88ec53e5de8f6360d01fe21eae
|
4
|
+
data.tar.gz: 2bd72c79abe8628029ac8c541e0fccff18e54fe5d43558148daebe95e7418e0c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: edf84c2a3b8a60961e9f3452b2ca0f10b963501becd9d30889a0acb671ac39267ee44e31279a78ae6a6375365e9c06c9f8d24b8c8f426fa2e512be6c5b141a1f
|
7
|
+
data.tar.gz: 713bd41d14c74e0655e38002195355263f9413fab013deddb67019437c193169968d26b6a33a058cf8480b8249bd7cf87a6ccf530f2a9b319c8fd1b5875af8e7
|
data/CHANGELOG.markdown
CHANGED
@@ -138,11 +138,7 @@ module ScoutApm
|
|
138
138
|
|
139
139
|
begin
|
140
140
|
req.start_layer(layer)
|
141
|
-
|
142
|
-
super(*args, **kwargs)
|
143
|
-
else
|
144
|
-
super(*args)
|
145
|
-
end
|
141
|
+
super(*args, **kwargs)
|
146
142
|
ensure
|
147
143
|
req.stop_layer
|
148
144
|
end
|
@@ -31,7 +31,8 @@ module ScoutApm
|
|
31
31
|
def run(*args, &block)
|
32
32
|
req = ScoutApm::RequestManager.lookup
|
33
33
|
req.start_layer(ScoutApm::Layer.new("HTTP", "Hydra"))
|
34
|
-
|
34
|
+
current_layer = req.current_layer
|
35
|
+
current_layer.desc = scout_desc if current_layer
|
35
36
|
|
36
37
|
begin
|
37
38
|
super(*args, &block)
|
@@ -51,8 +52,8 @@ module ScoutApm
|
|
51
52
|
def run(*args, &block)
|
52
53
|
req = ScoutApm::RequestManager.lookup
|
53
54
|
req.start_layer(ScoutApm::Layer.new("HTTP", scout_request_verb))
|
54
|
-
|
55
|
-
|
55
|
+
current_layer = req.current_layer
|
56
|
+
current_layer.desc = scout_desc(scout_request_verb, scout_request_url) if current_layer
|
56
57
|
|
57
58
|
begin
|
58
59
|
super(*args, &block)
|
data/lib/scout_apm/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: scout_apm
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.0.
|
4
|
+
version: 4.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Derek Haynes
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2021-01-
|
12
|
+
date: 2021-01-20 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: minitest
|