Sha256: 4b23a33a023986168dc2c688b4b7965cd9e40734bb7cdd710370525af5e5c655

Contents?: true

Size: 776 Bytes

Versions: 45

Compression:

Stored size: 776 Bytes

Contents

require 'pact_broker/tasks'

PactBroker::DB::MigrationTask.new do | task |
  ENV['RACK_ENV'] ||= 'test'
  require 'db'
  task.database_connection = DB::PACT_BROKER_DB
end

PactBroker::DB::DataMigrationTask.new do | task |
  ENV['RACK_ENV'] ||= 'test'
  require 'db'
  task.database_connection = DB::PACT_BROKER_DB
end

PactBroker::DB::VersionTask.new do | task |
  ENV['RACK_ENV'] ||= 'test'
  require 'db'
  task.database_connection = DB::PACT_BROKER_DB
end

PactBroker::DB::CleanTask.new do | task |
  ENV['RACK_ENV'] ||= 'test'
  require 'db'
  task.database_connection = DB::PACT_BROKER_DB
end

PactBroker::DB::DeleteOverwrittenDataTask.new do | task |
  ENV['RACK_ENV'] ||= 'test'
  require 'db'
  task.database_connection = DB::PACT_BROKER_DB
  task.age_in_days = 7
end

Version data entries

45 entries across 45 versions & 1 rubygems

Version Path
pact_broker-2.79.1 tasks/test_db.rake
pact_broker-2.79.0 tasks/test_db.rake
pact_broker-2.78.1 tasks/test_db.rake
pact_broker-2.78.0 tasks/test_db.rake
pact_broker-2.77.0 tasks/test_db.rake
pact_broker-2.76.2 tasks/test_db.rake
pact_broker-2.76.1 tasks/test_db.rake
pact_broker-2.76.0 tasks/test_db.rake
pact_broker-2.75.0 tasks/test_db.rake
pact_broker-2.74.1 tasks/test_db.rake
pact_broker-2.74.0 tasks/test_db.rake
pact_broker-2.73.0 tasks/test_db.rake
pact_broker-2.72.0 tasks/test_db.rake
pact_broker-2.71.0 tasks/test_db.rake
pact_broker-2.70.0 tasks/test_db.rake
pact_broker-2.69.0 tasks/test_db.rake
pact_broker-2.68.1 tasks/test_db.rake
pact_broker-2.68.0 tasks/test_db.rake
pact_broker-2.67.0 tasks/test_db.rake
pact_broker-2.66.0 tasks/test_db.rake