scout_agent 3.0.4 → 3.0.5
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +4 -0
- data/lib/scout_agent.rb +1 -1
- data/lib/scout_agent/agent/communication_agent.rb +1 -1
- metadata +2 -2
data/CHANGELOG
CHANGED
data/lib/scout_agent.rb
CHANGED
@@ -65,7 +65,7 @@ module ScoutAgent
|
|
65
65
|
end
|
66
66
|
|
67
67
|
# The version of this agent.
|
68
|
-
VERSION = "3.0.
|
68
|
+
VERSION = "3.0.5".freeze
|
69
69
|
# A Pathname reference to the agent code directory, used in dynamic loading.
|
70
70
|
LIB_DIR = Pathname.new(File.dirname(__FILE__)) + agent_name
|
71
71
|
end
|
@@ -114,7 +114,7 @@ module ScoutAgent
|
|
114
114
|
log.info("Received message from #{message.from}: #{message.body}")
|
115
115
|
status("Parsing command")
|
116
116
|
modified_body = nil
|
117
|
-
if message.body =~ /\A\s*\[\s*(\
|
117
|
+
if message.body =~ /\A\s*\[\s*(\S+)\s*\]\s*(.*)/
|
118
118
|
modified_body = $2
|
119
119
|
send_chat_message(message.from, "received #{$1}")
|
120
120
|
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.5
|
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-04-
|
15
|
+
date: 2009-04-14 00:00:00 -05:00
|
16
16
|
default_executable:
|
17
17
|
dependencies:
|
18
18
|
- !ruby/object:Gem::Dependency
|