There are no reviews yet. Be the first to send feedback to the community and the maintainers!
== What == A Ruby implementation of the MongoDB interface. Just swap out the line "Mongo::Connection.new" in your application with "EmbeddedMongo::Connection.new" and leave the rest of the code alone. No server process needed! E.g. conn = EmbeddedMongo::Connection.new coll = conn['test']['embedded'] coll.insert({ 'hello' => 'world' }) coll.find.to_a # => [{"_id"=>BSON::ObjectId('4e1b4027f626214e9e000001'), "hello"=>"world"}] == Goal == embedded-mongo's goal is to provide the same interface as mongodb but be embedded inside the calling process. This allows unit tests to be run without the overhead of database roundtrips or the creation of ad-hoc mock layers. It also allows one to start using the mongodb interface for new projects without having to set up a real database. I don't think there's a use-case for it in production, though I could be wrong. == Status == Most of the query semantics have been coded. Many of the database management operations have not. Nothing involving execution of JavaScript has been coded, because that sounds like work. Persistence hasn't been added, though that could be as easy as a Marshal or YAML dump when needed. I think the next thing to add is indexes. Currently everything works via a linear scan of the database.
kaggle
A collection of Kaggle solutions. Not very polished.stripe-prg
Stripe paper reading group materialsrubysh
Rubysh: Ruby subprocesses made easydomaincli
A simple command-line interface for registering domain namespyseidon
ruby-static-checker
Ruby Static Checkerstellarjob
A Twitter bot that issues its own "upvote" currencytee-output
A Python library that tees the standard output & standard error from the current process to files on disk, while preserving terminal semantics (so breakpoint(), etc work as normal)password-vault
lunchbox
Lightweight local -> remote file synchronization applicationrequire-prof
Profile your Ruby importsgit
gmail-archiver
From when I had 2M emails in my Gmail inbox and needed to start removing messagesapache2
pyconfigatron
spam-can
edits-benedict
emailyak-ruby
EmailYak Ruby bindings (3rd party)chromepg
PGP operations in Chromezcommit
Zephyr commitsone-chat
ctf-helpers
Some helpful scripts written for the Stripe CTFsmod-vhost-ldap
doom-py
nsenter-build
logstash-utils
Utilities for logstashlfs-test
thrifty
Automatically compile Thrift definitions in Rubybulldozer
docker-vault
Dockerfile for building and running Hashicorp's vaultLove Open Source and this site? Check out how you can help us