2011-07-04 07:30:15 utc |
_Taz_ |
Hi |
2011-07-04 07:31:13 utc |
jmettraux |
_Taz_: hello |
2011-07-04 08:56:32 utc |
_Taz_ |
Does the :union option for concurrent operation work? |
2011-07-04 08:57:29 utc |
jmettraux |
_Taz_: yes |
2011-07-04 09:03:54 utc |
_Taz_ |
engine.register_participant :alpha do |workitem| |
2011-07-04 09:03:56 utc |
_Taz_ |
workitem.fields['choses'] = { 'truc' => 'bidule', 'machin' => 'chose'} |
2011-07-04 09:03:58 utc |
_Taz_ |
end |
2011-07-04 09:04:02 utc |
_Taz_ |
engine.register_participant :beta do |workitem| |
2011-07-04 09:04:04 utc |
_Taz_ |
workitem.fields['choses'] = { 'curt' => 'eludib', 'nicham' => 'esoch'} |
2011-07-04 09:04:06 utc |
_Taz_ |
end |
2011-07-04 09:04:08 utc |
_Taz_ |
[...] |
2011-07-04 09:04:10 utc |
_Taz_ |
concurrence :merge_type => :union do |
2011-07-04 09:04:12 utc |
_Taz_ |
participant :beta |
2011-07-04 09:04:14 utc |
_Taz_ |
participant :alpha |
2011-07-04 09:04:16 utc |
_Taz_ |
end |
2011-07-04 09:04:18 utc |
_Taz_ |
participant :delta |
2011-07-04 09:04:20 utc |
_Taz_ |
[...] |
2011-07-04 09:04:24 utc |
_Taz_ |
Delta only prints the workitem. The only field of the workitem is the one set by beta. What am I doing wrong? |
2011-07-04 09:05:05 utc |
jmettraux |
could you please gist that ? https://gist.github.com/ |
2011-07-04 09:07:03 utc |
jmettraux |
which version of ruote are you using ? 'union' is not yet available in the released gem |
2011-07-04 09:07:12 utc |
jmettraux |
let me update the documentation with that info |
2011-07-04 09:08:40 utc |
_Taz_ |
https://gist.github.com/1063110 |
2011-07-04 09:09:06 utc |
_Taz_ |
I'm using ruote 2.2.0 |
2011-07-04 09:09:33 utc |
jmettraux |
doc updated : http://ruote.rubyforge.org/exp/concurrence.html |
2011-07-04 09:09:38 utc |
jmettraux |
sorry for the confusion |
2011-07-04 09:10:39 utc |
jmettraux |
if you're using a Gemfile, you can easily point to ruote "edge", or you can build your own version of the ruote gem, or you'll have to wait for ruote 2.2.1 |
2011-07-04 09:12:37 utc |
_Taz_ |
Many thanks for your answer. I installed ruote with the gem installer. I'll try to use the latest version from now on. |
2011-07-04 09:12:53 utc |
jmettraux |
you're welcome |
2011-07-04 09:14:18 utc |
jmettraux |
tosch_le: hello, what's the timeframe for the new couple worker/storage ? |
2011-07-04 09:14:54 utc |
tosch_le |
i think i need at least two weeks :-( |
2011-07-04 09:15:13 utc |
tosch_le |
too many other thins to do. |
2011-07-04 09:15:21 utc |
tosch_le |
s/thins/things |
2011-07-04 09:19:20 utc |
jmettraux |
tosch_le: :-) same thing here, that gives me time to prepare |