summaryrefslogtreecommitdiffstats
path: root/test/pathname
Commit message (Collapse)AuthorAgeFilesLines
* * lib/pathname.rb (Pathname#sub): set $~ in block.binding.akr2009-03-171-0/+9
| | | | | | | [ruby-dev:38173] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22987 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/pathname.rb (Pathname#realdirpath): new method.akr2009-01-301-6/+41
| | | | | | | | [ruby-dev:36290] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@21904 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add tests.akr2009-01-291-1/+45
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@21885 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Back out the previous change after miniunit import.knu2008-10-021-12/+12
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19660 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/pathname/test_pathname.rb: Fix use of deprecated methods.knu2008-09-261-12/+12
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19585 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/pathname.rb (each_filename): return Enumerator if no blockmame2008-09-231-0/+1
| | | | | | | | | given. * test/pathname/test_pathname.rb: add a test for above. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19465 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/pathname.rb (Pathname#sub_ext): new method. [ruby-list:44608]akr2008-02-131-0/+11
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15461 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/ruby.h (FilePathStringValue): defined. similar toakr2007-12-091-0/+28
| | | | | | | | | | | | | | | | | FilePathValue but no taint check. * file.c (rb_get_path_no_checksafe): implementation of FilePathStringValue. (rb_file_s_basename): use FilePathStringValue. (rb_file_s_dirname): ditto. (rb_file_s_extname): ditto. (rb_file_s_split): ditto. (rb_file_join): ditto. * dir.c (file_s_fnmatch): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14155 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix test.akr2007-11-131-2/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13910 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_f_send): allow send/__send__ to call methods of allmatz2007-11-041-9/+3
| | | | | | | | | | visibility again. we no longer provide __send, __send!. * eval.c (rb_invoke_method): new method to honor private visibility. if it's invoked in a function call style, it calls private methods as well (previous 1.9 send behavior). git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13824 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* specify prefix for Dir.mktmpdir.akr2007-10-241-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13765 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* use Dir.mktmpdir.akr2007-10-241-6/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13761 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* check codepage for SJIS pathname test.akr2007-09-281-1/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13544 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_dir.rb (TestDir::setup): ?c now makes a string.matz2007-08-241-1/+1
| | | | | | | | | | * lib/test/unit/autorunner.rb (Test::Unit::AutoRunner::initialize): initialize @workdir to stop warning. * lib/drb/drb.rb (DRb::DRbServer::InvokeMethod::perform_without_block): replace funcall by send!. other files in the distribution as well. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13244 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/pathname.rb (Kernel#Pathname): new method.akr2006-06-171-3/+22
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10303 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/pathname.rb (Pathname#each_filename): use split_names properly.akr2006-02-221-0/+6
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9984 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/pathname/test_pathname.rb (test_kernel_open): useakr2005-12-211-5/+1
| | | | | | | | File.identical?. [ruby-talk:171804] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9726 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* require tempdir instead of tempfile.akr2005-12-151-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9693 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/pathname.rb: use File.basename to decompose pathnames.akr2005-11-261-0/+465
experimental Windows support. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9622 b2dd03c8-39d4-4d8f-98ff-823fe69b080e