Sha256: 4c1355e4a66718c6a303c3b0bf650886471f6ee83bd2b8594b45763664063415

Contents?: true

Size: 501 Bytes

Versions: 15

Compression:

Stored size: 501 Bytes

Contents

require 'fileutils'
require 'logger'
require 'sequel'
require 'pact_broker'

FileUtils.mkdir_p "pids"
FileUtils.touch "pids/#{Process.pid}"

DATABASE_CREDENTIALS = {adapter: "sqlite", database: "pact_broker_database.sqlite3", :encoding => 'utf8'}

app = PactBroker::App.new do | config |
  config.database_connection = Sequel.connect(DATABASE_CREDENTIALS.merge(:logger => config.logger))
  config.auto_migrate_db = true
end

PactBroker.logger.info "Running PactBroker #{PactBroker::VERSION}"

run app

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
pact_broker-2.13.1 db/test/backwards_compatibility/config.ru
pact_broker-2.13.0 db/test/backwards_compatibility/config.ru
pact_broker-2.12.0 db/test/backwards_compatibility/config.ru
pact_broker-2.11.0 db/test/backwards_compatibility/config.ru
pact_broker-2.10.0 db/test/backwards_compatibility/config.ru
pact_broker-2.9.0 db/test/backwards_compatibility/config.ru
pact_broker-2.9.0.beta.5 db/test/backwards_compatibility/config.ru
pact_broker-2.8.0.beta.5 db/test/backwards_compatibility/config.ru
pact_broker-2.8.0.beta.4 db/test/backwards_compatibility/config.ru
pact_broker-2.7.0.beta.3 db/test/backwards_compatibility/config.ru
pact_broker-2.7.0.beta.2 db/test/backwards_compatibility/config.ru
pact_broker-2.7.0.beta.1 db/test/backwards_compatibility/config.ru
pact_broker-2.6.0 db/test/backwards_compatibility/config.ru
pact_broker-2.5.1 db/test/backwards_compatibility/config.ru
pact_broker-2.5.0 db/test/backwards_compatibility/config.ru