Sha256: 24d9b646862683518dcf1893bd4ed87f029a0b026cffd8d991b3e596b9645c8e

Contents?: true

Size: 1.35 KB

Versions: 1

Compression:

Stored size: 1.35 KB

Contents

# redis-rb

A ruby client library for the redis key value storage system.

## Information about redis

Redis is a key value store with some interesting features:
1. It's fast.
2. Keys are strings but values can have types of "NONE", "STRING", "LIST",  or "SET".  List's can be atomically push'd, pop'd, lpush'd, lpop'd and indexed.  This allows you to store things like lists of comments under one key while retaining the ability to append comments without reading and putting back the whole list.

See [redis on code.google.com](http://code.google.com/p/redis/wiki/README) for more information.

See the build on [RunCodeRun](http://runcoderun.com/defunkt/redis-rb)

## Dependencies

1. rspec -

		sudo gem install rspec

2. redis - 

		rake redis:install

2. dtach - 

		rake dtach:install

3. git - git is the new black.

## Setup

Use the tasks mentioned above (in Dependencies) to get your machine setup.

## Examples

Check the examples/ directory.  *Note* you need to have redis-server
running first.

## Differences from ezmobius/redis-rb

* Connection is deferred until you use the library. a420731
* You may pass `:namespace` to the initializer to scope all keys. 73b9ae3
* You may pass `:thread_safe` to the initializer to make Redis thread 
  safe. 1d0c44c

I will continue to merge in changes from ezmobius/redis-rb.

## Installation

    gem install defunkt-redis

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
defunkt-redis-0.2.2 README.markdown