aboutsummaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* fix wrong argument.naruse2010-12-141-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30200 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/minitest/unit.rb (Minitest::Unit#_run_suite): split testnaruse2010-12-141-1/+2
| | | | | | | name and its time. Thiw allows to know test's name when you are running tests and meet a test which spends long time at realtime. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30198 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/http.rb (Net::HTTPRequest#set_form): Added to supportnaruse2010-12-132-1/+138
| | | | | | | | both application/x-www-form-urlencoded and multipart/form-data. There is a similar API, Net::HTTPRequest#set_form_data, but to keep its compatibility this is newly added. [ruby-dev:42729] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30188 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * misc/rb_optparse.zsh: update how to install.kazu2010-12-121-1/+2
| | | | | | | | | * misc/rb_optparse.zsh: avoid error when setopt noclobber. * lib/optparse.rb: fix typo. pointed out at <http://d.hatena.ne.jp/nagachika/20101207>. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30183 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (check_signedness): should use the prelude code.nobu2010-12-101-2/+2
| | | | | | [ruby-dev:42731] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30160 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (Logging.log_close): separate from Logging.logfile.nobu2010-12-101-0/+4
| | | | | | | * test/mkmf/base.rb (TestMkmf::MKMFLOG): show mkmf.log at failures. * test/mkmf/base.rb (TestMkmf#teardown): close log file for each tests. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30159 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Add doc to warn the userinfo for auth. [ruby-core:33255]naruse2010-12-101-0/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30155 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/http.rb: remove version 1.1 features.naruse2010-12-101-92/+12
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30154 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/webrick/accesslog.rb (WEBrick::AccessLog#format): supportakr2010-12-091-0/+7
| | | | | | | | %{remote}p for logging remote (client) port number. [ruby-dev:42670] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30149 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/optparse.rb (OptionParser::Officious): separate completionnobu2010-12-071-11/+19
| | | | | | options from --help. [ruby-dev:42690] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30121 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/optparse.rb (OptionParser::Completion#candidate),nobu2010-12-071-2/+1
| | | | | | (OptionParser::Switch#compsys): remove unused variables. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30120 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rexml/light/node.rb: remove circular require.kou2010-12-071-1/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30117 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rexml/doctype.rb, test/rexml/test_doctype.rb: suppress warnings.kou2010-12-071-5/+5
| | | | | | | | [ruby-core:33305] Reported by Aaron Patterson. Thanks!!! git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30113 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/imap.rb (xlist): supported the XLIST command, which is anshugo2010-12-071-1/+33
| | | | | | | extension by Apple and Google. patch by Geoff Youngs. [ruby-core:33521] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30108 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in, win32/Makefile.sub (WERRORFLAG): flag to treatnobu2010-12-061-17/+40
| | | | | | | | | | | | | | warnings as errors. * lib/mkmf.rb (Logging.postpone): yield log file object. * lib/mkmf.rb (xsystem): add options, :werror only right now. * lib/mkmf.rb (with_werror): check as if warnings are errors. * lib/mkmf.rb (convertible_int): make declaration conflict warnings errors not to pass wrong type. [ruby-dev:42684] * lib/mkmf.rb (COMMON_MACROS): get rid of conflicts. * win32/Makefile.sub (WARNFLAGS): make declaration conflict warnings errors if possible. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30107 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/optparse.rb (OptionParser#candidate): skip separators.nobu2010-12-061-0/+1
| | | | | | | * sample/optparse/opttest.rb: should not override --help. [ruby-dev:42690] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30098 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/uri/common.rb (URI::Parser#initialize_pattern):naruse2010-12-061-1/+1
| | | | | | refix for restrict the pattern. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30091 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/uri/common.rb (URI::Parser#initialize_pattern):naruse2010-12-061-5/+6
| | | | | | workaround fix pattern of hostname for RFC 3986. [ruby-dev:42672] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30089 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (check_signedness): rename unused variable prelude.naruse2010-12-061-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30087 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/irb/init.rb (IRB.parse_opts): fix typo. [ruby-core:33574]nobu2010-12-051-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30085 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (String#tr_cpp): substitute * with P like asnobu2010-12-031-1/+1
| | | | | | autconf. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30072 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (convertible_int): define printf format prefix too.nobu2010-12-031-8/+10
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30070 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (convertible_int): detect convertible integer type.nobu2010-12-031-12/+68
| | | | | | port RUBY_REPLACE_INT from configure.in. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30069 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (check_sizeof): should return integer always.nobu2010-12-031-8/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30068 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/uri/common.rb (URI.encode_www_form):naruse2010-12-021-3/+21
| | | | | | split key-value when the value is Array like object. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30015 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/http.rb (Net::HTTP#set_form_data):naruse2010-12-021-11/+3
| | | | | | use URI.encode_www_form for application/x-www-form-urlencoded. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30014 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/test/unit.rb (Test::Unit::GCStressOption): --gc-stressnobu2010-12-011-0/+27
| | | | | | option. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30009 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/test/unit.rb (Test::Unit::Mini#_run_suites): show the resultnobu2010-12-011-2/+18
| | | | | | even when interrupted on the way. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30008 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fix positional wording in lib/net/http.rb to match revised orderdrbrain2010-12-011-11/+9
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30006 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Improve rdoc of net/http/http.rb.naruse2010-12-011-24/+22
| | | | | | | | * use URI(..) * normalize Net::HTTP.start() * use Net::HTTP.start(hostname, :use_ssl). Feature #2579 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30005 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/http.rb: improve rdoc.naruse2010-12-012-323/+289
| | | | | | | | This change the order of chapter because such overview should begin with simple examples. patched by Eric Hodel [ruby-core:33469] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30001 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Remove unused logicsnaruse2010-12-011-3/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29992 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Imported minitest 2.0.0 r5952. Fixed test/unit.rb to work with changesryan2010-12-016-112/+586
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29990 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Revert r29986: "Imported minitest 2.0.0 r5952"naruse2010-12-015-585/+101
| | | | | | | | | | | | | This breaks test-all: * two test-all errors (test_run_passing and test_run_failing_filtered). * -v option to test-all is ignored Additional to say, please describe summary of the change when you import from external repository. And, RUN test-all BEFORE COMMIT. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29988 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Imported minitest 2.0.0 r5952ryan2010-11-305-101/+585
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29986 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/http.rb: improve rdoc.naruse2010-11-301-10/+65
| | | | | | patched by Eric Hodel ref #4100 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29981 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/http.rb: improve rdoc.naruse2010-11-301-142/+273
| | | | | | patched by mathew murphy [ruby-core:33472] ref #4100 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29979 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Improve documentation for URI::Common#encode_www_form, ↵drbrain2010-11-291-9/+12
| | | | | | | | OpenSSL::SSL::SSLContext#ssl_version=. Add documentation for OpenSSL::SSL::SSLContext#ciphers git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29977 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/uri/common.rb (URI::WFKV_): get rid of backtrack explosionnobu2010-11-291-1/+1
| | | | | | by nested repeat operators. [ruby-core:33464] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29976 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/http.rb: improve rdoc.naruse2010-11-271-66/+60
| | | | | | patched by Mike Perham [ruby-core:33433] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29953 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * resolv.rb (Resolv::DNS): use the same DNS server when retry using TCP.akr2010-11-271-4/+3
| | | | | | | reported by Julian Mehnle. [ruby-core:32970] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29950 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/optparse.rb (OptionParser#candidate): : was missing. Thanks,shugo2010-11-271-1/+1
| | | | | | Shota Fukumori. [ruby-dev:42634] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29947 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/optparse.rb (OptionParser#candidate): get rid of 1.9 syntaxnobu2010-11-271-2/+2
| | | | | | so that BASERUBY can be 1.8. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29945 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/date/delta/parser.{ry,rb}: fixed a bug of token scanner.tadf2010-11-222-5/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29883 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/date.rb (daynum): should be private.tadf2010-11-221-0/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29879 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (create_makefile): should not duplicate rules.nobu2010-11-221-2/+3
| | | | | | | bug fix of r29842. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29870 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/date.rb: some improvements for performance.tadf2010-11-211-11/+32
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29846 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb: adding compilation support for ObjC/ObjC++ extensions.tenderlove2010-11-191-9/+2
| | | | | | Thanks Scott Gonyea! [ruby-core:33260] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29842 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/optparse.rb: shell completion support for zsh. based onnobu2010-11-191-0/+49
| | | | | | <http://d.hatena.ne.jp/rubikitch/20071002/zshcomplete> git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29834 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/optparse.rb: shell completion support for bash.nobu2010-11-191-8/+62
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29832 b2dd03c8-39d4-4d8f-98ff-823fe69b080e