* [ruby-core:54924] Re: [ruby-changes:28599] hsbt:r40651 (trunk): fixed wrong document for Socket.tcp by @lann [fix GH-302]
[not found] <20130512014416.8AE8980005@sakura2.atdot.net>
@ 2013-05-12 1:56 ` Tanaka Akira
2013-05-12 16:16 ` [ruby-core:54936] " Zachary Scott
2013-05-13 0:19 ` [ruby-core:54944] " SHIBATA Hiroshi
0 siblings, 2 replies; 4+ messages in thread
From: Tanaka Akira @ 2013-05-12 1:56 UTC (permalink / raw
To: ruby-core
2013/5/12 hsbt <ko1@atdot.net>:
> hsbt 2013-05-12 10:44:06 +0900 (Sun, 12 May 2013)
>
> New Revision: 40651
>
> http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=40651
>
> Log:
> fixed wrong document for Socket.tcp by @lann [fix GH-302]
>
> Modified files:
> trunk/ext/socket/lib/socket.rb
>
> Index: ext/socket/lib/socket.rb
> ===================================================================
> --- ext/socket/lib/socket.rb (revision 40650)
> +++ ext/socket/lib/socket.rb (revision 40651)
> @@ -288,11 +288,6 @@ class Socket < BasicSocket https://github.com/ruby/ruby/blob/trunk/ext/socket/lib/socket.rb#L288
> # The value of the block is returned.
> # The socket is closed when this method returns.
> #
> - # The optional last argument _opts_ is options represented by a hash.
> - # _opts_ may have following options:
> - #
> - # [:timeout] specify the timeout in seconds.
> - #
> # If no block is given, the socket is returned.
> #
> # Socket.tcp("www.ruby-lang.org", 80) {|sock|
Removing the option description is not a good fix.
https://github.com/ruby/ruby/pull/302 describes as
"Socket.tcp supports a :connect_timeout opt but not :timeout."
--
Tanaka Akira
^ permalink raw reply [flat|nested] 4+ messages in thread
* [ruby-core:54936] Re: [ruby-changes:28599] hsbt:r40651 (trunk): fixed wrong document for Socket.tcp by @lann [fix GH-302]
2013-05-12 1:56 ` [ruby-core:54924] Re: [ruby-changes:28599] hsbt:r40651 (trunk): fixed wrong document for Socket.tcp by @lann [fix GH-302] Tanaka Akira
@ 2013-05-12 16:16 ` Zachary Scott
2013-05-13 0:19 ` [ruby-core:54944] " SHIBATA Hiroshi
1 sibling, 0 replies; 4+ messages in thread
From: Zachary Scott @ 2013-05-12 16:16 UTC (permalink / raw
To: ruby-core
Can you open a ticket? /cc hsbt
On Sat, May 11, 2013 at 9:56 PM, Tanaka Akira <akr@fsij.org> wrote:
> 2013/5/12 hsbt <ko1@atdot.net>:
>> hsbt 2013-05-12 10:44:06 +0900 (Sun, 12 May 2013)
>>
>> New Revision: 40651
>>
>> http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=40651
>>
>> Log:
>> fixed wrong document for Socket.tcp by @lann [fix GH-302]
>>
>> Modified files:
>> trunk/ext/socket/lib/socket.rb
>>
>> Index: ext/socket/lib/socket.rb
>> ===================================================================
>> --- ext/socket/lib/socket.rb (revision 40650)
>> +++ ext/socket/lib/socket.rb (revision 40651)
>> @@ -288,11 +288,6 @@ class Socket < BasicSocket https://github.com/ruby/ruby/blob/trunk/ext/socket/lib/socket.rb#L288
>> # The value of the block is returned.
>> # The socket is closed when this method returns.
>> #
>> - # The optional last argument _opts_ is options represented by a hash.
>> - # _opts_ may have following options:
>> - #
>> - # [:timeout] specify the timeout in seconds.
>> - #
>> # If no block is given, the socket is returned.
>> #
>> # Socket.tcp("www.ruby-lang.org", 80) {|sock|
>
> Removing the option description is not a good fix.
>
> https://github.com/ruby/ruby/pull/302 describes as
> "Socket.tcp supports a :connect_timeout opt but not :timeout."
> --
> Tanaka Akira
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* [ruby-core:54944] Re: [ruby-changes:28599] hsbt:r40651 (trunk): fixed wrong document for Socket.tcp by @lann [fix GH-302]
2013-05-12 1:56 ` [ruby-core:54924] Re: [ruby-changes:28599] hsbt:r40651 (trunk): fixed wrong document for Socket.tcp by @lann [fix GH-302] Tanaka Akira
2013-05-12 16:16 ` [ruby-core:54936] " Zachary Scott
@ 2013-05-13 0:19 ` SHIBATA Hiroshi
2013-05-13 0:50 ` [ruby-core:54948] " Tanaka Akira
1 sibling, 1 reply; 4+ messages in thread
From: SHIBATA Hiroshi @ 2013-05-13 0:19 UTC (permalink / raw
To: ruby-core
There is a description of :connect_timeout in Socket.tcp docs.
I removed only :timeout describes.
akr: Please teach me wrong points or create issue.
2013/5/12 Tanaka Akira <akr@fsij.org>:
> 2013/5/12 hsbt <ko1@atdot.net>:
>> hsbt 2013-05-12 10:44:06 +0900 (Sun, 12 May 2013)
>>
>> New Revision: 40651
>>
>> http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=40651
>>
>> Log:
>> fixed wrong document for Socket.tcp by @lann [fix GH-302]
>>
>> Modified files:
>> trunk/ext/socket/lib/socket.rb
>>
>> Index: ext/socket/lib/socket.rb
>> ===================================================================
>> --- ext/socket/lib/socket.rb (revision 40650)
>> +++ ext/socket/lib/socket.rb (revision 40651)
>> @@ -288,11 +288,6 @@ class Socket < BasicSocket https://github.com/ruby/ruby/blob/trunk/ext/socket/lib/socket.rb#L288
>> # The value of the block is returned.
>> # The socket is closed when this method returns.
>> #
>> - # The optional last argument _opts_ is options represented by a hash.
>> - # _opts_ may have following options:
>> - #
>> - # [:timeout] specify the timeout in seconds.
>> - #
>> # If no block is given, the socket is returned.
>> #
>> # Socket.tcp("www.ruby-lang.org", 80) {|sock|
>
> Removing the option description is not a good fix.
>
> https://github.com/ruby/ruby/pull/302 describes as
> "Socket.tcp supports a :connect_timeout opt but not :timeout."
> --
> Tanaka Akira
>
--
SHIBATA Hiroshi shibata.hiroshi@gmail.com
http://www.hsbt.org/
^ permalink raw reply [flat|nested] 4+ messages in thread
* [ruby-core:54948] Re: [ruby-changes:28599] hsbt:r40651 (trunk): fixed wrong document for Socket.tcp by @lann [fix GH-302]
2013-05-13 0:19 ` [ruby-core:54944] " SHIBATA Hiroshi
@ 2013-05-13 0:50 ` Tanaka Akira
0 siblings, 0 replies; 4+ messages in thread
From: Tanaka Akira @ 2013-05-13 0:50 UTC (permalink / raw
To: ruby-core
2013/5/13 SHIBATA Hiroshi <shibata.hiroshi@gmail.com>:
> There is a description of :connect_timeout in Socket.tcp docs.
> I removed only :timeout describes.
>
> akr: Please teach me wrong points or create issue.
Oops. I overlooked the document of :connect_timeout.
You are right.
--
Tanaka Akira
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2013-05-13 1:14 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20130512014416.8AE8980005@sakura2.atdot.net>
2013-05-12 1:56 ` [ruby-core:54924] Re: [ruby-changes:28599] hsbt:r40651 (trunk): fixed wrong document for Socket.tcp by @lann [fix GH-302] Tanaka Akira
2013-05-12 16:16 ` [ruby-core:54936] " Zachary Scott
2013-05-13 0:19 ` [ruby-core:54944] " SHIBATA Hiroshi
2013-05-13 0:50 ` [ruby-core:54948] " Tanaka Akira
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).