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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5b00abfa24e03a260c60bd3543f02c2956d6395d
4
- data.tar.gz: 78ad1d3fc8b22654db3593156386519322947bc2
3
+ metadata.gz: eed9141c1173b241765473ed214f5200df5c3cff
4
+ data.tar.gz: eebbb32efdfeb3680bfeaabc7c75124eeecc52c1
5
5
  SHA512:
6
- metadata.gz: e29a2fbbb1b2f05ef552781bde751590527206445f98da851bd818bc7fed9eed836452f7dab325b69df184cfd7b1264b62900864db8fea80734383e3da0e69ab
7
- data.tar.gz: 441dd448f09aaaaee8e1b2e4606a8ced8150c41f7309c954c56acfd20473079027e99f045fce4be342b395518c9484144810b3be6c7b1828b8fd156f081b35b0
6
+ metadata.gz: 2eae80eb1ab17bb5609d0237a71e3d2a1012cb1e17f7f02a5d70c73fea9be3e9dbb4366748a22cf91e914ec65042d6dcc2bddfe6220c37db62c425dc96062dac
7
+ data.tar.gz: 595a7b12005b23e4484d38a6eca93c25c62ff5513313c6ee50cd4d700645b38ca13c97ca8aad7cc7a7b59d15da9bc79d3c9e0b201c6cd27d5f6034fbe3f2310b
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- botkit (0.0.1)
4
+ botkit (0.0.2)
5
5
  aitch
6
6
  signal
7
7
 
@@ -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+(.*?))\z})
36
+ _, command, text = *input.match(%r{\A/([^ ]+)(?:\s+(.*?))?\z})
37
37
  matches = text.to_s.match(matcher) if matcher
38
38
 
39
39
  {
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Botkit
4
- VERSION = "0.0.1"
4
+ VERSION = "0.0.2"
5
5
  end
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.1
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 00:00:00.000000000 Z
11
+ date: 2017-11-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aitch