net-ssh 2.9.2.rc1 → 2.9.2.rc2
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.
- 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/version.rb +1 -1
- data/net-ssh.gemspec +3 -3
- data/test/start/test_options.rb +7 -0
- 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: 5ec168141073b6b1c793d82ca45080d112295808
|
|
4
|
+
data.tar.gz: f574d3b0650a450076ba5351aa49aef5db30c949
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f72196eb40f9bd29e93c797f9ffa7f3ee04060cf74d23519e5b175814f1d7cb5080801e6afb1d22800a62d2cfaa26f839d28a1f6dc3737cdc5bad3ac81a314a5
|
|
7
|
+
data.tar.gz: deae86d4c3e1fd7f81bc324249b06329171c126bd1d0c9ec9c438a22eda2b1990d4ccaa76845d99e5ea5641fd40e8f71d6e83f4725334939c11279b40f12bfa2
|
checksums.yaml.gz.sig
CHANGED
|
Binary file
|
data.tar.gz.sig
CHANGED
|
Binary file
|
data/CHANGES.txt
CHANGED
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
=== 2.9.2-rc2
|
|
2
|
+
|
|
3
|
+
* number_of_password_prompts is now accepted as ssh option, by setting it 0 net-ssh will not ask for password for password auth as with previous versions [mfazekas]
|
|
4
|
+
|
|
1
5
|
=== 2.9.2-rc1
|
|
2
6
|
|
|
3
7
|
* Documentation fixes and refactoring to keepalive [detiber, mfazekas]
|
data/lib/net/ssh.rb
CHANGED
|
@@ -68,7 +68,7 @@ module Net
|
|
|
68
68
|
:rekey_blocks_limit,:rekey_limit, :rekey_packet_limit, :timeout, :verbose,
|
|
69
69
|
:global_known_hosts_file, :user_known_hosts_file, :host_key_alias,
|
|
70
70
|
:host_name, :user, :properties, :passphrase, :keys_only, :max_pkt_size,
|
|
71
|
-
:max_win_size, :send_env, :use_agent
|
|
71
|
+
:max_win_size, :send_env, :use_agent, :number_of_password_prompts
|
|
72
72
|
]
|
|
73
73
|
|
|
74
74
|
# The standard means of starting a new SSH connection. When used with a
|
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)
|
data/net-ssh.gemspec
CHANGED
|
@@ -2,17 +2,17 @@
|
|
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
|
3
3
|
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
|
4
4
|
# -*- encoding: utf-8 -*-
|
|
5
|
-
# stub: net-ssh 2.9.2.
|
|
5
|
+
# stub: net-ssh 2.9.2.rc2 ruby lib
|
|
6
6
|
|
|
7
7
|
Gem::Specification.new do |s|
|
|
8
8
|
s.name = "net-ssh"
|
|
9
|
-
s.version = "2.9.2.
|
|
9
|
+
s.version = "2.9.2.rc2"
|
|
10
10
|
|
|
11
11
|
s.required_rubygems_version = Gem::Requirement.new("> 1.3.1") if s.respond_to? :required_rubygems_version=
|
|
12
12
|
s.require_paths = ["lib"]
|
|
13
13
|
s.authors = ["Jamis Buck", "Delano Mandelbaum", "Mikl\u{f3}s Fazekas"]
|
|
14
14
|
s.cert_chain = ["net-ssh-public_cert.pem"]
|
|
15
|
-
s.date = "
|
|
15
|
+
s.date = "2015-01-04"
|
|
16
16
|
s.description = "Net::SSH: a pure-Ruby implementation of the SSH2 client protocol. It allows you to write programs that invoke and interact with processes on remote servers, via SSH2."
|
|
17
17
|
s.email = "net-ssh@solutious.com"
|
|
18
18
|
s.extra_rdoc_files = [
|
data/test/start/test_options.rb
CHANGED
|
@@ -31,6 +31,13 @@ module NetSSH
|
|
|
31
31
|
Net::SSH.start('localhost', 'testuser', options)
|
|
32
32
|
end
|
|
33
33
|
end
|
|
34
|
+
|
|
35
|
+
def test_star_should_accept_number_of_password_prompts_option
|
|
36
|
+
assert_nothing_raised do
|
|
37
|
+
options = { :number_of_password_prompts => 2 }
|
|
38
|
+
Net::SSH.start('localhost', 'testuser', options)
|
|
39
|
+
end
|
|
40
|
+
end
|
|
34
41
|
end
|
|
35
42
|
end
|
|
36
43
|
|
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: 2.9.2.
|
|
4
|
+
version: 2.9.2.rc2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Jamis Buck
|
|
@@ -31,7 +31,7 @@ cert_chain:
|
|
|
31
31
|
MbvRpzgROzyfw1qYi4dnIyMwTtXFFcZ0a2jpxHPkcTYFK6TzvFgDLAP0Y/u9jqUQ
|
|
32
32
|
eZ7/3CdSi/isZHEw
|
|
33
33
|
-----END CERTIFICATE-----
|
|
34
|
-
date:
|
|
34
|
+
date: 2015-01-04 00:00:00.000000000 Z
|
|
35
35
|
dependencies:
|
|
36
36
|
- !ruby/object:Gem::Dependency
|
|
37
37
|
name: test-unit
|
metadata.gz.sig
CHANGED
|
Binary file
|