hammerstore

Gem Version Dependency Status Code Climate Coverage Status Build Status MIT Licensed

Hammerspace storage backend for BasicCache

Usage

require 'basiccache'
require 'hammerstore'

store = HammerStore.new('/path/to/hammerstore')
cache = BasicCache.new store

Installation

Dependencies

sparkey

You'll need to have sparkey installed in order to install the dependencies for hammerstore. To do this on Debian/Ubuntu, run the following:

apt-get install libsnappy-dev
git clone git://github.com/spotify/sparkey.git
cd sparkey
autoreconf --install
./configure --prefix=/usr
make
make install

To do this on a Mac, run the following:

brew install https://raw.githubusercontent.com/akerl/homebrew-formulae/master/sparkey.rb

gnista

On OSX, the released gnista gem (version 0.0.5) can't be used due to a segfault bug. You can download and install the fixed version manually:

git clone git://github.com/emnl/gnista
cd gnista
rake install

If your libraries and includes are installed in custom locations, you'll need to specify that:

rake build
gem install pkg/gnista-0.0.5.gem -- --with-gnista-lib=/usr/local/brew/lib --with-gnista-include=/usr/local/brew/include

Hammerstore

Now install hammerstore itself:

gem install hammerstore

License

hammerstore is released under the MIT License. See the bundled LICENSE file for details.