Rakefile in activemodel-associations-0.0.2 vs Rakefile in activemodel-associations-0.0.3
- old
+ new
@@ -4,20 +4,20 @@
RSpec::Core::RakeTask.new(:spec)
task :default => :spec
namespace :spec do
- %w(activerecord-40 activerecord-41).each do |gemfile|
+ %w(activerecord-40 activerecord-41 activerecord-412 activerecord-42).each do |gemfile|
desc "Run Tests by #{gemfile}.gemfile"
task gemfile do
sh "BUNDLE_GEMFILE='gemfiles/#{gemfile}.gemfile' bundle install --path .bundle"
sh "BUNDLE_GEMFILE='gemfiles/#{gemfile}.gemfile' bundle exec rake -t spec"
end
end
desc "Run All Tests"
task :all do
- %w(activerecord-40 activerecord-41).each do |gemfile|
+ %w(activerecord-40 activerecord-41 activerecord-412 activerecord-42).each do |gemfile|
Rake::Task["spec:#{gemfile}"].invoke
end
end
end