diff options
author | murphy <murphy@rubychan.de> | 2005-10-29 16:09:17 +0000 |
---|---|---|
committer | murphy <murphy@rubychan.de> | 2005-10-29 16:09:17 +0000 |
commit | 39ff12b40e0b8b3a892aea63eddfae87531f5d10 (patch) | |
tree | c94d1a334bf3f11896af65abb1aeda4de9b1e000 /Rakefile | |
parent | 20cc0418476d2f27276fbf4cfe42fd884092befd (diff) | |
download | coderay-39ff12b40e0b8b3a892aea63eddfae87531f5d10.tar.gz |
Version 0.4.6!
coderay.rb: Added highlight functions
new demo/demo_highlight.rb
encoders/helpers/html_output.rb: Improved stylesheet method
Rakefile: smarter progress info on uploading
Diffstat (limited to 'Rakefile')
-rw-r--r-- | Rakefile | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -176,7 +176,11 @@ def uploader_for ftp proc do |l, *r|
r = r.first || l
raise 'File %s not found!' % l unless File.exist? l
- g 'Uploading %s to %s...' % [l, r]
+ if l == r
+ g 'Uploading %s...' % [l]
+ else
+ g 'Uploading %s to %s...' % [l, r]
+ end
ftp.putbinaryfile l, r
gd
end
|