aboutsummaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* * lib/foerwardable.rb: should be usable def_single_delegator forkeiju2008-11-281-18/+111
| | | | | | | | Class and Module. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20385 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add comment and test.akr2008-11-261-2/+32
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20365 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/date/format.rb (strftime): ignores '_' flag for %[LN].tadf2008-11-241-0/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20347 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/date.rb (inspect): changed again.tadf2008-11-241-1/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20337 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/time.rb: r20251 reverted. The patched behavior do not roundmatz2008-11-241-28/+28
| | | | | | trip. [ruby-core:19988] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20335 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/logger.rb (Logger): should handle the case that cvs/svn domatz2008-11-191-1/+7
| | | | | | not expand $Id keyword. [ruby-core:19991] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20290 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/minitest/unit.rb (MiniTest::Assertions#capture_io): adjustmatz2008-11-191-5/+5
| | | | | | indentation to shut up warning. [ruby-core:19993] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20288 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fixed NoMethodError problem from NaHi [ruby-dev:37110].seki2008-11-181-0/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20257 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/time.rb: according to RFC2822, -0000 means local time, +0000matz2008-11-181-28/+28
| | | | | | means UTC. a patch from Chun Wang. [ruby-core:19578] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20251 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/ftp.rb (Net::FTP#open_socket): SOCKSsocket is obsolete.matz2008-11-181-2/+2
| | | | | | | a patch from Alan Johnson <alan.wayne.johnson at gmail.com> in [ruby-core:19982]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20249 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/logger.rb (ProgName): fixed typo.nobu2008-11-181-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20247 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/logger.rb (ProgName): fixed for svn, based on a patch fromnobu2008-11-181-2/+2
| | | | | | | Nobuhiro IMAI at [ruby-dev:37108]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20245 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/webrick/httprequest.rb (WEBrick::HTTPRequest#read_request_line): matz2008-11-181-1/+1
| | | | | | | use possessive match for path retrieval to avoid huge recursion for insanely long path. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20244 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/optparse.rb (OptionParser::make_switch): makes defaultnobu2008-11-181-1/+6
| | | | | | | conversion to splat. [ruby-list:45645] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20242 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/uri/generic.rb (URI::Generic#check_path): REL_PATH should amatz2008-11-111-1/+1
| | | | | | symbol. [ruby-core:19805] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20222 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rubygems/timer.rb: removed svn:executable.yugui2008-11-112-0/+0
| | | | | | | | | | | | | | | | | | * lib/rubygems/validator.rb: ditto * test/cgi/test_cgi_modruby.rb: ditto * test/cgi/test_cgi_multipart.rb: ditto * test/cgi/test_cgi_session.rb: ditto: ditto * test/cgi/testdata/file1.html: ditto * test/cgi/testdata/small.png: ditto * test/cgi/testdata/large.png: ditto * test/cgi/test_cgi_core.rb: ditto * test/cgi/test_cgi_header.rb: ditto * test/cgi/test_cgi_cookie.rb: ditto * test/cgi/test_cgi_tag_helper.rb: ditto git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20215 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/date.rb (inspect): reverted the previous change.tadf2008-11-111-3/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20209 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/date.rb (inspect): changed the format.tadf2008-11-101-1/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20175 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/delegate.rb (Delegator.delegating_block): should not refermatz2008-11-101-1/+1
| | | | | | | DelegateClass specific @delegate_dc_obj. a patch from Erik Hollensbe in [ruby-core:19671]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20169 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/cgi/session/pstore.rb: fix indentation.xibbar2008-11-081-25/+25
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20158 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/cgi/session.rb (FileStore): use marshalized data.xibbar2008-11-081-2/+2
| | | | | | | | * test/cgi/session_dir: add a session directory in test. * test/cgi/test_cgi_session.rb: add a test. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20156 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/cgi/session.rb: remove debug code. xibbar2008-11-081-2/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20155 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/cgi/session.rb: fix indentation. xibbar2008-11-081-64/+66
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20154 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/webrick/httpproxy.rb (WEBrick::HTTPProxyServer#do_CONNECT):matz2008-11-089-26/+26
| | | | | | | | | | | | use #bytesize instead of #size. a patch submitted from raspberry lemon in [ruby-core:18571]. * lib/webrick/httpauth/digestauth.rb, lib/webrick/httpproxy.rb, lib/webrick/httprequest.rb, lib/webrick/httpservlet/cgi_runner.rb, lib/webrick/httpservlet/abstract.rb, lib/webrick/httpresponse.rb, lib/webrick/httpservlet/cgihandler.rb, lib/webrick/utils.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20152 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/optparse.rb (OptionParser#make_switch): 1.9 Symbols respondmatz2008-11-081-1/+1
| | | | | | | to :match. a patch from keith cascio, <keith at ucla.edu>. [ruby-core:19730] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20149 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/irb.rb (IRB::Irb#eval_input): remove extra @context.prompt_i.matz2008-11-071-1/+1
| | | | | | [ruby-core:19718] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20129 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/yaml/rubytypes.rb: support Rational and Complex as 1.8matz2008-11-061-0/+38
| | | | | | does. a patch from Hiroshi Moriyama in [ruby-dev:36899]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20126 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rexml/entity.rb (unnormalized): do not callshugo2008-11-061-1/+1
| | | | | | | | | | document.record_entity_expansion if document is nil. see <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=502535>. Thanks, Naohisa Goto. * test/rexml/test_document.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20120 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/test/unit.rb: sorry, removed debug code.usa2008-11-041-1/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20106 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/test/unit.rb (Test::Unit.setup_argv): now can specify ``-xname''usa2008-11-041-5/+6
| | | | | | | | instead of ``-x name''. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20105 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Don't require rubygems/defaults from gem_prelude.rb.drbrain2008-10-312-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20085 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rss/converter.rb (RSS::Converter): use String#encode.kou2008-10-311-1/+9
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20079 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/webrick/httpauth/digestauth.rbmame2008-10-311-1/+1
| | | | | | | (WEBrick::HTTPAuth::DigestAuth#initialize): fix typo. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20078 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merged r19975 and r19978 from ruby_1_9_1 into trunk.yugui2008-10-281-1/+1
| | | | | | | | | * gem_prelude.rb: considers --program-suffix and prefix configure options. * lib/rubygems/defaults.rb: ditto. * test/rubygems/test_gem.rb (@default_dir_re): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19988 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Update to RubyGems 1.3.1 r1909.drbrain2008-10-2511-157/+204
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19941 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Imported minitest 1.3.0 r4429. Fixes issues reported by akira and noburyan2008-10-251-10/+13
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19940 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/csv.rb: Fixed a bug in read_to_char() that would slurpjeg22008-10-251-8/+11
| | | | | | | | | | | | | whole files if the encoding was invalid. It will now read up to 10 bytes ahead to find a valid character boundary or give up. [ruby-core:19465] * test/csv/test_features.rb, test/csv/test_table.rb, test/csv/test_row.rb: Loosened some tests to check for a compatible? Encoding instea of an exact Encoding. [ruby-core:19470] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19931 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Import RDoc 2.2.2 r192drbrain2008-10-245-11/+21
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19930 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (sitedir): considers --program-prefix andyugui2008-10-241-2/+4
| | | | | | | | | | | | | | | | --program-suffix. (vendordir): ditto. (rubyhdrdir): ditto. * mkconfig.rb (CONFIG["rubylibdir"]): ditto. * win32/Makefile.sub: ditto. * instruby.rb (:rdoc): ditto. * lib/rdoc/ri/paths.rb (RDoc::RI::Paths): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19923 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/cgi/html.rb: allow symbolized key. xibbar2008-10-241-2/+2
| | | | | | | * test/cgi/test_cgi_tag_helper.rb: add a test. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19919 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mathn.rb: moved into ext/mathn/rational/rational.c andkeiju2008-10-241-95/+3
| | | | | | | | | ext/mathn/complex/complex.c. * ext/mathn: new mathn ext-libralies. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19911 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/cgi/core.rb (read_multipart): change field value as Stringxibbar2008-10-241-1/+23
| | | | | | | | | | from StringIO of Tempfile when multipart parse without file field. add files method that can uploaded files. [ruby-dev:36547] * test/cgi/test_cgi_multipart.rb: fix the test for core.rb. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19906 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/irb/init.rb (IRB.load_modules): catch LoadError explicitly.matz2008-10-231-2/+2
| | | | | | | a patch from Daniel Berger <Daniel.Berger at qwest.com> in [ruby-core:19451]. fix [ruby-core:19450] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19899 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (create_tmpsrc): get rid of side effects.nobu2008-10-221-2/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19891 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/test/unit.rb (assert_nothing_raised): raise with backtrace.nobu2008-10-211-3/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19871 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/test/unit.rb (assert_nothing_raised): set backtrace.akr2008-10-211-1/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19870 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/cgi/core.rb (read_multipart): file's encoding is ascii-8bitxibbar2008-10-201-6/+6
| | | | | | | from file field of multipart form. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19858 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/test/unit.rb (Test::Unit.setup_argv): call given block forakr2008-10-191-18/+20
| | | | | | | | | | | | filtering files. * test/runner.rb: search srcdir/test/arg, srcdir/arg. * bin/testrb: show usage if no files given. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19849 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/cmath.rb (log2,cbrt,frexp,ldexp,hypot,erf,erfc,gamma,lgamma):tadf2008-10-181-0/+10
| | | | | | | | should be also privided as module function. [ruby-dev:36787] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19845 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/test/unit.rb (assert_nothing_thrown): don't intern.akr2008-10-181-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19840 b2dd03c8-39d4-4d8f-98ff-823fe69b080e