Sha256: 64dc54fc3e78f705b020020fe3d896620532abcde00d27a689e96cd2fa0779ea

Contents?: true

Size: 366 Bytes

Versions: 1

Compression:

Stored size: 366 Bytes

Contents

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

app = PactBroker::App.new do | config |
  config.database_connection = Sequel.connect(ENV['DATABASE_URL'], adapter: "postgres", encoding: 'utf8')
  config.protect_with_basic_auth :all, {username: ENV['PACT_BROKER_USERNAME'], password: ENV['PACT_BROKER_PASSWORD']}
end

run app

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
pact_broker-1.18.0.beta.1 example/heroku/config.ru