botkit 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/botkit/bot.rb +1 -1
- data/lib/botkit/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: eed9141c1173b241765473ed214f5200df5c3cff
|
4
|
+
data.tar.gz: eebbb32efdfeb3680bfeaabc7c75124eeecc52c1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2eae80eb1ab17bb5609d0237a71e3d2a1012cb1e17f7f02a5d70c73fea9be3e9dbb4366748a22cf91e914ec65042d6dcc2bddfe6220c37db62c425dc96062dac
|
7
|
+
data.tar.gz: 595a7b12005b23e4484d38a6eca93c25c62ff5513313c6ee50cd4d700645b38ca13c97ca8aad7cc7a7b59d15da9bc79d3c9e0b201c6cd27d5f6034fbe3f2310b
|
data/Gemfile.lock
CHANGED
data/lib/botkit/bot.rb
CHANGED
@@ -33,7 +33,7 @@ module Botkit
|
|
33
33
|
|
34
34
|
def parse_message(input, matcher = nil)
|
35
35
|
input = input.to_s
|
36
|
-
_, command, text = *input.match(%r{\A/([^ ]+)(?:\s+(.*?))
|
36
|
+
_, command, text = *input.match(%r{\A/([^ ]+)(?:\s+(.*?))?\z})
|
37
37
|
matches = text.to_s.match(matcher) if matcher
|
38
38
|
|
39
39
|
{
|
data/lib/botkit/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: botkit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nando Vieira
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-11-
|
11
|
+
date: 2017-11-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aitch
|