aboutsummaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* * 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
* * lib/tempfile.rb (Tempfile#initialize): now Tempfile.new takesmatz2008-10-181-2/+12
| | | | | | keyword arguments to open(). [ruby-dev:36756] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19833 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/test/unit.rb (assert_nothing_thrown): implemented.akr2008-10-181-2/+13
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19828 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Removed manage_gems call in the rake gempackagetaskjim2008-10-161-6/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19814 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/test/unit.rb: sort the order of executing tests.mame2008-10-161-0/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19809 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/test/unit.rb (assert_equal): avoid incompatible characterakr2008-10-161-0/+10
| | | | | | | encodings error. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19802 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/test/unit.rb (assert_equal): failure message changed.akr2008-10-161-1/+16
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19801 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/test/unit: removed test/unit.akr2008-10-1622-3578/+125
| | | | | | | | | | | | * lib/test/unit.rb: new compatibility layer using minitest. * bin/testrb: use above. * test/runner.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19800 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/delegate.rb (DelegateClass): restored 1.8 behavior formatz2008-10-151-78/+70
| | | | | | DelegateClass as well. [ruby-dev:36739] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19795 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Pulled minitest r4373ryan2008-10-151-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19787 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/delegate.rb (Delegator): simplified and restored 1.8matz2008-10-141-13/+1
| | | | | | behavior. [ruby-dev:35986] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19786 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/pop.rb: check for invalid APOP timestamp. (CVE-2007-1558)kazu2008-10-141-1/+1
| | | | | | | | | [ruby-dev:36631] * test/net/pop/test_pop.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19776 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (CLEANINGS): uses escaped form tabs to preventing thenobu2008-10-111-9/+9
| | | | | | | confusion. [ruby-talk:317345] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19756 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rake.rb (Rake::Application#standard_exception_handling): removednobu2008-10-101-4/+4
| | | | | | | | unnecessary SystemExit, and exits with false instead of system dependent value. [ruby-talk:317330] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19755 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/csv/csv.rb: Added support for Encoding::default_internal.jeg22008-10-101-42/+42
| | | | | | | | * lib/csv/csv.rb: Switched to new Hash syntax. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19751 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fixed missing test/unit.rb, bad svn merge. Rolled back test/runner.rbryan2008-10-101-0/+280
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19743 b2dd03c8-39d4-4d8f-98ff-823fe69b080e