Sha256: 529c27ff8d429b4cc57c1c0ece59d0e58ee7cda8e0d7e4f6e5754bd056302ccb

Contents?: true

Size: 604 Bytes

Versions: 7

Compression:

Stored size: 604 Bytes

Contents

require "bundler"
Bundler.setup

require 'rake'
require 'rake/testtask'

namespace :display do
  task :notice do
    puts
    puts "To run tests you must supply the adapter, see rake -T for more information."
    puts
  end
end
task :default => ["display:notice"]

ADAPTERS = %w(oracle_enhanced)
ADAPTERS.each do |adapter|
  namespace :test do
    desc "Runs #{adapter} database tests."
    Rake::TestTask.new(adapter) do |t|
      t.test_files = FileList["test/adapters/#{adapter}.rb", "test/*_test.rb", "test/active_record/*_test.rb", "test/#{adapter}/**/*_test.rb"]
    end
    task adapter
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
activerecord_bulkoperation-0.0.8 Rakefile
activerecord_bulkoperation-0.0.7 Rakefile
activerecord_bulkoperation-0.0.6 Rakefile
activerecord_bulkoperation-0.0.5 Rakefile
activerecord_bulkoperation-0.0.4 Rakefile
activerecord_bulkoperation-0.0.3 Rakefile
activerecord_bulkoperation-0.0.2 Rakefile