Sha256: be05fc145ca657c811ff7cb5a829a85c9651b86126994f896d65baf8173652fb

Contents?: true

Size: 709 Bytes

Versions: 14

Compression:

Stored size: 709 Bytes

Contents

#-----------------------------------------------------------------------
#-*- vim: set ft=ruby: -*-
#
# Example rackup file for serving up a null repository.  This really 
# would never be used in the wild, but it shows the basics of what 
# is required to setup a stickler webstack
#-----------------------------------------------------------------------
$:.unshift File.expand_path( File.join( File.dirname(__FILE__), "..", "lib" ) )

require 'stickler/middleware/compression'
require 'stickler/middleware/index'

gem_dir = File.join( File.expand_path( File.dirname( __FILE__ ) ), "tmp" )

use ::Stickler::Middleware::Compression
use ::Stickler::Middleware::Index, :repo_root => gem_dir
run ::Sinatra::Base

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
stickler-2.4.2 examples/index_repo.ru
stickler-2.4.1 examples/index_repo.ru
stickler-2.4.0 examples/index_repo.ru
stickler-2.3.0 examples/index_repo.ru
stickler-2.2.4 examples/index_repo.ru
stickler-2.2.3 examples/index_repo.ru
stickler-2.2.2 examples/index_repo.ru
stickler-2.1.4 examples/index_repo.ru
stickler-2.1.3 examples/index_repo.ru
stickler-2.1.2 examples/index_repo.ru
stickler-2.1.1 examples/index_repo.ru
stickler-2.1.0 examples/index_repo.ru
stickler-2.0.2 examples/index_repo.ru
stickler-2.0.1 examples/index_repo.ru