Skip to content

Commit

Permalink
update website for 1.2.8
Browse files Browse the repository at this point in the history
  • Loading branch information
dchelimsky committed Jul 17, 2009
1 parent 160b77f commit f6d215a
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 8 deletions.
17 changes: 11 additions & 6 deletions website/content/index.page
Expand Up @@ -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

<pre>
$ gem install rspec
</pre>

<table width="100%" cellpadding="0" cellspacing="0">
<tr>
Expand Down Expand Up @@ -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!

<pre>
$ gem install rspec
</pre>

(See special installation instructions for "Spec::Rails":http://github.com/dchelimsky/rspec-rails/wikis/home)

4 changes: 2 additions & 2 deletions website/layouts/default.rhtml
Expand Up @@ -6,7 +6,7 @@ filter: erb
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="{lang:}">
<head>
<title>RSpec-<%= rspec_version %>: <%= @page.title %></title>
<title>RSpec.info: <%= @page.title %></title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="description" content="RSpec, {title: }, BDD, behaviour driven development, behavior driven development, TDD, test driven development, Ruby, Rails, testing, watir, selenium"/>

Expand All @@ -27,7 +27,7 @@ filter: erb

<div id="container">
<div id="header">
<h1><a href='/'>RSpec <%= rspec_version %></a></h1>
<h1><a href='/'>rspec-<%= rspec_version %> | rspec-rails-<%= rspec_rails_version%></a></h1>
</div>

<%= breadcrumb_menu(@page) %>
Expand Down
5 changes: 5 additions & 0 deletions website/lib/rspec_extras.rb
Expand Up @@ -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
Expand Down

0 comments on commit f6d215a

Please sign in to comment.