public
Description: the [OpenWFEru] workflow and BPM engine (ruby)
Homepage: http://openwferu.rubyforge.org
Clone URL: git://github.com/jmettraux/ruote.git
Search Repo:
lib/openwfe/extras/participants/activeparticipants.rb
jmettraux (author)
Sat Jul 19 20:40:58 -0700 2008
commit  70bbc7a48353e0cf9c8f94bf7860a5d600f666e6
tree    2d9c229cd860b2fad00ae883a25c9734fc1d19fc
parent  b1dbb08dc2b186a57f8d8b3b0d29836cd6ff8acd
...
80
81
82
83
 
84
85
86
...
175
176
177
178
179
 
 
 
180
181
182
...
80
81
82
 
83
84
85
86
...
175
176
177
 
 
178
179
180
181
182
183
0
@@ -80,7 +80,7 @@ module OpenWFE
0
         if pdef[0, 1] == "<"
0
 
0
       return YAML.load(s) \
0
- if pdef.match /^--- ./
0
+ if pdef.match(/^--- ./)
0
 
0
       #
0
       # else it's some ruby code to eval
0
@@ -175,8 +175,9 @@ module OpenWFE
0
 
0
       sa = ""
0
       tree[1].each do |k, v|
0
- v = "'#{v}'" if v.is_a?(String)
0
- v = ":#{v}" if v.is_a?(Symbol)
0
+ #v = "'#{v}'" if v.is_a?(String)
0
+ #v = ":#{v}" if v.is_a?(Symbol)
0
+ v = v.inspect
0
         sa << ", :#{OpenWFE::to_underscore(k)} => #{v}"
0
       end
0
       s << sa[1..-1] if sa.length > 0
...
86
87
88
 
 
 
89
90
91
...
86
87
88
89
90
91
92
93
94
0
@@ -86,6 +86,9 @@ module OpenWFE
0
   # end
0
   # end
0
   #
0
+ # Note that a 'forgotten subprocess' will not have access to the variables
0
+ # of its parent process.
0
+ #
0
   # The 'subprocess' expression accepts an 'if' (or 'unless') attribute :
0
   #
0
   # subprocess :ref => "interview_process", :if => "${f:screened}"
...
86
87
88
 
89
90
91
...
86
87
88
89
90
91
92
0
@@ -86,6 +86,7 @@ module Extras
0
           # when using compact_workitems, attributes are stored here
0
       end
0
       add_index :workitems, :fei, :unique => true
0
+ # with sqlite3, comment out this :unique => true on :fei :(
0
       add_index :workitems, :wfid
0
       add_index :workitems, :wf_name
0
       add_index :workitems, :wf_revision
...
48
49
50
51
52
 
 
53
54
 
55
56
57
...
48
49
50
 
 
51
52
53
 
54
55
56
57
0
@@ -48,10 +48,10 @@ module OpenWFE
0
         self
0
       end
0
     end
0
- def self.meta_eval &block
0
- metaclass.instance_eval &block
0
+ def self.meta_eval(&block)
0
+ metaclass.instance_eval(&block)
0
     end
0
- def self.meta_def method_name, &block
0
+ def self.meta_def(method_name, &block)
0
       meta_eval { define_method method_name, &block }
0
     end
0
     def class_def method_name, &block

Comments

    No one has commented yet.