Sha256: 33cd8e150d714e94e697520133cf58a3775b92ec25bf2e972317759ab0bc3553

Contents?: true

Size: 561 Bytes

Versions: 1

Compression:

Stored size: 561 Bytes

Contents

#!/usr/bin/env ruby

$:.push File.expand_path('../../lib', __FILE__)

require 'rest-assured/config'
require 'uri'

# disable buffering to have log messages sent straight to Heroku’s logging infrastructure
$stdout.sync = true

db = URI.parse(ENV['DATABASE_URL'])

opts = {
      port: ENV['PORT'],
   adapter: 'postgresql',
    dbhost: db.host,
      user: db.user,
    dbpass: db.password,
    dbport: db.port,
  database: db.path[1..-1],
  encoding: 'utf8'
}

RestAssured::Config.build(opts)

require 'rest-assured/application'
RestAssured::Application.run!

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rest-assured-1.2.0 bin/heroku_runner