aboutsummaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* * 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
* * lib/mkmf.rb (have_framework): added.nobu2010-07-271-0/+27
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28765 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mutex_m.rb (sleep): added Mutex_m#sleep to support ConditionVariable.shugo2010-07-231-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28731 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Load gems properly. Fixes [ruby-core:31377]evan2010-07-211-1/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28703 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/uri/common.rb: Have URI#route_to, URI#route_from acceptmarcandre2010-07-212-36/+7
| | | | | | | | string-like arguments [ruby-core:30961] * lib/uri/generic.rb: ditto for URI.join, URI#merge git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28699 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/cmath.rb (CMath#cbrt): cbrt should accept a negative realmame2010-07-211-1/+1
| | | | | | numbers. [ruby-core:31234] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28698 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/uri/common.rb: Have URI() and URI.join accept URI objects in additionmarcandre2010-07-211-9/+20
| | | | | | to strings. [ruby-core:30960] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28697 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Be sure to load the custom require even if --disable-rubygems was usedevan2010-07-201-3/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28695 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Pull rubygem's custom require into gem_preludeevan2010-07-202-12/+18
| | | | | | | | This solves the gem loading issue by never touching $LOAD_PATH in gem_prelude and instead loading all of rubygems more quickly. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28693 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/fileutils.rb (FileUtils::Entry_#copy): check file namenobu2010-07-201-1/+12
| | | | | | spearator boundary. [ruby-core:31360] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28685 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/test/unit.rb (MiniTest::Unit#process_args): refactored.nobu2010-07-171-59/+116
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28668 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/pathname/lib/pathname.rb: moved from lib/pathname.rb.akr2010-07-171-1053/+0
| | | | | | | | | | | | require pathname.so. * ext/pathname/pathname.c: new file to define empty Pathname class. * ext/pathname/extconf.rb: new file. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28663 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/test/unit.rb: MiniTest::Unit is different class fromnobu2010-07-171-3/+40
| | | | | | Test::Unit, and install runner before loading test/minitest. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28658 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/test/unit.rb, bin/testrb, test/runner.rb: revert r28655, whichmame2010-07-161-32/+4
| | | | | | broke test-all. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28657 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/test/unit.rb (Test::Unit.setup_argv): run tests only whennobu2010-07-161-4/+32
| | | | | | | | | any tests have not run. * bin/testrb, test/runner.rb: use Test::Unit.start. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28655 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc/markup/attribute_manager.rb: fixing ri output when specialtenderlove2010-07-141-2/+2
| | | | | | | characters are inside html tags. Thanks Tomo Kazahaya! [Bug #3512] * test/rdoc/test_attribute_manager.rb: corresponding test. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28647 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/test/unit.rb (setup_argv): convert to using optparse, addingtenderlove2010-07-141-12/+21
| | | | | | --help and -I. [ruby-core:30154] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28645 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/csv.rb: Fix unused variable warnings.marcandre2010-07-119-21/+17
| | | | | | | | | | | | | | | | | | | | | | Patch by Run Paint [ruby-core:30991] * lib/date.rb: ditto * lib/debug.rb: ditto * lib/drb/drb.rb: ditto * lib/drb/invokemethod.rb: ditto * lib/irb/ruby-lex.rb: ditto * lib/irb/slex.rb: ditto * lib/logger.rb: ditto * lib/pathname.rb: ditto git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28619 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gem_prelude.rb: provide workaround for gem activation. Currently,mame2010-07-071-4/+16
| | | | | | | | | | gem activation does not work by default. Now it can be worked around by requiring "rubygems" first. [ruby-core:29486] a patch from Evan Phoenix in [ruby-core:31096]. * lib/rubygems.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28570 b2dd03c8-39d4-4d8f-98ff-823fe69b080e