From f6d215a31efdf58f7e25b684f48c850841fff73a Mon Sep 17 00:00:00 2001 From: David Chelimsky Date: Thu, 16 Jul 2009 20:56:56 -0500 Subject: [PATCH] update website for 1.2.8 --- website/content/index.page | 17 +++++++++++------ website/layouts/default.rhtml | 4 ++-- website/lib/rspec_extras.rb | 5 +++++ 3 files changed, 18 insertions(+), 8 deletions(-) diff --git a/website/content/index.page b/website/content/index.page index 873a6ea0..d40941e6 100644 --- a/website/content/index.page +++ b/website/content/index.page @@ -22,7 +22,17 @@ h2. The RSpec Book The RSpec Book will introduce you to RSpec, Cucumber, and a number of other tools that make up the Ruby BDD family. Replete with tutorials and practical examples, the RSpec Book will help you get your BDD on, taking you from executable requirements to working software that is clean, well tested, well documented, flexible and highly maintainable. -h2. Get Started +h2. More information + +"http://wiki.github.com/dchelimsky/rspec":http://wiki.github.com/dchelimsky/rspec +"http://rspec.lighthouseapp.com":http://rspec.lighthouseapp.com +"http://blog.davidchelimsky.net":http://blog.davidchelimsky.net + +h2. Get Started Now + +
+$ gem install rspec
+
@@ -93,9 +103,4 @@ Don't rush ahead with more code. Instead, add another example and let it guide y h2. Take the first step now! -
-$ gem install rspec
-
- -(See special installation instructions for "Spec::Rails":http://github.com/dchelimsky/rspec-rails/wikis/home) diff --git a/website/layouts/default.rhtml b/website/layouts/default.rhtml index b678f311..5b9d6768 100644 --- a/website/layouts/default.rhtml +++ b/website/layouts/default.rhtml @@ -6,7 +6,7 @@ filter: erb - RSpec-<%= rspec_version %>: <%= @page.title %> + RSpec.info: <%= @page.title %> @@ -27,7 +27,7 @@ filter: erb
<%= breadcrumb_menu(@page) %> diff --git a/website/lib/rspec_extras.rb b/website/lib/rspec_extras.rb index dbbc03ac..160ed4ef 100644 --- a/website/lib/rspec_extras.rb +++ b/website/lib/rspec_extras.rb @@ -48,11 +48,16 @@ def immediate_children end require File.dirname(__FILE__) + '/../../example_rails_app/vendor/plugins/rspec/lib/spec/version' + require File.dirname(__FILE__) + '/../../example_rails_app/vendor/plugins/rspec-rails/lib/spec/rails/version' class Renderer def rspec_version Spec::VERSION::STRING end + + def rspec_rails_version + Spec::Rails::VERSION::STRING + end def svn_tag Spec::VERSION::TAG