Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ruote-redis

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ruote-redis

  • 2.3.0
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

= ruote-redis

Redis persistence for ruote (a Ruby workflow engine)

== usage

The storage is instantiate by passing a redis-rb instance to the storage.

require 'redis' # gem install redis require 'ruote' # gem install ruote require 'ruote-redis' # gem install ruote-redis

engine = Ruote::Engine.new( Ruote::Worker.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 2.0.1 (redis-rb 3.0.1) on Debian GNU/Linux. Tested with Redis 2.4.16 (redis-rb 3.0.1) on OSX snoleo.

== running tests

assuming you have

ruote/ ruote-redis/

start a redis server instance (port 6379) and then

  • unit tests :

get into ruote/ and do

RUOTE_STORAGE=redis ruby test/functional/storage.rb

  • functional tests :

get into ruote/ and do

RUOTE_STORAGE=redis ruby test/functional/test.rb

== license

MIT

== links

  • http://code.google.com/p/redis/

  • http://github.com/ezmobius/redis-rb

  • http://ruote.rubyforge.org/

  • http://github.com/jmettraux/ruote-redis

== feedback

mailing list : http://groups.google.com/group/openwferu-users irc : irc.freenode.net #ruote

== many thanks to

  • the Redis authors and the redis-rb authors

FAQs

Package last updated on 01 Sep 2012

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc