Sha256: c9ba2c43358b8aad529ff82d9cbaff61a6e2f9a10796b9b960b874834ba3e875
Contents?: true
Size: 668 Bytes
Versions: 8
Compression:
Stored size: 668 Bytes
Contents
require 'rack' require 'rack/handler/puma' require 'hamlit' require 'naturalsorter' require 'active_support/all' require 'lru_redux' require 'thread' require 'pathname' 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
8 entries across 8 versions & 1 rubygems