Skip to content

MongoDB experimental storage for ruote (a Ruby workflow engine)

License

Notifications You must be signed in to change notification settings

ruote/ruote-moped

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ruote-mon

A MongoDB storage for ruote.

This is the not the ‘official’ storage. The official one is at: github.com/jmettraux/ruote-mon

usage

require 'ruote'
require 'ruote-moped'

ruote = Ruote::Dashboard.new(
  Ruote::Worker.new(
    Ruote::Moped::Storage.new(
      Moped::Session.new([ 'localhost:27017' ], database: 'ruote_moped_x'),
      {})))

# ...

running tests

assuming you have checked out

ruote/
ruote-moped/

Get into ruote/ and make sure to add

gem 'mongoid'

to the Gemfile in there (run “bundle install”).

Make sure your MongoDB server is running then

  • basic storage tests :

do

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

get into ruote/ and do

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

license

MIT

feedback

mailing list : groups.google.com/group/openwferu-users

About

MongoDB experimental storage for ruote (a Ruby workflow engine)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 100.0%