ruboty-slack_rtm 3.0.0 → 3.1.0
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 +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 13d45c2a2ce3ddfc579235303cb7dab9af5f4c23c130a13f7e6debd1dcbd613a
|
4
|
+
data.tar.gz: db430b0e9597d5e172e7acc244464b9211985112eb353db25ff0bfd512e87b90
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a4824a614804add3b808f1004dfe5f16896fcc29e9dea64fab8dc3a07e2b7fa84b652268fa9b6597aeb9dc77ed4a5edc98eb0f17da75c2629ec80f3130801a26
|
7
|
+
data.tar.gz: ad117ad3a96dc38ed9ed5b9242f7bf20b8cb7e16942817c42b7648ca113c4e2ed45a1a4e29866f3ab61d20c4058774bf0c2437cca7b0038d164bcd9bdeef18d9
|
@@ -49,10 +49,10 @@ module Ruboty
|
|
49
49
|
initial_comment: message[:body] || ''
|
50
50
|
)
|
51
51
|
else
|
52
|
-
|
53
|
-
type: 'message',
|
52
|
+
client.chat_postMessage(
|
54
53
|
channel: channel,
|
55
54
|
text: message[:code] ? "```\n#{message[:body]}\n```" : resolve_send_mention(message[:body]),
|
55
|
+
as_user: true,
|
56
56
|
mrkdwn: true
|
57
57
|
)
|
58
58
|
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: 3.
|
4
|
+
version: 3.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sho Kusano
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-05-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|