github
Advanced Search
  • Home
  • Pricing and Signup
  • Explore GitHub
  • Blog
  • Login

jmettraux / rufus-sixjo

  • Admin
  • Watch Unwatch
  • Fork
  • Your Fork
  • Pull Request
  • Download Source
    • 3
    • 0
  • Source
  • Commits
  • Network (0)
  • Issues (0)
  • Downloads (6)
  • Wiki (1)
  • Graphs
  • Branch: master

click here to add a description

click here to add a homepage

  • Branches (1)
    • master ✓
  • Tags (6)
    • r0.1.5
    • r0.1.4
    • r0.1.2b
    • r0.1.2
    • r0.1.1
    • r0.1.0
Sending Request…
Enable Donations

Pledgie Donations

Once activated, we'll place the following badge in your repository's detail box:
Pledgie_example
This service is courtesy of Pledgie.

an experimentation with Rack — Read more

  cancel

http://rufus.rubyforge.org/rufus-sixjo

  cancel
  • Private
  • Read-Only
  • HTTP Read-Only

This URL has Read+Write access

adapted test app to rack 1.0 
jmettraux (author)
Sat Apr 25 22:38:35 -0700 2009
commit  4edceebfc6a65e6fc374337cbcbd728004f43709
tree    93c4339f1454c35c9a93a9dacbf9d724ae77187b
parent  91f5e9de2a130f2ac718e824c218a4577f7f267e
rufus-sixjo /
name age
history
message
file CHANGELOG.txt Loading commit data...
file CREDITS.txt Sun Dec 14 06:21:23 -0800 2008 todo #23227 : make viewpath configurable (Kenne... [jmettraux]
file LICENSE.txt Fri Aug 15 06:28:43 -0700 2008 release 0.1.0 [jmettraux]
file README.txt
file Rakefile Wed Jan 07 05:04:28 -0800 2009 gemspec : added rubyforge info [jmettraux]
directory examples/ Fri Aug 15 06:28:43 -0700 2008 release 0.1.0 [jmettraux]
directory lib/
directory test/ Sat Apr 25 22:38:35 -0700 2009 adapted test app to rack 1.0 [jmettraux]
README.txt
= 'rufus-sixjo'

== what is it ?

A 'Rack application' for RESTfully serving stuff (the RESTful last mile is up to you). Heavily Sinatra-inspired but less 
polished and... Well Sixjo is not a framework.


== features

Does the conditional GET thing.


== getting it

    sudo gem install -y rufus-sixjo

or download[http://rubyforge.org/frs/?group_id=4812] it from RubyForge.


== usage

see under the examples/ directory : http://github.com/jmettraux/rufus-sixjo/tree/master/examples

It goes like :

    require 'rubygems'
    require 'rufus/sixjo' # gem 'rufus-sixjo'
    
    module ExampleOne
    
      extend Rufus::Sixjo
      
      get '/toto' do
        "nada at #{request.path_info}"
      end
    end
      
    app = Rack::Builder.new do
      
      use Rack::CommonLogger
      use Rack::ShowExceptions
      run ExampleOne.new_sixjo_rack_app(nil)
    end
    
    Rack::Handler::Mongrel.run app, :Port => 2042


== dependencies

the 'rack' gem


== mailing list

On the Rufus-Ruby list[http://groups.google.com/group/rufus-ruby] :

    http://groups.google.com/group/rufus-ruby


== issue tracker

    http://rubyforge.org/tracker/?atid=18584&group_id=4812&func=browse


== source

http://github.com/jmettraux/rufus-sixjo

    git clone git://github.com/jmettraux/rufus-sixjo.git


== author

John Mettraux, jmettraux@gmail.com,
http://jmettraux.wordpress.com


== the rest of Rufus

http://rufus.rubyforge.org


== license

MIT

Blog | Support | Training | Contact | API | Status | Twitter | Help | Security
© 2010 GitHub Inc. All rights reserved. | Terms of Service | Privacy Policy
Powered by the Dedicated Servers and
Cloud Computing of Rackspace Hosting®
Dedicated Server