summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2011-06-20* lib/webrick/cookie.rb (WEBrick::Cookie.parse): Revert r31228. nahi
r31228 was for allowing the 'Cookie:' header which did not have no SP after ';' for separating cookie-pairs but RFC6265 requires single SP after ';' there. We allow multiple SPs here for compatibility with older WEBrick version. * test/webrick/test_cookie.rb: Test it. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32175 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-19* lib/test/unit/parallel.rb: Override Test::Unit::TestCase#on_parallel_worker?sorah
only when $0 == __FILE__. * lib/test/unit/parallel.rb: Run Test::Unit::Worker.run only when $0 == __FILE__. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32171 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-17* remove trailing spaces.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32152 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-16 * lib/csv.rb: Document #raw_encoding. Patch by David Czarnecki.drbrain
[Ruby 1.9 - Bug #4874] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32141 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-16 * lib/benchmark.rb: Document Benchmark::Tms#memberwise. Patch bydrbrain
David Czarnecki. [Ruby 1.9 - Bug #4873] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32140 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-16 * lib/prettyprint.rb: Improve documentation. Patch by Ysiaddrbrain
Ferreiras. [#4834] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32139 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-16 * lib/webrick/log.rb: Improve documentation of BasicLog and Log.drbrain
Patch by Olivier Brisse. [Ruby 1.9 - Bug #4833] * lib/webrick/httpstatus.rb: Improve documentation of WEBrick::HTTPStatus. Patch by Olivier Brisse. [Ruby 1.9 - Bug #4833] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32137 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-16* test/testunit/test_parallel.rb: Fix Regexp for test.sorah
* test/testunit/tests_for_parallel/test_third.rb: Use Test::Unit::TestCase#on_parallel_worker? for detecting worker. * lib/test/unit/testcase.rb(Test::Unit::TestCase#on_parallel_worker?): New Method Test::Unit::TestCase#on_parallel_worker? returns true when a testcase is running on parallel worker. * lib/test/unit/parallel.rb(Test::Unit::TestCase#on_parallel_worker?): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32123 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-16 * lib/monitor.rb: Improve documentation. Patch by Sandor Szucs.drbrain
[Ruby 1.9 - Bug #4823] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32119 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-16 * lib/webrick/utils.rb: Document WEBrick::Utils. Patch by Olivierdrbrain
Brisse. [Ruby 1.9 - Bug #4819] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32118 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-16 * lib/webrick/httpservlet/erbhandler.rb: Allow the ERB document todrbrain
alter the content-type of the response. [Ruby 1.9 - Bug #4685] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32117 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-16 * lib/timeout.rb: Clarify timeout duration types. Patch by Alf Mikula.drbrain
[Ruby 1.9 - Bug #4791] * lib/net/http.rb: ditto git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32116 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-16 * lib/rdoc.rb: Import RDoc 3.7 release candidatedrbrain
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32115 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-16* lib/net/imap.rb (search_response): parses SEARCH responses fromshugo
the Yahoo IMAP server correctly. patched by Mark Nadig. [Bug #4509] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32114 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-15* lib/test/unit.rb(Test::Unit::Runner#_run_parallel): Ignore -j0sorah
because it makes blocking forever by IO.select. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32109 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-13 * lib/cmath.rb: add new methd Object#real?. fix #3137keiju
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32055 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-13Additional fix for r31933.naruse
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32054 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-13* lib/securerandom.rb (SecureRandom.random_bytes): modify PRNG stateakr
to prevent random number sequence repeatation at forked child process which has same pid. reported by Eric Wong. [ruby-core:35765] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32050 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-13* lib/net/http.rb (Net::HTTP#use_ssl?): require 'openssl' only whennaruse
https is needed. fixes r31933. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32049 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-13* lib/cmath.rb (CMath.cbrt): returns the principal value of the cubemrkn
root of the argument. fix #3676 * test/test_cmath.rb (test_cbrt_returns_principal_value_of_cube_root): test for the above change. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32047 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-13* lib/test/unit.rb (Test::Unit::GlobOption#non_options): fix typo.mrkn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32046 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-13* lib/yaml.rb: load psych only when syck is not loaded.naruse
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32044 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-12lib/drb/drb.rb (kill_sub_thread): remove the method. [ruby-core:34185]seki
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32028 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-11* lib/test/unit.rb (Test::Unit::GlobOption#non_options): should runnobu
with 1.8. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32002 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-11* lib/rexml/formatters/pretty.rbkou
(REXML::Formatters::Pretty#write_text), test/rexml/test_core.rb (Tester#test_pretty_format_long_text_finite): don't ignore 'width' parameter in pretty formatter. fixes #4498 Reported by Michael Frasca. Thanks!!! git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31997 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-11* lib/rexml/parsers/xpathparser.rbkou
(REXML::Parsers::XPathParser#parse), test/rexml/test_elements.rb (ElementsTester::test_each_with_frozen_condition): don't modify original XPath. fixes #4164 Reported by Pavel Shved. Thanks!!! git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31995 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-11* lib/mkmf.rb: should quote arch_hdrdir and libpath for the casenobu
installed prefix contains spaces. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31991 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-10Don't break test-all.naruse
Revert "* lib/test/unit/assertions.rb (Test::Unit::Assertions#skip): reason to" This reverts commit r31982. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31984 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-10* lib/test/unit/assertions.rb (Test::Unit::Assertions#skip): reason tonobu
skip should be explained. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31982 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-07* lib/rubygems/user_interaction.rb (Gem::StreamUI#tty?): IO#tty? ofusa
Windows has been fixed at r29969. * test/rubygems/test_gem_stream_ui.rb: now can run tests. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31952 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-06* lib/test/unit.rb(Test::Unit::Runner#puke):sorah
Add overriding from MiniTest::Unit#puke. This reverts minitest's fix that skip messages are hidden when not verbose mode (-v option). To hide skip messages, use --hide-skip option instead. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31934 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-06* lib/net/http.rb: don't use autoload.naruse
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31933 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-03* lib/rubygems/test_case.rb: Refix for test-all in separate directory.naruse
r31147 + r31151. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31914 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-03* lib/test/unit/parallel.rb: Keep $stdin, $stdout before run testcasesorah
and restore after run. Because some test break $stdin, $stdout. Fixes [Bug #4433] [ruby-core:35353] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31910 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-03* lib/net/http.rb (URI::HTTP#request_uri): return nil when the urinaruse
is path-rootless form. Bug #4759 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31907 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-02* lib/csv.rb: Improve the line ending detection algorithmjeg2
(patch by Alexey). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31906 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-01Imported minitest 2.2.2 (r6281)ryan
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31899 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-01MOSTLY Imported minitest 2.2.1 (r6277)ryan
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31887 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-01* lib/rubygems, test/rubygems: properties.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31886 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-01Import rubygems 1.8.5 (released @ 137c80f)ryan
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31885 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-01 * lib/cgi/util.rb: Improve documentation. Patch by Kuba Fietkiewicz.drbrain
[Ruby 1.9 - Bug #4775] * lib/cgi/core.rb: ditto git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31882 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-01 * lib/mathn.rb: Improve documentation and attach it to Numeric.drbrain
Modified from patch by Anil V. [Ruby 1.9 - Bug #4762] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31881 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-01 * lib/prime.rb: Indent examples enough to appear as code sections.drbrain
Note that Prime is Enumerable. [#4762] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31880 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-31* lib/net/http.rb, lib/net/protocol.rb: Allow to configure to waitnahi
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
2011-05-29* lib/webrick/https.rb (WEBrick::HTTPRequest#parse_uri):naruse
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
2011-05-27update comment.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31759 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-27* lib/ostruct.rb (method_missing): Handle [] and []= correctly.marcandre
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
2011-05-27prevent an error when passing a frozen string to REXML::Text.newshyouhei
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
2011-05-26* lib/csv.rb: Enhance each() to support Enumerator.jeg2
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31740 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-26* lib/csv.rb: Documentation improvements from Ysiad Ferreiras.jeg2
[Ruby 1.9 - Bug #4785] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31739 b2dd03c8-39d4-4d8f-98ff-823fe69b080e