This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
| name | age | message | |
|---|---|---|---|
| |
README | Fri Jun 05 08:40:59 -0700 2009 | |
| |
Rakefile | Fri Jun 05 08:15:59 -0700 2009 | |
| |
config.ru | Fri Jun 05 07:42:06 -0700 2009 | |
| |
sample.rb | Fri Jun 05 08:15:59 -0700 2009 | |
| |
specs/ | Fri Jun 05 08:15:59 -0700 2009 | |
| |
views/ | Fri Jun 05 08:18:12 -0700 2009 |
README
Multi Class Sinatra Sample Application ====================================== This is a simple application showing how you can mount multiple Sinatra applications into a single process. It utilizes the builtin Rack middleware, URLMap. I use a simple RackUp file to launch the server, though you can probably do this in a single file. thin -R config.ru start or rake start I've extended this example to show how with a shared base class between 'apps' you can easily share configuration options. This sample now includes a sample set of RSpec tests using Sinatra's new recommended test method, Rack::Test. I've also fixed a few issues bringing it up to compatibility with Sinatra 0.9.3







