net-ssh 4.0.1.rc1 → 4.0.1.rc2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/CHANGES.txt +4 -0
- data/lib/net/ssh.rb +1 -1
- data/lib/net/ssh/config.rb +11 -10
- data/lib/net/ssh/version.rb +1 -1
- metadata +2 -2
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: aba6d69a2220edc663f0ec373e350ba8d6a543a7
|
4
|
+
data.tar.gz: 745579f681c0b55582842c6109070fbf68e6ab0a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ebbc659079daf238edefea37133fbd240d94fc365450f9e143b4e5dc5129e17d4a2ecafdcd09f6f9295ff96a74cc1bfd682b62987b7f5e1bac30111cd20d8afa
|
7
|
+
data.tar.gz: 1bdbaba91c178ed9416ac7697041d752c35ba779c4ec325c6563395a314c723cc9c91103bf9d3001ae851dedcf51ceb2ce9e7ede586e958eaf32b81428c97047
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/CHANGES.txt
CHANGED
data/lib/net/ssh.rb
CHANGED
@@ -262,7 +262,7 @@ module Net
|
|
262
262
|
# See Net::SSH::Config for the full description of all supported options.
|
263
263
|
def self.configuration_for(host, use_ssh_config)
|
264
264
|
files = case use_ssh_config
|
265
|
-
when true then Net::SSH::Config.
|
265
|
+
when true then Net::SSH::Config.expandable_default_files
|
266
266
|
when false, nil then return {}
|
267
267
|
else Array(use_ssh_config)
|
268
268
|
end
|
data/lib/net/ssh/config.rb
CHANGED
@@ -248,18 +248,19 @@ module Net; module SSH
|
|
248
248
|
merge_challenge_response_with_keyboard_interactive(ret)
|
249
249
|
end
|
250
250
|
|
251
|
-
|
252
|
-
|
253
|
-
|
254
|
-
|
255
|
-
|
256
|
-
|
257
|
-
|
258
|
-
|
259
|
-
false
|
260
|
-
end
|
251
|
+
# Filters default_files down to the files that are expandable.
|
252
|
+
def expandable_default_files
|
253
|
+
default_files.keep_if do |path|
|
254
|
+
begin
|
255
|
+
File.expand_path(path)
|
256
|
+
true
|
257
|
+
rescue ArgumentError
|
258
|
+
false
|
261
259
|
end
|
262
260
|
end
|
261
|
+
end
|
262
|
+
|
263
|
+
private
|
263
264
|
|
264
265
|
# Converts an ssh_config pattern into a regex for matching against
|
265
266
|
# host names.
|
data/lib/net/ssh/version.rb
CHANGED
@@ -55,7 +55,7 @@ module Net; module SSH
|
|
55
55
|
|
56
56
|
# The prerelease component of this version of the Net::SSH library
|
57
57
|
# nil allowed
|
58
|
-
PRE = "
|
58
|
+
PRE = "rc2"
|
59
59
|
|
60
60
|
# The current version of the Net::SSH library as a Version instance
|
61
61
|
CURRENT = new(*[MAJOR, MINOR, TINY, PRE].compact)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: net-ssh
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.0.1.
|
4
|
+
version: 4.0.1.rc2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jamis Buck
|
@@ -32,7 +32,7 @@ cert_chain:
|
|
32
32
|
L4d54WIy4HkZCqQXoTSiK5HZMIdXkPk3F1bZdJ8Dy1sMRru0rUkkM5mW7TQ75mfW
|
33
33
|
Zp0QrZyNZhtitrXFbZneGRrIA/8G2Krft5Ly/A==
|
34
34
|
-----END CERTIFICATE-----
|
35
|
-
date: 2017-01-
|
35
|
+
date: 2017-01-03 00:00:00.000000000 Z
|
36
36
|
dependencies:
|
37
37
|
- !ruby/object:Gem::Dependency
|
38
38
|
requirement: !ruby/object:Gem::Requirement
|
metadata.gz.sig
CHANGED
Binary file
|