raygun-apm 1.0.77-x86-linux → 1.0.78-x86-linux

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: c21e2c47685e04ab85cb0736d4d53b7184643139faae06cd9deb2c2f80f021ab
4
- data.tar.gz: c6a5d20454e4cd85900b0d0044ae1b091daab2fbde09f7648a5dca36ff4d2bcc
3
+ metadata.gz: f99cb16c7ab517334f86d94e36764e9a324148595d6f8ef49d9ca1da9907354c
4
+ data.tar.gz: 14743fe93387586760785b37e4d23d6c5600e30aa94c2088e20c35c96daadd2d
5
5
  SHA512:
6
- metadata.gz: 066d10a37f169204d6b491ea6a5a812ab6ff23bd375dcf591cd905d6284cf156a866d1ed71dee3efd9c676e4ed086a688be9b5fb7f779baba9423cdd58341c70
7
- data.tar.gz: 7177c0d97ba70fa2528cff04211ca43c544589bb15a9f497a6bbacada1c83e2176245205d907afb47fe95c0a83d66b2c6522929d37cb06c6ab398e4bf0c01747
6
+ metadata.gz: d4bd7c40dec6e0ea53f2e8ee726245074485f65502bfb0a4f6dcce7104262c534566395c09aa93af648f1b04be44daa9446d3d63a2f2471068d02b79aab4c511
7
+ data.tar.gz: b91be352b71e8a355625838a08f0d184d7f31b1e9ca0f5ff8e2ce6c6b8d93f2cb650373390a57bbb75d3b034e086b7c82844bb8de72392956a62dbe568879b2e
@@ -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: x86-linux
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