Sha256: 4a148b7b046c1383a37615e9ccd96280af3874ab0d7fe28e74160f234bcf5b9d

Contents?: true

Size: 813 Bytes

Versions: 8

Compression:

Stored size: 813 Bytes

Contents

#!/usr/bin/env ruby

# raise "Please supply database path" unless ARGV[0]

$LOAD_PATH.unshift './lib'
$LOAD_PATH.unshift './spec'
$LOAD_PATH.unshift './tasks'
ENV['RACK_ENV'] = 'development'
require 'sequel'
require 'logger'
#DATABASE_CREDENTIALS = {logger: Logger.new($stdout), adapter: "sqlite", database: ARGV[0], :encoding => 'utf8'}.tap { |it| puts it }
DATABASE_CREDENTIALS = {adapter: "postgres", database: "postgres", username: 'postgres', password: 'postgres', host: "localhost", :encoding => 'utf8'}

connection = Sequel.connect(DATABASE_CREDENTIALS)
connection.timezone = :utc
# Uncomment these lines to open a pry session for inspecting the database


require 'pact_broker/db'
require 'pact_broker'
require 'support/test_data_builder'
puts "bout to pry"

require 'pry'; pry(binding);
puts "fater pry"

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
pact_broker-2.76.2 script/pry.rb
pact_broker-2.76.1 script/pry.rb
pact_broker-2.76.0 script/pry.rb
pact_broker-2.75.0 script/pry.rb
pact_broker-2.74.1 script/pry.rb
pact_broker-2.74.0 script/pry.rb
pact_broker-2.73.0 script/pry.rb
pact_broker-2.72.0 script/pry.rb