public
Description: the [OpenWFEru] workflow and BPM engine (ruby)
Homepage: http://openwferu.rubyforge.org
Clone URL: git://github.com/jmettraux/ruote.git
initial implementation of TreeChecker
jmettraux (author)
Mon May 12 00:51:51 -0700 2008
commit  022a3f2aceb64029022d0c3fcb8316905c202a6d
tree    6cc7a96aa640d689cdd5323b3892832874511603
parent  bc8ae188569bbc9c284d2db50f3cdd80dd1f3104
...
45
46
47
 
48
49
50
...
45
46
47
48
49
50
51
0
@@ -45,6 +45,7 @@ spec = Gem::Specification.new do |s|
0
     s.extra_rdoc_files = [ 'README.txt' ]
0
 
0
     [ 'builder',
0
+ 'ruby_parser',
0
       'rufus-lru',
0
       'rufus-scheduler',
0
       'rufus-dollar',
...
39
40
41
 
42
43
44
...
223
224
225
226
 
227
228
229
...
39
40
41
42
43
44
45
...
224
225
226
 
227
228
229
230
0
@@ -39,6 +39,7 @@
0
 
0
 require 'rufus/eval' # gem 'rufus-eval'
0
 
0
+require 'openwfe/util/treechecker'
0
 require 'openwfe/utils'
0
 require 'openwfe/expressions/raw'
0
 
0
@@ -223,7 +224,7 @@ module OpenWFE
0
         #
0
         def self.eval_ruby_process_definition (code, safety_level=2)
0
 
0
- # TODO : insert tree check
0
+ TreeChecker.check code
0
 
0
             #puts "\nin:\n#{code}\n"
0
 
...
122
123
124
125
 
126
127
128
...
122
123
124
 
125
126
127
128
0
@@ -122,7 +122,7 @@ module OpenWFE
0
             # (of course you can override this method).
0
             #
0
             def encode_workitem (wi)
0
- YAML.dump(wi)
0
+ YAML.dump wi
0
             end
0
     end
0
         

Comments

    No one has commented yet.