Sha256: 662329ec577d26bf47282bfec5c1bf654232dedda4d86072d40f00d09a98c9f1

Contents?: true

Size: 402 Bytes

Versions: 3

Compression:

Stored size: 402 Bytes

Contents

# frozen_string_literal: true

require "bundler/gem_tasks"
require "rspec/core/rake_task"
require "rubocop/rake_task"

RSpec::Core::RakeTask.new(:spec)
RuboCop::RakeTask.new(:rubocop)

task default: [:spec, :rubocop]

task :wait_for_test_db do
  require "active_record_data_loader"
  require "./spec/active_record_helper"

  ActiveRecordHelper.wait_for_mysql
  ActiveRecordHelper.wait_for_postgres
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
active_record_data_loader-1.3.1 Rakefile
active_record_data_loader-1.3.0 Rakefile
active_record_data_loader-1.2.0 Rakefile