Permalink
Browse files

Update appraisal to use specific versions of prawn and use consistent…

… naming of spec assets w/ respect to prawn version
  • Loading branch information...
1 parent 725bef2 commit e4e25a60d459944dd685eb0912d00aaaf746a003 @rylwin rylwin committed Feb 1, 2012
View
@@ -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
View
@@ -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
File renamed without changes.
View
@@ -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"

0 comments on commit e4e25a6

Please sign in to comment.