Skip to content
Simple key/value mocked storage system
Ruby
Failed to load latest commit information.
lib Added decr method Dec 17, 2013
test Added decr method Dec 17, 2013
.gitignore first commit Jan 19, 2012
.rvmrc.example first commit Jan 19, 2012
.travis.yml travis.yml Jan 23, 2012
Gemfile first commit Jan 19, 2012
README.md v0.0.3 Jan 20, 2012
Rakefile first commit Jan 19, 2012
memcache_mock.gemspec Adding collaborator Krzysztof Jablonski Dec 17, 2013

README.md

Memcache Mock

Simple library to mock a key/value storage system.

The API is based in the Dalli Memcache Ruby Client. So any time you need to mock your code that integrates Dalli you can exponse an instance of MemcacheMock instead.

Use

require "memcache_mock"

cache = MemcacheMock.new
cache.set( "key", "value" )
cache.get( "key" )            # => "value"

Status

The actual status is Beta but functional. The API only supports the methods we have needed so far.

If you have any suggestion we'll appreciate pull requests.

Something went wrong with that request. Please try again.