Sha256: 8767eea332b9baf92510e6813901247078c20c5bcb41290caec061b7a8667119
Contents?: true
Size: 460 Bytes
Versions: 3
Compression:
Stored size: 460 Bytes
Contents
require 'bundler/gem_tasks' require 'rspec/core/rake_task' RSpec::Core::RakeTask.new(:spec) task :default => :spec namespace :spec do task :all do Dir[File.expand_path('../gemfiles/*.lock', __FILE__)].each { |f| File.delete(f) } Dir[File.expand_path('../gemfiles/*', __FILE__)].each do |gemfile| env = {'BUNDLE_GEMFILE' => gemfile, 'MYSQL' => '1'} system(env, 'bundle install') system(env, 'bundle exec rspec') end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
activerecord-rescue_from_duplicate-0.1.2 | Rakefile |
activerecord-rescue_from_duplicate-0.1.1 | Rakefile |
activerecord-rescue_from_duplicate-0.1.0 | Rakefile |