Hello List,

I've been asked previous about having "and" and "or" in 'dollar conditions' :

  
http://groups.google.com/group/openwferu-users/browse_thread/thread/876132ef467cb773

I've just pushed a change that makes it possible :

  
https://github.com/jmettraux/ruote/blob/ruote2.1/test/unit/ut_6_condition.rb#L156-170
  
https://github.com/jmettraux/ruote/blob/ruote2.1/test/functional/ft_17_conditional.rb#L76-96

There is also a new "dollar bracket quote" trick for more complex strings :

  
https://github.com/jmettraux/ruote/blob/ruote2.1/test/functional/ft_10_dollar.rb#L202

  alice :if => "${'status} == 'delivery completed'
    # is better than
  alice :if => "'${status}' == 'delivery completed'

These two changes require updated versions of rufus-dollar and 
rufus-treechecker :

  
https://github.com/jmettraux/ruote/blob/6ec48e7580d7933c2d5bc7075eb57fbdcd9f1c07/ruote.gemspec#L26-29


Note also the new workitem.tags 'feature' :

  
https://github.com/jmettraux/ruote/blob/6ec48e7580d7933c2d5bc7075eb57fbdcd9f1c07/test/functional/ft_7_tags.rb#L113-151


Best regards,

-- 
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