2011-09-27 06:31:44 utc |
jmettraux |
u1106-office: hello and welcome to #ruote |
2011-09-27 06:41:13 utc |
u1106-office |
jmettraux: thanks |
2011-09-27 21:09:19 utc |
lbt_hel |
good morning jmettraux ::) |
2011-09-27 21:09:31 utc |
jmettraux |
good evening David ! |
2011-09-27 21:09:50 utc |
lbt_hel |
that it is :) |
2011-09-27 21:10:33 utc |
lbt_hel |
we were just pondering listen :to => 'req_changed_${ev.id}', :upon => 'reply' :where => '${ev.state} in [new, declined, revoked]' |
2011-09-27 21:11:02 utc |
lbt_hel |
specifically that 'in' condition |
2011-09-27 21:11:50 utc |
lbt_hel |
http://ruote.rubyforge.org/conditions.html TODO (is [not] set, is [not] empty, is [not] null, [not] in Array|Hash) ... and we weren't sure if the TODO was docs or code? |
2011-09-27 21:12:05 utc |
jmettraux |
always docs |
2011-09-27 21:12:35 utc |
jmettraux |
double-checking the code anyway |
2011-09-27 21:13:19 utc |
lbt_hel |
ta |
2011-09-27 21:13:37 utc |
jmettraux |
'"${ev.state}" in ["new", "declined", "revoked"]' should be oK |
2011-09-27 21:14:02 utc |
lbt_hel |
*nod* ... thanks |
2011-09-27 21:14:41 utc |
jmettraux |
https://github.com/jmettraux/ruote/blob/master/test/unit/ut_6_condition.rb#L272-294 |
2011-09-27 21:14:51 utc |
jmettraux |
when it doesn't understand the array, it always say "false" |
2011-09-27 21:15:06 utc |
lbt_hel |
sensible |
2011-09-27 21:17:17 utc |
lbt_hel |
FYI I had made my way into 'test/unit/' dir when you appeared ... so I was close |
2011-09-27 21:18:02 utc |
jmettraux |
well done, taking note of the TODO you encountered |
2011-09-27 21:19:53 utc |
lbt_hel |
:) .... 'twas a glimmer of hope |
2011-09-27 21:20:36 utc |
lbt_hel |
I have someone working on the error in amqp too ... he's getting to grips with ruote too |
2011-09-27 21:20:59 utc |
lbt_hel |
just seems to interact badly with ruote-kit |
2011-09-27 21:22:58 utc |
jmettraux |
? |
2011-09-27 21:25:10 utc |
lbt_hel |
Oh, never mind ... he's not passing an exception |
2011-09-27 21:25:27 utc |
lbt_hel |
https://github.com/jmettraux/ruote-beanstalk/blob/master/lib/ruote/beanstalk/receiver.rb#L36 |
2011-09-27 21:26:55 utc |
jmettraux |
tell him he can get help in the open source standard ways |
2011-09-27 21:27:21 utc |
lbt_hel |
he's passing : action_handle('dispatch', incoming_workitem, "TEXT") and not ReceiveError.new("TEXT") |
2011-09-27 21:27:30 utc |
lbt_hel |
he is ... he's bugging me :) |
2011-09-27 21:27:33 utc |
lbt_hel |
then I bug you |
2011-09-27 21:27:42 utc |
jmettraux |
ok :-) |