aboutsummaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* * lib/net/http/response.rb: Automatically inflate gzip anddrbrain2012-07-194-39/+156
| | | | | | | | | | | | | | | | deflate-encoded response bodies. [Feature #6942] * lib/net/http/generic_request.rb: Automatically accept gzip and deflate content-encoding for requests. [Feature #6494] * lib/net/http/request.rb: Updated documentation for #6494. * lib/net/http.rb: Updated documentation for #6492 and #6494, removed Content-Encoding handling now present in Net::HTTPResponse. * test/net/http/test_httpresponse.rb: Tests for #6492 * test/net/http/test_http_request.rb: Tests for #6494 * test/open-uri/test_open-uri.rb (test_content_encoding): Updated test for automatic content-encoding handling. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36473 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* mkmf.rb: fix typonobu2012-07-181-1/+1
| | | | | | | * lib/mkmf.rb (configuration): fix typo, should never return nil. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36444 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* mkmf.rb: hack for -frameworknobu2012-07-181-3/+6
| | | | | | | | | * lib/mkmf.rb (have_framework): get rid of separating -framework option and its argument and dealing with the argument as a library or an object name. if $LDFLAGS were an array... git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36437 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* configure.in: EXTDLDFLAGSnobu2012-07-181-1/+1
| | | | | | | | | * configure.in (EXTDLDFLAGS): split options for each extension libraries, and unused in ruby.pc. [Bug #6734] * lib/mkmf.rb (MakeMakefile#configuration): add EXTDLDFLAGS. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36432 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/benchmark.rb: Fix Benchmark.benchmark output with an emptynaruse2012-07-181-10/+10
| | | | | | caption. patched by Benoit Daloze. [ruby-core:45719] [Bug #6610] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36427 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/debug.rb: Added toplevel documentation. Based on patch by Oscardrbrain2012-07-181-4/+164
| | | | | | | Del Ben. [Bug #6743], fixes #146 on github. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36426 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/logger.rb: Updated typos and output to match modern Loggerdrbrain2012-07-181-51/+53
| | | | | | | output. Patch by Marcus Stollsteimer. [Bug #6738] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36424 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Wed Jul 18 07:59:29 2012 Takeyuki FUJIOKA <xibbar@ruby-lang.org>xibbar2012-07-171-3/+6
| | | | | | | * lib/cgi/util.rb (CGI.escapeHTML,unescapeHTML): Add &apos; for HTML5 escaping. [Feature #6620] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36422 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/open-uri.rb: delete space.ayumin2012-07-171-1/+1
| | | | | | * test/psych/test_alias_and_anchor.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36418 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/open-uri.rb: call io.close! for Tempfile.akr2012-07-171-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36417 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/fileutils.rb (uptodate?): remove useless parameter.ayumin2012-07-161-3/+1
| | | | | | patched by Oscar Del Ben.[Bug #6708][ruby-core:46256] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36400 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test/unit.rb: use uniq!nobu2012-07-141-6/+1
| | | | | | | | * lib/test/unit.rb (Test::Unit::Runner#_run_parallel): use Array#uniq!. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36389 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test/unit.rb: extract dealnobu2012-07-141-63/+48
| | | | | | | * lib/test/unit.rb (Test::Unit::Runner#deal): deal tasks to workers. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36388 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test/unit.rb: extract quit_workersnobu2012-07-141-28/+35
| | | | | | | | * lib/test/unit.rb (Test::Unit::Runner#quit_workers): close and kill all workers. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36387 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test/unit.rb: extract delete_workernobu2012-07-141-3/+7
| | | | | | | | * lib/test/unit.rb (Test::Unit::Runner#delete_worker): delete dead worker from working set. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36386 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test/unit.rb: launch_worker to manage new workernobu2012-07-141-10/+9
| | | | | | | | * lib/test/unit.rb (Test::Unit::Runner#launch_worker): add new worker to working set. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36385 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test/unit.rb: extract launch_workernobu2012-07-141-15/+15
| | | | | | | * lib/test/unit.rb (Test::Unit::Runner#launch_worker): extract. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36384 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test/unit.rb: extract start_watchdognobu2012-07-141-14/+17
| | | | | | | * lib/test/unit.rb (Test::Unit::Runner#start_watchdog): extract. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36383 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test/unit.rb: _run_parallelnobu2012-07-141-11/+11
| | | | | | | | * lib/test/unit.rb (Test::Unit::Runner#_run_parallel): move initializations with nothing to release outside begin/ensure. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36382 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test: dots from a workernobu2012-07-121-1/+1
| | | | | | | | * lib/test/unit.rb (Test::Unit::StatusLineOutput#print): sometimes dots from a worker get stuck. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36378 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test: unnecessary job_statusnobu2012-07-121-1/+0
| | | | | | | | * lib/test/unit.rb (Test::Unit::Runner#_prepare_run): no needs to override job_status option unnecessarily. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36377 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test: separate each outputsnobu2012-07-121-1/+4
| | | | | | | | * lib/test/unit.rb (Test::Unit::Runner#del_status_line): separate each outputs if not replace mode. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36375 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Imported minitest 3.2.0 (r7598). Reviewed by drbrainryan2012-07-113-25/+10
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36370 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/http.rb (Net::HTTP#connect): use local_host and local_portnaruse2012-07-111-1/+9
| | | | | | if specified. patched by Ricardo Amorim [Feature #6617] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36367 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* mkmf.rb: add TARGET_NAMEnobu2012-07-091-1/+3
| | | | | | | | | * configure.in (DLDFLAGS): use TARGET_ENTRY to specify an entry point instead of TARGET which may contain non-identifer characters. * lib/mkmf.rb (create_makefile): add TARGET_NAME which is the first part consists of only word characters. [ruby-core:46248][Bug #6709] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36338 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* suppress warningnobu2012-07-071-1/+1
| | | | | | | * lib/test/unit.rb (terminal_width): suppress uninitialized instance variable warning. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36336 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* obsolete Confignobu2012-07-061-5/+0
| | | | | | * lib/rbconfig/obsolete.rb (Config): remove obsolete Config. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36330 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fix 4xx classes to inherit correctly from Net::HTTPClientErrorknu2012-07-051-4/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36315 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Wed Jul 4 13:38:12 2012 Takeyuki FUJIOKA <xibbar@ruby-lang.org>xibbar2012-07-041-6/+3
| | | | | | * lib/cgi/util.rb: revert 36299: &apos; is XML specification. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36305 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Wed Jul 4 08:45:41 2012 Takeyuki FUJIOKA <xibbar@ruby-lang.org>xibbar2012-07-041-5/+6
| | | | | | | | * lib/cgi/core.rb: fix bug: When query parameter is 'id=123&id', cgi['id'] => '123' is correct. First parameter is valid. [Feature #6621] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36304 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Wed Jul 4 08:24:28 2012 Takeyuki FUJIOKA <xibbar@ruby-lang.org>xibbar2012-07-031-3/+6
| | | | | | * lib/cgi/util.rb: Add &apos; to CGI's HTML escaping.[Feature #6620] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36299 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Wed Jul 4 08:18:01 2012 Takeyuki FUJIOKA <xibbar@ruby-lang.org>xibbar2012-07-031-4/+4
| | | | | | * lib/cgi/html.rb: fix some elements to upper case.[Bug #6632] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36297 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Wed Jul 4 08:11:15 2012 Takeyuki FUJIOKA <xibbar@ruby-lang.org>xibbar2012-07-032-6/+6
| | | | | | * lib/cgi/core.rb,html.rb: fix typo.[Bug #6632] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36296 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Undef on_parallel_worker? before redefine.naruse2012-07-031-0/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36276 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/test/unit/parallel.rb: workaround fix for rubygems.naruse2012-06-281-0/+4
| | | | | | | RubyGems can't find rake if the source directory is not equal to the directory which is running the test. [Bug #6604] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36247 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* NotImplementError is not exist.kazu2012-06-272-5/+1
| | | | | | | * lib/racc/parser.rb: NotImplementError is not exist. * lib/irb/output-method.rb (IRB::OutputMethod#print): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36240 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* lib/test/unit.rb: show file count in parallel modenobu2012-06-221-2/+9
| | | | | | | | * lib/test/unit.rb (Test::Unit::Runner#_run_parallel): show file count in parallel mode. since worker processes run tests per files, the parent process cannot tell how many tests will be run in advance. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36184 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* lib/test/unit.rb: initialize ivarnobu2012-06-221-0/+1
| | | | | | | * lib/test/unit.rb (Test::Unit::Runner#del_status_line): initialize @status_line_size if needed. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36183 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* lib/test/unit.rb: workers sudden-deathnobu2012-06-201-1/+1
| | | | | | | * lib/test/unit.rb (Test::Unit::Runner#_run_parallel): deal with sudden-death of workers. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36147 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* lib/test/unit/parallel.rb: new method to report to the parentnobu2012-06-191-10/+15
| | | | | | | * lib/test/unit/parallel.rb (Test::Unit::Worker#_report): extract method to report to the parent process git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36137 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test: reduce unnecessary outputnobu2012-06-161-1/+1
| | | | | | | * lib/test/unit.rb (Test::Unit::Runner#_run_parallel): no empty lines if no warnigs. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36112 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test: reduce unnecessary outputnobu2012-06-161-3/+4
| | | | | | | * lib/test/unit.rb (Test::Unit::Runner#_run_parallel): print retrying message only if retrying. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36111 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test: reduce unnecessary outputnobu2012-06-161-8/+11
| | | | | | | | | | | | | * lib/test/unit.rb (Test::Unit::Runner#del_status_line): update @status_line_size and return true value. * lib/test/unit.rb (Test::Unit::Runner#{put,add,jobs}_status): return non-nil/false if status line is used. * lib/test/unit.rb (Test::Unit::Runner#_run_parallel): clear status line at last. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36110 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* lib/test/unit.rb: format workers results in the parentnobu2012-06-151-1/+3
| | | | | | | * lib/test/unit.rb (Test::Unit::Runner#_run_parallel): format workers results in the parent. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36108 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* lib/test/unit: refactoring pukenobu2012-06-152-17/+15
| | | | | | | | | | | | * lib/test/unit.rb (Test::Unit::Runner#puke): modify only result and drop useless reports, not override entirely. * lib/test/unit/parallel.rb (Test::Unit::Worker#_run_suite): report unformatted results. formatting messages is not a workers task. * lib/test/unit/parallel.rb (Test::Unit::Worker#puke): store raw results. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36105 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Revert r35576 "lib/test/unit.rb: refactoring puke"nobu2012-06-151-7/+15
| | | | | | | * lib/test/unit.rb (Test::Unit::Runner#puke): always add skipped results to the report for parallel test. [Bug #6595] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36098 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test: TEST_COLORSnobu2012-06-151-1/+1
| | | | | | | | * bootstraptest/runner.rb (main): fixed typo. * lib/test/unit.rb (Test::Unit::Runner#_prepare_run): ditto. * sample/test.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36097 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test: skipped colornobu2012-06-151-3/+9
| | | | | | | * lib/test/unit.rb (Test::Unit::Runner#failed): use different color for Skipped. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36096 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test: TEST_COLORSnobu2012-06-151-3/+5
| | | | | | | | | | | * bootstraptest/runner.rb (main): customize colors by dircolors-like style environment variable TEST_COLORS. * lib/test/unit.rb (Test::Unit::Runner#_prepare_run): ditto. * sample/test.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36095 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/drb/drb.rb: Replace broken links to the English DRb book.drbrain2012-06-131-9/+3
| | | | | | | Patch by Zachary Scott. [ruby-trunk - Bug #6544] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36075 b2dd03c8-39d4-4d8f-98ff-823fe69b080e