Sha256: 26e95e79d907813bd97176a83b61c9bd0453738651a7c69b04b79450fb148452

Contents?: true

Size: 1.02 KB

Versions: 23

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 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

23 entries across 23 versions & 1 rubygems

Version Path
sinatra_resource-0.4.21 README.mdown
sinatra_resource-0.4.20 README.mdown
sinatra_resource-0.4.19 README.mdown
sinatra_resource-0.4.18 README.mdown
sinatra_resource-0.4.17 README.mdown
sinatra_resource-0.4.16 README.mdown
sinatra_resource-0.4.15 README.mdown
sinatra_resource-0.4.14 README.mdown
sinatra_resource-0.4.13 README.mdown
sinatra_resource-0.4.12 README.mdown
sinatra_resource-0.4.11 README.mdown
sinatra_resource-0.4.10 README.mdown
sinatra_resource-0.4.9 README.mdown
sinatra_resource-0.4.8 README.mdown
sinatra_resource-0.4.7 README.mdown
sinatra_resource-0.4.6 README.mdown
sinatra_resource-0.4.5 README.mdown
sinatra_resource-0.4.4 README.mdown
sinatra_resource-0.4.3 README.mdown
sinatra_resource-0.4.2 README.mdown