Sha256: a9a239c9ea83f08a6b346ab24fa6dbf7f051ef3f0aa39853f20ebbd6b354b542

Contents?: true

Size: 463 Bytes

Versions: 1

Compression:

Stored size: 463 Bytes

Contents

$: << File.join(File.dirname(__FILE__), "lib")

require 'oldskool'

set :run, false

config = YAML.load_file(File.expand_path("../config/oldskool.yaml", __FILE__))

# If you want basic HTTP authentication
# include :username and :password in gdash.yaml
#if config[:username] && config[:password]
#  use Rack::Auth::Basic do |username, password|
#    username == config[:username] && password == config[:password]
#  end
#end

run Oldskool::SinatraApp.new(config)

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
oldskool-0.0.1 config.ru