Sha256: 52c046959248609b283db7045290fc8ab861265f140274fe9f8a309858ae6786

Contents?: true

Size: 262 Bytes

Versions: 18

Compression:

Stored size: 262 Bytes

Contents

require File.join(File.dirname(__FILE__), 'application')

set :run, false
set :environment, :production

FileUtils.mkdir_p 'log' unless File.exists?('log')
log = File.new("log/sinatra.log", "a+")
$stdout.reopen(log)
$stderr.reopen(log)

run Sinatra::Application

Version data entries

18 entries across 9 versions & 1 rubygems

Version Path
codesake-dawn-0.85 spec/support/sinatra-safe/config.ru
codesake-dawn-0.85 spec/support/sinatra-vulnerable/config.ru
codesake-dawn-0.80.0 spec/support/sinatra-safe/config.ru
codesake-dawn-0.80.0 spec/support/sinatra-vulnerable/config.ru
codesake-dawn-0.79.99 spec/support/sinatra-vulnerable/config.ru
codesake-dawn-0.79.99 spec/support/sinatra-safe/config.ru
codesake-dawn-0.77 spec/support/sinatra-safe/config.ru
codesake-dawn-0.77 spec/support/sinatra-vulnerable/config.ru
codesake-dawn-0.75 spec/support/sinatra-vulnerable/config.ru
codesake-dawn-0.75 spec/support/sinatra-safe/config.ru
codesake-dawn-0.72 spec/support/sinatra-vulnerable/config.ru
codesake-dawn-0.72 spec/support/sinatra-safe/config.ru
codesake-dawn-0.70 spec/support/sinatra-vulnerable/config.ru
codesake-dawn-0.70 spec/support/sinatra-safe/config.ru
codesake-dawn-0.60 spec/support/sinatra-safe/config.ru
codesake-dawn-0.60 spec/support/sinatra-vulnerable/config.ru
codesake-dawn-0.50 spec/support/sinatra-vulnerable/config.ru
codesake-dawn-0.50 spec/support/sinatra-safe/config.ru