Skip to content

Commit

Permalink
use appraisal to test 3.1.0 and 3.0.10
Browse files Browse the repository at this point in the history
  • Loading branch information
mjankowski committed Sep 4, 2011
1 parent f70068e commit 90aad4a
Show file tree
Hide file tree
Showing 9 changed files with 328 additions and 43 deletions.
7 changes: 7 additions & 0 deletions Appraisals
@@ -0,0 +1,7 @@
appraise "rails-3.1.0" do
gem "rails", "3.1.0"
end

appraise "rails-3.0.10" do
gem "rails", "3.0.10"
end
13 changes: 5 additions & 8 deletions Gemfile
@@ -1,12 +1,9 @@
source "http://rubygems.org"
gemspec

gem "rails", "3.0.10"
gem "appraisal"
gem "rspec-rails"
gem "capybara", ">= 0.4.0"
gem "sqlite3"

gem "rspec-rails", ">= 2.0.0.beta"
gem "mocha"

# To use debugger (ruby-debug for Ruby 1.8.7+, ruby-debug19 for Ruby 1.9.2+)
# gem 'ruby-debug'
# gem 'ruby-debug19'
gem "sass"
gem "mocha"
44 changes: 13 additions & 31 deletions Gemfile.lock
@@ -1,10 +1,12 @@
PATH
remote: .
specs:
flutie (1.2.5)

GEM
remote: http://rubygems.org/
specs:
abstract (1.0.0)
actionmailer (3.0.10)
actionpack (= 3.0.10)
mail (~> 2.2.19)
actionpack (3.0.10)
activemodel (= 3.0.10)
activesupport (= 3.0.10)
Expand All @@ -19,16 +21,10 @@ GEM
activesupport (= 3.0.10)
builder (~> 2.1.2)
i18n (~> 0.5.0)
activerecord (3.0.10)
activemodel (= 3.0.10)
activesupport (= 3.0.10)
arel (~> 2.0.10)
tzinfo (~> 0.3.23)
activeresource (3.0.10)
activemodel (= 3.0.10)
activesupport (= 3.0.10)
activesupport (3.0.10)
arel (2.0.10)
appraisal (0.3.8)
bundler
rake
builder (2.1.2)
capybara (1.0.0)
mime-types (>= 1.16)
Expand All @@ -46,28 +42,14 @@ GEM
i18n (0.5.0)
json_pure (1.5.4)
spruz (~> 0.2.8)
mail (2.2.19)
activesupport (>= 2.3.6)
i18n (>= 0.4.0)
mime-types (~> 1.16)
treetop (~> 1.4.8)
mime-types (1.16)
mocha (0.9.12)
nokogiri (1.5.0)
polyglot (0.3.2)
rack (1.2.3)
rack-mount (0.6.14)
rack (>= 1.0.0)
rack-test (0.5.7)
rack (>= 1.0)
rails (3.0.10)
actionmailer (= 3.0.10)
actionpack (= 3.0.10)
activerecord (= 3.0.10)
activeresource (= 3.0.10)
activesupport (= 3.0.10)
bundler (~> 1.0)
railties (= 3.0.10)
railties (3.0.10)
actionpack (= 3.0.10)
activesupport (= 3.0.10)
Expand All @@ -90,6 +72,7 @@ GEM
railties (~> 3.0)
rspec (~> 2.6.0)
rubyzip (0.9.4)
sass (3.1.7)
selenium-webdriver (0.2.2)
childprocess (>= 0.1.9)
ffi (>= 1.0.7)
Expand All @@ -98,9 +81,6 @@ GEM
spruz (0.2.13)
sqlite3 (1.3.4)
thor (0.14.6)
treetop (1.4.10)
polyglot
polyglot (>= 0.3.1)
tzinfo (0.3.29)
xpath (0.1.4)
nokogiri (~> 1.3)
Expand All @@ -109,8 +89,10 @@ PLATFORMS
ruby

DEPENDENCIES
appraisal
capybara (>= 0.4.0)
flutie!
mocha
rails (= 3.0.10)
rspec-rails (>= 2.0.0.beta)
rspec-rails
sass
sqlite3
10 changes: 8 additions & 2 deletions Rakefile
Expand Up @@ -8,13 +8,19 @@ end

require 'rake'
require 'rdoc/task'
require 'appraisal'

require 'rspec/core'
require 'rspec/core/rake_task'

RSpec::Core::RakeTask.new(:spec)

task :default => :spec
desc "Default: run the unit tests."
task :default => [:all]

desc 'Test the plugin under all supported Rails versions.'
task :all => ["appraisal:install"] do |t|
exec('rake appraisal spec')
end

Rake::RDocTask.new(:rdoc) do |rdoc|
rdoc.rdoc_dir = 'rdoc'
Expand Down
2 changes: 0 additions & 2 deletions flutie.gemspec
Expand Up @@ -8,6 +8,4 @@ Gem::Specification.new do |s|
s.description = 'Flutie is a starting point for personal discovery'
s.files = Dir["{app,config,lib,public}/**/*"] + ["LICENSE", "Rakefile", "Gemfile", "README.md"]
s.authors = ['Matt Jankowski', 'Chad Pytel', 'Kevin Burg', 'Chad Mazzola', 'Phil LaPier', 'Dan Croak', 'Fred Yates', 'OZAWA Sakuro', 'Mike Burns', 'Greg Sterndale', 'Joe Ferris', 'J. Edward Dewyea', 'Emilien Taque', 'Aaron Suggs', 'Nick Quaranto']
s.add_development_dependency('sass')
s.add_development_dependency('rails', '3.0.10')
end
13 changes: 13 additions & 0 deletions gemfiles/rails-3.0.10.gemfile
@@ -0,0 +1,13 @@
# This file was generated by Appraisal

