nobu
81567892d0
* lib/irb/ruby-lex.rb (RubyLex#identify_string): use charclass.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29678 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-03 05:23:56 +00:00
nobu
4ec86dcc57
* lib/ostruct.rb (OpenStruct#delete_field): also undefine
...
accessor methods. [ruby-core:33010]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29677 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-03 05:17:25 +00:00
matz
2d189f672b
* lib/irb/ruby-lex.rb (RubyLex#identify_string): parse multiple
...
regex options. a patch from Heesob Park in [ruby-core:32988].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29674 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-02 22:50:31 +00:00
kou
2b82e06aaf
* lib/rexml/encoding.rb: untabify.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29648 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-30 14:39:20 +00:00
kou
994f066f76
* lib/rexml/encoding.rb: use Ruby native encoding mechnism. [ruby-dev:42464]
...
* lib/rexml/encodings/: remove.
* lib/rexml/document.rb, lib/rexml/formatters/default.rb,
lib/rexml/output.rb, lib/rexml/parseexception.rb,
lib/rexml/parsers/baseparser.rb, lib/rexml/source.rb,
lib/rexml/xmldecl.rb: use Ruby's native Encoding object.
* test/rexml/, test/rss/: follow the above encoding chagnes.
* NEWS: add REXML's incompatible change about encoding.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29646 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-30 12:10:56 +00:00
akr
aeab9011fe
* lib/resolv-replace.rb: suppress warning.
...
* lib/open-uri.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29633 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-29 22:02:39 +00:00
akr
2bb96458e7
* lib/resolv.rb: retry via TCP if UDP reply is truncated.
...
fixed by Julian Mehnle. [ruby-core:32407]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29631 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-29 21:01:53 +00:00
naruse
a671a06d25
* lib/webrick/httprequest.rb (read_request_line): extend max
...
length to 2083. This is from Internet Explorer's max uri
length. http://support.microsoft.com/kb/208427 [ruby-core:32924]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29617 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-28 04:53:57 +00:00
naruse
6ca3ad34a0
* lib/scanf.rb (extract_float): allow 2.e+2 style.
...
[ruby-dev:42452] #3978
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29599 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-26 12:39:33 +00:00
tadf
4fcd5e3fc1
* lib/date.rb: some corrections of documentation.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29584 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-24 15:30:25 +00:00
nobu
5383964f98
* lib/test/unit.rb (Test::Unit::Mini#run): abort if interrupted.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29581 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-24 06:16:36 +00:00
nobu
b560b08014
* lib/test/unit.rb (Test::Unit::Mini#run_test_suites): show the
...
result even when interrupted on the way.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29580 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-24 05:18:12 +00:00
nobu
071e1ba1f8
* lib/test/unit.rb (Test::Unit::Mini#run_test_suites): ensure
...
output sync mode to be restored.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29579 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-24 05:13:55 +00:00
tenderlove
8a40d614a3
* lib/test/unit.rb: make test/unit play nicely with the rake test
...
loader. [ruby-core:32864]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29577 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-24 03:11:20 +00:00
nobu
c2fdd98eb0
* lib/mkmf.rb: $extmk should be true for test/runner.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29558 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-23 05:40:11 +00:00
nobu
cb9ffb8d1c
* lib/test/unit/assertions.rb (Test::Unit::Assertions#assert):
...
assertion message must not be nil.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29555 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-22 05:50:17 +00:00
naruse
e1d1571256
* lib/test/unit/assertions.rb (Test::Unit::Assertions#assert):
...
treat nil case. Please run test-all before commit such change.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29554 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-22 05:10:40 +00:00
ryan
b3ee43bb6e
Cleaned up clevar in test/unit's override of assert
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29553 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-21 21:15:06 +00:00
naruse
f3fb1954eb
* lib/webrick/httpauth/digestauth.rb
...
(WEBrick::HTTPAuth::ProxyDigestAuth#check_uri): privated.
[ruby-dev:42344]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29546 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-21 06:56:17 +00:00
naruse
0d5a81f497
* lib/net/telnet.rb (Net::Telnet#close): added.
...
patched by Erik Hollensbe [ruby-dev:42260] #3830
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29544 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-21 06:45:33 +00:00
naruse
b1361d5be1
* lib/net/http.rb (transport_request): @socket may be nil.
...
patched by Egbert Eich [ruby-core:32829]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29523 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-18 01:20:37 +00:00
tadf
d41305b393
* lib/date/delta.rb: added an rdoc tag.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29520 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-17 13:37:38 +00:00
xibbar
fc6d58ccc4
* lib/cgi/util.rb (CGI::unescape): bugfix to unescape the multibyte
...
string. Thanks nobu and tDiary dev members. [Bug #3909 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29484 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-13 13:39:13 +00:00
naruse
3f34ecc536
* lib/net/http.rb (HTTP.get): specify ASCII-8BIT as the result
...
encoding of Zlib::GzipReader.
http://hibari.2ch.net/test/read.cgi/tech/1281473294/271
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29442 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-11 11:23:35 +00:00
knu
72ef219804
* lib/set.rb (Set#replace): Apply a bit of optimization.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29434 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-10 09:45:36 +00:00
jeg2
b6e0e98117
* lib/csv.rb: Fixing documentation typos. [ruby-core:32712]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29422 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-07 15:25:23 +00:00
akr
5fd45a4b79
* lib/uri/generic.rb (URI::Generic#hostname): new method.
...
(URI::Generic#hostname=): ditto.
* lib/open-uri.rb: use URI#hostname
* lib/net/http.rb: ditto.
[ruby-core:32056]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29416 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-06 03:30:49 +00:00
naruse
c4087bcb12
* lib/uri/common.rb (URI.encode_www_form): change treatment of
...
undefined value in given array as latest internet draft for
application/www-form-urlencoded.
http://tools.ietf.org/html/draft-hoehrmann-urlencoded-01
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29376 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-30 00:48:01 +00:00
nobu
510ae756be
* lib/rdoc/known_classes.rb (RDoc::KNOWN_CLASSES): add Encoding.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29356 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-29 03:31:32 +00:00
shyouhei
36cfaa8052
* test/net/imap/test_imap.rb: resurrection of r29259.
...
this change depends on minitest 1.7.1.
* lib/test/unit/assertions.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29348 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-27 06:28:59 +00:00
ryan
4c6551b7d3
Imported minitest 1.7.2 r5879.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29327 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-23 21:27:19 +00:00
naruse
d339fed3ad
Add document about URI.join. [ruby-core:32462]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29322 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-23 12:22:43 +00:00
eban
c72e6c7b86
* lib/rdoc/ri/store.rb (save_cache): remove duplicate entries.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29312 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-21 15:56:41 +00:00
yugui
3038eae7f6
* lib/mkmf.rb (try_link): rdoc
...
(try_compile): ditto
(try_cpp): ditto
(try_func): ditto
(try_var): ditto
(try_run): ditto
(egrep_cpp): ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29301 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-19 13:10:31 +00:00
kou
d8c3fa1506
* lib/rexml/xpath_parser.rb, test/rexml/test_xpath.rb:
...
add missing method availability check. [ruby-core:32447]
Reported by Wiebe Cazemier. Thanks!!!
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29288 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-17 14:47:20 +00:00
nobu
0f0d0dcdb3
* lib/tracer.rb: count only non-internal libraries in stack trace,
...
ignoring custom_require. [ruby-core:31858]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29280 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-16 23:30:30 +00:00
nobu
5bfac0d9cf
* lib/test/unit.rb (Test::Unit::GlobOption): merged RejectOption.
...
* test/runner.rb: utilize GlobOption.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29274 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-16 12:40:40 +00:00
nobu
9bc2e3280a
* lib/rdoc/ri/driver.rb (RDoc::RI::Driver.setup_options)
...
(RDoc::RI::Driver.fixup_options): split from process_args.
libraries should not parse ARGV inside, since it's a task of
applications, not libraries.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29273 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-16 12:31:29 +00:00
nobu
75d694e535
* lib/rdoc/ri/paths.rb (RDoc::RI::Paths.each): HOMEDIR can be nil
...
if $HOME is unset.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29272 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-16 12:02:34 +00:00
shyouhei
cc9b6ba611
reverting; http://rubyforge.org/tracker/?func=detail&atid=4099&aid=28566&group_id=1040
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29260 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-15 07:56:04 +00:00
shyouhei
6bab4ea991
* lib/test/unit/assertions.rb (Test::Unit::Assertions::assert_nothing_raised):
...
should properly ignore MiniTest::Skip
* lib/minitest/unit.rb (MiniTest::Assertions::assert_raises):
ditto.
* test/net/imap/test_imap.rb: Properly skip SSL tests when
localhost is not 127.0.0.1.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29259 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-15 06:01:00 +00:00
nobu
3e86bd8f3a
* lib/mkmf.rb (try_do): fix typo. a patch from Peter Weldon
...
at [ruby-core:32327].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29241 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-13 09:11:58 +00:00
tadf
d50b19ff27
* lib/date.rb: [ruby-core:32096] Thanks Colin Bartlett.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29234 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-12 12:24:17 +00:00
akr
7bda092ee8
update document.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29230 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-11 23:43:13 +00:00
akr
c755baf85f
update document.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29228 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-11 19:55:08 +00:00
drbrain
073e6ccc7b
Add documentation for WEBrick's DigestAuth
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29224 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-11 06:21:51 +00:00
nahi
a4fa58f9ab
* lib/webrick/httprequest.rb (WEBrick::HTTPRequest#continue): add
...
method for generating HTTP/1.1 100 continue response if the client
expects it, otherwise does nothing. Patch by Brian Candler.
ref #855 .
* test/webrick/test_httprequest.rb: test added.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29218 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-10 10:20:35 +00:00
ryan
ee9e8f82d4
Imported minitest 1.7.1 r5835
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29159 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-01 08:40:53 +00:00
naruse
d074ef4d60
* string.c (tr_setup_table): fix bug in r29146.
...
Initialize table even if cflag is 0; tr_find see whether
del is empty or not.
* string.c (tr_find): nodel can't be NULL; if NULL, it means
it is not specified.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29148 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-30 19:45:30 +00:00
nobu
f4b2d14572
* lib/rdoc/parser/ruby.rb (RDoc#parse_call_parameters): don't
...
include assignment. [Bug #3759 ], [ruby-dev:42154]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29141 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-29 14:54:16 +00:00