Sha256: 5cebc1af87504040b22fa3faab83f3a91ff9842911e68782ef5fb60fb294f49a
Contents?: true
Size: 659 Bytes
Versions: 10
Compression:
Stored size: 659 Bytes
Contents
require 'rack' require 'rack/handler/puma' require 'hamlit' require 'active_support/all' require 'lru_redux' require 'thread' require 'pathname' require 'json' module Servel def self.build_app(path_map) url_map = path_map.map { |root, url_root| [url_root, Servel::App.new(root)] }.to_h url_map["/"] = Servel::HomeApp.new(path_map.values) unless url_map.keys.include?("/") Rack::URLMap.new(url_map) end end require "servel/version" require "servel/instrumentation" require "servel/entry" require "servel/entry_factory" require "servel/haml_context" require "servel/index" require "servel/app" require "servel/home_app" require "servel/cli"
Version data entries
10 entries across 10 versions & 1 rubygems