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 +4 -4
- data/lib/ruboty/adapters/slack_rtm.rb +2 -2
- data/lib/ruboty/slack_rtm/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 21054310d6d4ab41ec67894faf0bbbabdeca2bd5
|
4
|
+
data.tar.gz: 4c0cad2d4f522b121745f9c7a7087e2b4001af55
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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>[^>]+)
|
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
|
|
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.
|
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
|
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
|