ruboty-slack_rtm 3.2.0 → 3.2.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 +7 -1
- 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: b5cb61db99a6b4d24b8d75f524af1fa626392ec058ee94f39a0daddccbb46784
|
4
|
+
data.tar.gz: 786c30918f4f30be17ee88962e0fb1c4ab459b3446e30d677991c294e430534b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f43e282d654f89b3d73ef182f03c2a7ff93951563149ee03649e548176e0b67bdf631693c79e79cf408a5c2e822927eb72e5bb5100aa3988472779a1b1a99901
|
7
|
+
data.tar.gz: f176251d202c81e00624a98e00f19bdab1d423f2291af39363e8d7b6538a6bc56653444e34503f572a7f1eab2277e96aa12bbbb981cb56d72b3c69c933b3a145
|
@@ -65,7 +65,13 @@ module Ruboty
|
|
65
65
|
Thread.start do
|
66
66
|
loop do
|
67
67
|
sleep(30)
|
68
|
-
|
68
|
+
begin
|
69
|
+
@client.send('', type: 'ping')
|
70
|
+
rescue => e
|
71
|
+
Ruboty.logger.error("#{e.class}: #{e.message}\n#{e.backtrace.join("\n")}")
|
72
|
+
@queue.enq(CONNECTION_CLOSED)
|
73
|
+
break
|
74
|
+
end
|
69
75
|
end
|
70
76
|
end
|
71
77
|
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.2.
|
4
|
+
version: 3.2.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: 2019-
|
11
|
+
date: 2019-10-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|