Skip to content

Commit

Permalink
Added Appraisal to Gemfile and have the default task run all appraisals
Browse files Browse the repository at this point in the history
  • Loading branch information
Jon Yurek committed Nov 23, 2010
1 parent ffe6609 commit 9e3b5db
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
1 change: 1 addition & 0 deletions Gemfile
Expand Up @@ -5,3 +5,4 @@ gem "rake"
gem "ruby-debug"
gem "aws-s3", :require => "aws/s3"
gem "sqlite3-ruby", "~>1.3.0"
gem "appraisal"
4 changes: 4 additions & 0 deletions 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
Expand All @@ -25,6 +28,7 @@ PLATFORMS
ruby

DEPENDENCIES
appraisal
aws-s3
mocha
rake
Expand Down
4 changes: 2 additions & 2 deletions Rakefile
Expand Up @@ -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.'
Expand Down

0 comments on commit 9e3b5db

Please sign in to comment.