sshkit 0.0.28 → 0.0.29
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/sshkit/host.rb +5 -4
- data/lib/sshkit/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: 2209b745253486281551f9d09112eaf4b5f7f172
|
4
|
+
data.tar.gz: 9808d4c127a1dfec74d4592a5899b93890bbeed9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e20d78195598548603137e94862e8402d7935b15b8481b3224045092b4f16011654b9fec5cdd5dd67b81c6272e0e4a6ecb8add478891abe06e938ed372be0a47
|
7
|
+
data.tar.gz: 7a8224001a594fa635afcd69199cb40873fa0870e4f05b5f1a81a00e8a448bb6a1797b7b535a5d8ed9fff7a18b07a2411312c3973842877fd27f86127b2755cd
|
data/lib/sshkit/host.rb
CHANGED
@@ -72,10 +72,11 @@ module SSHKit
|
|
72
72
|
|
73
73
|
def netssh_options
|
74
74
|
{}.tap do |sho|
|
75
|
-
sho[:keys]
|
76
|
-
sho[:port]
|
77
|
-
sho[:user]
|
78
|
-
sho[:password]
|
75
|
+
sho[:keys] = keys if keys.any?
|
76
|
+
sho[:port] = port if port
|
77
|
+
sho[:user] = user if user
|
78
|
+
sho[:password] = password if password
|
79
|
+
sho[:forward_agent] = true
|
79
80
|
end
|
80
81
|
end
|
81
82
|
|
data/lib/sshkit/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sshkit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.29
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Lee Hambley
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-06-
|
12
|
+
date: 2013-06-25 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: net-ssh
|