netsoul 1.8.0 → 1.9.0

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: 2d274d3247bb4ca9fe3bcd6470ce972df31a202b
4
- data.tar.gz: 910ed29d27347a72a60810e4ad0ee3f8357baaa3
3
+ metadata.gz: 93a3eace2409ad8ba32c4552b721e8506cf672c9
4
+ data.tar.gz: 8ed6e653450c1e11a02de1153065c33e5bffcda1
5
5
  SHA512:
6
- metadata.gz: 4a84e494c128cbcb213f044ea1bef5210565987995ee4b19b930532a8ebd49229704cae6c89a867bfc24242d1add7e2a81a99b5072e54166bfdaa06609204d87
7
- data.tar.gz: a8ce1612fe46fd0fd986436c31d6299f83098a75f5ba8f9478121e586f8a844548c49310a620bf3c4297220a37ec2584f5e5d2ba3b1887ce88ab7d63ae9f91ed
6
+ metadata.gz: aeee2bbf57f2333d6b9f4588f8d07d4e1af7b37f24b08af4fc42a1b547105d4341b3750c9f703383f54f3ffc343ae11c419d764162c93714f464fa45fd67b297
7
+ data.tar.gz: dc9e8df859e5bea57192abaf9d80f8aaf9505f192ae68f5777664a27aa4ea673732eda9afad43001e151f7c0c1942b85f990c663e46e87609b9becd0511fadcb
data/bin/netsoul-ruby CHANGED
@@ -132,13 +132,13 @@ begin
132
132
  end
133
133
  end
134
134
  rescue Interrupt
135
- c.disconnect if c.started
135
+ begin c.disconnect; end
136
136
  puts '!!! [SIGINT] !!!'
137
137
  exit 42
138
138
  rescue => e
139
- puts "[ERROR]: #{e}#{$INPUT_RECORD_SEPARATOR}[RETRY_COUNT]: #{retry_count}"
140
- c.disconnect
141
- c = nil
139
+ puts "[ERROR]: #{e}"
140
+ puts "[RETRY_COUNT]: #{retry_count}"
141
+ begin c.disconnect; end
142
142
  if retry_count > 0
143
143
  retry_count -= 1
144
144
  retry_wait_time *= RETRY_WAIT_FACTOR
@@ -1,3 +1,3 @@
1
1
  module Netsoul
2
- VERSION = '1.8.0'.freeze
2
+ VERSION = '1.9.0'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: netsoul
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.8.0
4
+ version: 1.9.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Christian Kakesa
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-01-09 00:00:00.000000000 Z
11
+ date: 2016-01-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler