Hi all,

I just released ruote 2.1.6

  http://gemcutter.org/gems/ruote

The main new "feature" is ruote-dm, a datamapper
(http://datamapper.org) persistence implementation.

  http://gemcutter.org/gems/ruote-dm

This new persistence is mostly OK, but it still has an issue in
concurrency cases (test/functional/ct_0_concurrence.rb failing
intermittently). It should be OK in 1 worker scenarii, but stay away
from it for now if your have 2+ workers.

Here is the Changelog :

---8<---
- welcoming ruote-dm (datamapper persistency)
- Engine#re_apply(fei, opts) where opts in [ :tree, :fields, :merge_in_fields ]
- fixed issue about StorageParticipant#update, thanks Torsten
--->8---

It's light, all the effort was concentrated in making ruote-dm work.

There is one interesting new mini-feature. There is the
Engine#re_apply(fei) method which can be used to re_ignite a stalled
process (participant not replying anymore for example). This method
got a new second argument, an option hash.

---8<---
  engine.re_apply(fei, :fields => { 'customer' => 'jeff' })
    # re_apply but with new workitem fields

  engine.re_apply(fei, :merge_in_fields => { 'info_supplement' => 'it
was a rainy day' })
    # same thing but new fields are merged in the current workitem fields

  engine.re_apply(fei, :tree => [ 'participant', { 'ref' => 'al' }, [] ])
    # re_apply, but completely change the process definition segment
--->8---

The last example is quite evil, process modification for the better or
the worse. Use with care.

I'm continuing my documentation effort around common attributes :

  http://ruote.rubyforge.org/common_attributes.html

I have started adapting the "process administration" doc from ruote
0.9 to ruote 2.1 at :

  http://ruote.rubyforge.org/process_administration.html (very alpha)


Many thanks to you all,

-- 
John Mettraux   -   http://jmettraux.wordpress.com

-- 
you received this message because you are subscribed to the "ruote users" group.
to post : send email to [email protected]
to unsubscribe : send email to [email protected]
more options : http://groups.google.com/group/openwferu-users?hl=en

Reply via email to