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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 919ff5c88596461dfdca96d2b8777d64ac6b7f51bcc26182ad11b0704864545a
4
- data.tar.gz: c3ab74606dd5f61278aaf49591330569dbdaab9246953c46a0785884f0ca467d
3
+ metadata.gz: 4b1f587b5dd667b1f6c8f83f5cafb461dde549896d093b09d1136745c54b7074
4
+ data.tar.gz: 4766a0a3261a035ca71b55b12b3b9a15595492a4b1e12682a5dd8c4002f8ee31
5
5
  SHA512:
6
- metadata.gz: b458f0457b9e03ce95708994318a5decab5a424c134f59c0bdad65467c2ab6497b8b9c98a8bc63ee5441fdf9a783be46295352032d2a86fbfdd7af6950502616
7
- data.tar.gz: ae25e9796dbfa7c4009b009d55d14b944d857f2710b2b14d9f94ead2ee808f80db7e2347e207e714867af320161e62c72db6868fddefeb966ef6e104c105f3b7
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'] < Raygun::Apm::MINIMUM_AGENT_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
@@ -1,6 +1,6 @@
1
1
  module Raygun
2
2
  module Apm
3
- VERSION = "1.0.51"
4
- MINIMUM_AGENT_VERSION = "1.0.1186.0"
3
+ VERSION = "1.0.52"
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.51
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-26 00:00:00.000000000 Z
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