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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7d8fadaf3983b7a15537ee5b4c8d2196908888c2
4
- data.tar.gz: c2a53f6488c725aaaec29572949a8fd2a509d295
3
+ metadata.gz: 4452141b4213656e2917028666908cdf163ed4bd
4
+ data.tar.gz: 3c5a76859b6c21b6bd9c1d13275ddb86888b6e00
5
5
  SHA512:
6
- metadata.gz: ab8191923f69f3f68e70dbd81d4a88f62edd3c240e8600cf046c7900da0250b7545c15fce83041597a3c7c716a657608adff9ecd3a87e459d341e952e5f3a2f1
7
- data.tar.gz: 05f14ce478980a37e9e652df59b0a4802e88a09e0a7361c97a9d55e22152cd964d5bd38a57098924ea893e8f914e43c9e75ae83a19c1ec78ee1eee3a3aa1e84f
6
+ metadata.gz: 61c50739dcb87665c36661b88ba5656df22f918ee0ae34d3981fd7701337f6b80fb087469723ce5959523f538ea4abe6ae6eb839090887f207de919b72aef6e3
7
+ data.tar.gz: ed02a1e03a21c09d410adc1a3cbbca397ef0fe03059c7755eb99e9c75ef1b17bcbe3f3ed9802855f7c45856f5dfd6e3929a118c1cbebcd61d20413b918157d0f
@@ -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 { sleep 5; reconnect }
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
@@ -1,4 +1,4 @@
1
1
  module Robut # :nodoc:
2
2
  # Robut's version number.
3
- VERSION = "0.6.2"
3
+ VERSION = "0.6.3"
4
4
  end
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.2
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-18 00:00:00.000000000 Z
11
+ date: 2015-09-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: xmpp4r