Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Removed rvm task.

Fixed warning on rdoc task.
  • Loading branch information...
commit bad81537a0c7abbd049433c81e797828817d827f 1 parent 0dc2c21
@dougal authored
Showing with 1 addition and 33 deletions.
  1. +1 −33 Rakefile
View
34 Rakefile
@@ -1,6 +1,6 @@
require 'rake'
require 'rake/testtask'
-require 'rake/rdoctask'
+require 'rdoc/task'
desc 'Default: run unit tests.'
task :default => :test
@@ -49,35 +49,3 @@ begin
rescue LoadError
puts "Jeweler not available. Install it with: sudo gem install jeweler"
end
-
-namespace :rvm do
- AR_VERSIONS = %w{2.1.2 2.2.3 2.3.12 3.0.9}
- INSTALLED_GEMSETS = `rvm gemset list`.scan(/aai_ar[^\n]+/)
-
- desc "Setup RVM gemsets to test different versions of ActiveRecord"
- task :test do
- AR_VERSIONS.each do |version|
- gemset_name = "aai_ar_#{ version }"
-
- unless INSTALLED_GEMSETS.include?(gemset_name)
- sh "rvm gemset create #{ gemset_name }"
- sh "rvm gemset use aai_ar_#{ version }"
- sh "gem install bundler --no-rdoc --no-ri"
- sh "bundle install"
- sh "gem install activerecord --version #{version} --no-rdoc --no-ri"
- end
-
- puts "Testing with Activerecord #{ version }"
- puts "="*20
- sh "rake test"
- puts "="*20
- end
- end
-
- task :cleanup do
- INSTALLED_GEMSETS.each do |gemset|
- sh "rvm --force gemset delete #{ gemset }"
- end
- end
-
-end
Please sign in to comment.
Something went wrong with that request. Please try again.