akr
3266ec1658
* lib/open3.rb (Open3.pipeline_start): return an array of threads if a
...
block is not given.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20618 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-10 17:24:42 +00:00
kou
1e5fbe04f6
* lib/rss/maker.rb (RSS::Maker.[]): add.
...
Suggested by Akinori MUSHA. Thanks!!! [ruby-dev:37210]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20610 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-10 12:34:09 +00:00
knu
1ed799937b
* enumerator.c (enumerator_next): Fix a typo: s/rewinded/rewound/.
...
* lib/prime.rb (Prime::OldCompatibility#each): Ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20604 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-10 03:49:48 +00:00
akr
ca138145f5
rdoc update.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20586 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-08 17:00:44 +00:00
akr
920ea359ba
rdoc update.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20571 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-07 12:35:11 +00:00
akr
7c20c4ec02
rdoc update.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20570 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-07 10:34:25 +00:00
akr
c0264efadd
* lib/open3.rb (Open3.capture3): renamed from Open3.poutput3.
...
(Open3.capture2): renamed from Open3.poutput2.
(lOpen3.capture2e): renamed from Open3.poutput2e.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20569 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-07 08:45:31 +00:00
akr
1de2a15aaf
* lib/open3.rb (Open3.poutput3): :binmode option implemented.
...
(Open3.poutput2): ditto.
(Open3.poutput2e): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20567 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-07 02:49:18 +00:00
akr
0b314ffd87
update rdoc.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20566 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-06 12:52:43 +00:00
akr
415e2cbd88
* lib/open3.rb (Open3.pipeline_start): new method.
...
(Open3.pipeline): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20544 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-05 10:07:13 +00:00
akr
5dbbef2b02
update rdoc.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20533 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-04 23:03:53 +00:00
akr
21d438243d
rdoc update.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20518 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-04 14:35:19 +00:00
akr
bca9bf7fef
* lib/open3.rb (Open3.poutput3): new method.
...
(Open3.poutput2): ditto.
(Open3.poutput2e): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20516 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-04 14:24:54 +00:00
akr
87c7905bdc
* lib/open3.rb (Open3.popen3): simplified.
...
(Open3.popen_run): extracted from Open3.popen3.
(Open3.popen2): new method.
(Open3.popen2e): new method.
(Open3.pipeline_rw): new method.
(Open3.pipeline_r): new method.
(Open3.pipeline_w): new method.
(Open3.pipeline_run): new private method.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20512 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-04 10:58:32 +00:00
matz
2bb4ca64f9
* lib/rubygems/validator.rb (Gem#remove_leading_dot_dir): make
...
this method private. a patch from okkez in [ruby-dev:37245]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20496 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-04 07:58:55 +00:00
matz
8a8226fa3b
* lib/gserver.rb: fixed type in sample code. a report from Oleg
...
Puchinin.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20492 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-04 07:17:27 +00:00
matz
c69b59c43f
* lib/rubygems/local_remote_options.rb (Gem#add_update_sources_option):
...
little documentation fix. a patch from okkez. [ruby-dev:37271]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20491 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-04 05:55:36 +00:00
matz
684f94c0ed
* 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@20454 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-03 00:31:58 +00:00
akr
852b4629c1
* lib/open3.rb (Open3.popen3): merge hash options if given.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20448 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-02 10:23:48 +00:00
matz
348d715eaa
* lib/net/protocol.rb (Net::BufferedIO#rbuf_fill): use
...
read_nonblock instead of sysread wrapped by timeout to boost
performance. a patch from Aaron Patterson in [ruby-core:20191].
fix #806
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20443 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-02 06:34:19 +00:00
keiju
157ed5c674
* lib/foerwardable.rb: should be usable def_single_delegator for
...
Class and Module.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20385 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-28 08:59:20 +00:00
akr
527701d55b
add comment and test.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20365 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-26 13:41:59 +00:00
tadf
4671724697
* lib/date/format.rb (strftime): ignores '_' flag for %[LN].
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20347 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-24 16:26:00 +00:00
tadf
1537855833
* lib/date.rb (inspect): changed again.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20337 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-24 10:55:00 +00:00
matz
66041e3e23
* lib/time.rb: r20251 reverted. The patched behavior do not round
...
trip. [ruby-core:19988]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20335 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-24 09:38:00 +00:00
matz
29927214d4
* lib/logger.rb (Logger): should handle the case that cvs/svn do
...
not expand $Id keyword. [ruby-core:19991]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20290 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-19 22:35:40 +00:00
matz
edcb875942
* lib/minitest/unit.rb (MiniTest::Assertions#capture_io): adjust
...
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
2008-11-19 22:28:24 +00:00
seki
2d549dcfbd
fixed NoMethodError problem from NaHi [ruby-dev:37110].
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20257 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-18 16:24:22 +00:00
matz
6ce0058aeb
* lib/time.rb: according to RFC2822, -0000 means local time, +0000
...
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
2008-11-18 15:12:02 +00:00
matz
e606e7e32b
* 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@20249 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-18 12:29:25 +00:00
nobu
fd346f769b
* lib/logger.rb (ProgName): fixed typo.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20247 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-18 07:32:44 +00:00
nobu
b7ac5b1262
* lib/logger.rb (ProgName): fixed for svn, based on a patch from
...
Nobuhiro IMAI at [ruby-dev:37108].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20245 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-18 07:18:29 +00:00
matz
9d2ecf3d90
* 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@20244 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-18 06:58:55 +00:00
nobu
ad5ff1c237
* lib/optparse.rb (OptionParser::make_switch): makes default
...
conversion to splat. [ruby-list:45645]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20242 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-18 00:42:18 +00:00
matz
8bc28d82b4
* lib/uri/generic.rb (URI::Generic#check_path): REL_PATH should a
...
symbol. [ruby-core:19805]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20222 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-11 17:39:52 +00:00
yugui
f2077294f1
* lib/rubygems/timer.rb: removed svn:executable.
...
* 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
2008-11-11 15:09:21 +00:00
tadf
b0e3af4922
* lib/date.rb (inspect): reverted the previous change.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20209 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-11 11:42:46 +00:00
tadf
e8c67503ea
* lib/date.rb (inspect): changed the format.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20175 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-10 22:57:01 +00:00
matz
504abcc00f
* 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@20169 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-10 01:52:46 +00:00
xibbar
f22aabbaee
* lib/cgi/session/pstore.rb: fix indentation.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20158 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-08 15:03:42 +00:00
xibbar
26862c00e9
* 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.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20156 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-08 14:52:59 +00:00
xibbar
274c3b94bf
* lib/cgi/session.rb: remove debug code.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20155 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-08 12:57:50 +00:00
xibbar
b4890b598b
* lib/cgi/session.rb: fix indentation.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20154 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-08 12:36:50 +00:00
matz
877ac7236a
* 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@20152 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-08 09:41:24 +00:00
matz
6a638cc196
* 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@20149 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-08 08:17:20 +00:00
matz
4faa9ea612
* lib/irb.rb (IRB::Irb#eval_input): remove extra @context.prompt_i.
...
[ruby-core:19718]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20129 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-07 03:27:57 +00:00
matz
1343680398
* lib/yaml/rubytypes.rb: support Rational and Complex as 1.8
...
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
2008-11-06 22:36:07 +00:00
shugo
a324863b99
* 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@20120 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-06 17:03:40 +00:00
usa
0ca8c28e4d
* lib/test/unit.rb: sorry, removed debug code.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20106 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-04 04:10:12 +00:00
usa
645246d1d1
* lib/test/unit.rb (Test::Unit.setup_argv): now can specify ``-xname''
...
instead of ``-x name''.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20105 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-04 04:09:10 +00:00