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.65.0 tasks/test_db.rake
pact_broker-2.64.0 tasks/test_db.rake
pact_broker-2.63.0 tasks/test_db.rake
pact_broker-2.62.0 tasks/test_db.rake
pact_broker-2.61.0 tasks/test_db.rake
pact_broker-2.60.1 tasks/test_db.rake
pact_broker-2.60.0 tasks/test_db.rake
pact_broker-2.59.2 tasks/test_db.rake
pact_broker-2.59.1 tasks/test_db.rake
pact_broker-2.59.0 tasks/test_db.rake
pact_broker-2.58.3 tasks/test_db.rake
pact_broker-2.58.2 tasks/test_db.rake
pact_broker-2.58.0 tasks/test_db.rake
pact_broker-2.57.0 tasks/test_db.rake
pact_broker-2.56.1 tasks/test_db.rake
pact_broker-2.56.0 tasks/test_db.rake
pact_broker-2.55.0 tasks/test_db.rake
pact_broker-2.54.0 tasks/test_db.rake
pact_broker-2.53.0 tasks/test_db.rake
pact_broker-2.52.2 tasks/test_db.rake