Skip to content

Commit

Permalink
Update appraisal to use specific versions of prawn and use consistent…
Browse files Browse the repository at this point in the history
… naming of spec assets w/ respect to prawn version
  • Loading branch information
rylwin committed Feb 1, 2012
1 parent 725bef2 commit e4e25a6
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 8 deletions.
8 changes: 4 additions & 4 deletions Appraisals
@@ -1,7 +1,7 @@
appraise "prawn0.12" do
gem "prawn", '~> 0.12.0'
appraise "prawn0.12.0" do
gem "prawn", '0.12.0'
end

appraise "prawn0.6" do
gem "prawn", '~> 0.6.0'
appraise "prawn0.6.3" do
gem "prawn", '0.6.3'
end
8 changes: 4 additions & 4 deletions README.rdoc
Expand Up @@ -85,11 +85,11 @@ run the specs you first need to install the dependencies for each appraisal:

rake appraisal:install

Then you can run the tests for a specifc version of prawn (only ~> 0.12.0 and ~>
0.6.0 currently) or all versions:
Then you can run the tests for a specifc version of prawn (only 0.12.0 and
0.6.3, but you can add your own version) or all versions:

rake appraisal:prawn0.12 spec
rake appraisal:prawn0.6 spec
rake appraisal:prawn0.12.0 spec
rake appraisal:prawn0.6.3 spec
rake appraisal spec # all versions

= Contributing & Reporting Issues
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
1 change: 1 addition & 0 deletions spec/spec_helper.rb
@@ -1,6 +1,7 @@
require 'rubygems'
require 'spork'

raise Gem.loaded_specs["prawn"].version.to_s.inspect
Spork.prefork do
# Configure Rails Environment
ENV["RAILS_ENV"] = "test"
Expand Down

0 comments on commit e4e25a6

Please sign in to comment.