raygun-apm 1.0.47-universal-darwin → 1.0.48-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: df1685ae293651ce25d92ff5a4cb7473c0a565180321c74908d70df9e1a24333
4
- data.tar.gz: abdc22d042675d5d16c7736e269eee79824df20cd602f3ef6f1dc3bfa0a2ff87
3
+ metadata.gz: aaa0532dd04ab30c02352f1b2b5d360f8cdac0d8069a34c986d1c1567f823590
4
+ data.tar.gz: 92db4e5fbbec576db7ef3258b99e99258c8608837d92a15e2feec48bb5f5c8da
5
5
  SHA512:
6
- metadata.gz: 94bf29bfd006136b0cdf1b6c75a5ef6770fc455ee166a8d8a9ac8dda608ad087fd78bc3b67f6bbc20ac0f542e3714761235fd546b61febb4f15ba36f2cce9b8e
7
- data.tar.gz: ed352998117db370a701e7165c25e452388958454f7dbf80a05d88d2ba0bbf1019e0a689a1a8e7a9c9f6a7a9b7ab053c239d94fcb6e3bc860bb13052291572ea
6
+ metadata.gz: fe7aeced9abcc555962ed629be4dcaa67db71b231f875539efab30848c7e3f675be1a0f734b92ec0da9d48604c2f8b735bedd2f729fb0dd4361dca6f035efab7
7
+ data.tar.gz: 28fff7e95e75b333509d8cfb8c0ec0db59e2cf5ae09f64d22ae21d9bac91b957a80c001c49242780e028268645b06bd240750c80ebe2797d421bbc6a72011ce3
@@ -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: 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-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