Sha256: 0e262df7b8defd12614ddd41eb5a839141c9462a470a45b494f897cb5e6e7af7

Contents?: true

Size: 631 Bytes

Versions: 16

Compression:

Stored size: 631 Bytes

Contents

require 'bundler/setup'
require 'dry-container'
require 'sinatra/activerecord'
require 'rubydns'
require 'sinatra'

require_relative 'initializers/001_hash'
require_relative 'initializers/002_openstruct'

SOCKET_PATH = File.expand_path('/tmp/app.sock')

# sinatra conf
configure do
  # set :public_folder, 'public'
  # set :views, 'app/views'
  set :server, :thin
  # enable/disable the built-in web server
  # set :run, :false
  # server hostname or IP address
  # set :bind, SOCKET_PATH, "localhost:4567"
  # set :port, 4567
  #enable :sessions
  #set :session_secret, 'password_security'
  set :default_content_type, :json
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
mkit-0.9.0 lib/mkit/config/environment.rb
mkit-0.8.0 lib/mkit/config/environment.rb
mkit-0.7.2 lib/mkit/config/environment.rb
mkit-0.7.1 lib/mkit/config/environment.rb
mkit-0.7.0 lib/mkit/config/environment.rb
mkit-0.6.3 lib/mkit/config/environment.rb
mkit-0.6.2 lib/mkit/config/environment.rb
mkit-0.6.1 lib/mkit/config/environment.rb
mkit-0.6.0 lib/mkit/config/environment.rb
mkit-0.5.0 lib/mkit/config/environment.rb
mkit-0.4.3 lib/mkit/config/environment.rb
mkit-0.4.2 lib/mkit/config/environment.rb
mkit-0.4.1 lib/mkit/config/environment.rb
mkit-0.4.0 lib/mkit/config/environment.rb
mkit-0.3.0 lib/mkit/config/environment.rb
mkit-0.2.0 lib/mkit/config/environment.rb