eban
5e12815fb1
* lib/fileutils.rb (install): should preserve timestamp only.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4327 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-08-05 09:09:35 +00:00
eban
3fbbec0c39
* lib/fileutils.rb (install): support preserve timestamp.
...
* instruby.rb (install): use FileUtils::install preserve mode.
* lib/un.rb: new. % ruby -run -e cp -- -p foo bar
* lib/mkmf.rb: use un.rb instead of ftools.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4210 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-29 10:24:28 +00:00
aamine
f701792f6f
* lib/fileutils.rb: use hashes to pass options.
...
* lib/fileutils.rb: new option mkdir(:mode), mkdir_p(:mode).
* instruby.rb: follow fileutils.rb feature change.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3741 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-05-02 06:07:54 +00:00
aamine
cd74de7314
* lib/net/fileutils.rb: rm_r should raise Errno::ENOENT if file not exist. [ruby-core:958] Thanks Johan Holmberg.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3685 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-04-15 10:28:04 +00:00
eban
ced8bbee7c
* lib/fileutils.rb (mkdir, mkdir_p): revert.
...
* instruby.rb (umask): umask 0022, not 0.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3569 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-03-09 10:39:50 +00:00
eban
bf115a5e41
* lib/fileutils.rb (mkdir, mkdir_p): set mode to 0755.
...
* Makefile.in (fake.rb): set ALT_SEPARATOR to the default value.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3568 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-03-09 08:17:02 +00:00
eban
8d5ad9c1b3
* lib/fileutils (fu_stream_blksize): wrong logial condition.
...
(and -> or).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3530 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-02-23 09:00:51 +00:00
aamine
77923d719f
* lib/fileutils.rb: new method FileUtils#copy_stream.
...
* lib/fileutils.rb: new method FileUtils#compare_file.
* lib/fileutils.rb: new method FileUtils#compare_stream.
* lib/fileutils.rb: new method FileUtils#rmtree (alias of rm_rf).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3526 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-02-21 11:57:31 +00:00
aamine
dc502aea7e
* lib/fileutils.rb (FileUtils#uptodate?): use mtime for comparison.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3474 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-02-10 10:48:38 +00:00
aamine
9952524a74
* lib/fileutils.rb: new method FileUtils.pwd (really).
...
* lib/fileutils.rb: FileUtils.pwd, cmp, identical?, uptodate? does not accept any option.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3467 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-02-08 22:01:53 +00:00
aamine
f3607247c8
* lib/fileutils.rb: new method FileUtils.pwd.
...
* lib/fileutils.rb: default label is ''.
* lib/fileutils.rb: using module_eval again, to avoid ruby's bug.
* lib/fileutils.rb: fix wrong examples in rdoc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3452 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-02-06 09:56:13 +00:00
nobu
1f267f1ee5
*** empty log message ***
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3409 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-01-25 21:42:42 +00:00
gsinclair
cdc46f0f83
Converted RD to RDoc and improved documentation. See comments at EOF.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3407 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-01-24 16:13:33 +00:00
eban
6254d7103b
* lib/fileutils.rb (ln): add ' -f' in the verbose message.
...
* lib/fileutils.rb (cp_r): add 'p' in the verbose message.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3299 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-01-06 09:34:16 +00:00
eban
27ff93a4ee
* lib/fileutils.rb (ln): `argv' is not a argument.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3294 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-01-05 14:00:57 +00:00
eban
15774ab1fb
* instruby.rb: need paren in regexp(make -n install).
...
* ext/extmk.rb (sysquote): do not need to quote on mswin/bccwin/mingw.
* ext/extm.rb ($mflags): uniq items and remove '-' and '--'.
move options to the lead.
* lib/fileutils.rb (install): model on the real install
command(message).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3292 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-01-05 07:04:10 +00:00
aamine
4ff3371f88
* lib/fileutils.rb: should not inherit ftools.rb's misfeature.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3235 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-29 06:24:56 +00:00
usa
4a1c7e5f6d
* lib/fileutils.rb (cmp): return false if file size differs.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3234 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-28 20:11:35 +00:00
aamine
585cf46325
* lib/fileutils.rb (fu_parseargs): reject illegal options correctly.
...
* lib/fileutils.rb (uptodate?): parameter declaration was wrong.
* lib/fileutils.rb: change coding styles.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3225 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-27 04:21:27 +00:00
aamine
370e4a2c47
* lib/fileutils.rb: stat.blksize might become 0/nil.
...
* lib/fileutils.rb: change coding style.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2962 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-10-17 03:54:25 +00:00
aamine
fb54b37850
* lib/fileutils.rb: new file.
...
* lib/README: add fileutlis.rb.
* doc/NEWS: add fileutils.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2280 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-03-26 02:03:04 +00:00