diff options
| -rw-r--r-- | CHANGELOG.rdoc | 6 | ||||
| -rw-r--r-- | lib/net/ssh.rb | 2 | ||||
| -rw-r--r-- | lib/net/ssh/version.rb | 2 | ||||
| -rw-r--r-- | net-ssh.gemspec | 2 |
4 files changed, 9 insertions, 3 deletions
diff --git a/CHANGELOG.rdoc b/CHANGELOG.rdoc index 5b1146e..643df2b 100644 --- a/CHANGELOG.rdoc +++ b/CHANGELOG.rdoc @@ -1,4 +1,10 @@ + +=== 2.1.3 / 2 Mar 2011 + +* Call to transport.closed should be transport.close [Woon Jung] + + === 2.1.2 / 1 Mar 2011 * Fix for Net::SSH Continues to attempt authentication when notified it is not allowed [Eric Hodel] diff --git a/lib/net/ssh.rb b/lib/net/ssh.rb index 9f03a98..0b5dc26 100644 --- a/lib/net/ssh.rb +++ b/lib/net/ssh.rb @@ -193,7 +193,7 @@ module Net return connection end else - transport.closed + transport.close raise AuthenticationFailed, user end end diff --git a/lib/net/ssh/version.rb b/lib/net/ssh/version.rb index 4d66443..9dfcf0f 100644 --- a/lib/net/ssh/version.rb +++ b/lib/net/ssh/version.rb @@ -51,7 +51,7 @@ module Net; module SSH MINOR = 1 # The tiny component of this version of the Net::SSH library - TINY = 2 + TINY = 3 # The current version of the Net::SSH library as a Version instance CURRENT = new(MAJOR, MINOR, TINY) diff --git a/net-ssh.gemspec b/net-ssh.gemspec index ac1aa8f..073eb65 100644 --- a/net-ssh.gemspec +++ b/net-ssh.gemspec @@ -1,7 +1,7 @@ @spec = Gem::Specification.new do |s| s.name = "net-ssh" s.rubyforge_project = 'net-ssh' - s.version = "2.1.2" + s.version = "2.1.3" s.summary = "Net::SSH: a pure-Ruby implementation of the SSH2 client protocol." s.description = s.summary s.authors = ["Jamis Buck", "Delano Mandelbaum"] |
