Sha256: b0ddc2596cc1d92d5c162393c58e2b2a35405a71f55b28120eb6fd56216975e5
Contents?: true
Size: 525 Bytes
Versions: 2
Compression:
Stored size: 525 Bytes
Contents
#!/usr/bin/env rake require "bundler/gem_tasks" task :rspec_all_databases do require 'posix-spawn' %w{ postgresql mysql2 sqlite3 }.each do |adapter| puts puts '#'*50 puts "# Running specs against #{adapter}" puts '#'*50 puts pid = POSIX::Spawn.spawn({'ADAPTER' => adapter}, 'rspec', '--format', 'documentation', File.expand_path('../spec', __FILE__)) Process.waitpid pid raise unless $?.success? end end task :default => :rspec_all_databases require 'yard' YARD::Rake::YardocTask.new
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
upsert-1.0.2 | Rakefile |
upsert-0.5.0 | Rakefile |