net-ssh 2.0.17 → 2.0.18

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.
@@ -1,3 +1,6 @@
1
+ === 2.0.18 / 15 Jan 2010
2
+
3
+ * Fix related to #recv(1) to #readpartial change in 2.0.16 [Hans de Graaff, Delano Mandelbaum]
1
4
 
2
5
  === 2.0.17 / 14 Dec 2009
3
6
 
@@ -8,7 +11,7 @@
8
11
 
9
12
  * Fix for "multiple hosts are separated by whitespace" [Akinori MUSHA]
10
13
  * Add support for the ProxyCommand directive [Akinori MUSHA]
11
- * Switched from #recv(1) to #readchar in lib/net/ssh/transport/server_version.rb, so that closed sockets are recognized [Alex Peuchert]
14
+ * Switched from #recv(1) to #readpartial in lib/net/ssh/transport/server_version.rb, so that closed sockets are recognized [Alex Peuchert]
12
15
 
13
16
 
14
17
  === 2.0.15 / 03 Sep 2009
@@ -54,6 +54,11 @@ module Net; module SSH; module Test
54
54
  def recv(n)
55
55
  read(n) || ""
56
56
  end
57
+
58
+ def readpartial(n)
59
+ recv(n)
60
+ end
61
+
57
62
  end
58
63
 
59
64
  end; end; end
@@ -43,7 +43,6 @@ module Net; module SSH; module Transport
43
43
  loop do
44
44
  @version = ""
45
45
  loop do
46
- # b = socket.recv(1)
47
46
  begin
48
47
  b = socket.readpartial(1)
49
48
  raise Net::SSH::Disconnect, "connection closed by remote host" if b.nil?
@@ -51,7 +51,7 @@ module Net; module SSH
51
51
  MINOR = 0
52
52
 
53
53
  # The tiny component of this version of the Net::SSH library
54
- TINY = 17
54
+ TINY = 18
55
55
 
56
56
  # The current version of the Net::SSH library as a Version instance
57
57
  CURRENT = new(MAJOR, MINOR, TINY)
@@ -1,12 +1,12 @@
1
1
  @spec = Gem::Specification.new do |s|
2
2
  s.name = "net-ssh"
3
- s.rubyforge_project = 'net-ssh'
4
- s.version = "2.0.17"
3
+ s.rubyforge_project = 'net-ssh'
4
+ s.version = "2.0.18"
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"]
8
8
  s.email = ["net-ssh@solutious.com", "net-ssh@solutious.com"]
9
- s.homepage = "http://rubyforge.org/projects/net-ssh/"
9
+ s.homepage = "http://gemcutter.org/gems/net-ssh"
10
10
 
11
11
  s.extra_rdoc_files = %w[README.rdoc THANKS.rdoc CHANGELOG.rdoc]
12
12
  s.has_rdoc = true
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.0.17
4
+ version: 2.0.18
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jamis Buck
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2009-12-14 00:00:00 -05:00
13
+ date: 2010-01-15 00:00:00 -05:00
14
14
  default_executable:
15
15
  dependencies: []
16
16
 
@@ -137,7 +137,7 @@ files:
137
137
  - test/transport/test_session.rb
138
138
  - test/transport/test_state.rb
139
139
  has_rdoc: true
140
- homepage: http://rubyforge.org/projects/net-ssh/
140
+ homepage: http://gemcutter.org/gems/net-ssh
141
141
  licenses: []
142
142
 
143
143
  post_install_message: