aboutsummaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* * lib/net/http.rb, lib/net/protocol.rb: Allow to configure to waitnahi2011-05-312-6/+41
| | | | | | | | | | | | | | | | | | server returning '100 continue' response befor sending HTTP request body. See NEWS for more detail. See #3622. Original patch is made by Eric Hodel <drbrain@segment7.net>. * test/net/http/test_http.rb: test it. * NEWS: Add new feature. On my env (Ubuntu 11.04 64bit), 9510 tests, 2203824 assertions, 0 failures, 0 errors, 29 skips -> 9514 tests, 2203836 assertions, 0 failures, 0 errors, 29 skips git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31860 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/webrick/https.rb (WEBrick::HTTPRequest#parse_uri):naruse2011-05-291-0/+1
| | | | | | keep parse_uri as private. patched by okkez. [Bug #4773] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31780 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* update comment.akr2011-05-271-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31759 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/ostruct.rb (method_missing): Handle [] and []= correctly.marcandre2011-05-271-3/+3
| | | | | | Based on a patch by Caius Durling, bug #4179 [ruby-core:33792] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31753 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* prevent an error when passing a frozen string to REXML::Text.newshyouhei2011-05-271-1/+1
| | | | | | | | dup the string passed in instead of cloning so that it's frozen state is ignored Signed-off-by: URABE, Shyouhei <shyouhei@ruby-lang.org> git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31744 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/csv.rb: Enhance each() to support Enumerator.jeg22011-05-261-2/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31740 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/csv.rb: Documentation improvements from Ysiad Ferreiras.jeg22011-05-261-4/+5
| | | | | | | | [Ruby 1.9 - Bug #4785] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31739 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/xmlrpc/parser.rb (FaultException): fix to_s and inspectshyouhei2011-05-261-2/+1
| | | | | | | | * test/xmlrpc/parser.rb: test for the above Signed-off-by: URABE, Shyouhei <shyouhei@ruby-lang.org> git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31736 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/csv.rb: Improved stray quoting error message (patch by Edvard Majakari).jeg22011-05-251-14/+21
| | | | | | | * lib/csv.rb: Remove debugging prints. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31735 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/benchmark.rb: Restore nodoc for Benchmark::Job anddrbrain2011-05-251-2/+2
| | | | | | | Benchmark::Report. [Ruby 1.9 - Bug #4726] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31729 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/pop.rb: Hide implementation details from RDoc.drbrain2011-05-251-4/+4
| | | | | | | [Ruby 1.9 - Bug #4711] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31728 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/ftp.rb: Add :nodoc: for private methods.drbrain2011-05-251-34/+39
| | | | | | | [Ruby 1.9 - Bug #4710] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31727 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/erb.rb: Restore documentation for ERB::Util and ERB::DefMethoddrbrain2011-05-241-2/+2
| | | | | | | (oops). [Ruby 1.9 - Bug #4694] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31725 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/erb.rb: Hide documentation for implementation details of ERB.drbrain2011-05-241-4/+5
| | | | | | | [Ruby 1.9 - Bug #4694] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31724 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/tempfile.rb (Tempfile.{mkdir,rmdir}): revert for backwardnobu2011-05-241-11/+14
| | | | | | compatibility. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31723 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/tempfile.rb (Tempfile.{lock,unlock}_tempfile): refactor.nobu2011-05-241-7/+10
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31721 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/tempfile.rb (Tempfile.{mkdir,rmdir}): internal methods to be ↵nobu2011-05-241-8/+2
| | | | | | overridden in subclasses. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31719 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/yaml.rb: switch default YAML engine to Psych, old syck enginetenderlove2011-05-231-0/+8
| | | | | | may be enabled via YAML::ENGINE.yamler = "syck". [ruby-core:36374] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31715 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/smtp.rb: Document Net::SMTP::Response. Patch by J.R. Garcia.drbrain2011-05-231-0/+25
| | | | | | | [Ruby 1.9 - Bug #4768] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31710 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/test/unit/parallel.rb: Never Ignore SIGINT. When receivedsorah2011-05-232-6/+36
| | | | | | | | | Interrupt, immediately puts result and exit. [ruby-dev:43571] * lib/test/unit.rb: When received Interrupt, wait results from workers and correct them. [ruby-dev:43571] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31708 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mathn.rb: Improve documentation. Patch by Sandor Szucs.drbrain2011-05-231-9/+95
| | | | | | | [Ruby 1.9 - Bug #4767] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31707 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/ostruct.rb: Improve documentation. Patch by Franklin Webber.drbrain2011-05-221-18/+113
| | | | | | | [Ruby 1.9 - Bug #4761] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31706 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/timeout.rb: Improve documentation. Patch by David Copeland.drbrain2011-05-221-20/+27
| | | | | | | [Ruby 1.9 - Bug #4755] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31687 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/ipaddr.rb: Improve documentation. Patch by Sandor Szucs.drbrain2011-05-221-0/+16
| | | | | | | [Ruby 1.9 - Bug #4753] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31686 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/forwardable.rb: Document def_delegator. Patch by Sandor Szucs.drbrain2011-05-221-0/+19
| | | | | | | [Ruby 1.9 - Bug #4752] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31685 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/fileutils.rb: Document block behavior of FileUtils.cd. Patch bydrbrain2011-05-221-0/+4
| | | | | | | Bil Kleb. [Ruby 1.9 - Bug 4751] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31684 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/scanf.rb: fix typosnagachika2011-05-201-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31649 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/scanf.rb: Improve documentation. Patch by Gabe McArthur.drbrain2011-05-191-326/+376
| | | | | | | [Ruby 1.9 - Bug #4735] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31646 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib: revert r31635-r31638 and untabify with expand(1).nobu2011-05-1954-1928/+1928
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31641 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/benchmark.rb: Fix indentation.drbrain2011-05-182-47/+47
| | | | | | | * lib/net/imap.rb: Fix indentation of regular expressions. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31638 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/imap.rb: Fix indentation of EOF for heredoc.drbrain2011-05-182-3/+3
| | | | | | | * lib/debug.rb (Commands): Fix indentation of EOHELP for heredoc. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31637 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb: Fix indentation of EOM for heredoc.drbrain2011-05-181-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31636 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib: Convert tabs to spaces for ruby files perdrbrain2011-05-1866-3827/+3829
| | | | | | | | | http://redmine.ruby-lang.org/projects/ruby/wiki/DeveloperHowto#coding-style Patch by Steve Klabnik [Ruby 1.9 - Bug #4730] Patch by Jason Dew [Ruby 1.9 - Feature #4718] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31635 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/cgi/util.rb: Improve documentation. Patch by Clinton Nixon.drbrain2011-05-183-0/+16
| | | | | | | | | [Ruby 1.9 - Bug #4733] * lib/cgi/core.rb: ditto * lib/cgi/cookie.rb: ditto git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31634 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/tempfile.rb: Document Dir.mkdir and Dir.rmdir. Patch by Clintondrbrain2011-05-181-0/+9
| | | | | | | Nixon. [Ruby 1.9 - Bug #4728] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31633 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib: remove trailing spaces.nobu2011-05-187-54/+54
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31630 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/timeout.rb (Timeout#timeout): don't leak "execution expired"kosaki2011-05-181-15/+17
| | | | | | | | exception. [Bug #4283] [ruby-core:34534]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31623 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/cmath.rb: Add some examples and improve documentation. Patch bydrbrain2011-05-171-12/+35
| | | | | | | Sandor Szücs. [Ruby 1.9 - Bug #4727] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31621 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/benchmark.rb: Remove nodoc from Benchmark::Job anddrbrain2011-05-171-2/+6
| | | | | | | Benchmark::Report. Patch by Sandor Szücs. [Ruby 1.9 - Bug #4726] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31620 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/webrick/compat.rb: Improve documentation. Patch by Sandordrbrain2011-05-171-0/+20
| | | | | | | Szücs. [Ruby 1.9 - Bug #4725] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31619 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/tracer.rb: Improve documentation. Patch by Richard Ramsden.drbrain2011-05-171-17/+115
| | | | | | | [Ruby 1.9 - Feature #4720] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31618 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/cmath.rb: Improve documentation. Patch by Jason Dew.drbrain2011-05-171-0/+43
| | | | | | | [Ruby 1.9 - Feature #4717] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31617 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/ftp.rb (module Net):drbrain2011-05-171-1/+54
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31615 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/singleton.rb: Improve documentation. Patch by Pete Higgins.drbrain2011-05-171-225/+84
| | | | | | | [Ruby 1.9 - Bug #4709] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31613 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/http.rb: Improve documentation of proxy configurationdrbrain2011-05-161-4/+12
| | | | | | | methods. Patch by Alf Mikula. [Ruby 1.9 - Bug #4714] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31603 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/pop.rb: Improve documentation. Patch by Vincent Batts.drbrain2011-05-162-0/+22
| | | | | | | | [Ruby 1.9 - Bug #4711] * lib/net/telnet.rb: ditto git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31602 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/http.rb: Fix nodoc for Net::HTTP::version_1_1?. Patch bydrbrain2011-05-161-2/+1
| | | | | | | Alf Mikula. [Ruby 1.9 - Bug #4713] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31601 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/optparse.rb: Add link to make_switch to improve documentation.drbrain2011-05-161-1/+2
| | | | | | | Patch by David Copeland. [Ruby 1.9 - Bug #4708] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31600 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/observer.rb: Improve documentation. Patch by David Copeland.drbrain2011-05-161-32/+41
| | | | | | | [Ruby 1.9 - Bug #4707] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31599 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/logger.rb: Improve documentation. Patch by David Copeland.drbrain2011-05-161-48/+83
| | | | | | | [Ruby 1.9 - Bug #4706] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31597 b2dd03c8-39d4-4d8f-98ff-823fe69b080e