Sha256: 6cae8862723400f578c10422012812e21bbd10a27d5cd035bf29b98f854cb042

Contents?: true

Size: 1.73 KB

Versions: 7

Compression:

Stored size: 1.73 KB

Contents

require 'fileutils'
require 'timeout'
require 'stringio'
require 'time'
require 'forwardable'
require 'openssl'
require 'eventmachine'
require 'rack'

module Thin
  ROOT = File.expand_path(File.dirname(__FILE__))
  
  autoload :Command,            "#{ROOT}/thin/command"
  autoload :Connection,         "#{ROOT}/thin/connection"
  autoload :Daemonizable,       "#{ROOT}/thin/daemonizing"
  autoload :Logging,            "#{ROOT}/thin/logging"
  autoload :Headers,            "#{ROOT}/thin/headers"
  autoload :Request,            "#{ROOT}/thin/request"
  autoload :Response,           "#{ROOT}/thin/response"
  autoload :Runner,             "#{ROOT}/thin/runner"
  autoload :Server,             "#{ROOT}/thin/server"
  autoload :Stats,              "#{ROOT}/thin/stats"
  
  module Backends
    autoload :Base,             "#{ROOT}/thin/backends/base"
    autoload :SwiftiplyClient,  "#{ROOT}/thin/backends/swiftiply_client"
    autoload :TcpServer,        "#{ROOT}/thin/backends/tcp_server"
    autoload :UnixServer,       "#{ROOT}/thin/backends/unix_server"
  end
  
  module Controllers
    autoload :Cluster,          "#{ROOT}/thin/controllers/cluster"
    autoload :Controller,       "#{ROOT}/thin/controllers/controller"
    autoload :Service,          "#{ROOT}/thin/controllers/service"
  end
end

require "#{Thin::ROOT}/thin/version"
require "#{Thin::ROOT}/thin/statuses"
require "#{Thin::ROOT}/rack/adapter/loader"

# support multiple Ruby version (fat binaries under windows)
begin
  require "#{Thin::ROOT}/thin_parser"
rescue LoadError
  if RUBY_PLATFORM =~ /mingw|mswin/ then
    RUBY_VERSION =~ /(\d+.\d+)/
    require "#{Thin::ROOT}/#{$1}/thin_parser"
  end
end

module Rack
  module Adapter
    autoload :Rails, "#{Thin::ROOT}/rack/adapter/rails"
  end
end

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
thin-1.2.8 lib/thin.rb
thin-1.2.8-x86-mswin32 lib/thin.rb
thin-1.2.8-x86-mingw32 lib/thin.rb
steamcannon-thin-1.2.8 lib/thin.rb
thin-1.2.7 lib/thin.rb
thin-1.2.7-x86-mswin32 lib/thin.rb
thin-1.2.7-x86-mingw32 lib/thin.rb