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.
- data/CHANGELOG.rdoc +5 -0
- data/lib/net/ssh/connection/channel.rb +4 -4
- data/lib/net/ssh/errors.rb +3 -0
- data/lib/net/ssh/version.rb +1 -1
- data/net-ssh.gemspec +1 -1
- metadata +2 -2
data/CHANGELOG.rdoc
CHANGED
@@ -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
|
-
#
|
439
|
-
#
|
440
|
-
#
|
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
|
data/lib/net/ssh/errors.rb
CHANGED
@@ -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
|
data/lib/net/ssh/version.rb
CHANGED
data/net-ssh.gemspec
CHANGED
@@ -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.
|
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.
|
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
|
14
|
+
date: 2011-04-03 00:00:00 -04:00
|
15
15
|
default_executable:
|
16
16
|
dependencies: []
|
17
17
|
|