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 | Version | Size | Date | SHA1 |
\n"
+ download_html += "\n | Version | Size | Date | SHA1 |
\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 += "#{fn.sub(/downloads\//, '')} | \n"
download_html += "#{version} | \n"
download_html += "#{File.size(f) / 1024}k | \n"
download_html += "#{File.mtime(f).strftime("%Y/%m/%d %H:%M:%S %Z")} | \n"
download_html += "#{sha1} | \n"
+ download_html += "
\n"
end
download_html += "
\n"