raygun-apm 1.0.51-universal-darwin → 1.0.52-universal-darwin
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d0950f9e9d4fdb14504369abe5a5ee30a5c42a9d2900abc43ff931b9804a77ec
|
4
|
+
data.tar.gz: f48282130f0da0b1a3a141c5afb814469aa34792934dff907e89869d04524e42
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9b1cab4c727304574066393cc9573b1926161561fd4f5b2d9974425fcdfee7612af5da73c2a9fad9f1d5ed3936303095fc8213aa27d886e5a79eab7557c63b62
|
7
|
+
data.tar.gz: e5676e36bd9244e7985b62ce1684040326d3ffb826202d9e17cc4b1c36eaf5fb08e95b6e1b4d523d6b8e507864167cd342699ab498f2fc77cbf43ccd7af59ff0
|
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: universal-darwin
|
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-31 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: debase-ruby_core_source
|