fixed *typo* in doc
Merge pull request #61 from Porta/typo_fix

Fixed documentation typo.
Cleanup: use MultiSet#append when appropriate.
Initial spike of new Command approach.

This approach basically removes all the hard to
read code in MultiSet#execute and generalizes the
pattern of composing sets incrementally.

The API is something like:

    redis = Redis.connect
    nest = Nest.new("User", redis)

    cmd1 = Command[:sinterstore, "A", "B"]
    cmd2 = Command[:sinterstore, "C", "D"]

    cmd3 = Command[:sunionstore, cmd1, cmd2]

    res = cmd3.call(nest[:tmp], redis)

    cmd3.clean

`res` above is basically a key pointing to a SET.
Calling `clean` is important, as it deletes all the
temporary keys (including `res`).
Merge branch 'master' of github.com:soveran/ohm
Merge command branch.

This is an internal-only change that doesn't affect the public
usage of Ohm.

This approach basically removes all the hard to
read code in MultiSet#execute and generalizes the
pattern of composing sets incrementally.

The API is something like:

    redis = Redis.connect
    nest = Nest.new("User", redis)

    cmd1 = Command[:sinterstore, "A", "B"]
    cmd2 = Command[:sinterstore, "C", "D"]

    cmd3 = Command[:sunionstore, cmd1, cmd2]

    res = cmd3.call(nest[:tmp], redis)

    cmd3.clean

`res` above is basically a key pointing to a SET.
Calling `clean` is important, as it deletes all the
temporary keys (including `res`).
Make it compatible with redis-rb 3.0.

- Pipelined HASH results are now automatically a HASH.
- Use of Redis::CannotConnectError (instead of Errno::*).
- redis.eval automatically does the keys.size calc for us.
Remove all Lua related code.

Since we're not using it in Ohm anymore, and it
was a hidden feature, we're removing it.
Add `Ohm::Utils.dict` as an adapter for hashes.

In redis-rb >= 3.0, pipelined fetches of hashes are
automatically coerced into a Hash.

In redi-rb 2.x, we had to manually convert the array
into a Hash.

Ohm::Utils.dict simply checks the Redis::VERSION and
defines the appropriate conversion mechanism (for 3.0,
it's actually a no-op).
Define `Redis::CannotConnectError` conditionally.

In order to make all the tests pass in redis 2.x, we simply
have to assign Redis::CannotConnectError to Errno::ECONNREFUSED.
Release 1.1.0.rc1.

CHANGELOG:

- Redis 3.0.x compatible.
- Optimized internals related to using `find`, `union`, `except`.
- Removed all Lua related code.
Update CHANGELOG and gemspec.
Fix all the ruby warnings when VERBOSE set to true.
fixed #67 - sorting by counter attribute, updated cutest to make it working with assert_equal constraint
Minor formatting change.
Release 1.1.1: Bug-fix only release.

This release fixes a bug where sorting doesn't work on
counters. Special thanks to @joker-777 for the discovery
and the patch.
Make fetch public.
Release.
Change dependencies to use latest cutest.
Fix Set, MultiSet, and List enumerable behavior.

Previously the use of Struct caused overlap in
behavior of the Enumerable, since Structs also
do their own set of enumerable behaviors.

CHANGLOG:

* Renamed Ohm::Collection to Ohm::BasicSet
* Created an Ohm::Collection containing #each, #to_a, #empty?
  (used by List / Set / MultiSet).
* Ohm::Set and Ohm::MultiSet now inherit from Ohm::BasicSet.
* doing #count on Set / MultiSet / List now uses #size to
  avoid the overhead of doing an each.