Sha256: de658ee5514b4b346994ebe18f3a191a940a582184ec1bba19b67500ddbb770e
Contents?: true
Size: 511 Bytes
Versions: 5
Compression:
Stored size: 511 Bytes
Contents
# frozen_string_literal: true require 'rack/protection' use Rack::Session::Cookie, key: '_Ditty_session', # :secure=>!TEST_MODE, # Uncomment if only allowing https:// access secret: File.read('.session_secret') require 'ditty/components/ditty' Ditty.component :ditty require 'ditty/services/authentication' use OmniAuth::Builder do ::Ditty::Services::Authentication.config.each do |prov, config| provider prov, *config[:arguments] end end run Rack::URLMap.new ::Ditty::Components.routes
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
ditty-0.11.1 | config.ru |
ditty-0.10.2 | config.ru |
ditty-0.10.1 | config.ru |
ditty-0.9.1 | config.ru |
ditty-0.9.0 | config.ru |