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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9bd44ee1547d957dde6233b843c3782ec588d176d82905663b17fec77a414a8d
4
- data.tar.gz: 3e35b643ad57dadbdcf903528b19093d1b34199295022296143f2820bf6f33f5
3
+ metadata.gz: b5cb61db99a6b4d24b8d75f524af1fa626392ec058ee94f39a0daddccbb46784
4
+ data.tar.gz: 786c30918f4f30be17ee88962e0fb1c4ab459b3446e30d677991c294e430534b
5
5
  SHA512:
6
- metadata.gz: ea4276ca5f71db7d59fe5d17c8d45f7f69946a41329fc687e7c608c67eec60c5f3f5f58c4f3038d2c4fa8bf3810e21844c3b2dc29b3b92d20e465d539cfa8463
7
- data.tar.gz: 88d98fc0232e198c3f0af2ef1ed2915a3ac75d6704f25bedde44631da75cbc36341d8e2cb1efeffce2b81f5e2bd2211429e0eb735cfda921493d1dc7d95ce977
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
- @client.send('', type: 'ping')
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
@@ -1,5 +1,5 @@
1
1
  module Ruboty
2
2
  module SlackRTM
3
- VERSION = '3.2.0'
3
+ VERSION = '3.2.1'
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.2.0
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-08-30 00:00:00.000000000 Z
11
+ date: 2019-10-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler