drbrain
8638efb23d
* lib/abbrev.rb: Hide copyright and revision information from RDoc.
...
Inspired by patch from David Copeland, bug #4703 .
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31593 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-16 18:51:56 +00:00
drbrain
d764be79b1
* lib/timeout.rb (module Timeout): Hide internal constants. Patch by
...
Pete Higgins. [Ruby 1.9 - Bug #4701 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31592 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-16 18:34:41 +00:00
drbrain
f4b52722aa
* lib/rdoc.rb: Update to RDoc 3.6.1, allows OpenSSL::Digest to be
...
found.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31586 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-15 23:00:21 +00:00
drbrain
366f2c1120
* lib/drb/acl.rb: Add documentation.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31585 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-15 20:50:49 +00:00
nobu
3a47cf3395
* remove trailing spaces.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31573 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-15 11:55:52 +00:00
drbrain
6d198d2377
* lib/erb.rb: Document ERB::Compiler. Patch by Simon Chiang.
...
[Ruby 1.9 - Bug #4694 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31571 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-14 18:24:11 +00:00
nagachika
61341e050f
* lib/yaml/dbm.rb: fix a typo in a comment.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31563 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-14 06:45:39 +00:00
drbrain
4bf8c87101
* lib/rdoc/context.rb (class RDoc): Fix infinite loop caused by
...
re-encountering BasicObject.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31561 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-14 03:07:38 +00:00
drbrain
61ebfd3a34
* lib/yaml/dbm.rb: Add documentation. Patch by Justin Collins.
...
[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
2011-05-14 00:50:39 +00:00
drbrain
0b6da24a5e
* lib/rdoc.rb: Updated to RDoc 3.6
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31558 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-14 00:39:16 +00:00
drbrain
10219ff621
* lib/uri.rb: Add toplevel documentation. Patch by Vincent Batts.
...
[Ruby 1.9 - Bug #4690 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31555 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-13 20:03:21 +00:00
drbrain
f347a9212e
* lib/ipaddr.rb (unless Socket): Document valid*? methods. Patch by
...
Sebastian Martinez. [Ruby 1.9 - Feature #4687 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31552 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-13 17:59:35 +00:00
drbrain
8dca379907
* lib/rexml/functions.rb: Add some documentation for REXML::Functions.
...
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
2011-05-13 17:54:22 +00:00
drbrain
cc48da67d8
* lib/resolv.rb: Hide private method and state-tracking constants from
...
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
2011-05-13 17:52:01 +00:00
nagachika
58355ea52a
* lib/logger.rb: format comments to keep 80 columns in a line.
...
* 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
2011-05-13 12:54:57 +00:00
drbrain
7ed51785df
* lib/rdoc/rdoc.rb: Output summary after documentation report.
...
* 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
2011-05-12 23:41:35 +00:00
drbrain
57580b76e8
* lib/fileutils.rb: Hide internal methods from RDoc. Patch by Darragh
...
Curran. [Ruby 1.9 - Bug #4684 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31541 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-12 22:49:40 +00:00
drbrain
d6e3bc4ce4
* lib/webrick/httpservlet/erbhandler.rb: Add documentation.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31540 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-12 22:37:01 +00:00
drbrain
8c47d51883
* lib/mathn.rb: Fix indentation. Patch by Jason Dew.
...
[Ruby 1.9 - Feature #4682 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31539 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-12 22:04:59 +00:00
drbrain
6e10135d47
* lib/mathn.rb: Add documentation. Patch by Jason Dew. [Ruby 1.9 -
...
Feature #4667 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31538 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-12 21:51:41 +00:00
drbrain
f154226900
* lib/logger.rb (class Logger): Document Logger#datetime_format.
...
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
2011-05-12 20:45:45 +00:00
drbrain
e2b3183fc2
* re.c (Init_Regexp): Document option constants. Patch by Vincent
...
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
2011-05-12 20:39:11 +00:00
drbrain
78e06ab194
* lib/rss/atom.rb (module RSS): Document URIs. Patch by Mark Turner.
...
[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
2011-05-12 20:17:29 +00:00
usa
9a7d41ae19
* lib/mkmf.rb (Logging.postpone): copy only when tmporary logfile
...
exists.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31529 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-12 05:48:41 +00:00
drbrain
6eaa5cb30c
* lib/set.rb (class Set): Add nodoc to internal-use methods. Patch by Pete Higgins. [Ruby 1.9 - Bug #4665 ]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31527 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-11 23:17:52 +00:00
drbrain
615e7987ca
* object.c (rb_obj_equal): Add documentation. Patch by Vincent Batts.
...
[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
2011-05-11 22:56:13 +00:00
drbrain
83d7aca7f6
* Various .document files: Update .document files to match files which
...
have documentation.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31524 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-11 22:31:17 +00:00
keiju
fcd7300bf2
* lib/forwardable.rb: support 'delegate :foo => :bar' for to meet
...
by specification of RDOC.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31507 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-11 11:12:40 +00:00
nagachika
1111afbe5a
* lib/csv.rb: fix a typo.
...
* 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
2011-05-11 10:22:16 +00:00
drbrain
8c2a52937f
* lib/webrick: Add documentation for WEBrick::HTTPAuth
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31505 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-10 23:37:43 +00:00
drbrain
b307355678
* lib/rss.rb: Add documentation. Patch by Steve Klabnik.
...
[Ruby 1.9 - Bug #4663 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31503 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-10 18:07:51 +00:00
sorah
64495a2f85
* lib/test/unit.rb: Add option for hiding skip messages when test
...
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
2011-05-10 05:53:46 +00:00
drbrain
071a678a15
* lib/webrick: Add Documentation
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31499 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-10 00:13:58 +00:00
drbrain
38b4876bb0
* lib/webrick/log.rb: Hide copyright info from ri
...
* 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
2011-05-09 19:22:41 +00:00
tadf
0999333732
* lib/time.rb (xmlschema): avoid passing any negative numbers.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31481 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-08 10:08:12 +00:00
kosaki
0a1e7d1568
* lib/fileutils.rb (FileUtils#chmod): accept symbolic mode argument.
...
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
2011-05-01 16:16:05 +00:00
nobu
e858442f4f
* lib/csv.rb (CSV::open): suppress universal newline decorator.
...
fixes #4603
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31370 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-27 21:07:09 +00:00
nobu
2f348762fb
* lib/csv.rb (CSV.read): no mode is needed.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31369 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-27 21:07:04 +00:00
nobu
0b98b9a95d
* strip trailing spaces.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31357 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-26 15:57:04 +00:00
tadf
03697bc1f3
* lib/time.rb: require 'date'.
...
* 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
2011-04-24 18:31:47 +00:00
naruse
d5b4cf7f79
Use Float#finite?.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31321 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-22 13:35:43 +00:00
naruse
c853e2d86e
* lib/xmlrpc/create.rb (XMLRPC::Create#conv2value):
...
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
2011-04-22 02:50:45 +00:00
knu
835693dac5
* lib/uri/generic.rb (#route_from_path): Fix a bug where
...
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
2011-04-15 06:13:08 +00:00
knu
6692ef3c54
* lib/fileutils.rb (FileUtils#touch): Fix corrupted output when
...
: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
2011-04-15 06:05:25 +00:00
nobu
716a99389c
* lib/test/unit.rb (Test::Unit::Options#setup_options): set possible
...
values for completion. no conversion is needed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31285 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-14 13:48:18 +00:00
nobu
80020d092e
* lib/test/unit.rb (Test::Unit::Runner::Worker#initialize): use
...
positional arguments instead of keyword arguments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31284 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-14 13:48:14 +00:00
nobu
3d41f4df43
* lib/test/unit.rb (Test::Unit::Runner#jobs_status): io/console may
...
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
2011-04-14 13:48:09 +00:00
nobu
146bedd6c4
* lib/test/unit.rb (Test::Unit::Runner::Worker#died): rename using a
...
verb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31282 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-14 13:48:05 +00:00
nobu
ed1c3f56c0
* lib/test/unit.rb (Test::Unit::Runner#_run_parallel): check if worker
...
is signaled and use its exit status.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31281 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-14 13:48:00 +00:00
nobu
311b3b4ff8
* lib/test/unit.rb (Test::Unit::Runner::Worker#dead): no longer @in
...
and @out are separated.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31280 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-14 13:47:55 +00:00