shexy 0.3.1 → 0.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/CHANGELOG.md +8 -0
- data/lib/shexy.rb +2 -2
- metadata +3 -3
data/CHANGELOG.md
CHANGED
data/lib/shexy.rb
CHANGED
|
@@ -33,7 +33,7 @@ require 'net/scp'
|
|
|
33
33
|
|
|
34
34
|
module Shexy
|
|
35
35
|
|
|
36
|
-
VERSION = '0.3.
|
|
36
|
+
VERSION = '0.3.2'
|
|
37
37
|
|
|
38
38
|
[:user, :password, :key, :cmd, :host].each do |n|
|
|
39
39
|
instance_eval %{
|
|
@@ -50,7 +50,7 @@ module Shexy
|
|
|
50
50
|
def self.wait_for_ssh(timeout = 60)
|
|
51
51
|
Timeout.timeout(timeout) do
|
|
52
52
|
begin
|
|
53
|
-
sleep(1) until tcp_test_ssh
|
|
53
|
+
sleep(1) until tcp_test_ssh do
|
|
54
54
|
end
|
|
55
55
|
rescue Errno::ECONNRESET
|
|
56
56
|
# safe to ignore, we need to retry all the time.
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: shexy
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.3.
|
|
4
|
+
version: 0.3.2
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2012-10-
|
|
12
|
+
date: 2012-10-16 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: net-ssh
|
|
@@ -154,7 +154,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
154
154
|
version: '0'
|
|
155
155
|
segments:
|
|
156
156
|
- 0
|
|
157
|
-
hash:
|
|
157
|
+
hash: -3031077169156747780
|
|
158
158
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
159
159
|
none: false
|
|
160
160
|
requirements:
|