Sha256: 1c73c6bda284ac56c905cd708b8abf06987ede9a8c154b547cbe530c36f120ea

Contents?: true

Size: 776 Bytes

Versions: 12

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

12 entries across 12 versions & 1 rubygems

Version Path
pact_broker-2.89.1 tasks/test_db.rake
pact_broker-2.89.0 tasks/test_db.rake
pact_broker-2.88.0 tasks/test_db.rake
pact_broker-2.87.0 tasks/test_db.rake
pact_broker-2.86.0 tasks/test_db.rake
pact_broker-2.85.1 tasks/test_db.rake
pact_broker-2.85.0 tasks/test_db.rake
pact_broker-2.84.0 tasks/test_db.rake
pact_broker-2.83.0 tasks/test_db.rake
pact_broker-2.82.0 tasks/test_db.rake
pact_broker-2.81.0 tasks/test_db.rake
pact_broker-2.80.0 tasks/test_db.rake