ruby-changes:8714
From: matz <ko1@a...>
Date: Tue, 18 Nov 2008 21:29:40 +0900 (JST)
Subject: [ruby-changes:8714] Ruby:r20249 (trunk): * lib/net/ftp.rb (Net::FTP#open_socket): SOCKSsocket is obsolete.
matz 2008-11-18 21:29:25 +0900 (Tue, 18 Nov 2008) New Revision: 20249 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=20249 Log: * lib/net/ftp.rb (Net::FTP#open_socket): SOCKSsocket is obsolete. a patch from Alan Johnson <alan.wayne.johnson at gmail.com> in [ruby-core:19982]. Modified files: trunk/ChangeLog trunk/lib/net/ftp.rb Index: ChangeLog =================================================================== --- ChangeLog (revision 20248) +++ ChangeLog (revision 20249) @@ -1,3 +1,9 @@ +Tue Nov 18 20:30:08 2008 Yukihiro Matsumoto <matz@r...> + + * lib/net/ftp.rb (Net::FTP#open_socket): SOCKSsocket is obsolete. + a patch from Alan Johnson <alan.wayne.johnson at gmail.com> in + [ruby-core:19982]. + Tue Nov 18 16:18:23 2008 Nobuyoshi Nakada <nobu@r...> * lib/logger.rb (ProgName): fixed for svn, based on a patch from Index: lib/net/ftp.rb =================================================================== --- lib/net/ftp.rb (revision 20248) +++ lib/net/ftp.rb (revision 20249) @@ -170,9 +170,9 @@ end def open_socket(host, port) - if defined? SOCKSsocket and ENV["SOCKS_SERVER"] + if defined? SOCKSSocket and ENV["SOCKS_SERVER"] @passive = true - return SOCKSsocket.open(host, port) + return SOCKSSocket.open(host, port) else return TCPSocket.open(host, port) end -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/