cpee 1.3.138 → 1.3.139

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3d48178530a9f9c1885a88d46053086ae0cf9eed
4
- data.tar.gz: 75e0da4973eb3d5b7db31e52859e5df70850c813
3
+ metadata.gz: 712a194c3eec6ee8913bb4bf33b20cfc1e0438f2
4
+ data.tar.gz: 6d32ef50969d7fbc81121e96e56eff1d9e511e9d
5
5
  SHA512:
6
- metadata.gz: 620e2cd33e1179c9affa8830f0854d74d796e170df7612361156a3d62d1900e79b3e14ab3cec58146581482d4a0e5c3015223a3d3d868dd1969aaa65f89f21a5
7
- data.tar.gz: 61a3fed144b5e8d248d9296491d44aa317673ece5a2c2db43e1738cb0bbde67ee45570880e26c2bd91200424a5379492b04991f625d54acf0961fbbf84f5b9b1
6
+ metadata.gz: 1257fc8db4c74a8cd13275d807f97c3ab5192237585433db1d268904d08a2e603ec3a3f90bf9dd050e93ad3110931e206489b12adeee606b27754b8e1338501e
7
+ data.tar.gz: bdd186239b884d98d7eafc1e4b348a6d262d956631c0f6de87daf90eac0d9afc0466c210a6e6a41dc64fb06d5eb0061da27c35a1f46e7894f4f3608b0f52e74e
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "cpee"
3
- s.version = "1.3.138"
3
+ s.version = "1.3.139"
4
4
  s.platform = Gem::Platform::RUBY
5
5
  s.license = "LGPL-3"
6
6
  s.summary = "Preliminary release of cloud process execution engine (cpee). If you just need workflow execution, without a rest/xmpp service exposing it, then use WEEL"
@@ -182,7 +182,7 @@ module CPEE
182
182
  traces.uniq!
183
183
  debug_print debug, traces
184
184
  if node = traces.same_first
185
- if branch.condition?
185
+ if branch.condition? && branch.empty?
186
186
  li = @graph.link(branch.id,traces.first_node.id)
187
187
  unless li.nil?
188
188
  branch.condition << li.condition unless li.condition.nil?
@@ -238,10 +238,11 @@ module CPEE
238
238
  endnode = traces.find_endnode || enode
239
239
  tracesgroup, endnode = traces.segment_by endnode
240
240
  tracesgroup.each do |trcs|
241
+ nb = branch.last.new_branch
241
242
  if trcs.finished?
242
- build_ttree branch.last.new_branch, Traces.new([[Break.new(1)]]), endnode, debug
243
+ build_ttree nb, Traces.new([[Break.new(1)]]), endnode, debug
243
244
  else
244
- build_ttree branch.last.new_branch, trcs, endnode, debug
245
+ build_ttree nb, trcs, endnode, debug
245
246
  end
246
247
  endnode.incoming -= 1 unless endnode.nil?
247
248
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cpee
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.138
4
+ version: 1.3.139
5
5
  platform: ruby
6
6
  authors:
7
7
  - Juergen eTM Mangler