aboutsummaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* Deprecate Rake::RDocTask in favor of RDoc::Taskdrbrain2010-12-281-84/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30415 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Import RDoc 3.1drbrain2010-12-2811-15/+330
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30413 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/fiddle/extconf.rb: check for windows.h while building fiddle.tenderlove2010-12-271-0/+10
| | | | | | Thanks Jon Forums! [ruby-core:33923] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30407 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc/ri/paths.rb (RDoc::RI::Paths::HOMEDIR): no exception ifnobu2010-12-261-2/+7
| | | | | | HOME is not set. [ruby-core:33867] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30382 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (stmt): missing ripper rule. i.e., `a::B ||= c 1'.nobu2010-12-262-10/+21
| | | | | | | http://twitter.com/#!/wannabe53/status/18797576396472321 http://twitter.com/#!/wannabe53/status/18798416150663168 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30381 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/with_different_ofs.rb (DifferentOFS): should not affectnobu2010-12-2612-22/+20
| | | | | | original classes. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30380 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (advice_arg_check): Change argument check.kosaki2010-12-251-1/+6
| | | | | | | | | Now, an unsupported advice makes NotImplementedError. [ruby-dev:42887] [Ruby 1.9-Feature#4204] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30375 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/csv: DifferentOFS needs to be include in each classes.nobu2010-12-2512-2/+20
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30370 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test/with_different_ofs.rb: fixed typos.nobu2010-12-2512-21/+10
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30369 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/digest/test_digest_extend.rb (TestDigestExtend#setup):nobu2010-12-252-18/+24
| | | | | | | | should not depend on the result of previous tests * test/with_diffent_ofs.rb (DifferentOFS::WithDifferentOFS): give name. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30368 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/with_diffent_ofs.rb (DifferentOFS): test suite for testnobu2010-12-253-17/+31
| | | | | | | | suites affected by $,. * test/digest/test_digest_extend.rb (TestDigestExtend): should not assume $, invariant. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30367 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/csv/test_data_converters.rb, test/csv/test_table.rb: don'tnobu2010-12-252-13/+17
| | | | | | not call setup within tests. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30366 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/csv.rb (CSV.foreach): 'rb' mode is defaulted in open.nobu2010-12-251-0/+17
| | | | | | | * lib/csv.rb (CSV#init_separators): cannonicalize encoding options as Encoding objects. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30360 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Support OpenSSL 1.1; it supports RSA1024 and DSS1.naruse2010-12-252-4/+21
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30359 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/csv/base.rb (TestCSV.with_diffrent_ofs): give name tonobu2010-12-251-1/+1
| | | | | | anonymous classes. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30357 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/csv.rb (CSV#init_separators): use IO#gets with lengthnobu2010-12-251-1/+17
| | | | | | parameter to get rid of wrong convertion. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30356 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/csv.rb (CSV::foreach, CSV#initialize): directly use encodingnobu2010-12-251-4/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30354 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/csv.rb, test/csv: should not assume $, invariant.nobu2010-12-2511-47/+69
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30353 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/csv/test_encodings.rb (TestEncodings#setup): fix evil testnobu2010-12-251-2/+5
| | | | | | | suite writing to the source directory. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30351 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_io_extract_encoding_option): accept Encoding object asnobu2010-12-251-3/+43
| | | | | | encoding: optional argument. [ruby-dev:42884] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30349 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/zlib/zlib.c (gzreader_gets): support optional lengthnobu2010-12-251-0/+34
| | | | | | parameter. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30341 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/zlib/test_zlib.rb (test_readline): renamed from test_gets.nobu2010-12-251-4/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30339 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/net/imap/cacert.pem: updated because it has been expired.yugui2010-12-232-54/+101
| | | | | | * test/net/imap/server.crt: signed again because CA cert was expired. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30304 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* adding tests for Net::SMTP::Response#exception_classtenderlove2010-12-221-0/+36
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30299 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* adding more tests for Net::SMTP::Response classtenderlove2010-12-221-0/+26
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30298 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/smtp.rb: refactoring Net::SMTP#esmtp= to use antenderlove2010-12-221-0/+16
| | | | | | attr_accessor git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30296 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* adding tests for the SMTP response parsertenderlove2010-12-221-0/+37
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30295 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/smtp.rb: Net::SMTP should close the SSL connection if thetenderlove2010-12-221-0/+90
| | | | | | connection verification fails. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30294 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/rexml/test_contrib.rb (ContribTester#test_pos): should notnobu2010-12-202-12/+10
| | | | | | | | use fixed path name for tests. [ruby-dev:42827] * test/rexml/test_sax.rb (SAX2Tester#test_socket): should not use fixed port for tests. [ruby-dev:42828] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30284 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * compile.c (setup_args), vm.c (invoke_block_from_c),nobu2010-12-201-3/+0
| | | | | | | vm_insnhelper.c (caller_setup_args): reverted r30241 and r30243 except for the test. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30283 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Import RDoc 3drbrain2010-12-2037-970/+2648
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30249 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * compile.c (setup_args), vm.c (invoke_block_from_c),nobu2010-12-181-0/+1
| | | | | | | vm_insnhelper.c (caller_setup_args): fix of r30241. lambda block shoud check argument number. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30243 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/mkmf/base.rb (TestMkmf::FakeLog): capture output from mkmf.nobu2010-12-172-0/+42
| | | | | | | * test/mkmf/test_find_executable.rb (test_find_executable): suppress meaningless diffrences for chkbuild. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30239 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_rubyoptions.rb (TestRubyOptions#test_require): -rnobu2010-12-171-0/+2
| | | | | | with no name is ignored. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30237 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_io_advise): New API. IO#advise() allows to tell thekosaki2010-12-161-0/+34
| | | | | | | | | | | | | | ruby runtime how it expects to use a file handle. This feature can be improved a performance some situations. Note: This feature is mainly developed by Run Paint Run Run. Thank you! [ruby-core:33110] [Ruby 1.9-Feature#4038] * io.c (do_io_advise): Helper function. * io.c (io_advise_sym_to_const): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30229 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* drying up the requires in the openssl teststenderlove2010-12-1517-94/+20
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30220 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/zlib/test_zlib.rb (test_to_io): forgotten to fix with r30201.usa2010-12-151-2/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30216 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ripper/test_parser_events.rb (TestRipper#test_block_variables):kosaki2010-12-141-1/+1
| | | | | | | | | | Limit address space 100MB instead 100KB. Quite frankly, This margin is too narrow to contain ruby. [ruby-dev:42763] [Bug#4159] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30212 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_io.rb (test_reopen, test_reinitialize): should closeusa2010-12-141-12/+24
| | | | | | | the temporay files. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30206 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_io.rb (test_binmode_after_closed): the temporary fileusa2010-12-141-2/+1
| | | | | | | maked by make_temfile is already closed. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30205 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_io.rb (test_flush_in_finalizer[12]): should closeusa2010-12-141-2/+6
| | | | | | | | temporary file because it's only used for taking pathname and unlinking the file after the end of the test (in GC phase). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30204 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/http.rb (Net::HTTPRequest#send_request_body_data):naruse2010-12-141-0/+1
| | | | | | set binmode to tempfile. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30202 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/zlib/test_zlib.rb (*): should close files associated with zlib.usa2010-12-141-129/+151
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30201 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_argf.rb (test_inplace_rename_impossible): unlinkusa2010-12-141-4/+14
| | | | | | | | | | | | the renamed temporary file on no_safe_rename platforms. * test/ruby/test_argf.rb (test_readlines_limit_0, test_each_line_limit_0): should close argf because the associated Tempfile object cannot unlink the temporary file when it's gc'ed on some platforms (Windows, etc.) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30199 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* adding a test for OpenSSL::PKCS12.createtenderlove2010-12-131-0/+149
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30192 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/http.rb (Net::HTTPRequest#set_form): Added to supportnaruse2010-12-131-0/+96
| | | | | | | | both application/x-www-form-urlencoded and multipart/form-data. There is a similar API, Net::HTTPRequest#set_form_data, but to keep its compatibility this is newly added. [ruby-dev:42729] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30188 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_inspect): fix: extra back slash is added whennaruse2010-12-111-0/+5
| | | | | | the string is dummy encoding and includes \x22 or \x5C. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30180 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/ossl_asn1.c: indefinite length BER to DER encoding istenderlove2010-12-111-0/+227
| | | | | | properly supported. Thanks Martin Bosslet! [ruby-core:33082] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30178 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* refactor load error rescue to the openssl util filetenderlove2010-12-115-23/+9
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30176 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Include Comparable in OpenSSL::X509::Name, document #<=>drbrain2010-12-101-0/+14
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30173 b2dd03c8-39d4-4d8f-98ff-823fe69b080e