summaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)Author
2006-06-17* lib/pathname.rb: backport from 1.9.akr
(Kernel#Pathname): new method. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10302 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-06-17* lib/rss/rss.rb (Hash#merge, Enumerable#sort_by): removed.kou
* lib/rss/rss.rb (RSS::RootElementMixin#to_xml): added. [ruby-talk:197284] We can convert RSS version easily like the following: rss10 = RSS::Parser.parse(File.read("1.0.rdf")) File.open("2.0.rss", "w") {|f| f.print(rss10.to_xml("2.0"))} * test/rss/test_1.0.rb: added #to_xml test. * test/rss/test_2.0.rb: ditto. * test/rss/rss-testcase.rb: added some helper methods that generates sample RSS 2.0. * sample/rss/convert.rb: added a sample script to convert RSS format. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10301 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-06-17* lib/rss/rss.rb (Kernel#funcall): removed.kou
* lib/rss/parser.rb (Kernel.URI): removed. * lib/rss/maker/: supported xxx.new_yyy do |yyy| yyy.zzz = zzz ... end style and this style became the style of the recommendation. Old style yyy = xxx.new_yyy yyy.zzz = zzz ... is supported too but this style isn't recommended. [ruby-talk:197284] * test/rss/test_*maker*.rb: used new recommended style. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10300 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-06-17* lib/rss, test/rss: backported from trunk. (2005-11-16 - now)kou
* lib/rss/rss.rb: added backward compatibility codes. * lib/rss/parser.rb: ditto. * test/rss/test_parser.rb: ditto. * test/rss/test_2.0.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10299 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-06-17* lib/rss, test/rss: backported from trunk. (2005-11-16 - now)kou
* lib/rss/rss.rb: improved type conversion. * lib/rss/1.0.rb: ditto. * lib/rss/0.9.rb: ditto. * lib/rss/2.0.rb: ditto. * lib/rss/image.rb: ditto. * lib/rss/syndication.rb: ditto. * test/rss/test_2.0.rb: added type conversion tests. * test/rss/test_accessor.rb: ditto. * test/rss/test_to_s.rb: ditto. * test/rss/test_syndication.rb: ditto. * test/rss/test_setup_maker_2.0.rb: ditto. * test/rss/test_setup_maker_1.0.rb: ditto. * test/rss/test_setup_maker_0.9.rb: ditto. * test/rss/test_maker_sy.rb: ditto. * test/rss/test_maker_image.rb: ditto. * test/rss/test_maker_2.0.rb: ditto. * test/rss/test_maker_0.9.rb: ditto. * test/rss/test_image.rb: ditto. * test/rss/test_maker_1.0.rb: use assert instead of assert_equal. * test/rss/rss-assertions.rb: improved type conversion assertions. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10298 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-06-17* lib/rss, test/rss: backported from trunk. (2005-11-16 - now)kou
* test/rss/test_2.0.rb: added RSS 2.0 tests. * test/rss/rss-assertions.rb: extended XML stylesheet assertion. * lib/rss/0.9.rb: added initialize method. * test/rss/test_1.0.rb: cleanup. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10296 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-06-17* lib/rss, test/rss: backported from trunk. (2005-11-16 - now)kou
* lib/rss/parser.rb: added entity handling type predicate. * lib/rss/rexmlparser.rb: ditto. * lib/rss/xmlparser.rb: ditto. * lib/rss/xmlscanner.rb: ditto. * lib/rss/xmlscanner.rb: more robust entity handling. * test/rss/test_parser.rb: added an entity handling test. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10295 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-06-17* lib/rss, test/rss: backported from trunk. (2005-11-16 - now)kou
* lib/rss/: use #__send__ instead of #send. * test/rss/: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10294 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-06-17* lib/rss, test/rss: backported from trunk. (2005-11-16 - now)kou
* test/rss/test_taxonomy.rb: use #reject directory. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10293 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-06-17* lib/rss, test/rss: backported from trunk. (2005-11-16 - now)kou
* lib/rss/maker/taxonomy.rb: implemented taxonomy module for RSS Maker. * lib/rss/taxonomy.rb: supported RSS Maker. * lib/rss/maker.rb: added taxonomy module support. * lib/rss/rss.rb: adjusted to other element API. * lib/rss/1.0.rb: adjusted to other element API but backward compatibility is reserved. * lib/rss/0.9.rb: ditto. * test/rss/test_maker_taxo.rb: added test case for taxonomy module for RSS Maker. * test/rss/test_setup_maker_1.0.rb: added tests for taxo:topic. * test/rss/test_setup_maker_1.0.rb: added backward compatibility test. * test/rss/test_setup_maker_0.9.rb: ditto. * test/rss/test_setup_maker_2.0.rb: ditto. * test/rss/rss-testcase.rb: added convenience method for setting up taxo:topic. * test/rss/rss-assertions.rb: added assertion for taxo:topic. * sample/rss/blend.rb: followed new API. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10291 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-06-17* lib/rss, test/rss: backported from trunk. (2005-11-16 - now)kou
* lib/rss/rss.rb: fixed a indentation bug. * lib/rss/taxonomy.rb: fixed <taxo:topic> #to_s bug. * test/rss/test_taxonomy.rb: added a #to_s test. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10290 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-06-17* lib/rss, test/rss: backported from trunk. (2005-11-16 - now)kou
* lib/rss/1.0.rb: added convenience method 'resources'. * lib/rss/taxonomy.rb: ditto. * test/rss/rss-assertions.rb: added test for 'resources'. * test/rss/test_taxonomy.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10289 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-06-17* lib/rss, test/rss: backported from trunk. (2005-11-16 - now)kou
* lib/rss/taxonomy.rb: implemented taxonomy module. * test/rss/test_taxonomy.rb: added tests for taxonomy support. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10288 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-06-17* lib/rss, test/rss: backported from trunk. (2005-11-16 - now)kou
* lib/rss/rss.rb (RSS::VERSION): 0.1.5 -> 0.1.6. * test/rss/test_version.rb (RSS::TestVersion#test_version): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10284 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-06-15add RLIMIT_NOFILE testakr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10276 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-06-15give dummy argument for Process.getrlimit and rescue TypeError.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10275 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-06-15This commit was manufactured by cvs2svn to create branch 'ruby_1_8'.(no author)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10272 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-06-07getsockname returns "" on MacOS Xakr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10230 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-06-07* test/socket/{test_nonblock.rb, test_socket.rb}: Windows support.CVS: ↵usa
---------------------------------------------------------------------- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10229 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-06-05* ext/socket/socket.c (sock_s_unpack_sockaddr_in): rejectakr
non-AF_INET/AF_INET6 sockaddr. (sock_s_unpack_sockaddr_un): reject non-AF_UNIX sockaddr. [ruby-dev:28691] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10220 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-06-05This commit was manufactured by cvs2svn to create branch 'ruby_1_8'.(no author)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10219 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-06-04fix tests.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10216 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-06-04This commit was manufactured by cvs2svn to create branch 'ruby_1_8'.(no author)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10213 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-06-01This commit was manufactured by cvs2svn to create branch 'ruby_1_8'.(no author)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10204 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-05-01* numeric.c (num_div): use floor rather than rb_Integer().matz
[ruby-dev:28589] * numeric.c (flo_divmod): the first element of Float#divmod should be an integer. [ruby-dev:28589] * test/ruby/test_float.rb: add tests for divmod, div, modulo and remainder. * util.c (ruby_strtod): fixed wrong conversion. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10123 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-03-04fix string interpolationakr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10025 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-03-04This commit was manufactured by cvs2svn to create branch 'ruby_1_8'.(no author)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10023 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-02-24quote pathnames in the server's command line for space containedseki
directory names. Thanks, arton. [ruby-dev:28386] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9998 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-02-17* util.c (ruby_strtod): Float("1e") should fail. [ruby-core:7330]ocean
* pack.c (EXTEND32): unpack("l") did not work where sizeof(long) != 4. [ruby-talk:180024] * pack.c (pack_unpack): fixed integer overflow on template "w". [ruby-talk:180126] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9947 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-02-13* eval.c (rb_call0): argument update propagation. [ruby-dev:28044]matz
* env.h: remove argc member from struct FRAME. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9920 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-02-11* eval.c (eval): no need to push ruby_class. [ruby-dev:28176]matz
* eval.c (rb_f_autoload): check if ruby_cbase is nil (during instance_eval for objects cannot have singleton classes, e.g. fixnums and symbols). [ruby-dev:28178] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9912 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-02-02* eval.c (eval): need not to protect $SAFE value.matz
[ruby-core:07177] * struct.c (rb_struct_select): update RDoc description. [ruby-core:7254] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9873 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-01-16* ext/syck/emitter.c (syck_emit_seq, syck_emit_map, syck_emit_item):ocean
should output complex key mark even if map's key is empty seq/map. [ruby-core:7129] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9835 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-01-10* lib/yaml/rubytypes.rb (Fixnum): Bignum could not be loaded inocean
ruby 1.8.3/1.8.4. [ruby-core:6115] * lib/yaml/rubytypes.rb (Numeric): Subclass of Numeric could not be dumped properly. [ruby-core:7047] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9816 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-01-10* lib/yaml/rubytypes.rb (Symbol#yaml_new): YAML loading of quotedocean
Symbols broken. [ruby-Bugs:2535] (written by Aaron Schrab) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9815 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-01-01This commit was manufactured by cvs2svn to create branch 'ruby_1_8'.(no author)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9786 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-12-29* test/ruby/envutil.rb (EnvUtil.rubybin): search "ruby" instead ofakr
"miniruby". [ruby-dev:28140] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9754 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-12-24* stable version 1.8.4 released.matz
* ext/digest/sha2/sha2.c (ULL): support AIX C. a patch from Kailden <kailden at gmail.com>. [ruby-core:06984] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9734 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-12-19* parse.y (rb_symname_p): fixed wrong validation. [ruby-dev:28047]nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9715 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-12-14* test/gdbm/test_gdbm.rb: specify pid for the argument ofeban
Process.wait. workaround for Cygwin. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9687 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-12-12* test/openssl/test_ssl.rb (test_parallel): call GC.start to closegotoyuzo
unused files. [ruby-dev:27981] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9680 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-12-11This commit was manufactured by cvs2svn to create branch 'ruby_1_8'.(no author)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9670 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-11-22* ext/openssl/extconf.rb: check for X509V3_EXT_nconf_nid.gotoyuzo
* ext/openssl/ossl_x509ext.c (MakeX509ExtFactory): should use OPENSSL_malloc to allocate X509V3_CTX. * ext/openssl/ossl_x509ext.c (ossl_x509extfactory_create_ext): use X509V3_EXT_nconf_nid to avoid SEGV (and to build extensions which values are placed in separate section). * test/openssl/test_x509ext.rb: new file. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9592 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-11-22* file.c (rb_file_s_basename): skip slashes just after UNC top slashes.usa
* test/ruby/test_path.rb (test_dirname, test_basename): follow new spec. and add new tests. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9587 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-11-20* test/ruby/test_array.rb (test_misc): added some testsocean
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9570 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-11-18* file.c (rb_file_s_dirname): should use skipprefix for UNC path.usa
pointed out by nobu ([ruby-dev:27744]). fixed: [ruby-core:5076] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9563 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-11-18* file.c (file_s_dirname): added checks for some patterns with driveusa
letter. fixed: [ruby-dev:27738] * test/ruby/test_path.rb (test_dirname): added tests for above patterns. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9561 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-11-15* array.c (rb_ary_fill): tail elements were vanished when the middleocean
part of array was filled. (ie: [0,1,2,3,4].fill(-1,2,1) => [0,1,-1]) * test/ruby/test_array.rb (test_fill): added. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9541 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-11-02This commit was manufactured by cvs2svn to create branch 'ruby_1_8'.(no author)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9495 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-10-31* test/gdbm/test_gdbm.rb, test/sdbm/test_sdbm.rb (test_s_open_error):usa
skip on Win32/DOS platforms. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9486 b2dd03c8-39d4-4d8f-98ff-823fe69b080e