diff options
author | aamine <aamine@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-11-18 05:09:20 +0000 |
---|---|---|
committer | aamine <aamine@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-11-18 05:09:20 +0000 |
commit | 2bfd5c1a3d9e09f9332da5b57090ebec17f15c74 (patch) | |
tree | 7a5feb25ec3bed8848b838c4ab0859878c3ff7c9 /ChangeLog | |
parent | c88ad2a3871697dbc3edaa0cec8fc2ff8eff8e55 (diff) |
* lib/fileutils.rb (fu_each_src_dest): raise if src==dest. [ruby-talk:85344] [ruby-core:01699]
* lib/fileutils.rb: use Object#is_a? instead of Class#=== to allow e.g. remote objects for receivers.
* lib/fileutils.rb: FileTest -> File.
* lib/fileutils.rb: put parentheses for arguments of File.xxxx?
* test/fileutils/test_fileutils.rb (test_cp): test "cp a a".
* test/fileutils/test_fileutils.rb (test_mv): test "mv a a".
* test/fileutils/test_fileutils.rb (test_ln): test "ln a a".
* test/fileutils/test_fileutils.rb (test_ln_s): test "ln_s a a".
* test/fileutils/test_fileutils.rb (test_install): test "install a a".
* test/fileutils/fileasserts.rb: new method assert_symlink.
* test/fileutils/fileasserts.rb: assert_is_directory -> assert_directory.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4976 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 26 |
1 files changed, 26 insertions, 0 deletions
@@ -1,3 +1,29 @@ +Tue Nov 18 14:06:35 2003 Minero Aoki <aamine@loveruby.net> + + * lib/fileutils.rb (fu_each_src_dest): raise if src==dest. + [ruby-talk:85344] [ruby-core:01699] + + * lib/fileutils.rb: use Object#is_a? instead of Class#=== to allow + e.g. remote objects for receivers. + + * lib/fileutils.rb: FileTest -> File. + + * lib/fileutils.rb: put parentheses for arguments of File.xxxx? + + * test/fileutils/test_fileutils.rb (test_cp): test "cp a a". + + * test/fileutils/test_fileutils.rb (test_mv): test "mv a a". + + * test/fileutils/test_fileutils.rb (test_ln): test "ln a a". + + * test/fileutils/test_fileutils.rb (test_ln_s): test "ln_s a a". + + * test/fileutils/test_fileutils.rb (test_install): test "install a a". + + * test/fileutils/fileasserts.rb: new method assert_symlink. + + * test/fileutils/fileasserts.rb: assert_is_directory -> assert_directory. + Mon Nov 17 10:50:27 2003 Nobuyoshi Nakada <nobu@ruby-lang.org> * lib/optparse.rb (OptionParser::Completion::complete): allow least |