net-ssh 2.1.3 → 2.1.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,4 +1,9 @@
1
1
 
2
+ === 2.1.4 / 3 Apr 2011
3
+
4
+ * Add ConnectionTimeout exception class. [Joel Watson]
5
+ See: https://github.com/net-ssh/net-ssh-multi/pull/1
6
+
2
7
 
3
8
  === 2.1.3 / 2 Mar 2011
4
9
 
@@ -435,9 +435,9 @@ module Net; module SSH; module Connection
435
435
  # data, via data.read_string. (Not all SSH servers support this channel
436
436
  # request type.)
437
437
  #
438
- # channel.on_request "exit-status" do |ch, data|
439
- # puts "process terminated with exit status: #{data.read_long}"
440
- # end
438
+ # channel.on_request "exit-status" do |ch, data|
439
+ # puts "process terminated with exit status: #{data.read_long}"
440
+ # end
441
441
  def on_request(type, &block)
442
442
  old, @on_request[type] = @on_request[type], block
443
443
  old
@@ -627,4 +627,4 @@ module Net; module SSH; module Connection
627
627
  end
628
628
  end
629
629
 
630
- end; end; end
630
+ end; end; end
@@ -7,6 +7,9 @@ module Net; module SSH
7
7
  # public key authentication, password authentication, or whatever).
8
8
  class AuthenticationFailed < Exception; end
9
9
 
10
+ # This exception is raised when a connection attempt times out.
11
+ class ConnectionTimeout < Exception; end
12
+
10
13
  # This exception is raised when the remote host has disconnected
11
14
  # unexpectedly.
12
15
  class Disconnect < Exception; end
@@ -51,7 +51,7 @@ module Net; module SSH
51
51
  MINOR = 1
52
52
 
53
53
  # The tiny component of this version of the Net::SSH library
54
- TINY = 3
54
+ TINY = 4
55
55
 
56
56
  # The current version of the Net::SSH library as a Version instance
57
57
  CURRENT = new(MAJOR, MINOR, TINY)
@@ -1,7 +1,7 @@
1
1
  @spec = Gem::Specification.new do |s|
2
2
  s.name = "net-ssh"
3
3
  s.rubyforge_project = 'net-ssh'
4
- s.version = "2.1.3"
4
+ s.version = "2.1.4"
5
5
  s.summary = "Net::SSH: a pure-Ruby implementation of the SSH2 client protocol."
6
6
  s.description = s.summary
7
7
  s.authors = ["Jamis Buck", "Delano Mandelbaum"]
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: net-ssh
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 2.1.3
5
+ version: 2.1.4
6
6
  platform: ruby
7
7
  authors:
8
8
  - Jamis Buck
@@ -11,7 +11,7 @@ autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
13
 
14
- date: 2011-03-02 00:00:00 -05:00
14
+ date: 2011-04-03 00:00:00 -04:00
15
15
  default_executable:
16
16
  dependencies: []
17
17