cpee-transformation 1.0.2 → 1.0.6
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/README.md +68 -1
- data/cpee-transformation.gemspec +10 -2
- data/lib/cpee/transformation/beautiful.rb +1 -1
- data/lib/cpee/transformation/bpmn2.rb +38 -4
- data/lib/cpee/transformation/cpee.rb +78 -23
- data/lib/cpee/transformation/dataflow.rb +5 -1
- data/lib/cpee/transformation/graphviz.rb +1 -1
- data/lib/cpee/transformation/implementation.rb +5 -1
- data/lib/cpee/transformation/implementation.xml +4 -1
- data/lib/cpee/transformation/mermaid.rb +27 -18
- data/lib/cpee/transformation/ptml.rb +79 -69
- data/lib/cpee/transformation/structures.rb +58 -8
- data/lib/cpee/transformation/target.rb +13 -1
- data/lib/cpee/transformation/text-bf.rb +6 -1
- data/lib/cpee/transformation/text-df-PO-extended.rb +6 -1
- data/lib/cpee/transformation/text-df-PO-reduced.rb +6 -1
- data/lib/cpee/transformation/transformer.rb +20 -2
- data/server/trans.conf +1 -0
- data/server/trans.pid +1 -0
- data/tools/bpmn2_to_cpee.rb +1 -1
- data/tools/bpmn2_to_mermaid.rb +1 -1
- data/tools/bpmn2_to_ptml.rb +2 -4
- data/tools/cpee_to_bpmn2.rb +92 -0
- data/tools/cpee_to_cpee.rb +1 -1
- data/tools/cpee_to_dataflow.rb +1 -1
- data/tools/cpee_to_mermaid.rb +1 -1
- data/tools/cpee_to_ptml.rb +2 -4
- data/tools/cpee_to_text_bf.rb +1 -1
- data/tools/cpee_to_text_df-poe.rb +1 -1
- data/tools/cpee_to_text_df-por.rb +1 -1
- data/tools/mermaid_to_cpee.rb +1 -1
- data/tools/ptml_to_cpee.rb +1 -1
- metadata +11 -1
data/tools/cpee_to_mermaid.rb
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
# for more details.
|
|
15
15
|
#
|
|
16
16
|
# You should have received a copy of the GNU Lesser General Public License
|
|
17
|
-
# along with CPEE-TRANSFORMATION (file
|
|
17
|
+
# along with CPEE-TRANSFORMATION (file LICENSE in the main directory). If not,
|
|
18
18
|
# see <http://www.gnu.org/licenses/>.
|
|
19
19
|
|
|
20
20
|
def wrap(s1, s2, width=78, indent=ARGV.options.summary_width + 3)
|
data/tools/cpee_to_ptml.rb
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
# for more details.
|
|
15
15
|
#
|
|
16
16
|
# You should have received a copy of the GNU Lesser General Public License
|
|
17
|
-
# along with CPEE-TRANSFORMATION (file
|
|
17
|
+
# along with CPEE-TRANSFORMATION (file LICENSE in the main directory). If not,
|
|
18
18
|
# see <http://www.gnu.org/licenses/>.
|
|
19
19
|
|
|
20
20
|
def wrap(s1, s2, width=78, indent=ARGV.options.summary_width + 3)
|
|
@@ -54,7 +54,7 @@ ARGV.options { |opt|
|
|
|
54
54
|
opt.on("--interactive", "-i", "Interactive mode") { interactive = true }
|
|
55
55
|
opt.on("--tree", "-t", "Print tree") { printtree = true }
|
|
56
56
|
opt.on("")
|
|
57
|
-
opt.on(wrap("[FNAME]","convert cpee tree in file FNAME to
|
|
57
|
+
opt.on(wrap("[FNAME]","convert cpee tree in file FNAME to ptml and output to console."))
|
|
58
58
|
opt.parse!
|
|
59
59
|
}
|
|
60
60
|
|
|
@@ -78,8 +78,6 @@ else
|
|
|
78
78
|
tree = trans.build_tree(false)
|
|
79
79
|
end
|
|
80
80
|
|
|
81
|
-
pp tree
|
|
82
|
-
|
|
83
81
|
if printtree
|
|
84
82
|
puts tree.to_s
|
|
85
83
|
else
|
data/tools/cpee_to_text_bf.rb
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
# for more details.
|
|
15
15
|
#
|
|
16
16
|
# You should have received a copy of the GNU Lesser General Public License
|
|
17
|
-
# along with CPEE-TRANSFORMATION (file
|
|
17
|
+
# along with CPEE-TRANSFORMATION (file LICENSE in the main directory). If not,
|
|
18
18
|
# see <http://www.gnu.org/licenses/>.
|
|
19
19
|
|
|
20
20
|
def wrap(s1, s2, width=78, indent=ARGV.options.summary_width + 3)
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
# for more details.
|
|
15
15
|
#
|
|
16
16
|
# You should have received a copy of the GNU Lesser General Public License
|
|
17
|
-
# along with CPEE-TRANSFORMATION (file
|
|
17
|
+
# along with CPEE-TRANSFORMATION (file LICENSE in the main directory). If not,
|
|
18
18
|
# see <http://www.gnu.org/licenses/>.
|
|
19
19
|
|
|
20
20
|
def wrap(s1, s2, width=78, indent=ARGV.options.summary_width + 3)
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
# for more details.
|
|
15
15
|
#
|
|
16
16
|
# You should have received a copy of the GNU Lesser General Public License
|
|
17
|
-
# along with CPEE-TRANSFORMATION (file
|
|
17
|
+
# along with CPEE-TRANSFORMATION (file LICENSE in the main directory). If not,
|
|
18
18
|
# see <http://www.gnu.org/licenses/>.
|
|
19
19
|
|
|
20
20
|
def wrap(s1, s2, width=78, indent=ARGV.options.summary_width + 3)
|
data/tools/mermaid_to_cpee.rb
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
# for more details.
|
|
15
15
|
#
|
|
16
16
|
# You should have received a copy of the GNU Lesser General Public License
|
|
17
|
-
# along with CPEE-TRANSFORMATION (file
|
|
17
|
+
# along with CPEE-TRANSFORMATION (file LICENSE in the main directory). If not,
|
|
18
18
|
# see <http://www.gnu.org/licenses/>.
|
|
19
19
|
|
|
20
20
|
def wrap(s1, s2, width=78, indent=ARGV.options.summary_width + 3)
|
data/tools/ptml_to_cpee.rb
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
# for more details.
|
|
15
15
|
#
|
|
16
16
|
# You should have received a copy of the GNU Lesser General Public License
|
|
17
|
-
# along with CPEE-TRANSFORMATION (file
|
|
17
|
+
# along with CPEE-TRANSFORMATION (file LICENSE in the main directory). If not,
|
|
18
18
|
# see <http://www.gnu.org/licenses/>.
|
|
19
19
|
|
|
20
20
|
def wrap(s1, s2, width=78, indent=ARGV.options.summary_width + 3)
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: cpee-transformation
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.6
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Juergen eTM Mangler
|
|
@@ -87,6 +87,7 @@ executables:
|
|
|
87
87
|
- bpmn2_to_mermaid.rb
|
|
88
88
|
- bpmn2_to_ptml.rb
|
|
89
89
|
- cpee-trans
|
|
90
|
+
- cpee_to_bpmn2.rb
|
|
90
91
|
- cpee_to_cpee.rb
|
|
91
92
|
- cpee_to_mermaid.rb
|
|
92
93
|
- cpee_to_ptml.rb
|
|
@@ -123,10 +124,13 @@ files:
|
|
|
123
124
|
- lib/cpee/transformation/transformation_xml_text.xml
|
|
124
125
|
- lib/cpee/transformation/transformer.rb
|
|
125
126
|
- server/trans
|
|
127
|
+
- server/trans.conf
|
|
128
|
+
- server/trans.pid
|
|
126
129
|
- tools/bpmn2_to_cpee.rb
|
|
127
130
|
- tools/bpmn2_to_mermaid.rb
|
|
128
131
|
- tools/bpmn2_to_ptml.rb
|
|
129
132
|
- tools/cpee-trans
|
|
133
|
+
- tools/cpee_to_bpmn2.rb
|
|
130
134
|
- tools/cpee_to_cpee.rb
|
|
131
135
|
- tools/cpee_to_dataflow.rb
|
|
132
136
|
- tools/cpee_to_mermaid.rb
|
|
@@ -140,6 +144,12 @@ homepage: http://github.com/etm/cpee-transformation/
|
|
|
140
144
|
licenses:
|
|
141
145
|
- LGPL-3.0-or-later
|
|
142
146
|
metadata: {}
|
|
147
|
+
post_install_message: |
|
|
148
|
+
The BPMN2 target uses bpmnexport from cpee-layout (Node.js >= 22.22). By
|
|
149
|
+
default npx fetches it on first use. To avoid that, run
|
|
150
|
+
npm install -g cpee-layout
|
|
151
|
+
and set ":bpmnexport: bpmnexport" in trans.conf of your service
|
|
152
|
+
(scaffolded with cpee-trans new DIR).
|
|
143
153
|
rdoc_options: []
|
|
144
154
|
require_paths:
|
|
145
155
|
- lib
|