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