source "http://rubygems.org"

gem "appraisal"
gem "rspec-rails"
gem "capybara", ">= 0.4.0"
gem "sqlite3"
gem "sass"
gem "mocha"
gem "rails", "3.0.10"

gemspec :path=>"../"
128 changes: 128 additions & 0 deletions gemfiles/rails-3.0.10.gemfile.lock
@@ -0,0 +1,128 @@
PATH
remote: /Users/mjankowski/Development/opensource/flutie
specs:
flutie (1.2.5)

GEM
remote: http://rubygems.org/
specs:
abstract (1.0.0)
actionmailer (3.0.10)
actionpack (= 3.0.10)
mail (~> 2.2.19)
actionpack (3.0.10)
activemodel (= 3.0.10)
activesupport (= 3.0.10)
builder (~> 2.1.2)
erubis (~> 2.6.6)
i18n (~> 0.5.0)
rack (~> 1.2.1)
rack-mount (~> 0.6.14)
rack-test (~> 0.5.7)
tzinfo (~> 0.3.23)
activemodel (3.0.10)
activesupport (= 3.0.10)
builder (~> 2.1.2)
i18n (~> 0.5.0)
activerecord (3.0.10)
activemodel (= 3.0.10)
activesupport (= 3.0.10)
arel (~> 2.0.10)
tzinfo (~> 0.3.23)
activeresource (3.0.10)
activemodel (= 3.0.10)
activesupport (= 3.0.10)
activesupport (3.0.10)
appraisal (0.3.8)
bundler
rake
arel (2.0.10)
builder (2.1.2)
capybara (1.1.1)
mime-types (>= 1.16)
nokogiri (>= 1.3.3)
rack (>= 1.0.0)
rack-test (>= 0.5.4)
selenium-webdriver (~> 2.0)
xpath (~> 0.1.4)
childprocess (0.2.2)
ffi (~> 1.0.6)
diff-lcs (1.1.3)
erubis (2.6.6)
abstract (>= 1.0.0)
ffi (1.0.9)
i18n (0.5.0)
json_pure (1.5.4)
spruz (~> 0.2.8)
mail (2.2.19)
activesupport (>= 2.3.6)
i18n (>= 0.4.0)
mime-types (~> 1.16)
treetop (~> 1.4.8)
mime-types (1.16)
mocha (0.9.12)
nokogiri (1.5.0)
polyglot (0.3.2)
rack (1.2.3)
rack-mount (0.6.14)
rack (>= 1.0.0)
rack-test (0.5.7)
rack (>= 1.0)
rails (3.0.10)
actionmailer (= 3.0.10)
actionpack (= 3.0.10)
activerecord (= 3.0.10)
activeresource (= 3.0.10)
activesupport (= 3.0.10)
bundler (~> 1.0)
railties (= 3.0.10)
railties (3.0.10)
actionpack (= 3.0.10)
activesupport (= 3.0.10)
rake (>= 0.8.7)
rdoc (~> 3.4)
thor (~> 0.14.4)
rake (0.9.2)
rdoc (3.9.4)
rspec (2.6.0)
rspec-core (~> 2.6.0)
rspec-expectations (~> 2.6.0)
rspec-mocks (~> 2.6.0)
rspec-core (2.6.4)
rspec-expectations (2.6.0)
diff-lcs (~> 1.1.2)
rspec-mocks (2.6.0)
rspec-rails (2.6.1)
actionpack (~> 3.0)
activesupport (~> 3.0)
railties (~> 3.0)
rspec (~> 2.6.0)
rubyzip (0.9.4)
sass (3.1.7)
selenium-webdriver (2.5.0)
childprocess (>= 0.2.1)
ffi (>= 1.0.7)
json_pure
rubyzip
spruz (0.2.13)
sqlite3 (1.3.4)
thor (0.14.6)
treetop (1.4.10)
polyglot
polyglot (>= 0.3.1)
tzinfo (0.3.29)
xpath (0.1.4)
nokogiri (~> 1.3)

PLATFORMS
ruby

DEPENDENCIES
appraisal
capybara (>= 0.4.0)
flutie!
mocha
rails (= 3.0.10)
rspec-rails
sass
sqlite3
13 changes: 13 additions & 0 deletions gemfiles/rails-3.1.0.gemfile
@@ -0,0 +1,13 @@
# This file was generated by Appraisal

source "http://rubygems.org"

gem "appraisal"
gem "rspec-rails"
gem "capybara", ">= 0.4.0"
gem "sqlite3"
gem "sass"
gem "mocha"
gem "rails", "3.1.0"

gemspec :path=>"../"

0 comments on commit 90aad4a

Please sign in to comment.