raygun-apm 1.0.47-x64-mingw32 → 1.0.48-x64-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: bb3a521b4047b7b93cab87322e7bcbc16e57ae33e038c9da1354fba01784f20e
4
- data.tar.gz: 39948d9f794006cfbba86b8cc57b45183491f5a63119c5a6c6bf801a28e11013
3
+ metadata.gz: 1ec97f303d463982f15fab16313459571d0871424f770e709e94bb76e0991288
4
+ data.tar.gz: 9067c48caa34ce501b85f0d32d6b9772739fb00dda72ed5f01c3a613f9e42f3a
5
5
  SHA512:
6
- metadata.gz: 19dbd6ce16f66007e87e7b921dc85fbef6959b579eeba65a102cc107373650fb9374f67b40e7eeb920b0a99ffb3c74e5dba39735e9cd993788fe4f6c6c24a233
7
- data.tar.gz: 7b8e99bee07daaaa58ea8db282f949bc290f6c27b7988a72a97d021c577560b1971391cf310d8c878fb547b4e960f03764295d3f8db308a6726b89be2334b5d1
6
+ metadata.gz: 1ab6d632f3610dc78b12817ac365ef8c2955f2162655ce6ba2e0fb19b274074aa97acb4c1829e0ff6fa3bd68d999744538d740ea9754754540aedb03aeb49557
7
+ data.tar.gz: cc402919aa796d2fd6f5bb4b1d416ff6ce4e7298d63cf2b8f36c8627af87b1a49584618de6605306be800d821ff39d64215d9281345727a151a8d9fbad23ae0e
Binary file
Binary file
Binary file
@@ -5,6 +5,7 @@ module Raygun
5
5
  module Apm
6
6
  class Diagnostics
7
7
  AGENT_STATE_DOWN = "The Raygun APM Agent appears to not be running on the current host.\nIf not already installed, please consult https://raygun.com/documentation/product-guides/apm/agent/downloads/\nOtherwise refer to https://raygun.com/documentation/product-guides/apm/agent/installation/ for starting the Agent."
8
+ AGENT_STATE_UNKNOWN = "Unable to determine the state of the Raygun APM Agent."
8
9
  AGENT_STATE_UP_MISCONFIGURED = "The Raygun APM Agent is running, but misconfigured.\nThe API Key needs to be set through the Raygun_ApiKey environment variable.\nThe API key can be found under 'Application Settings' in the Raygun UI"
9
10
  AGENT_STATE_UP_CONFIGURED = "The Raygun APM Agent is configured properly!"
10
11
 
@@ -15,7 +16,7 @@ module Raygun
15
16
 
16
17
  def verify_agent
17
18
  socket.write "GetAgentInfo"
18
- response = JSON.parse(socket.gets)
19
+ response = rJSON.parse(socket.gets)
19
20
  if response['Status'] == 1
20
21
  puts AGENT_STATE_UP_CONFIGURED
21
22
  elsif response['Status'] == 0
@@ -23,6 +24,8 @@ module Raygun
23
24
  end
24
25
  rescue Errno::ECONNREFUSED
25
26
  puts AGENT_STATE_DOWN
27
+ rescue
28
+ puts AGENT_STATE_UNKNOWN
26
29
  end
27
30
 
28
31
  private
@@ -1,5 +1,5 @@
1
1
  module Raygun
2
2
  module Apm
3
- VERSION = "1.0.47"
3
+ VERSION = "1.0.48"
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.47
4
+ version: 1.0.48
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-06-30 00:00:00.000000000 Z
12
+ date: 2020-07-01 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: debase-ruby_core_source