cpee 1.3.160 → 1.3.161
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/cpee.gemspec +1 -1
- data/lib/cpee/processtransformation/bpmn2.rb +10 -4
- data/lib/cpee/processtransformation/structures.rb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6ef65374496115f24fd4a4fdb02bc42c3055b814
|
4
|
+
data.tar.gz: a2f11dc883cd25ee613ccb62a86250abe3b7e685
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6e23286343b0e21ad4d236b3eb07a3a411bad2b868f4a413881959aefc90b292b291b2be0dcbedcc828b67485afe662d766c9001de8dff248bebf89191682a5c
|
7
|
+
data.tar.gz: d75b21cf9dfd7628ecab3786ec6c4c10c543da136f0347d8193726da9e7e7ed49b969973e9b96051d0fb7f2ddae1683f60c923591074c0d93a59d4003cb9af6c
|
data/cpee.gemspec
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = "cpee"
|
3
|
-
s.version = "1.3.
|
3
|
+
s.version = "1.3.161"
|
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"
|
@@ -223,14 +223,20 @@ module CPEE
|
|
223
223
|
### duplicate because we need it later to remove all the shit from traces
|
224
224
|
lops = loops.dup
|
225
225
|
### remove the exclusive gateway because we no longer need it
|
226
|
-
|
227
|
-
|
226
|
+
unless traces.all_loops?
|
227
|
+
lops.add_breaks(self.object_id,node.type == :exclusiveGateway)
|
228
|
+
end
|
229
|
+
traces.remove(loops)
|
230
|
+
if node.type == :exclusiveGateway
|
231
|
+
lops.shift_all
|
232
|
+
traces.shift_all
|
233
|
+
else
|
234
|
+
lops.pop_all
|
235
|
+
end
|
228
236
|
### add the blank conditional to get a break
|
229
237
|
puts '--> down head_loop to ' + (down + 1).to_s if debug
|
230
238
|
build_ttree branch, lops, nil, debug, down + 1
|
231
239
|
puts '--> up head_loop from ' + (down + 1).to_s if debug
|
232
|
-
traces.remove(loops)
|
233
|
-
traces.shift_all
|
234
240
|
else
|
235
241
|
### throw away the loop traces, remove loop traces from front of all other traces
|
236
242
|
traces.segment_by_loops loops
|
@@ -337,11 +337,11 @@ module CPEE
|
|
337
337
|
num == self.length
|
338
338
|
end
|
339
339
|
|
340
|
-
def add_breaks(context)
|
340
|
+
def add_breaks(context,front=true)
|
341
341
|
trueloops = self.find_all{ |t| t.last == t.first }.length
|
342
342
|
tb = Break.new(context)
|
343
343
|
if trueloops == self.length
|
344
|
-
self << [nil,tb]
|
344
|
+
self << (front ? [nil,tb] : [tb,nil])
|
345
345
|
else
|
346
346
|
self.each do |t|
|
347
347
|
t << tb unless t.last == t.first ### an explicit break
|
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.
|
4
|
+
version: 1.3.161
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Juergen eTM Mangler
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2014-10-
|
13
|
+
date: 2014-10-11 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: riddl
|