scout_agent 3.0.0 → 3.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +6 -0
- data/lib/scout_agent.rb +1 -1
- data/lib/scout_agent/plan.rb +1 -1
- data/lib/scout_agent/server.rb +2 -2
- metadata +2 -2
data/CHANGELOG
CHANGED
data/lib/scout_agent.rb
CHANGED
@@ -64,7 +64,7 @@ module ScoutAgent
|
|
64
64
|
end
|
65
65
|
|
66
66
|
# The version of this agent.
|
67
|
-
VERSION = "3.0.
|
67
|
+
VERSION = "3.0.1".freeze
|
68
68
|
# A Pathname reference to the agent code directory, used in dynamic loading.
|
69
69
|
LIB_DIR = Pathname.new(File.dirname(__FILE__)) + agent_name
|
70
70
|
end
|
data/lib/scout_agent/plan.rb
CHANGED
@@ -16,7 +16,7 @@ module ScoutAgent
|
|
16
16
|
|
17
17
|
# The default configuration for this agent.
|
18
18
|
def defaults
|
19
|
-
[ [:server_url, "
|
19
|
+
[ [:server_url, "http://beta.scoutapp.com:3000"],
|
20
20
|
[:run_as_daemon, true],
|
21
21
|
[:logging_level, "INFO"],
|
22
22
|
[:test_mode, false],
|
data/lib/scout_agent/server.rb
CHANGED
@@ -49,7 +49,7 @@ module ScoutAgent
|
|
49
49
|
rescue RestClient::NotModified
|
50
50
|
log.info("Plan was not modified.")
|
51
51
|
"" # empty plan
|
52
|
-
rescue
|
52
|
+
rescue Exception => error # networking problem
|
53
53
|
log.warn("Plan could not be retrieved: #{error.class}.")
|
54
54
|
nil # failed to retrieve plan
|
55
55
|
end
|
@@ -88,7 +88,7 @@ module ScoutAgent
|
|
88
88
|
"#{error.http_code}." )
|
89
89
|
false
|
90
90
|
end
|
91
|
-
rescue
|
91
|
+
rescue Exception => error # networking problem
|
92
92
|
log.warn("Check-in could not be sent: #{error.class}.")
|
93
93
|
false # we failed to send and will retry later
|
94
94
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: scout_agent
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Edward Gray II
|
@@ -12,7 +12,7 @@ autorequire:
|
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
14
|
|
15
|
-
date: 2009-
|
15
|
+
date: 2009-04-01 00:00:00 -05:00
|
16
16
|
default_executable:
|
17
17
|
dependencies:
|
18
18
|
- !ruby/object:Gem::Dependency
|