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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 984d05544e5a2ce1b325c8a27f619f9b7ee54e8d98f614bebd41049c2c162105
4
- data.tar.gz: f10c260c2cab2d1f00d6f6267eb643b860f872352edc9fa8ba8bedd0ac392023
3
+ metadata.gz: b992479d1f96a3acca3f9cdbbafad0eb87e6fc88ec53e5de8f6360d01fe21eae
4
+ data.tar.gz: 2bd72c79abe8628029ac8c541e0fccff18e54fe5d43558148daebe95e7418e0c
5
5
  SHA512:
6
- metadata.gz: ec9bc8174b44664990ffd3ab52fa0b3232f8c000dd69b50cab3d69b467acd74138aaec8d7494ecb1ae4cd50c3a70709db11abe232a9636cb76bb497bbc70341a
7
- data.tar.gz: 114715176bcfb080ad8db4cce5fc38d6e3de345e19899352e754dee042bbf6267c983fd8e0dba8a87cb9d6efd4e29af9a047d123c429cac7a86854125e961dc5
6
+ metadata.gz: edf84c2a3b8a60961e9f3452b2ca0f10b963501becd9d30889a0acb671ac39267ee44e31279a78ae6a6375365e9c06c9f8d24b8c8f426fa2e512be6c5b141a1f
7
+ data.tar.gz: 713bd41d14c74e0655e38002195355263f9413fab013deddb67019437c193169968d26b6a33a058cf8480b8249bd7cf87a6ccf530f2a9b319c8fd1b5875af8e7
@@ -1,3 +1,8 @@
1
+ # 4.0.3
2
+
3
+ * Handle edge case with nil Typhoeus current-layer (#380)
4
+ * Fix args passing to render_partial (#379)
5
+
1
6
  # 4.0.2
2
7
 
3
8
  * Add Typhoeus instrumentation (#376)
@@ -138,11 +138,7 @@ module ScoutApm
138
138
 
139
139
  begin
140
140
  req.start_layer(layer)
141
- if ScoutApm::Agent.instance.context.environment.supports_kwarg_delegation?
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
- req.current_layer.desc = scout_desc
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
- req.current_layer.desc = scout_desc(scout_request_verb, scout_request_url)
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)
@@ -1,3 +1,3 @@
1
1
  module ScoutApm
2
- VERSION = "4.0.2"
2
+ VERSION = "4.0.3"
3
3
  end
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.2
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-19 00:00:00.000000000 Z
12
+ date: 2021-01-20 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: minitest