Skip to content

jmettraux/ruote-mon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ruote-mon

A MongoDB storage for ruote.

This is the 'official' storage. There is also: https://github.com/PlasticLizard/ruote-mongodb but it contains optimizations for Plastic Lizard's team.

There is also http://github.com/reedlaw/ruote-moped but it's (2013/04/13) in an early stage of development.

Works best with a 1.9.x Ruby.

usage

require 'ruote'
require 'ruote-mon'

ruote = Ruote::Dashboard.new(
  Ruote::Worker.new(
    Ruote::Mon::Storage.new(
      Mongo::Connection.new()['ruote_mon_test'],
      {})))

# ...

running tests

assuming you have checked out side by side

ruote/
ruote-mon/

Get into ruote/ and make sure you have

gem 'mongo'
gem 'bson_ext'

in the Gemfile there. Run bundle install if necessary.

start your MongoDB server and then, from ruote/

  • basic tests :

run

  RUOTE_STORAGE=mon bundle exec ruby test/functional/storage.rb
  • functional tests :

get into ruote/ and do

  RUOTE_STORAGE=mon bundle exec ruby test/functional/test.rb

license

MIT

links

feedback

About

MongoDB storage for ruote (a Ruby workflow engine)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages