raygun-apm 1.0.47-x86-mingw32 → 1.0.48-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: 68864ef041cae57cde2282671391ea49426321ab49545e425867bd2a9c554bf9
4
- data.tar.gz: cf469ac19c6e34d12d379ce6da4d39fee922186af38f62c508004fd734bb4510
3
+ metadata.gz: 8810c09ceeb47f6077ead12e514813c02f9f7b6fcf78214228bf6f1ab32fcffd
4
+ data.tar.gz: 42f80be10baeddf2ea7ac879e3cce0dac4ced4adf3c95dfbfaeafb6bc7ad5dbd
5
5
  SHA512:
6
- metadata.gz: d173402c8989f737f9320acccf72816d2c5803930fc5cb531a2e0d3070d524efdc0f95f7336940f9c33bc3e2e8546179f8f4cd0acf1c3c3d4540e365f92ffcfe
7
- data.tar.gz: 57880ca342af7542966cb2375128e6356d2964eaba7c745b5141d575e79aa9170c1f9966d0216ef2772f6b361090ed22e4d1b055e13c7527207cdda1f604cadc
6
+ metadata.gz: 382b03866418e44d6cb250ad47620c8e6cc8bf8415d7abca42f075971354746dc161b0c0ba20b857e3cafe5916fa9713899d93b104d891a7eb008f44091d3f8f
7
+ data.tar.gz: b61f6bf6caa36abadd177c7d25fe4a8a577e40935e79fcf1bfc4fc24252208b16f2ea05ec80dbe94ca4279b1c381285465b7ce0c47ba701c985d7a788c04be02
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: 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-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