README.rdoc in ruote-redis-2.1.11 vs README.rdoc in ruote-redis-2.2.0

- old
+ new

@@ -1,9 +1,9 @@ = ruote-redis -Redis persistence for ruote 2.1 (a ruby workflow engine) +Redis persistence for ruote (a Ruby workflow engine) == usage The storage is instantiate by passing a redis-rb instance to the storage. @@ -12,17 +12,17 @@ require 'ruote' # gem install ruote require 'ruote-redis' # gem install ruote-redis engine = Ruote::Engine.new( Ruote::Worker.new( - Ruote::Redis::RedisStorage.new( + Ruote::Redis::Storage.new( ::Redis.new(:db => 14, :thread_safe => true), {}))) # ... Passing an em-redis instance might work, but I haven't tried. -Tested with Redis 1.3.8 (redis-rb 2.0.1). +Tested with Redis 1.2.6 and 2.0.4 (redis-rb 2.1.1). == running tests assuming you have