Sha256: 93b428d2472ced9ad9c1c89e5f42c6ba8a4121209cae60fa29152a520c151905

Contents?: true

Size: 1.01 KB

Versions: 2

Compression:

Stored size: 1.01 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

2 entries across 2 versions & 1 rubygems

Version Path
sinatra_resource-0.4.23 README.mdown
sinatra_resource-0.4.22 README.mdown