Feces is a Ruby client for ShitDB, a crappy key-value store inspired by Redis.
Kudos to @justinko for this appropriate name.
Add this line to your application's Gemfile:
And then execute:
Or install it yourself as:
$ gem install feces
require 'feces' # Our ShitDB is running on port 4999 client = Feces.connect 4999 client.set('foo', [123, 'bar']) client.apush('foo', 999) client.get('foo') # => [123, "bar", 999]
hset(key, hkey, hvalue)
- Fork it
- Create your feature branch (
git checkout -b my-new-feature)
- Commit your changes (
git commit -am 'Add some feature')
- Push to the branch (
git push origin my-new-feature)
- Create new Pull Request