raygun-apm 1.0.77-x64-mingw32 → 1.0.78-x64-mingw32

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: fdf09a5af81cbe8ee5afd698aaaf90563847cbee4f552a960b994957668f089f
4
- data.tar.gz: bbf86dd44ed298ff1b3c872ecc2e156a251794e386d8add2e67ee23c965fb49a
3
+ metadata.gz: 1a7971e2a27042413962a817fcb6e752607886ad5ccf0f77d6791e7529306771
4
+ data.tar.gz: d54cd249e651facfd97788de975cedadcfce5a5d509c40d13b66238533689aab
5
5
  SHA512:
6
- metadata.gz: c4c866c799c490cbcf8e2e19a15452cff5c5738464372d89938b149b65767691992dcf5df2a5b17dd2a61e33d79362ad28fdf1379721cc59a5fe1b2f59d3586c
7
- data.tar.gz: aba5d6d8c8111ac9830cb8a59a5a2acb876cf7e1629899bd603ef747a0438d00f58f425306421add42fc67f2130003f1d332ceae0854823c83b74ff479622720
6
+ metadata.gz: 0ead8c63817585487d0d80450788443c307f2c19b632ba3bf05f77fdb5971a56abfc71bd42de463f44442325f1140a443b2b4f24df676e6fbe647736a56c8de9
7
+ data.tar.gz: b4b68bfb2b4fceefb3ffb4f3351f6a1f2b505dcfc107a83410f93656d6c8a27d3d7ea2e1f2a25fa17056fc43c2cad43ac228112565d8178215e3c1a0b83b1d52
Binary file
Binary file
Binary file
@@ -4,6 +4,8 @@ module Raygun
4
4
  module Apm
5
5
  module Hooks
6
6
  module HTTPClient
7
+ private
8
+
7
9
  def do_request(method, uri, query, body, header, &filtered_block)
8
10
  if tracer = Raygun::Apm::Tracer.instance
9
11
  started = tracer.now
@@ -11,7 +13,7 @@ module Raygun
11
13
  ended = tracer.now
12
14
  event = raygun_apm_http_out_event
13
15
  event[:pid] = Process.pid
14
- event[:url] = query ? URI.join(uri, query).to_s : uri.to_s
16
+ event[:url] = raygun_apm_url(uri, query)
15
17
  event[:verb] = method.to_s.upcase
16
18
  event[:status] = response.code.to_i
17
19
  event[:duration] = ended - started
@@ -24,7 +26,10 @@ module Raygun
24
26
  end
25
27
  end
26
28
 
27
- private
29
+ def raygun_apm_url(uri, query)
30
+ query && uri ? URI.join(uri, query).to_s : uri.to_s
31
+ end
32
+
28
33
  def raygun_apm_http_out_event
29
34
  @_raygun_apm_http_out_event ||= Raygun::Apm::Event::HttpOut.new
30
35
  end
@@ -1,6 +1,6 @@
1
1
  module Raygun
2
2
  module Apm
3
- VERSION = "1.0.77"
3
+ VERSION = "1.0.78"
4
4
  MINIMUM_AGENT_VERSION = "1.0.1190.0"
5
5
  end
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: raygun-apm
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.77
4
+ version: 1.0.78
5
5
  platform: x64-mingw32
6
6
  authors:
7
7
  - Raygun
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2020-11-11 00:00:00.000000000 Z
12
+ date: 2021-01-05 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: debase-ruby_core_source