RubyGems Navigation menu

candy 0.0.2

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.0.2 - January 20, 2010 (10 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:

2fcfdfd4ccf4981bb0a91082250fec27f86c3e49730091b3199354219d94269a

Total downloads 58,602

For this version 4,363

Licenses:

N/A

Required Ruby Version: None

Links: