Sha256: b10aab59efe0f40d31c2816a1c62ddce1a31d852356b9eee37880b72d4c1cf1f

Contents?: true

Size: 922 Bytes

Versions: 1

Compression:

Stored size: 922 Bytes

Contents

require 'dependor'
require 'dependor/shorty'

require 'goliath'
require 'yaml'

module Rhinestone
  autoload :App,                    'rhinestone/app'
  autoload :Cache,                  'rhinestone/cache'
  autoload :FilesystemCacheBackend, 'rhinestone/filesystem_cache_backend'
  autoload :HeaderFilter,           'rhinestone/header_filter'
  autoload :Injector,               'rhinestone/injector'
  autoload :InMemoryCacheBackend,   'rhinestone/in_memory_cache_backend'
  autoload :HttpClient,             'rhinestone/http_client'
  autoload :Later,                  'rhinestone/later'
  autoload :Response,               'rhinestone/response'
  autoload :Server,                 'rhinestone/server'
  autoload :VERSION,                'rhinestone/version'

  def self.server
    Injector.new.server
  end

  def self.run!
    Goliath::Application.app_class = 'Rhinestone::App'
    Goliath::Application.run!
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rhinestone-0.0.1 lib/rhinestone.rb