RubyGems Navigation menu

candy 0.1.0

Candy is a lightweight ORM for the MongoDB database. If MongoMapper is Rails, Candy is Sinatra. It provides a module you mix into any class, enabling the class to connect to Mongo on its own and push its objects into a collection. Candied objects act like OpenStructs, allowing attributes to be defined and updated in Mongo immediately without having to be declared in the class. Mongo's atomic operators are used whenever possible, and a smart serializer (Candy::Wrapper) converts almost any object for assignment to any attribute.

Gemfile:
= Copy to clipboard Copied!

install:
=

Versions:

  1. 0.2.10 - June 10, 2010 (36 KB)
  2. 0.2.9 - May 14, 2010 (35.5 KB)
  3. 0.2.8 - May 13, 2010 (34.5 KB)
  4. 0.2.7 - May 05, 2010 (34 KB)
  5. 0.2.6 - May 04, 2010 (33.5 KB)
  6. 0.1.0 - February 16, 2010 (16.5 KB)
Show all versions (14 total)

Runtime Dependencies (1):

mongo >= 0.18

Development Dependencies (3):

mocha >= 0.9.8
rspec >= 1.2.9
yard >= 0

Owners:

Authors:

  • Stephen Eley

SHA 256 checksum:

cd247c282b66e24c52520e55328ccd1f21bcdda3897ad4211811efcdab42506f

Total downloads 58,602

For this version 4,332

Licenses:

N/A

Required Ruby Version: None

Links: