aboutsummaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* * remove trailing spaces.nobu2011-05-1523-64/+64
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31573 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/erb.rb: Document ERB::Compiler. Patch by Simon Chiang.drbrain2011-05-141-6/+91
| | | | | | | [Ruby 1.9 - Bug #4694] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31571 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/yaml/dbm.rb: fix a typo in a comment.nagachika2011-05-141-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31563 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc/context.rb (class RDoc): Fix infinite loop caused bydrbrain2011-05-141-0/+13
| | | | | | | re-encountering BasicObject. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31561 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/yaml/dbm.rb: Add documentation. Patch by Justin Collins.drbrain2011-05-142-7/+153
| | | | | | | | [Ruby 1.9 - Bug #4693] * lib/yaml/store.rb: ditto git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31559 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc.rb: Updated to RDoc 3.6drbrain2011-05-1416-88/+198
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31558 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/uri.rb: Add toplevel documentation. Patch by Vincent Batts.drbrain2011-05-139-13/+110
| | | | | | | [Ruby 1.9 - Bug #4690] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31555 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/ipaddr.rb (unless Socket): Document valid*? methods. Patch bydrbrain2011-05-131-0/+3
| | | | | | | Sebastian Martinez. [Ruby 1.9 - Feature #4687] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31552 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rexml/functions.rb: Add some documentation for REXML::Functions.drbrain2011-05-131-0/+7
| | | | | | | Patch by Sebastian Martinez. [Ruby 1.9 - Feature #4688] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31551 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/resolv.rb: Hide private method and state-tracking constants fromdrbrain2011-05-131-3/+3
| | | | | | | RDoc. Patch by Mark Turner. [Ruby 1.9 - Feature #4691] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31549 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/logger.rb: format comments to keep 80 columns in a line.nagachika2011-05-134-8/+11
| | | | | | | | * lib/uri/common.rb: ditto. * lib/uri/ftp.rb: ditto. * lib/uri/ldap.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31548 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc/rdoc.rb: Output summary after documentation report.drbrain2011-05-122-24/+21
| | | | | | | | * lib/rdoc/stats/normal.rb: Don't output information for users when we're not on a TTY git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31542 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/fileutils.rb: Hide internal methods from RDoc. Patch by Darraghdrbrain2011-05-121-5/+5
| | | | | | | Curran. [Ruby 1.9 - Bug #4684] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31541 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/webrick/httpservlet/erbhandler.rb: Add documentation.drbrain2011-05-121-0/+33
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31540 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mathn.rb: Fix indentation. Patch by Jason Dew.drbrain2011-05-121-47/+50
| | | | | | | [Ruby 1.9 - Feature #4682] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31539 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mathn.rb: Add documentation. Patch by Jason Dew. [Ruby 1.9 -drbrain2011-05-121-6/+29
| | | | | | | Feature #4667] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31538 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/logger.rb (class Logger): Document Logger#datetime_format.drbrain2011-05-121-0/+1
| | | | | | | Patch by Sergio Gil Pérez de la Manga. [Ruby 1.9 - Bug #4678] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31537 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * re.c (Init_Regexp): Document option constants. Patch by Vincentdrbrain2011-05-128-6/+678
| | | | | | | | | | | | | | | | | | Batts. [Ruby 1.9 - Bug #4677] * lib/uri/common.rb (module URI): Documentation for URI. Patch by Vincent Batts. [Ruby 1.9- Bug #4677] * lib/uri/ftp.rb (module URI): ditto * lib/uri/generic.rb (module URI): ditto * lib/uri/http.rb (module URI): ditto * lib/uri/https.rb (module URI): ditto * lib/uri/ldap.rb (module URI): ditto * lib/uri/ldaps.rb (module URI): ditto * lib/uri/mailto.rb (module URI): ditto * process.c (Init_process): Document Process constants. Patch by Vincent Batts. [Ruby 1.9- Bug #4677] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31536 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rss/atom.rb (module RSS): Document URIs. Patch by Mark Turner.drbrain2011-05-122-0/+38
| | | | | | | | | [Ruby 1.9 - #4671] * lib/rss/rss.rb (module RSS): Document exception classes. Patch by Mark Turner. [Ruby 1.9 - #4671] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31535 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (Logging.postpone): copy only when tmporary logfileusa2011-05-121-1/+1
| | | | | | | exists. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31529 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/set.rb (class Set): Add nodoc to internal-use methods. Patch by ↵drbrain2011-05-111-2/+2
| | | | | | Pete Higgins. [Ruby 1.9 - Bug #4665] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31527 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * object.c (rb_obj_equal): Add documentation. Patch by Vincent Batts.drbrain2011-05-114-0/+30
| | | | | | | | | | [Ruby 1.9 - Bug #4664] * lib/rexml: ditto * lib/mkmf.rb: ditto * ext/socket/lib/socket.rb: ditto git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31525 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Various .document files: Update .document files to match files whichdrbrain2011-05-116-115/+1
| | | | | | | have documentation. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31524 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/forwardable.rb: support 'delegate :foo => :bar' for to meetkeiju2011-05-111-2/+2
| | | | | | | | by specification of RDOC. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31507 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/csv.rb: fix a typo.nagachika2011-05-114-4/+4
| | | | | | | | * lib/logger.rb: ditto * lib/rss.rb: ditto * lib/webrick/httpauth/authenticator.rb: ditto git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31506 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/webrick: Add documentation for WEBrick::HTTPAuthdrbrain2011-05-109-17/+281
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31505 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rss.rb: Add documentation. Patch by Steve Klabnik.drbrain2011-05-101-4/+76
| | | | | | | [Ruby 1.9 - Bug #4663] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31503 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/test/unit.rb: Add option for hiding skip messages when testsorah2011-05-101-0/+5
| | | | | | | | | ends. #4657 * test/testunit/test_hideskip.rb, test/testunit/test4test_hideskip.rb: test for above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31502 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/webrick: Add Documentationdrbrain2011-05-1011-18/+587
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31499 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/webrick/log.rb: Hide copyright info from ridrbrain2011-05-098-8/+8
| | | | | | | | | | | | | * lib/webrick/httpstatus.rb: ditto * lib/webrick/htmlutils.rb: ditto * lib/webrick/httpversion.rb: ditto * lib/webrick/version.rb: ditto * lib/webrick/httpauth/userdb.rb: ditto * lib/webrick/httpauth/authenticator.rb: ditto * lib/webrick/accesslog.rb: ditto git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31497 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/time.rb (xmlschema): avoid passing any negative numbers.tadf2011-05-081-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31481 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/fileutils.rb (FileUtils#chmod): accept symbolic mode argument.kosaki2011-05-011-2/+90
| | | | | | | | | | | | | | | | | The patch was written by takkanm. [ruby-core:26029][Feature #2190] * lib/fileutils.rb (FileUtils#fu_mode): new helper function. * lib/fileutils.rb (FileUtils#symbolic_modes_to_i): ditto. * lib/fileutils.rb (FileUtils#mode_mask): ditto. * lib/fileutils.rb (FileUtils#user_mask): ditto. * test/fileutils/test_fileutils.rb (TestFileUtils#test_chmod_symbol_mode): new test for the above symbolic mode. * test/fileutils/test_fileutils.rb (TestFileUtils#test_chmod_R): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31407 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/csv.rb (CSV::open): suppress universal newline decorator.nobu2011-04-271-4/+12
| | | | | | fixes #4603 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31370 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/csv.rb (CSV.read): no mode is needed.nobu2011-04-271-5/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31369 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * strip trailing spaces.nobu2011-04-261-4/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31357 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/time.rb: require 'date'.tadf2011-04-241-1/+1
| | | | | | | * ext/date/lib/date/format.rb: removed require line. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31339 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Use Float#finite?.naruse2011-04-221-2/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31321 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/xmlrpc/create.rb (XMLRPC::Create#conv2value):naruse2011-04-221-4/+4
| | | | | | | | | | XML-RPC's int is 32bit int, and Fixnum also may be beyond 32bit. * lib/xmlrpc/create.rb (XMLRPC::Create#conv2value): XML-RPC doesn't allow Infinity and NaN. http://www.xmlrpc.com/spec git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31319 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/uri/generic.rb (#route_from_path): Fix a bug whereknu2011-04-151-15/+11
| | | | | | | | | URI('http://h/b/').route_to('http://h/b') wrongly returned './' (should be '../b'). [Bug #4476] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31288 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/fileutils.rb (FileUtils#touch): Fix corrupted output whenknu2011-04-151-1/+1
| | | | | | | | | | :mtime is specified in addition to :nocreate (and :verbose). ref [ruby-dev:43401] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31287 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/test/unit.rb (Test::Unit::Options#setup_options): set possiblenobu2011-04-141-3/+4
| | | | | | values for completion. no conversion is needed. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31285 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/test/unit.rb (Test::Unit::Runner::Worker#initialize): usenobu2011-04-141-5/+5
| | | | | | positional arguments instead of keyword arguments. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31284 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/test/unit.rb (Test::Unit::Runner#jobs_status): io/console maynobu2011-04-141-6/+10
| | | | | | | not be available. use 80 as the last resort if IO#winsize and COLUMNS are unavailable. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31283 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/test/unit.rb (Test::Unit::Runner::Worker#died): rename using anobu2011-04-141-4/+4
| | | | | | verb. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31282 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/test/unit.rb (Test::Unit::Runner#_run_parallel): check if workernobu2011-04-141-3/+4
| | | | | | is signaled and use its exit status. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31281 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/test/unit.rb (Test::Unit::Runner::Worker#dead): no longer @innobu2011-04-141-2/+1
| | | | | | and @out are separated. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31280 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/fileutils.rb (FileUtils#touch): fix corrupted output whenkosaki2011-04-141-1/+1
| | | | | | | | | FileUtils.touch(:nocreate => true, :verbose => true) case. The patch was written by Hiroyuki Iwatsuki. [ruby-dev:43401] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31273 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/uri/common.rb: avoid race condition. fixes #4572naruse2011-04-121-9/+19
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31266 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fri Apr 1 18:53:06 2011 NAKAMURA, Hiroshi <nahi@ruby-lang.org>nahi2011-04-011-1/+1
| | | | | | | | | | | | | * lib/webrick/cookie.rb (WEBrick::Cookie.parse): 'white space is permitted between tokens' according to RFC2965. Though 'Netscape spec' does not define the syntax clearly, make it tolerant as a server. As a real-world example, rest-client gem sends 'Cookie: foo=1;bar=2' * test/webrick/test_cookie.rb (test_parse_non_whitespace): test it. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31228 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rubygems/test_case.rb: save current dir to @current_dirnaruse2011-03-221-1/+2
| | | | | | before Dir.chdir. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31151 b2dd03c8-39d4-4d8f-98ff-823fe69b080e