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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8e8844797bbc88f71e3e67b3e7c428da8f6435de38447284ef8fbf96c53d7d0e
4
- data.tar.gz: 0a77ab41f21d5ed9fbc057a006d88b056a10f4726fe175cd3f263ad4d39f4db1
3
+ metadata.gz: 13d45c2a2ce3ddfc579235303cb7dab9af5f4c23c130a13f7e6debd1dcbd613a
4
+ data.tar.gz: db430b0e9597d5e172e7acc244464b9211985112eb353db25ff0bfd512e87b90
5
5
  SHA512:
6
- metadata.gz: 54067fd413c3e1b5f7c808697938f0624499841e6451344e1e92af1668d45626e367bf1daaac2a529a76ce0c4477234b63fc0b09e0adf41201e601f3dcdd4821
7
- data.tar.gz: 00b247b0f7e7259618030e364e3159f58132e342eb5b488115d996788dd6541e1aed3c6660f0991fd8405c8292a44d4cfe2445e2c6caa0cb00b4ad9d583ff1b3
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
- realtime.send_message(
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
@@ -1,5 +1,5 @@
1
1
  module Ruboty
2
2
  module SlackRTM
3
- VERSION = '3.0.0'
3
+ VERSION = '3.1.0'
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: 3.0.0
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-03-11 00:00:00.000000000 Z
11
+ date: 2018-05-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler