Sha256: f4be3f96ad131473e503d4e9a63397c4afa20a0c3111f40602f9856ccbd75437

Contents?: true

Size: 594 Bytes

Versions: 8

Compression:

Stored size: 594 Bytes

Contents

#!/usr/bin/env rake
require "bundler/gem_tasks"

require 'rake'
require 'rake/testtask'
Rake::TestTask.new(:_test) do |test|
  test.libs << 'lib' << 'test'
  test.pattern = 'test/**/test_*.rb'
  test.verbose = true
end

task :test_each_db_adapter do
  %w{ active_record_upsert mysql2 sqlite pg active_record_connection_adapter }.each do |database|
    puts
    puts "#{'*'*10} Running #{database} tests"
    puts
    puts `rake _test TEST=test/test_#{database}.rb`
  end
end

task :default => :test_each_db_adapter
task :test => :test_each_db_adapter

require 'yard'
YARD::Rake::YardocTask.new

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
upsert-0.3.4 Rakefile
upsert-0.3.3 Rakefile
upsert-0.3.2 Rakefile
upsert-0.3.1 Rakefile
upsert-0.3.0 Rakefile
upsert-0.2.2 Rakefile
upsert-0.2.1 Rakefile
upsert-0.2.0 Rakefile