Skip to content
Browse files

Removed the "click anywhere" javascript in version box - it was playi…

…ng up with the link to the book

git-svn-id: svn+ssh://rubyforge.org/var/svn/newgem/trunk@82 b8dfb574-5f1f-0410-9469-b441dc4e948f
  • Loading branch information...
1 parent 23a3ceb commit 47a8c7acafd69cb7431faaef6c444a61725bb22e nicwilliams committed Jun 3, 2007
View
8 History.txt
@@ -1,9 +1,13 @@
-== 0.X.Y 2007-06-02
+== TRUNK
-* 1 minor enhancement
+* 4 minor enhancement
* Added 'email.txt' to the CLEAN list to be removed on 'rake clean'
+ * Added --delete-excluded to the rsync command [thx Jeroen Janssen]
+ * On template: "Version" is in <p>'s
+ * Specified CLEAN is added/or'd with default Hoe clean_globs (via |=)
* 1 website enhancement
* Refreshed the example output as its a big old (CHANGELOG -> History.txt)
+ * Removed the "click anywhere" javascript in version box - it was playing up with the link to the book
== 0.10.4 2007-06-02
View
8 Rakefile
@@ -24,7 +24,7 @@ DOWNLOAD_PATH = "http://rubyforge.org/projects/#{RUBYFORGE_PROJECT}"
REV = nil #File.read(".svn/entries")[/committed-rev="(\d+)"/, 1] rescue nil
# REV = `svn info`.each {|line| if line =~ /^Revision:/ then k,v = line.split(': '); break v.chomp; else next; end} rescue nil
VERS = Newgem::VERSION::STRING + (REV ? ".#{REV}" : "")
-CLEAN.include ['**/.*.sw?', '*.gem', '.config', '**/.DS_Store', 'email.txt']
+CLEAN.include ['**/.*.sw?', '*.gem', '.config', '**/.DS_Store']
RDOC_OPTS = ['--quiet', '--title', "newgem documentation",
"--opname", "index.html",
"--line-numbers",
@@ -41,7 +41,7 @@ hoe = Hoe.new(GEM_NAME, VERS) do |p|
p.url = HOMEPATH
p.rubyforge_name = RUBYFORGE_PROJECT if RUBYFORGE_PROJECT
p.test_globs = ["test/**/test*.rb"]
- p.clean_globs = CLEAN #An array of file patterns to delete on clean.
+ p.clean_globs |= CLEAN #An array of file patterns to delete on clean.
# == Optional
p.changes = p.paragraphs_of("History.txt", 0..1).join("\n\n")
@@ -76,7 +76,7 @@ task :website_upload do
end
desc 'Generate and upload website files'
-task :website => [:website_generate, :website_upload]
+task :website => [:website_generate, :website_upload, :publish_docs]
task :load_consts do
ENV['AUTHOR'] = AUTHOR
@@ -89,7 +89,7 @@ task :load_consts do
end
desc 'Release the website and new gem version'
-task :deploy => [:check_version, :website, :publish_docs, :release] do
+task :deploy => [:check_version, :website, :release] do
puts "Remember to create SVN tag:"
puts "svn copy svn+ssh://#{RUBYFORGE_USERNAME}@rubyforge.org/var/svn/#{PATH}/trunk " +
"svn+ssh://#{RUBYFORGE_USERNAME}@rubyforge.org/var/svn/#{PATH}/tags/REL-#{VERS} "
View
6 templates/Rakefile
@@ -44,7 +44,7 @@ REV = nil
# UNCOMMENT IF REQUIRED:
# REV = `svn info`.each {|line| if line =~ /^Revision:/ then k,v = line.split(': '); break v.chomp; else next; end} rescue nil
VERS = #{module_name}::VERSION::STRING + (REV ? ".\#{REV}" : "")
-CLEAN.include ['**/.*.sw?', '*.gem', '.config', '**/.DS_Store', 'email.txt']
+CLEAN.include ['**/.*.sw?', '*.gem', '.config', '**/.DS_Store']
RDOC_OPTS = ['--quiet', '--title', '#{gem_name} documentation',
"--opname", "index.html",
"--line-numbers",
@@ -67,7 +67,7 @@ hoe = Hoe.new(GEM_NAME, VERS) do |p|
p.url = HOMEPATH
p.rubyforge_name = RUBYFORGE_PROJECT if RUBYFORGE_PROJECT
p.test_globs = ["test/**/test_*.rb"]
- p.clean_globs = CLEAN #An array of file patterns to delete on clean.
+ p.clean_globs |= CLEAN #An array of file patterns to delete on clean.
# == Optional
p.changes = p.paragraphs_of("History.txt", 0..1).join("\\n\\n")
@@ -95,7 +95,7 @@ task :website_upload do
end
desc 'Generate and upload website files'
-task :website => [:website_generate, :website_upload]
+task :website => [:website_generate, :website_upload, :publish_docs]
desc 'Release the website and new gem version'
task :deploy => [:check_version, :website, :release] do
View
9 templates/website/stylesheets/screen.css
@@ -114,6 +114,15 @@ pre, code {
font-size: 4em;
line-height: 0.8em;
letter-spacing: -0.1ex;
+ margin-bottom: 15px;
+}
+
+#version p {
+ text-decoration: none;
+ color: #141331;
+ background-color: #B3ABFF;
+ margin: 0;
+ padding: 0;
}
#version a {
View
2 templates/website/template.rhtml
@@ -32,7 +32,7 @@
<h1><%= title %></h1>
<div id="version" class="clickable" onclick='document.location = "<%= download %>"; return false'>
- Get Version
+ <p>Get Version</p>
<a href="<%= download %>" class="numbers"><%= version %></a>
</div>
<%= body %>
View
2 website/index.html
@@ -31,7 +31,7 @@
<div id="main">
<h1>New Gem Generator</h1>
- <div id="version" class="clickable" onclick='document.location = "http://rubyforge.org/projects/newgem"; return true'>
+ <div id="version"> <!-- class="clickable" onclick='document.location = "http://rubyforge.org/projects/newgem"; return true' -->
<p>Get Version</p>
<a href="http://rubyforge.org/projects/newgem" class="numbers">0.10.4</a>
<p>Featured in</p>
View
2 website/rubyforge.html
@@ -31,7 +31,7 @@
<div id="main">
<h1>New Gem Generator</h1>
- <div id="version" class="clickable" onclick='document.location = "http://rubyforge.org/projects/newgem"; return true'>
+ <div id="version"> <!-- class="clickable" onclick='document.location = "http://rubyforge.org/projects/newgem"; return true' -->
<p>Get Version</p>
<a href="http://rubyforge.org/projects/newgem" class="numbers">0.10.4</a>
<p>Featured in</p>
View
2 website/template.rhtml
@@ -31,7 +31,7 @@
<div id="main">
<h1><%= title %></h1>
- <div id="version" class="clickable" onclick='document.location = "<%= download %>"; return true'>
+ <div id="version"> <!-- class="clickable" onclick='document.location = "<%= download %>"; return true' -->
<p>Get Version</p>
<a href="<%= download %>" class="numbers"><%= version %></a>
<p>Featured in</p>

0 comments on commit 47a8c7a

Please sign in to comment.
Something went wrong with that request. Please try again.