weel 1.1.0 → 1.1.1
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.
- data/Changelog +38 -0
- data/weel.gemspec +2 -2
- metadata +2 -1
data/Changelog
ADDED
@@ -0,0 +1,38 @@
|
|
1
|
+
1.1.x
|
2
|
+
-----
|
3
|
+
Simulation support: #sim is like search mode but without search positions and
|
4
|
+
emits events trough HandlerWrapper
|
5
|
+
|
6
|
+
def simulate(type,nesting,tid,parent,parameters={})
|
7
|
+
|
8
|
+
type : activity, choose, alternative, otherwise, parallel, parallel_branch,
|
9
|
+
mutex, loop
|
10
|
+
nesting : :none (for activity), :start or :end (for all others)
|
11
|
+
tid : trace id (unique element for every element)
|
12
|
+
parent : for all nested element the tid of its parent
|
13
|
+
parameters: additinal information; for loops the mode (:head or :foot), for
|
14
|
+
choose the mode (:inclusive or :exclusive)
|
15
|
+
|
16
|
+
It is important to note, that parallel_branches are special. Parallel might
|
17
|
+
have loops and all kinds of stuff inside, that is always executed first - it
|
18
|
+
is logic to decide how many parallel branches are to be openend. Thus parallel
|
19
|
+
branches might have parents that are not the parent, but can be logically
|
20
|
+
considered to be children of parallel for execution. The parent information
|
21
|
+
delivered for the simulation can be taken to decide if branches are created
|
22
|
+
in loops or decided upon in decisions (choose).
|
23
|
+
|
24
|
+
Similar to parallel, there can also be stuff inside the choose, that is not
|
25
|
+
'alternative' or 'otherwise'. Yet there the code is always executed as is. If
|
26
|
+
simulation is used to generated traces, this stuff has to be considered as fixed
|
27
|
+
points (with the rest beeing variable). Special cases can again be, a variable number
|
28
|
+
of alternatives (with their own dynamic conditions)[1].
|
29
|
+
|
30
|
+
[1] Just in case you wonder: this can not be easily translated to a case with the
|
31
|
+
loop outside of the choose, when considering that the otherwise is executed
|
32
|
+
only when one of the alternatives is executed. This would require at least
|
33
|
+
additional script tasks in the alternatives that count the number of executed
|
34
|
+
alternatives.
|
35
|
+
|
36
|
+
1.0.x
|
37
|
+
-----
|
38
|
+
Initial Release
|
data/weel.gemspec
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = "weel"
|
3
|
-
s.version = "1.1.
|
3
|
+
s.version = "1.1.1"
|
4
4
|
s.platform = Gem::Platform::RUBY
|
5
5
|
s.summary = "preliminary release of the Workflow Execution Engine Library (WEEL)"
|
6
6
|
|
@@ -14,7 +14,7 @@ WEE Library is freely distributable according to the terms of the GNU Lesser Gen
|
|
14
14
|
This program is distributed without any warranty. See the file 'COPYING' for details.
|
15
15
|
EOF
|
16
16
|
|
17
|
-
s.files = Dir['{example/**/*,lib/weel.rb}'] + %w(COPYING FEATURES INSTALL Rakefile weel.gemspec README AUTHORS)
|
17
|
+
s.files = Dir['{example/**/*,lib/weel.rb}'] + %w(COPYING Changelog FEATURES INSTALL Rakefile weel.gemspec README AUTHORS)
|
18
18
|
s.require_path = 'lib'
|
19
19
|
s.extra_rdoc_files = ['README']
|
20
20
|
s.test_files = Dir['{test/*,test/*/tc_*.rb}']
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: weel
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -36,6 +36,7 @@ files:
|
|
36
36
|
- example/SimpleWorkflow.rb
|
37
37
|
- lib/weel.rb
|
38
38
|
- COPYING
|
39
|
+
- Changelog
|
39
40
|
- FEATURES
|
40
41
|
- INSTALL
|
41
42
|
- Rakefile
|