sclemmer-robut 0.6.2 → 0.6.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/robut/connection.rb +5 -1
- data/lib/robut/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: 4452141b4213656e2917028666908cdf163ed4bd
|
4
|
+
data.tar.gz: 3c5a76859b6c21b6bd9c1d13275ddb86888b6e00
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 61c50739dcb87665c36661b88ba5656df22f918ee0ae34d3981fd7701337f6b80fb087469723ce5959523f538ea4abe6ae6eb839090887f207de919b72aef6e3
|
7
|
+
data.tar.gz: ed02a1e03a21c09d410adc1a3cbbca397ef0fe03059c7755eb99e9c75ef1b17bcbe3f3ed9802855f7c45856f5dfd6e3929a118c1cbebcd61d20413b918157d0f
|
data/lib/robut/connection.rb
CHANGED
@@ -81,7 +81,11 @@ class Robut::Connection
|
|
81
81
|
# through all the included plugins.
|
82
82
|
def connect
|
83
83
|
reconnect
|
84
|
-
client.on_exception
|
84
|
+
client.on_exception do
|
85
|
+
# sleep 5; reconnect
|
86
|
+
raise 'Unknown Jabber error! Bailing! (would like to reconnect)'
|
87
|
+
exit 2
|
88
|
+
end
|
85
89
|
trap_signals
|
86
90
|
self
|
87
91
|
end
|
data/lib/robut/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sclemmer-robut
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Justin Weiss
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-09-
|
11
|
+
date: 2015-09-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: xmpp4r
|