Skip to content
Browse files

Added Appraisal to Gemfile and have the default task run all appraisals

  • Loading branch information...
1 parent ffe6609 commit 9e3b5db682540240fd358dd088330773ccdd6092 @jyurek jyurek committed Nov 23, 2010
Showing with 7 additions and 2 deletions.
  1. +1 −0 Gemfile
  2. +4 −0 Gemfile.lock
  3. +2 −2 Rakefile
View
1 Gemfile
@@ -5,3 +5,4 @@ gem "rake"
gem "ruby-debug"
gem "aws-s3", :require => "aws/s3"
gem "sqlite3-ruby", "~>1.3.0"
+gem "appraisal"
View
4 Gemfile.lock
@@ -1,6 +1,9 @@
GEM
remote: http://rubygems.org/
specs:
+ appraisal (0.1)
+ bundler
+ rake
aws-s3 (0.6.2)
builder
mime-types
@@ -25,6 +28,7 @@ PLATFORMS
ruby
DEPENDENCIES
+ appraisal
aws-s3
mocha
rake
View
4 Rakefile
@@ -10,11 +10,11 @@ $LOAD_PATH << File.join(File.dirname(__FILE__), 'lib')
require 'paperclip'
desc 'Default: run unit tests.'
-task :default => [:clean, :test]
+task :default => [:clean, :all]
desc 'Test the paperclip plugin under all supported Rails versions.'
task :all do |t|
- exec('rake RAILS_VERSION=2.1 && rake RAILS_VERSION=2.3 && rake RAILS_VERSION=3.0')
+ exec('rake appraisal test')
end
desc 'Test the paperclip plugin.'

0 comments on commit 9e3b5db

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