Skip to content
This repository
Browse code

support AR 3.1

  • Loading branch information...
commit 72339b31785b884999943726176c4cf818029f36 1 parent 97d5f92
Akira Matsuda authored

Showing 2 changed files with 9 additions and 2 deletions. Show diff stats Hide diff stats

  1. +2 2 Rakefile
  2. +7 0 gemfiles/active_record_31.gemfile
4 Rakefile
@@ -12,7 +12,7 @@ end
12 12 task :default => :spec
13 13
14 14 namespace :spec do
15   - %w(active_record_32 data_mapper_12 mongoid_24 mongo_mapper sinatra).each do |gemfile|
  15 + %w(active_record_32 active_record_31 data_mapper_12 mongoid_24 mongo_mapper sinatra).each do |gemfile|
16 16 task gemfile do
17 17 sh "BUNDLE_GEMFILE='gemfiles/#{gemfile}.gemfile' bundle --quiet"
18 18 sh "BUNDLE_GEMFILE='gemfiles/#{gemfile}.gemfile' bundle exec rake -t spec"
@@ -20,7 +20,7 @@ namespace :spec do
20 20 end
21 21
22 22 task :all do
23   - %w(active_record_32 data_mapper_12 mongoid_24 mongo_mapper sinatra).each do |gemfile|
  23 + %w(active_record_32 active_record_31 data_mapper_12 mongoid_24 mongo_mapper sinatra).each do |gemfile|
24 24 sh "BUNDLE_GEMFILE='gemfiles/#{gemfile}.gemfile' bundle --quiet"
25 25 sh "BUNDLE_GEMFILE='gemfiles/#{gemfile}.gemfile' bundle exec rake spec"
26 26 end
7 gemfiles/active_record_31.gemfile
... ... @@ -0,0 +1,7 @@
  1 +source :rubygems
  2 +
  3 +gem 'railties', '>= 3.1.5'
  4 +gem 'activerecord', '>= 3.1.5', :require => 'active_record'
  5 +gem 'rspec-rails', '>= 2.0'
  6 +
  7 +gemspec :path => '../'

0 comments on commit 72339b3

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