ruboty-slack_rtm 2.4.3 → 2.4.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 359ba35900b7f5a50ae244f89d0ef51b7d83ab44
4
- data.tar.gz: 292b9ec04aad2813568975987433471fd48288ed
3
+ metadata.gz: f96f7f5edbd5031bd5861a1b67c3d54e8584e226
4
+ data.tar.gz: b03a847402ff5d16362f25b6cde275c579ec8ca6
5
5
  SHA512:
6
- metadata.gz: f2b275014e2d920b612ec864a1250056a2bef3ff5d741160ceef715fcce3ed90a5f6d755cdd641cd0d4f46ceeae71535e01815884cd147dfe6a0214bb0cfe17e
7
- data.tar.gz: 0db4ff4ef1b3a90f28ccaf8a0c8284fc0646229156b35c12ceac48ab8e16b4a998a23d4eae93f2c78e6f57ca0f463061737eb4e539790dc9b291bdb14b78bcb6
6
+ metadata.gz: ce4dbf465479ca74a61010df7ad4b39380c68d460b7af076b4055942acfe3481e840b80a312e2318fc2afaf11392b904d42e4fab6a08153d924be7b9316fca51
7
+ data.tar.gz: b3bc1e21d9312b8998d44034c9b3f7ad0cff865fd96ce9039190a7edd50ffaf3f8e49018dd3fc9c5bd4bbcf6fb90b03974b024d582d09b6d2cd17b87ea7bbe33
@@ -103,7 +103,7 @@ module Ruboty
103
103
 
104
104
  channel = channel_info(data['channel'])
105
105
 
106
- if data['subtype'] == 'bot_message' && ENV['SLACK_IGNORE_BOT_MESSAGE'] == '1'
106
+ if (data['subtype'] == 'bot_message' || user['is_bot']) && ENV['SLACK_IGNORE_BOT_MESSAGE'] == '1'
107
107
  return
108
108
  end
109
109
 
@@ -1,5 +1,5 @@
1
1
  module Ruboty
2
2
  module SlackRTM
3
- VERSION = '2.4.3'
3
+ VERSION = '2.4.4'
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: 2.4.3
4
+ version: 2.4.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sho Kusano
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-05-05 00:00:00.000000000 Z
11
+ date: 2016-05-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -137,3 +137,4 @@ signing_key:
137
137
  specification_version: 4
138
138
  summary: Slack real time messaging adapter for Ruboty
139
139
  test_files: []
140
+ has_rdoc: