Sha256: f4957e682b792672e45ba77f37220c66d6667ac22ece0a4691d5c7b37842e414

Contents?: true

Size: 255 Bytes

Versions: 11

Compression:

Stored size: 255 Bytes

Contents

require 'regurgitator'
db = Sequel.connect 'mysql2://user@example.com/mogilefs'
use Rack::ContentLength
use Rack::ContentType, 'text/plain'
err = lambda { |env| [ 404, [], [] ] }
run Regurgitator::DomainHost.new(err, :db => db, :suffix => '.example.com')

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
regurgitator-0.9.1 examples/domain_host.ru
regurgitator-0.9.0 examples/domain_host.ru
regurgitator-0.8.0 examples/domain_host.ru
regurgitator-0.7.0 examples/domain_host.ru
regurgitator-0.6.0 examples/domain_host.ru
regurgitator-0.5.0 examples/domain_host.ru
regurgitator-0.4.0 examples/domain_host.ru
regurgitator-0.3.0 examples/domain_host.ru
regurgitator-0.2.0 examples/domain_host.ru
regurgitator-0.1.0 examples/domain_host.ru
regurgitator-0.0.0 examples/domain_host.ru