From c8d9fc562f93889b3c6a5c6521c4b257fc05bd78 Mon Sep 17 00:00:00 2001 From: Christian Williams Date: Tue, 14 Sep 2010 13:42:38 -0700 Subject: [PATCH] Un-hide release notes for 1.0. Shade prerelease standalone versions in download list. --- Rakefile | 5 +++-- pages | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Rakefile b/Rakefile index 7050dee..dd0f99b 100644 --- a/Rakefile +++ b/Rakefile @@ -152,13 +152,14 @@ 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" + prerelease = /\.rc/.match(f) + download_html += prerelease ? "\n" : "\n" download_html += "\n" download_html += "\n" download_html += "\n" diff --git a/pages b/pages index 60e240a..9ef7724 160000 --- a/pages +++ b/pages @@ -1 +1 @@ -Subproject commit 60e240ad40f5324225a59c4a28a70ad8606db7c0 +Subproject commit 9ef772465fe1af3d1a75a7bd30558594686f02cc
VersionSizeDateSHA1
#{fn.sub(/downloads\//, '')}#{version}#{File.size(f) / 1024}k