raygun-apm 1.0.51-x64-mingw32 → 1.0.52-x64-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: 5eb096598696fb11165d3bd01801f1b7034ee0e47481f083db217a624596f34c
|
4
|
+
data.tar.gz: 7b9f1112b5032073497dd8003d193dc4bd819789400fd725941030efe1f879e1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b99bb4c0bf16fe3fc4d6264065f55138498bffd6768e78539b6ebf60db71dc7784b167326bd14eefb10ff3ff7877a847db3eb1c9aabd1c53cef18bf374ea9850
|
7
|
+
data.tar.gz: 7e613d703b71886e5d173296f0703e3b836062bbb71c49d861461b434ce85f4113bd22df91e814d3efed1ad5b3c811c03cd078fabeb56e0667b77bb183c58ea6
|
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: x64-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
|