slack-rtm-bot-helper 1.0.2 → 1.0.3

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: faf9dce2777cfcabf1bddd59c5214c9517f342f9
4
- data.tar.gz: e7b55d4dbb063a1f9c1af84bff9a9864fb696b1a
3
+ metadata.gz: 2d596458bc2cf0d5d7ff934ac3e2afb9ec555bcc
4
+ data.tar.gz: e1965fca3652412a0225f4f3bd7cd4cd8bc0d6ba
5
5
  SHA512:
6
- metadata.gz: 8f7c49ed07f2de2c82969577c0e5c08bb52310ca0b5fe60dfe4021e9b0ffec656eed128cc86ee1b77b6195d5b1e8243c61c8b5ee6a45c4c66c56dd14ed1986ec
7
- data.tar.gz: cf3b89c28f0d0dee96f110fed191e10a9273d9c5ff49d0969902a380e550e3e016c61e3798f20ef42b713a3204bf785aa906704c21717ccef402975f0238e217
6
+ metadata.gz: 4bc8bdd981906c2c81f3467d89a87dc68c5e71cd83344b2ca7b4d13ec53c6dfe69e145f33c7a25466f3586817222007ebebce92118bdbeee117e76ce7235115c
7
+ data.tar.gz: 1145a430862a69cefe899b5d9c26234e58c57d937c87e912c66073342f562f9166dd50fea75e232ea91f5cb2fa367b773d01b5b341f60250fcce5ce549064249
@@ -50,7 +50,7 @@ module Slack
50
50
  end
51
51
 
52
52
  def to_me?(text)
53
- !text.match(/^<@#{@me}(?:#{@name})?/).nil?
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.2"
5
+ VERSION = "1.0.3"
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.2
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - littlekbt