raygun-apm 1.0.47-x86-linux → 1.0.48-x86-linux

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5267b927db4508a60a5d545db9be42c7593d486df77c20cbf30630c4db758846
4
- data.tar.gz: 1e85b064c6498c7a1f0af4b88de3fa117320f6e251cd48004fe17df096c0243b
3
+ metadata.gz: 185e83d51208f563c0f0dd4384de7fb1123e9e8e52531da7abc3bdd22f5a43bd
4
+ data.tar.gz: cb4327777a8fcba886cc0c1417682393c2a26e229d4517b76a742ea84dd28b2a
5
5
  SHA512:
6
- metadata.gz: d0d24be1abf691f50a619e69d5ee59d1dc3aeef6df745d2a9cfbae2b79430f35af99e8193fd09bb14a92da509e4f4ef03b1dd33b105788aa831fd276c4c8ff24
7
- data.tar.gz: 44c7e4e3f87d877583ebb14da55d2a0b56f945b6a381c95505d759121bc8cb500cf9cff9b53b0a9831a8d9fde26a1dacb66f12534a22555e7161ea2b530d1b16
6
+ metadata.gz: 6f9d8243e2d21823d5cac6243e46c5e22f3bcc38dda39a507e87abb83b8d32dbf06c8e80f7fa676acb41a1f4475fad5787a3c423a28222dca4d7995acb1d19c6
7
+ data.tar.gz: 351236e8f8a5da7c1583ef179906e944d848638489e12611edd2e9d98b92b2f258cd34037c7c5f5ab82702bc4620fb3399d387cacb6a4b6852c3ce9944864a1d
@@ -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: x86-linux
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