Sha256: 44798f550463c507a57f7f693997d21e433b5ea0bfda3aebfef1f7802f80bb74

Contents?: true

Size: 562 Bytes

Versions: 4

Compression:

Stored size: 562 Bytes

Contents

# encoding: utf-8

# environment
ENV['RACK_ENV'] ||= 'development'

# load path
lib_path = File.expand_path('../lib', __FILE__)
($:.unshift lib_path) unless ($:.include? lib_path)

# preparing for hyperspace
require 'boot'
Bundler.require(:default, :web)
require './app'

# middleware stack
if %w(production staging).include? ENV['RACK_ENV']
  use Rack::SSL, hsts: { subdomains: true }
end
use Rack::Cache, metastore: Dalli::Client.new, entitystore: Dalli::Client.new(nil, value_max_bytes: 10485760)
use Rack::Deflater
use Rack::Runtime

# make the jump
run App

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
daiku-0.2.2 lib/daiku/_app/config.ru.tt
daiku-0.2.1 lib/daiku/_app/config.ru.tt
daiku-0.2.0 lib/daiku/_app/config.ru.tt
daiku-0.1.1 lib/daiku/_app/config.ru.tt