slack-rtm-bot-helper 1.0.1 → 1.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: c8a6e53c9ffe02db37db6db739a398746bc5f54f
4
- data.tar.gz: 5020a8b3473e2a5cb6776e43f90541d74517e38c
3
+ metadata.gz: faf9dce2777cfcabf1bddd59c5214c9517f342f9
4
+ data.tar.gz: e7b55d4dbb063a1f9c1af84bff9a9864fb696b1a
5
5
  SHA512:
6
- metadata.gz: fa9957b95082f8ad1519a5c6e84cd4a54422af8def4d644374bf4932d1d37e3b8fa66370af9bbb59433a9b19939f592119b864e8fabbdec1850162d507a05828
7
- data.tar.gz: 711c16c6962336d9abd5421ca9e6b243266741ca175fd50149b617ff7c969e884f5279c2a41e05f5d77b4acb5b9c86d7fd4f651d577748011eafce4d3bd66e79
6
+ metadata.gz: 8f7c49ed07f2de2c82969577c0e5c08bb52310ca0b5fe60dfe4021e9b0ffec656eed128cc86ee1b77b6195d5b1e8243c61c8b5ee6a45c4c66c56dd14ed1986ec
7
+ data.tar.gz: cf3b89c28f0d0dee96f110fed191e10a9273d9c5ff49d0969902a380e550e3e016c61e3798f20ef42b713a3204bf785aa906704c21717ccef402975f0238e217
@@ -50,7 +50,7 @@ module Slack
50
50
  end
51
51
 
52
52
  def to_me?(text)
53
- text.match?(/^<@#{@me}(?:#{@name})?/)
53
+ !text.match(/^<@#{@me}(?:#{@name})?/).nil?
54
54
  end
55
55
 
56
56
  private
@@ -2,7 +2,7 @@ module Slack
2
2
  module Rtm
3
3
  module Bot
4
4
  class Helper
5
- VERSION = "1.0.1"
5
+ VERSION = "1.0.2"
6
6
  end
7
7
  end
8
8
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: slack-rtm-bot-helper
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - littlekbt