raygun-apm 1.0.51-x86-mingw32 → 1.0.52-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/raygun/2.5/raygun_ext.so +0 -0
- data/lib/raygun/2.6/raygun_ext.so +0 -0
- data/lib/raygun/2.7/raygun_ext.so +0 -0
- data/lib/raygun/apm/diagnostics.rb +10 -1
- data/lib/raygun/apm/version.rb +2 -2
- 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: 4b1f587b5dd667b1f6c8f83f5cafb461dde549896d093b09d1136745c54b7074
|
4
|
+
data.tar.gz: 4766a0a3261a035ca71b55b12b3b9a15595492a4b1e12682a5dd8c4002f8ee31
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9edb0c0005077a588d2960b73e5c6b80322f971519ef9566849865940f4b8b8b3dfc72a73e6024e117f94fc9e74c25d21337babb5816865607a6361f35bb514f
|
7
|
+
data.tar.gz: a3fd4f1f9047ef8c850ac24a07b825c3c733712c47aede1634f545f68bc1f8994f4d9d726c48148e3c9ec8caf37cd9f3d93607c45ed4adec7faf33c451cf4916
|
Binary file
|
Binary file
|
Binary file
|
@@ -18,7 +18,7 @@ module Raygun
|
|
18
18
|
def verify_agent(tracer)
|
19
19
|
socket.write "GetAgentInfo"
|
20
20
|
response = JSON.parse(socket.gets)
|
21
|
-
if response['Version']
|
21
|
+
if minimum_agent_version_not_met?(response['Version'])
|
22
22
|
puts AGENT_MINIMUM_VERSION_NOT_MET
|
23
23
|
tracer.noop!
|
24
24
|
else
|
@@ -38,6 +38,15 @@ module Raygun
|
|
38
38
|
def socket
|
39
39
|
@socket ||= s = TCPSocket.new(@host, @port)
|
40
40
|
end
|
41
|
+
|
42
|
+
def minimum_agent_version_not_met?(version)
|
43
|
+
# Legacy path
|
44
|
+
if String === version
|
45
|
+
version < Raygun::Apm::MINIMUM_AGENT_VERSION
|
46
|
+
else
|
47
|
+
"#{version['Major']}.#{version['Minor']}.#{version['Build']}.#{version['Revision']}" < Raygun::Apm::MINIMUM_AGENT_VERSION
|
48
|
+
end
|
49
|
+
end
|
41
50
|
end
|
42
51
|
end
|
43
52
|
end
|
data/lib/raygun/apm/version.rb
CHANGED
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.
|
4
|
+
version: 1.0.52
|
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-07-
|
12
|
+
date: 2020-07-27 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: debase-ruby_core_source
|