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

Version Path
servel-0.30.0 lib/servel.rb
servel-0.29.0 lib/servel.rb
servel-0.28.0 lib/servel.rb
servel-0.27.0 lib/servel.rb
servel-0.26.0 lib/servel.rb
servel-0.25.0 lib/servel.rb
servel-0.24.0 lib/servel.rb
servel-0.23.0 lib/servel.rb
servel-0.22.0 lib/servel.rb
servel-0.21.0 lib/servel.rb