Browse files

support AR 3.0

  • Loading branch information...
1 parent 72339b3 commit b04e30d13616d0189c9d3d5ba60b540b9107ac34 @amatsuda committed Jun 2, 2012
Showing with 9 additions and 2 deletions.
  1. +2 −2 Rakefile
  2. +7 −0 gemfiles/active_record_30.gemfile
View
4 Rakefile
@@ -12,15 +12,15 @@ end
task :default => :spec
namespace :spec do
- %w(active_record_32 active_record_31 data_mapper_12 mongoid_24 mongo_mapper sinatra).each do |gemfile|
+ %w(active_record_32 active_record_31 active_record_30 data_mapper_12 mongoid_24 mongo_mapper sinatra).each do |gemfile|
task gemfile do
sh "BUNDLE_GEMFILE='gemfiles/#{gemfile}.gemfile' bundle --quiet"
sh "BUNDLE_GEMFILE='gemfiles/#{gemfile}.gemfile' bundle exec rake -t spec"
end
end
task :all do
- %w(active_record_32 active_record_31 data_mapper_12 mongoid_24 mongo_mapper sinatra).each do |gemfile|
+ %w(active_record_32 active_record_31 active_record_30 data_mapper_12 mongoid_24 mongo_mapper sinatra).each do |gemfile|
sh "BUNDLE_GEMFILE='gemfiles/#{gemfile}.gemfile' bundle --quiet"
sh "BUNDLE_GEMFILE='gemfiles/#{gemfile}.gemfile' bundle exec rake spec"
end
View
7 gemfiles/active_record_30.gemfile
@@ -0,0 +1,7 @@
+source :rubygems
+
+gem 'railties', '>= 3.0.13'
+gem 'activerecord', '>= 3.0.13', :require => 'active_record'
+gem 'rspec-rails', '>= 2.0'
+
+gemspec :path => '../'

0 comments on commit b04e30d

Please sign in to comment.