Sha256: 81d6cf3ac10ea07a7c5885eee0cca333777e5942922c75fa1fcee671d4a867a8

Contents?: true

Size: 363 Bytes

Versions: 17

Compression:

Stored size: 363 Bytes

Contents

require 'thin'
require 'rack/handler/thin'

module Ramaze
  module Adapter
    class Thin < Base
      # start server on given host and port.
      def self.startup(host, port)
        @server = ::Thin::Server.new(host, port, self)
        ::Thin::Logging.silent = true
        @server.timeout = 3

        Thread.new{ @server.start }
      end
    end
  end
end

Version data entries

17 entries across 17 versions & 4 rubygems

Version Path
Pistos-ramaze-2008.09 lib/ramaze/adapter/thin.rb
Pistos-ramaze-2008.12 lib/ramaze/adapter/thin.rb
Pistos-ramaze-2009.01 lib/ramaze/adapter/thin.rb
Pistos-ramaze-2009.02 lib/ramaze/adapter/thin.rb
manveru-ramaze-2008.07 lib/ramaze/adapter/thin.rb
manveru-ramaze-2008.08 lib/ramaze/adapter/thin.rb
manveru-ramaze-2008.09 lib/ramaze/adapter/thin.rb
manveru-ramaze-2008.10 lib/ramaze/adapter/thin.rb
manveru-ramaze-2008.12 lib/ramaze/adapter/thin.rb
manveru-ramaze-2009.01 lib/ramaze/adapter/thin.rb
ptomato-ramaze-2009.02.1 lib/ramaze/adapter/thin.rb
ptomato-ramaze-2009.02 lib/ramaze/adapter/thin.rb
ramaze-2008.11 lib/ramaze/adapter/thin.rb
ramaze-2008.06 lib/ramaze/adapter/thin.rb
ramaze-2009.01 lib/ramaze/adapter/thin.rb
ramaze-2009.03 lib/ramaze/adapter/thin.rb
ramaze-2009.02 lib/ramaze/adapter/thin.rb