File: thin.rb

package info (click to toggle)
thin 1.2.4-1.1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 1,252 kB
  • ctags: 531
  • sloc: ruby: 4,529; ansic: 725; sh: 21; makefile: 16
file content (46 lines) | stat: -rw-r--r-- 1,277 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
require 'fileutils'
require 'timeout'
require 'stringio'
require 'time'
require 'forwardable'

require 'openssl'
require 'eventmachine'

require 'thin/version'
require 'thin/statuses'

module Thin
  autoload :Command,            'thin/command'
  autoload :Connection,         'thin/connection'
  autoload :Daemonizable,       'thin/daemonizing'
  autoload :Logging,            'thin/logging'
  autoload :Headers,            'thin/headers'
  autoload :Request,            'thin/request'
  autoload :Response,           'thin/response'
  autoload :Runner,             'thin/runner'
  autoload :Server,             'thin/server'
  autoload :Stats,              'thin/stats'
  
  module Backends
    autoload :Base,             'thin/backends/base'
    autoload :SwiftiplyClient,  'thin/backends/swiftiply_client'
    autoload :TcpServer,        'thin/backends/tcp_server'
    autoload :UnixServer,       'thin/backends/unix_server'
  end
  
  module Controllers
    autoload :Cluster,          'thin/controllers/cluster'
    autoload :Controller,       'thin/controllers/controller'
    autoload :Service,          'thin/controllers/service'
  end
end

require 'rack'
require 'rack/adapter/loader'

module Rack
  module Adapter
    autoload :Rails, 'rack/adapter/rails'
  end
end