ruboty-slack_rtm 1.5.0 → 1.5.1

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: f1090e04cb0f01da553baaca992e576301e0918e
4
- data.tar.gz: ea0e5070e4e166cacfcf114beb4cae62351d4830
3
+ metadata.gz: 21054310d6d4ab41ec67894faf0bbbabdeca2bd5
4
+ data.tar.gz: 4c0cad2d4f522b121745f9c7a7087e2b4001af55
5
5
  SHA512:
6
- metadata.gz: 1fa3aabae40d573423a644e68b53206f526df35be109b44f5c7cef4e3ec58ffe78abc5e7a7965fb7e568980b11cc8bb0ad249209d1744b344b156c29488abc22
7
- data.tar.gz: de9b0c893576cbab5bc00da4eb38effcac03c06196bff99c839804182e97d4fd3458bf4b72a2175902e0b0f56128c52c7334a0abb9a15ab17c01d3ac3d36b31e
6
+ metadata.gz: 37adec32d2b3884083cb420b1ac505bd3d160fa7fabddfa9faf6db747276d6c22a130c9af2e046989fde1e09bd7021822b85b52edd4ef1e9495f78534b8cedb0
7
+ data.tar.gz: 6f88b98230111d9d19376c77330860ae4bd050641a20399e8b9926d915934b59e52184213f097741cd6c3a0fac7d920910d46d360df85928cc69ff1dc3341594
@@ -151,7 +151,7 @@ module Ruboty
151
151
  "@#{name}"
152
152
  end
153
153
 
154
- data['text'].gsub!(/\<!(?<special>[^>]+)\>/) do |_|
154
+ data['text'].gsub!(/\<!(?<special>[^>|@]+)(\|\@[^>]+)?\>/) do |_|
155
155
  "@#{Regexp.last_match[:special]}"
156
156
  end
157
157
 
@@ -189,7 +189,7 @@ module Ruboty
189
189
  msg
190
190
  end
191
191
 
192
- text.gsub!(/@(?<special>(?:everyone|group|channel))/) do |_|
192
+ text.gsub!(/@(?<special>(?:everyone|group|channel|here))/) do |_|
193
193
  "<!#{Regexp.last_match[:special]}>"
194
194
  end
195
195
 
@@ -1,5 +1,5 @@
1
1
  module Ruboty
2
2
  module SlackRTM
3
- VERSION = '1.5.0'
3
+ VERSION = '1.5.1'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruboty-slack_rtm
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.0
4
+ version: 1.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sho Kusano
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-09-28 00:00:00.000000000 Z
11
+ date: 2015-11-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -131,7 +131,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
131
131
  version: '0'
132
132
  requirements: []
133
133
  rubyforge_project:
134
- rubygems_version: 2.4.5
134
+ rubygems_version: 2.4.5.1
135
135
  signing_key:
136
136
  specification_version: 4
137
137
  summary: Slack real time messaging adapter for Ruboty