Sha256: 079949ea8f29d5456b2c671e5f63b6985b1db4d542c977042e869d6efa7a7af8

Contents?: true

Size: 1.02 KB

Versions: 14

Compression:

Stored size: 1.02 KB

Contents

## About

Want to build Web services in the Resource Oriented Architecture style? With resource_sinatra, success is all but guaranteed, provided that you are using a [Sinatra](http://sinatrarb.com) + [MongoMapper](http://github.com/djsun/mongomapper) stack.

## Installation

It might not be a bad idea to make sure you are running the latest RubyGems:

    sudo gem update --system

You will need gemcutter if you don't have it already:

    gem install gemcutter
    gem tumble

I recommend a user-level install:

    gem install djsun-resource_sinatra
    
Note: in general, beware of `sudo gem install <project_name>` -- it gives elevated privileges. Do you trust `<project name>`? Better to be safe and use a local install to `~/.gem`.

## Usage

For a basic example of what this looks like when integrated into a real-world Sinatra app, see `/examples/datacatalog`.

## History

This code was extracted from the [National Data Catalog](http://groups.google.com/group/datacatalog), a project of the [Sunlight Labs](http://sunlightlabs.com).

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
sinatra_resource-0.3.5 README.mdown
sinatra_resource-0.3.4 README.mdown
sinatra_resource-0.3.3 README.mdown
sinatra_resource-0.3.2 README.mdown
sinatra_resource-0.3.1 README.mdown
sinatra_resource-0.3.0 README.mdown
sinatra_resource-0.2.6 README.mdown
sinatra_resource-0.2.5 README.mdown
sinatra_resource-0.2.4 README.mdown
sinatra_resource-0.2.3 README.mdown
sinatra_resource-0.2.2 README.mdown
sinatra_resource-0.2.1 README.mdown
sinatra_resource-0.2.0 README.mdown
sinatra_resource-0.1.0 README.mdown