cpee 1.3.149 → 1.3.150
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/cpee.gemspec +1 -1
- data/lib/cpee/processtransformation/bpmn2.rb +9 -4
- data/lib/cpee/processtransformation/structures.rb +2 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a79f61a7ef8feebf246c204caeb39f34f6849964
|
|
4
|
+
data.tar.gz: 30bde6f9d828d38e51b9995bb1f2df761b401acd
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 18909242db2141bc69e7eb27dc5196c28afc2919b205b7ea8fb28281e3a6274c9e093e4d5c0bdae65c8ce1827b2ef51a442ab5f21e6a6f6f7472efa014d03ee3
|
|
7
|
+
data.tar.gz: 4e81ea68d3abbd53282504b9c6ba02691d3c5d1aa929cd7a950777fa15d16954343caa6057d17faa2db37245e09261c3479d64306d072e507494744abcfcebb4
|
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.150"
|
|
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"
|
|
@@ -187,7 +187,7 @@ module CPEE
|
|
|
187
187
|
puts '--> now on ' + down.to_s if debug
|
|
188
188
|
debug_print debug, traces
|
|
189
189
|
if node = traces.same_first
|
|
190
|
-
if branch.
|
|
190
|
+
if branch.empty? && branch.respond_to?(:id)
|
|
191
191
|
li = if (branch.id == traces.first_node.id)
|
|
192
192
|
### for tail controlled loops
|
|
193
193
|
@graph.link(branch.id,traces.second_nodes.first.id)
|
|
@@ -195,9 +195,14 @@ module CPEE
|
|
|
195
195
|
@graph.link(branch.id,traces.first_node.id)
|
|
196
196
|
end
|
|
197
197
|
unless li.nil?
|
|
198
|
-
branch.condition
|
|
199
|
-
|
|
200
|
-
|
|
198
|
+
if branch.condition?
|
|
199
|
+
branch.condition << li.condition unless li.condition.nil?
|
|
200
|
+
branch.condition_type = "text/javascript"
|
|
201
|
+
end
|
|
202
|
+
if branch.respond_to?(:attributes)
|
|
203
|
+
branch.attributes.merge!(li.attributes)
|
|
204
|
+
li.attributes.delete_if{true}
|
|
205
|
+
end
|
|
201
206
|
end
|
|
202
207
|
end
|
|
203
208
|
if node == enode
|
|
@@ -103,11 +103,13 @@ module CPEE
|
|
|
103
103
|
class InfiniteLoop < Array #{{{
|
|
104
104
|
include Container
|
|
105
105
|
def condition?; false; end
|
|
106
|
+
attr_reader :attributes
|
|
106
107
|
attr_accessor :id, :type
|
|
107
108
|
def initialize(id)
|
|
108
109
|
@container = true
|
|
109
110
|
@id = id
|
|
110
111
|
@type = :loop
|
|
112
|
+
@attributes = {}
|
|
111
113
|
end
|
|
112
114
|
end #}}}
|
|
113
115
|
class Loop < Array #{{{
|