Permalink
Browse files

add rails 3.1.0, and bump to rails 3.0.10 - for appraisals

  • Loading branch information...
1 parent b5d0d22 commit 8c4b89c4755f2b83e53da6654fa1ec1e810be91f @mjankowski mjankowski committed Sep 4, 2011
Showing with 1,422 additions and 532 deletions.
  1. +13 −2 Appraisals
  2. +9 −5 Rakefile
  3. +5 −5 gemfiles/{rails-3.0.6-database-mysql2.gemfile → rails-3.0.10-database-mysql.gemfile}
  4. +125 −0 gemfiles/rails-3.0.10-database-mysql.gemfile.lock
  5. +10 −0 gemfiles/rails-3.0.10-database-mysql2.gemfile
  6. +125 −0 gemfiles/rails-3.0.10-database-mysql2.gemfile.lock
  7. +5 −5 gemfiles/{rails-3.0.6-database-mysql.gemfile → rails-3.0.10-database-pg.gemfile}
  8. +125 −0 gemfiles/rails-3.0.10-database-pg.gemfile.lock
  9. +10 −0 gemfiles/rails-3.0.10-database-sqlite3-ruby.gemfile
  10. +127 −0 gemfiles/rails-3.0.10-database-sqlite3-ruby.gemfile.lock
  11. +5 −5 gemfiles/{rails-3.0.6-database-sqlite3-ruby.gemfile → rails-3.0.10-database-sqlite3.gemfile}
  12. +125 −0 gemfiles/rails-3.0.10-database-sqlite3.gemfile.lock
  13. +0 −125 gemfiles/rails-3.0.6-database-mysql.gemfile.lock
  14. +0 −125 gemfiles/rails-3.0.6-database-mysql2.gemfile.lock
  15. +0 −125 gemfiles/rails-3.0.6-database-pg.gemfile.lock
  16. +0 −127 gemfiles/rails-3.0.6-database-sqlite3-ruby.gemfile.lock
  17. +10 −0 gemfiles/rails-3.1.0-database-mysql.gemfile
  18. +138 −0 gemfiles/rails-3.1.0-database-mysql.gemfile.lock
  19. +10 −0 gemfiles/rails-3.1.0-database-mysql2.gemfile
  20. +138 −0 gemfiles/rails-3.1.0-database-mysql2.gemfile.lock
  21. +5 −5 gemfiles/{rails-3.0.6-database-pg.gemfile → rails-3.1.0-database-pg.gemfile}
  22. +138 −0 gemfiles/rails-3.1.0-database-pg.gemfile.lock
  23. +10 −0 gemfiles/rails-3.1.0-database-sqlite3-ruby.gemfile
  24. +140 −0 gemfiles/rails-3.1.0-database-sqlite3-ruby.gemfile.lock
  25. +10 −0 gemfiles/rails-3.1.0-database-sqlite3.gemfile
  26. +138 −0 gemfiles/rails-3.1.0-database-sqlite3.gemfile.lock
  27. +1 −1 pacecar.gemspec
  28. +0 −2 spec/spec_helper.rb
View
@@ -1,5 +1,5 @@
-rails_versions = ['3.0.6']
-database_drivers = ['mysql', 'sqlite3-ruby', 'mysql2', 'pg']
+rails_versions = ['3.0.10', '3.1.0']
+database_drivers = ['mysql', 'sqlite3-ruby', 'pg', 'sqlite3']
rails_versions.each do |rails_version|
database_drivers.each do |database_driver|
@@ -9,3 +9,14 @@ rails_versions.each do |rails_version|
end
end
end
+
+# The mysql2 gem needs different versions depending on which activerecord we have
+appraise "rails-3.1.0-database-mysql2" do
+ gem "rails", "3.1.0"
+ gem "mysql2", "0.3.7"
+end
+
+appraise "rails-3.0.10-database-mysql2" do
+ gem "rails", "3.0.10"
+ gem "mysql2", "0.2.13"
+end
View
@@ -7,16 +7,20 @@ rescue LoadError
end
require 'rake'
-require 'rake/rdoctask'
+require 'rdoc/task'
+require 'appraisal'
require 'rspec/core'
require 'rspec/core/rake_task'
-
-require 'appraisal'
-
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'
@@ -1,10 +1,10 @@
# This file was generated by Appraisal
source "http://rubygems.org"
-gem "rails", "3.0.6"
-gem "rspec-rails", ">= 2.4.0"
-gem "mocha"
-gem "mysql2"
gem "appraisal"
+gem "rails", "3.0.10"
gem "capybara", ">= 0.4.0"
-gem "factory_girl_rails"
+gem "mocha"
+gem "rspec-rails", ">= 2.4.0"
+gem "factory_girl_rails"
+gem "mysql"
@@ -0,0 +1,125 @@
+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.0)
+ 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)
+ factory_girl (2.1.0)
+ factory_girl_rails (1.2.0)
+ factory_girl (~> 2.1.0)
+ railties (>= 3.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)
+ mysql (2.8.1)
+ 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)
+ selenium-webdriver (2.5.0)
+ childprocess (>= 0.2.1)
+ ffi (>= 1.0.7)
+ json_pure
+ rubyzip
+ spruz (0.2.13)
+ 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)
+ factory_girl_rails
+ mocha
+ mysql
+ rails (= 3.0.10)
+ rspec-rails (>= 2.4.0)
@@ -0,0 +1,10 @@
+# This file was generated by Appraisal
+
+source "http://rubygems.org"
+gem "appraisal"
+gem "rails", "3.0.10"
+gem "capybara", ">= 0.4.0"
+gem "mocha"
+gem "rspec-rails", ">= 2.4.0"
+gem "factory_girl_rails"
+gem "mysql2", "0.2.13"
@@ -0,0 +1,125 @@
+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.0)
+ 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)
+ factory_girl (2.1.0)
+ factory_girl_rails (1.2.0)
+ factory_girl (~> 2.1.0)
+ railties (>= 3.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)
+ mysql2 (0.2.13)
+ 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)
+ selenium-webdriver (2.5.0)
+ childprocess (>= 0.2.1)
+ ffi (>= 1.0.7)
+ json_pure
+ rubyzip
+ spruz (0.2.13)
+ 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)
+ factory_girl_rails
+ mocha
+ mysql2 (= 0.2.13)
+ rails (= 3.0.10)
+ rspec-rails (>= 2.4.0)
@@ -1,10 +1,10 @@
# This file was generated by Appraisal
source "http://rubygems.org"
-gem "rails", "3.0.6"
-gem "mysql"
-gem "rspec-rails", ">= 2.4.0"
-gem "mocha"
gem "appraisal"
+gem "rails", "3.0.10"
gem "capybara", ">= 0.4.0"
-gem "factory_girl_rails"
+gem "mocha"
+gem "rspec-rails", ">= 2.4.0"
+gem "factory_girl_rails"
+gem "pg"
Oops, something went wrong.

0 comments on commit 8c4b89c

Please sign in to comment.