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.52.1 db/test/backwards_compatibility/config.ru
pact_broker-2.52.0 db/test/backwards_compatibility/config.ru
pact_broker-2.51.0 db/test/backwards_compatibility/config.ru
pact_broker-2.50.1 db/test/backwards_compatibility/config.ru
pact_broker-2.50.0 db/test/backwards_compatibility/config.ru
pact_broker-2.49.0 db/test/backwards_compatibility/config.ru
pact_broker-2.48.0 db/test/backwards_compatibility/config.ru
pact_broker-2.47.1 db/test/backwards_compatibility/config.ru
pact_broker-2.47.0 db/test/backwards_compatibility/config.ru
pact_broker-2.46.0 db/test/backwards_compatibility/config.ru
pact_broker-2.45.0 db/test/backwards_compatibility/config.ru
pact_broker-2.44.0 db/test/backwards_compatibility/config.ru
pact_broker-2.43.0 db/test/backwards_compatibility/config.ru
pact_broker-2.42.0 db/test/backwards_compatibility/config.ru
pact_broker-2.41.0 db/test/backwards_compatibility/config.ru
pact_broker-2.40.0 db/test/backwards_compatibility/config.ru
pact_broker-2.39.0 db/test/backwards_compatibility/config.ru
pact_broker-2.38.1 db/test/backwards_compatibility/config.ru
pact_broker-2.38.0 db/test/backwards_compatibility/config.ru
pact_broker-2.37.0 db/test/backwards_compatibility/config.ru