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 CHANGED
@@ -1,3 +1,7 @@
1
+ == 3.0.5
2
+
3
+ * Added support for XMPP message SHA, instead of just an ID
4
+
1
5
  == 3.0.4
2
6
 
3
7
  * Upgraded to Arrayfields 4.7.3 to silence a warning on Ruby 1.9
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.4".freeze
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*(\d+)\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
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-13 00:00:00 -05:00
15
+ date: 2009-04-14 00:00:00 -05:00
16
16
  default_executable:
17
17
  dependencies:
18
18
  - !ruby/object:Gem::Dependency