raygun-apm 1.0.20-x86-mingw32 → 1.0.21-x86-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: 8773ab0dd09da451533ff214bb9c8bbc8f458a0247e4cb70344eb1b67b1991ba
4
- data.tar.gz: 7acb463aae19df074dbb035020a1de37f32a7573c5b3aea9e5b7026216feabee
3
+ metadata.gz: 50abc8f27c57528541feb3fcac30a740cfdf29ff3643e9f71f34d3cd60ee7a9b
4
+ data.tar.gz: 7d1d18ac89af24cf695632eafb9f6a957ecaa3d03be1cac87ed31172aaa91cf4
5
5
  SHA512:
6
- metadata.gz: 1db75d081cb899ae46b63a98dfca4b3087ef3ba6deb132697e53beb26931bb1debdbb8a30ec9ae846b89d7a525f2bb1b9102e6a834c9a0d8ddb85c1b1c78f025
7
- data.tar.gz: a5426fcd3dbdbaef83198eb0c90082e93504c93f8253daea3ff50ce0ea0386a5215f33ca336046d1c52e9284cf9f4659634fc86157d8debb134f3f3df9d60edb
6
+ metadata.gz: f69456acb80c4c1502ed9c2e9aca0b3dc70a6c2489f1dd39e0097b5237beb21302ad9839556a9e96ddc4770c6102b248b5aa9467e055ed98f4ff416ff95d8803
7
+ data.tar.gz: 994457e3a0d3edf98819ccc1cd56d63035fd04f1b10a502c33e72dc83e1aa3163ea2e18df95e6d6307f06e4cd5f0e88a33c7fad0a4eaea95e06fa9f4c403a1c8
Binary file
Binary file
Binary file
@@ -13,6 +13,7 @@ module Raygun
13
13
  response = super
14
14
  ended = tracer.now
15
15
  event = raygun_apm_http_out_event
16
+ event[:pid] = Process.pid
16
17
  event[:url] = raygun_apm_url(request)
17
18
  event[:verb] = request.method
18
19
  event[:status] = response.code.to_i
@@ -32,11 +33,7 @@ module Raygun
32
33
  end
33
34
 
34
35
  def raygun_apm_http_out_event
35
- @_raygun_apm_http_out_event ||= begin
36
- event = Raygun::Apm::Event::HttpOut.new
37
- event[:pid] = Process.pid
38
- event
39
- end
36
+ @_raygun_apm_http_out_event ||= Raygun::Apm::Event::HttpOut.new
40
37
  end
41
38
  end
42
39
  end
@@ -3,9 +3,15 @@ require 'raygun/apm/blacklist'
3
3
  module Raygun
4
4
  module Apm
5
5
  class Tracer
6
-
6
+ @__pids ||= {}
7
7
  class << self
8
- attr_accessor :instance
8
+ def instance
9
+ @__pids[Process.pid]
10
+ end
11
+
12
+ def instance=(tracer)
13
+ @__pids[Process.pid] = tracer
14
+ end
9
15
  end
10
16
 
11
17
  attr_accessor :config
@@ -1,5 +1,5 @@
1
1
  module Raygun
2
2
  module Apm
3
- VERSION = "1.0.20"
3
+ VERSION = "1.0.21"
4
4
  end
5
5
  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.20
4
+ version: 1.0.21
5
5
  platform: x86-mingw32
6
6
  authors:
7
7
  - Raygun
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2020-03-18 00:00:00.000000000 Z
12
+ date: 2020-03-25 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: debase-ruby_core_source