net-ssh 2.9.2.rc1 → 2.9.2.rc2

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: de2e4d03d9a33f009679b7da843529f74cfb49cf
4
- data.tar.gz: 9e9d79e59836127851a007d06b315037784d1fd6
3
+ metadata.gz: 5ec168141073b6b1c793d82ca45080d112295808
4
+ data.tar.gz: f574d3b0650a450076ba5351aa49aef5db30c949
5
5
  SHA512:
6
- metadata.gz: c94eb4321f98a3e218818a44dc34c0b9444a7afbdcbd6f766ff73cb1882c2d748a5f39e73091be305a9a24a4aae90da23205bffff9a1a45053d3763bca65e252
7
- data.tar.gz: c53db580ff1bc9ec76bc953aaabaa22aba4c65edec20bb82425a4aef4cc1388c3690775aa8d339c217ff6c690a8988dd637653a49c1f365434494e84a91717e3
6
+ metadata.gz: f72196eb40f9bd29e93c797f9ffa7f3ee04060cf74d23519e5b175814f1d7cb5080801e6afb1d22800a62d2cfaa26f839d28a1f6dc3737cdc5bad3ac81a314a5
7
+ data.tar.gz: deae86d4c3e1fd7f81bc324249b06329171c126bd1d0c9ec9c438a22eda2b1990d4ccaa76845d99e5ea5641fd40e8f71d6e83f4725334939c11279b40f12bfa2
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -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]
@@ -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
@@ -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 = "rc1"
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)
@@ -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.rc1 ruby lib
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.rc1"
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 = "2014-12-24"
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 = [
@@ -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.rc1
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: 2014-12-24 00:00:00.000000000 Z
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