Sha256: 254ad159dbb73cc5924c5fa6e4d5199284d45d429fc9ce59336d3199d3af6b99

Contents?: true

Size: 635 Bytes

Versions: 97

Compression:

Stored size: 635 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.logger.formatter = proc do |severity, datetime, progname, msg|
    "v#{PactBroker::VERSION} #{severity} -- : #{msg}\n"
  end
  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

97 entries across 97 versions & 1 rubygems

Version Path
pact_broker-2.79.1 db/test/backwards_compatibility/config.ru
pact_broker-2.79.0 db/test/backwards_compatibility/config.ru
pact_broker-2.78.1 db/test/backwards_compatibility/config.ru
pact_broker-2.78.0 db/test/backwards_compatibility/config.ru
pact_broker-2.77.0 db/test/backwards_compatibility/config.ru
pact_broker-2.76.2 db/test/backwards_compatibility/config.ru
pact_broker-2.76.1 db/test/backwards_compatibility/config.ru
pact_broker-2.76.0 db/test/backwards_compatibility/config.ru
pact_broker-2.75.0 db/test/backwards_compatibility/config.ru
pact_broker-2.74.1 db/test/backwards_compatibility/config.ru
pact_broker-2.74.0 db/test/backwards_compatibility/config.ru
pact_broker-2.73.0 db/test/backwards_compatibility/config.ru
pact_broker-2.72.0 db/test/backwards_compatibility/config.ru
pact_broker-2.71.0 db/test/backwards_compatibility/config.ru
pact_broker-2.70.0 db/test/backwards_compatibility/config.ru
pact_broker-2.69.0 db/test/backwards_compatibility/config.ru
pact_broker-2.68.1 db/test/backwards_compatibility/config.ru
pact_broker-2.68.0 db/test/backwards_compatibility/config.ru
pact_broker-2.67.0 db/test/backwards_compatibility/config.ru
pact_broker-2.66.0 db/test/backwards_compatibility/config.ru