0.0
No commit activity in last 3 years
No release in over 3 years
Lightweight ORM for Amazon's DynamoDB with Ruby Apps
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 0.6.0
~> 2.1.1
~> 2.8.0
~> 0.7.5

Runtime

~> 1.3.7
 Project Readme

MinceDynamoDb

MinceDynamoDb is a ruby ORM to provide a quick way to develop with an Amazon DynamoDb database in Ruby applications.

It is a database interface that abides to the Mince interface API requirements and is officially supported by Mince.

How to use it

View the Mince Wiki on details on how to use this gem.

Basically -

gem install mince_dynamo_db
require 'mince_dynamo_db'

interface = MinceDynamoDb::Interface
interface.add 'tron_light_cycles', luminating_color: 'red', grid_locked: true, rezzed: false
interface.add 'tron_light_cycles', luminating_color: 'blue', grid_locked: true, rezzed: true
interface.find_all('tron_light_cycles') 
	# => [{:luminating_color=>"red", :grid_locked=>true, :rezzed=>false}, {:luminating_color=>"blue", :grid_locked=>true, :rezzed=>true}] 
interface.get_for_key_with_value('tron_light_cycles', :luminating_color, 'blue')
	# => {:luminating_color=>"blue", :grid_locked=>true, :rezzed=>true} 

Configuring MinceDynamoDb to use your Amazon DynamoDb instance:

# Change the values to your credential info
MinceDynamoDb::Config.secret_access_key = 'asdf1234iuoyasdfkljhqweriouy12341234asdf'
MinceDynamoDb::Config.access_key_id = '123asd123asd123asd12'

Links

Contribute

This gem is officially supported by Mince, please go there to learn how to contribute.