summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* merges r20713 from trunk into ruby_1_9_1.yugui2008-12-131-2/+6
| | | | | | | | * lib/minitest/test.rb (MinTest::Unit#location): skips user-defined assertions as MiniTest's. e.g. for test/ruby/test_m17n.rb. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@20716 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r20686 from trunk into ruby_1_9_1.yugui2008-12-132-7/+14
| | | | | | Imported minitest 1.3.2 r4503. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@20711 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r20646 and r20647 from trunk into ruby_1_9_1.yugui2008-12-131-3/+3
| | | | | | | * lib/cmath.rb (sqrt): should pass nan or infinity to the original method. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@20703 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r20632 from trunk into ruby_1_9_1.yugui2008-12-133-112/+124
| | | | | | | | * lib/test/unit/assertions.rb: extracted from lib/test/unit.rb. lib/test/unit/testcase.rb: ditto. at asakusa.rb. [ruby-core:20014] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@20702 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r20629 from trunk into ruby_1_9_1.yugui2008-12-131-0/+4
| | | | | | | * lib/pathname.rb (Pathname#=~): undefed. at asakusa.rb. [ruby-core:19690] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@20700 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r20620 from trunk into ruby_1_9_1.yugui2008-12-133-1/+5
| | | | | | | | | | | | | * lib/rexml/document.rb (REXML::Document#write): require rexml/formatters/transitive if transitive flag is on. a patch from akira yamada in [ruby-dev:36230]. fix #553 * lib/rexml/element.rb (REXML::Element#write): ditto. * lib/rexml/formatters/transitive.rb (REXML::Formatters::Transitive#write_element): add hack for IE. [ruby-dev:36230] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@20695 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r20604 from trunk into ruby_1_9_1.yugui2008-12-131-1/+1
| | | | | | | | * enumerator.c (enumerator_next): Fix a typo: s/rewinded/rewound/. * lib/prime.rb (Prime::OldCompatibility#each): Ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@20691 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r20496 from trunk into ruby_1_9_1.yugui2008-12-041-0/+1
| | | | | | | * lib/rubygems/validator.rb (Gem#remove_leading_dot_dir): make this method private. a patch from okkez in [ruby-dev:37245] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@20510 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r20492 from trunk into ruby_1_9_1.yugui2008-12-041-1/+1
| | | | | | | * lib/gserver.rb: fixed type in sample code. a report from Oleg Puchinin. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@20509 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r20491 from trunk into ruby_1_9_1.yugui2008-12-041-1/+1
| | | | | | | * lib/rubygems/local_remote_options.rb (Gem#add_update_sources_option): little documentation fix. a patch from okkez. [ruby-dev:37271] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@20508 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r20454 from trunk into ruby_1_9_1.yugui2008-12-041-0/+11
| | | | | | | | | * lib/rexml/xpath.rb (REXML::XPath.first): apply documentation patch from Ken Bloom in [ruby-core:20213]. * lib/rexml/xpath.rb (REXML::XPath.each): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@20489 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r20365 from trunk into ruby_1_9_1.yugui2008-11-301-2/+32
| | | | | | * add comment and test. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@20419 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r20347 from trunk into ruby_1_9_1.yugui2008-11-301-0/+2
| | | | | | * lib/date/format.rb (strftime): ignores '_' flag for %[LN]. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@20408 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/time.rb: reverts r20305. [ruby-dev:37144].yugui2008-11-221-28/+28
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@20329 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r20290 from trunk into ruby_1_9_1yugui2008-11-221-1/+7
| | | | | | | * lib/logger.rb (Logger): should handle the case that cvs/svn do not expand $Id keyword. [ruby-core:19991] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@20321 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r20288 from trunk into ruby_1_9_1.yugui2008-11-221-5/+5
| | | | | | | * lib/minitest/unit.rb (MiniTest::Assertions#capture_io): adjust indentation to shut up warning. [ruby-core:19993] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@20320 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r20257 from trunk into ruby_1_9_1.yugui2008-11-221-0/+1
| | | | | | fixed NoMethodError problem from NaHi [ruby-dev:37110]. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@20308 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r20251 from trunk into ruby_1_9_1.yugui2008-11-221-28/+28
| | | | | | | * lib/time.rb: according to RFC2822, -0000 means local time, +0000 means UTC. a patch from Chun Wang. [ruby-core:19578] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@20305 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r20249 from trunk into ruby_1_9_1.yugui2008-11-181-2/+2
| | | | | | | | * lib/net/ftp.rb (Net::FTP#open_socket): SOCKSsocket is obsolete. a patch from Alan Johnson <alan.wayne.johnson at gmail.com> in [ruby-core:19982]. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@20273 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r20245 and r20246 from trunk into ruby_1_9_1.yugui2008-11-181-2/+2
| | | | | | | * lib/logger.rb (ProgName): fixed for svn, based on a patch from Nobuhiro IMAI at [ruby-dev:37108]. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@20272 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r20244 from trunk into ruby_1_9_1.yugui2008-11-181-1/+1
| | | | | | | | * lib/webrick/httprequest.rb (WEBrick::HTTPRequest#read_request_line): use possessive match for path retrieval to avoid huge recursion for insanely long path. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@20271 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r20242 from trunk into ruby_1_9_1. recovers 1.8-compatibleyugui2008-11-181-1/+6
| | | | | | | | parsing for OptionParser. * lib/optparse.rb (OptionParser::make_switch): makes default conversion to splat. [ruby-list:45645] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@20269 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r20222 from trunk into ruby_1_9_1.yugui2008-11-181-1/+1
| | | | | | | * lib/uri/generic.rb (URI::Generic#check_path): REL_PATH should a symbol. [ruby-core:19805] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@20258 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r20163 and r20215 from trunk into ruby_1_9_1.yugui2008-11-112-0/+0
| | | | | | | properties. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@20217 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r20175 from trunk into ruby_1_9_1.yugui2008-11-111-1/+3
| | | | | | * lib/date.rb (inspect): changed the format. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@20205 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r20169 from trunk into ruby_1_9_1.yugui2008-11-111-1/+1
| | | | | | | | * lib/delegate.rb (Delegator.delegating_block): should not refer DelegateClass specific @delegate_dc_obj. a patch from Erik Hollensbe in [ruby-core:19671]. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@20203 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r20154-20158, r20161 from trunk into ruby_1_9_1.yugui2008-11-112-89/+89
| | | | | | | | | | | | * lib/cgi/session/pstore.rb: fix indentation. * lib/cgi/session.rb (FileStore): use marshalized data. * test/cgi/session_dir: add a session directory in test. * test/cgi/test_cgi_session.rb: add a test. * test/cgi/test_cgi_multipart.rb: 1.9 support. * test/cgi/test_cgi_session.rb: ditto. * test/cgi/test_cgi_tag_helper.rb: ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@20200 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r20152 from trunk into ruby_1_9_1.yugui2008-11-119-26/+26
| | | | | | | | | | | | | * lib/webrick/httpproxy.rb (WEBrick::HTTPProxyServer#do_CONNECT): 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: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@20199 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r20149 from trunk into ruby_1_9_1.yugui2008-11-111-1/+1
| | | | | | | | * lib/optparse.rb (OptionParser#make_switch): 1.9 Symbols respond to :match. a patch from keith cascio, <keith at ucla.edu>. [ruby-core:19730] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@20197 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r20128 from trunk into ruby_1_9_1.yugui2008-11-111-1/+1
| | | | | | | * lib/irb.rb (IRB::Irb#eval_input): remove extra @context.prompt_i. [ruby-core:19718] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@20186 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r20126 from trunk into ruby_1_9_1.yugui2008-11-111-0/+38
| | | | | | | * lib/yaml/rubytypes.rb: support Rational and Complex as 1.8 does. a patch from Hiroshi Moriyama in [ruby-dev:36899]. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@20184 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r20120 from trunk into ruby_1_9_1.yugui2008-11-111-1/+1
| | | | | | | | | | * lib/rexml/entity.rb (unnormalized): do not call 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: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@20182 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r20085 from trunk into ruby_1_9_1.yugui2008-11-042-1/+5
| | | | | | * Don't require rubygems/defaults from gem_prelude.rb. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@20107 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r20079 from trunk into ruby_1_9_1.yugui2008-10-311-1/+9
| | | | | | * lib/rss/converter.rb (RSS::Converter): use String#encode. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@20084 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/webrick/httpauth/digestauth.rbmame2008-10-311-1/+1
| | | | | | | (WEBrick::HTTPAuth::DigestAuth#initialize): fix typo. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@20078 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gem_prelude.rb: considers --program-suffix and prefix configureyugui2008-10-281-1/+1
| | | | | | | | options. * lib/rubygems/defaults.rb: ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@19975 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Update to RubyGems 1.3.1 r1909.drbrain2008-10-2511-157/+204
| | | | git-svn-id: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/ruby/trunk@19931 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Import RDoc 2.2.2 r192drbrain2008-10-245-11/+21
| | | | git-svn-id: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/ruby/trunk@19849 b2dd03c8-39d4-4d8f-98ff-823fe69b080e