aboutsummaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* * lib/rexml/xpath_parser.rb, test/rexml/test_xpath.rb:kou2010-09-171-1/+2
| | | | | | | | add missing method availability check. [ruby-core:32447] Reported by Wiebe Cazemier. Thanks!!! git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29288 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/tracer.rb: count only non-internal libraries in stack trace,nobu2010-09-161-1/+1
| | | | | | | | ignoring custom_require. [ruby-core:31858] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29280 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/test/unit.rb (Test::Unit::GlobOption): merged RejectOption.nobu2010-09-161-28/+22
| | | | | | * test/runner.rb: utilize GlobOption. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29274 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc/ri/driver.rb (RDoc::RI::Driver.setup_options)nobu2010-09-161-12/+17
| | | | | | | | (RDoc::RI::Driver.fixup_options): split from process_args. libraries should not parse ARGV inside, since it's a task of applications, not libraries. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29273 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc/ri/paths.rb (RDoc::RI::Paths.each): HOMEDIR can be nilnobu2010-09-161-2/+2
| | | | | | if $HOME is unset. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29272 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* reverting; ↵shyouhei2010-09-152-4/+0
| | | | | | http://rubyforge.org/tracker/?func=detail&atid=4099&aid=28566&group_id=1040 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29260 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/test/unit/assertions.rb (Test::Unit::Assertions::assert_nothing_raised):shyouhei2010-09-152-0/+4
| | | | | | | | | | | | | | should properly ignore MiniTest::Skip * lib/minitest/unit.rb (MiniTest::Assertions::assert_raises): ditto. * test/net/imap/test_imap.rb: Properly skip SSL tests when localhost is not 127.0.0.1. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29259 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (try_do): fix typo. a patch from Peter Weldonnobu2010-09-131-1/+1
| | | | | | at [ruby-core:32327]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29241 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/date.rb: [ruby-core:32096] Thanks Colin Bartlett.tadf2010-09-121-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29234 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* update document.akr2010-09-111-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29230 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* update document.akr2010-09-111-10/+10
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29228 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Add documentation for WEBrick's DigestAuthdrbrain2010-09-112-0/+69
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29224 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/webrick/httprequest.rb (WEBrick::HTTPRequest#continue): addnahi2010-09-101-0/+9
| | | | | | | | | | | method for generating HTTP/1.1 100 continue response if the client expects it, otherwise does nothing. Patch by Brian Candler. ref #855. * test/webrick/test_httprequest.rb: test added. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29218 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Imported minitest 1.7.1 r5835ryan2010-09-012-6/+50
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29159 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (tr_setup_table): fix bug in r29146.naruse2010-08-301-2/+2
| | | | | | | | | | Initialize table even if cflag is 0; tr_find see whether del is empty or not. * string.c (tr_find): nodel can't be NULL; if NULL, it means it is not specified. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29148 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc/parser/ruby.rb (RDoc#parse_call_parameters): don'tnobu2010-08-291-1/+1
| | | | | | include assignment. [Bug #3759], [ruby-dev:42154] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29141 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc/parser/ruby.rb (RDoc#parse_class): ignore non-constantnobu2010-08-291-1/+1
| | | | | | name signleton class. [Bug #3759], [ruby-dev:42154] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29140 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/tempfile.rb: not executable.nobu2010-08-291-0/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29134 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/date.rb, lib/date/format.rb: [ruby-core:31695]tadf2010-08-222-6/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29069 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/date.rb: Re-revert the part of r28950.naruse2010-08-171-5/+5
| | | | | | It reverted the part of r28619. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29021 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Tue Aug 17 07:38:43 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>nobu2010-08-161-1/+1
| | | | | | | * gem_prelude.rb, lib/rubygems.rb (Gem.suffixes): include empty suffix. [ruby-core:31730] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29017 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merge revision(s) 28997:shyouhei2010-08-161-1/+1
| | | | | | | | | | * lib/webrick/httpresponse.rb (WEBrick::HTTPResponse#set_error): Fix for possible cross-site scripting (CVE-2010-0541). Found by Apple, reported by Hideki Yamane. Patch by Hirokazu Nishio <nishio.hirokazu AT gmail.com>. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29002 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (Logging.postpone): close @log only when it's available.usa2010-08-151-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28995 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/test/unit.rb (MiniTest::Unit.new): extend before initialize.nobu2010-08-131-3/+7
| | | | | | | | [ruby-dev:41970] * lib/test/unit.rb (MiniTest::Unit.autorun): use Test::Unit::Mini. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28973 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/cmath.rb (CMath.sqrt): use floating-point value. [ruby-core:31672] ↵mrkn2010-08-111-1/+1
| | | | | | | | [Bug #3678] * test/test_cmath.rb: added for testing lib/cmath.rb. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28964 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/optparse.rb: suppress a warning.akr2010-08-101-1/+1
| | | | | | | | * test/test_mutex_m.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28954 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/date/format.rb (Date::Format::Bag): use Struct.tadf2010-08-101-18/+16
| | | | | | | as an experimental. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28953 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* [ruby-core:31658]tadf2010-08-102-6/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28950 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/webrick/httprequest.rb (WEBrick::HTTPRequest::parse_uri):naruse2010-08-101-0/+1
| | | | | | | | | | rollup leading slashes. [ruby-core:31657] patched by Jamison Wilde NOTE: //authority/path is valid relative URI both RFC2396 and RFC3986. So when give a relative URI-like string to URI lib, users must care leading slashes. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28945 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/un.rb (httpd): SIGQUIT and SIGHUP are not guaranteed to exist.usa2010-08-101-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28944 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rubygems/source_index.rb: rename unused variable.naruse2010-08-092-3/+3
| | | | | | | | * lib/rubygems/specification.rb: rename unused variable. * lib/rubygems/specification.rb: remove unused variable. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28938 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb ($ignore_error): initialize after $nmake.nobu2010-08-081-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28929 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rubygems.rb (Gem.find_files): reverted to use globbing.nobu2010-08-082-5/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28922 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rubygems.rb (Gem.find_files): fixed variable scope.nobu2010-08-081-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28921 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rubygems.rb (Gem.find_files): fixed search order same asnobu2010-08-082-8/+7
| | | | | | | | | default behavior. * lib/rubygems/gem_path_searcher.rb (matching_files): check if exist, not globbing. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28920 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gem_prelude.rb, lib/rubygems.rb (Gem.suffixes): return truelynobu2010-08-081-2/+2
| | | | | | require-able suffixes only. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28919 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rbconfig/obsolete.rb: show the location which use Config.akr2010-08-071-1/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28911 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * mkconfig.rb, lib/rbconfig/obsolete.rb: warn obsolete andnobu2010-08-071-0/+2
| | | | | | | deprecated Config. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28900 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb: change instance variable to global.naruse2010-08-071-4/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28897 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enc/depend: add space at the begginig of @ignore_error.naruse2010-08-061-1/+1
| | | | | | * lib/mkmf.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28883 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Makefile.in: ignore error from RMDIRS.naruse2010-08-061-3/+4
| | | | | | | | * enc/depend: ditto. * lib/mkmf.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28881 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (create_makefile): no need to create the directoryusa2010-08-041-2/+2
| | | | | | | at each library file. this change makes making ext faster. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28850 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc/ri/driver.rb (setup_pager): no need to check the existenceusa2010-08-031-1/+1
| | | | | | | | of pagers. the following code checks whether they are executable or not. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28842 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/purelib.rb: no longer used since the default load path ofnobu2010-08-021-1/+1
| | | | | | miniruby is empty. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28840 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/pp.rb: describe superclasses explicitly.akr2010-08-011-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28828 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/irb/init.rb (IRB.parse_opts): set VERBOSE to true when debugmame2010-08-011-0/+1
| | | | | | | switch called in irb. a patch from Andrew Grimm in [ruby-core:31558]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28816 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/webrick/ssl.rb (WEBrick::Utils.create_self_signed_cert):nahi2010-07-301-2/+2
| | | | | | | | merged r28784 from ruby_1_8: wrongly created dummy SSL certificate with version == 3 (no such version) and serial == 0 (must be >0). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28803 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/imap.rb: load io/console.nobu2010-07-301-3/+20
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28799 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/imap.rb (example): use IO#noecho to read password ifnobu2010-07-301-5/+5
| | | | | | possible, and defer until needed. [ruby-dev:41889] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28798 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/imap.rb (example): support starttls option.nobu2010-07-301-6/+10
| | | | | | [ruby-dev:41888] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28797 b2dd03c8-39d4-4d8f-98ff-823fe69b080e