ruboty-slack_rtm 2.5.0 → 2.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/slack_rtm/client.rb +4 -1
- data/lib/ruboty/slack_rtm/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b7a15a38ce2fc91e13fa83dd21d3a9edd51ccceb
|
4
|
+
data.tar.gz: 62768ecf0d8883cd1ec56cc1ea1caff5f0cfd700
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 44ea15a214938e23448bf4e4c2956480429ca78f1b4ba8b61df23e95566f54d60d7278840f6e5c3e817856dc9046ba8c501790fadd6c923ec0e469d566850bea
|
7
|
+
data.tar.gz: 9508a326e0ccd2ec33c74fd20f26936ef08889a1e80ac033703019e191773d54f8da4f2b0e577dce1e3e68b68b2c70f5f7d8e39c4cf71119ae31c4da6c1bbac9
|
@@ -52,9 +52,12 @@ module Ruboty
|
|
52
52
|
client.on(:error) do |err|
|
53
53
|
Ruboty.logger.error("#{err.class}: #{err.message}\n#{err.backtrace.join("\n")}")
|
54
54
|
end
|
55
|
+
queue = @queue
|
55
56
|
client.on(:close) do
|
56
57
|
Ruboty.logger.info('Disconnected')
|
57
|
-
|
58
|
+
# XXX: This block is called via BasicObject#instance_exec from
|
59
|
+
# EventEmitter, so `@queue` isn't visible here.
|
60
|
+
queue.enq(CONNECTION_CLOSED)
|
58
61
|
end
|
59
62
|
end
|
60
63
|
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.5.
|
4
|
+
version: 2.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: 2016-08-
|
11
|
+
date: 2016-08-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|