diff --git a/Rakefile b/Rakefile index 9d38bff..8984f58 100644 --- a/Rakefile +++ b/Rakefile @@ -151,17 +151,19 @@ jasmine.version_= { require 'digest/sha1' download_html = "\n" - download_html += "\n\n" + download_html += "
VersionSizeDateSHA1
\n\n" Dir.glob('pages/downloads/*.zip').sort.reverse.each do |f| sha1 = Digest::SHA1.hexdigest File.read(f) fn = f.sub(/^pages\//, '') version = /jasmine-standalone-(.*).zip/.match(f)[1] + download_html += "\n" download_html += "\n" download_html += "\n" download_html += "\n" download_html += "\n" download_html += "\n" + download_html += "\n" end download_html += "
VersionSizeDateSHA1
#{fn.sub(/downloads\//, '')}#{version}#{File.size(f) / 1024}k#{File.mtime(f).strftime("%Y/%m/%d %H:%M:%S %Z")}#{sha1}
\n"