botkit 0.0.2 → 0.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: eed9141c1173b241765473ed214f5200df5c3cff
4
- data.tar.gz: eebbb32efdfeb3680bfeaabc7c75124eeecc52c1
3
+ metadata.gz: 5dde3b5b97619bae56e0f1bda2827eeb82a3784e
4
+ data.tar.gz: 365754f97f667520a996d3605c50c85f8f757723
5
5
  SHA512:
6
- metadata.gz: 2eae80eb1ab17bb5609d0237a71e3d2a1012cb1e17f7f02a5d70c73fea9be3e9dbb4366748a22cf91e914ec65042d6dcc2bddfe6220c37db62c425dc96062dac
7
- data.tar.gz: 595a7b12005b23e4484d38a6eca93c25c62ff5513313c6ee50cd4d700645b38ca13c97ca8aad7cc7a7b59d15da9bc79d3c9e0b201c6cd27d5f6034fbe3f2310b
6
+ metadata.gz: d7b775e216cb60684e4b1875d8d908717e93778f66d695d13eee8d11a3434a685b3421ba74966fc9004862aeeef43a3cc20a0bd29537202f9224849997f9b106
7
+ data.tar.gz: 89cf3e8fb2dd1b4b0b3da1e596ce603dd5c47f78f891b722928b7ba59439e4af3db9be4550574b9c23a68c9bd554e43e823ab5a1daf653215fc9f92a9c2fbc4a
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- botkit (0.0.2)
4
+ botkit (0.0.3)
5
5
  aitch
6
6
  signal
7
7
 
@@ -38,7 +38,7 @@ module Botkit
38
38
 
39
39
  {
40
40
  command: command,
41
- text: text || input,
41
+ text: command ? text : input,
42
42
  matches: matches&.named_captures
43
43
  }
44
44
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Botkit
4
- VERSION = "0.0.2"
4
+ VERSION = "0.0.3"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: botkit
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nando Vieira