asciidoctor-diagram 2.0.2 → 2.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.adoc +25 -0
- data/README.adoc +13 -4
- data/lib/asciidoctor-diagram.rb +3 -0
- data/lib/asciidoctor-diagram/a2s/converter.rb +10 -6
- data/lib/asciidoctor-diagram/blockdiag/converter.rb +1 -1
- data/lib/asciidoctor-diagram/bpmn/converter.rb +3 -3
- data/lib/asciidoctor-diagram/diagram_converter.rb +5 -1
- data/lib/asciidoctor-diagram/diagram_processor.rb +64 -38
- data/lib/asciidoctor-diagram/diagram_source.rb +64 -17
- data/lib/asciidoctor-diagram/ditaa/converter.rb +6 -2
- data/lib/asciidoctor-diagram/dpic.rb +7 -0
- data/lib/asciidoctor-diagram/dpic/converter.rb +30 -0
- data/lib/asciidoctor-diagram/dpic/extension.rb +14 -0
- data/lib/asciidoctor-diagram/gnuplot/converter.rb +8 -8
- data/lib/asciidoctor-diagram/graphviz/converter.rb +2 -2
- data/lib/asciidoctor-diagram/http/converter.rb +25 -5
- data/lib/asciidoctor-diagram/http/server.rb +10 -5
- data/lib/asciidoctor-diagram/lilypond/converter.rb +2 -2
- data/lib/asciidoctor-diagram/meme/converter.rb +7 -7
- data/lib/asciidoctor-diagram/mermaid/converter.rb +16 -15
- data/lib/asciidoctor-diagram/msc/converter.rb +2 -2
- data/lib/asciidoctor-diagram/pikchr.rb +7 -0
- data/lib/asciidoctor-diagram/pikchr/converter.rb +26 -0
- data/lib/asciidoctor-diagram/pikchr/extension.rb +14 -0
- data/lib/asciidoctor-diagram/plantuml/converter.rb +3 -3
- data/lib/asciidoctor-diagram/smcat/converter.rb +3 -3
- data/lib/asciidoctor-diagram/svgbob/converter.rb +2 -2
- data/lib/asciidoctor-diagram/symbolator.rb +7 -0
- data/lib/asciidoctor-diagram/symbolator/converter.rb +23 -0
- data/lib/asciidoctor-diagram/symbolator/extension.rb +14 -0
- data/lib/asciidoctor-diagram/syntrax/converter.rb +9 -6
- data/lib/asciidoctor-diagram/util/cli_generator.rb +18 -0
- data/lib/asciidoctor-diagram/util/gif.rb +2 -2
- data/lib/asciidoctor-diagram/util/pdf.rb +2 -2
- data/lib/asciidoctor-diagram/util/png.rb +2 -2
- data/lib/asciidoctor-diagram/util/svg.rb +46 -19
- data/lib/asciidoctor-diagram/vega/converter.rb +2 -2
- data/lib/asciidoctor-diagram/version.rb +1 -1
- data/spec/a2s_spec.rb +2 -140
- data/spec/blockdiag_spec.rb +2 -200
- data/spec/bpmn_spec.rb +52 -92
- data/spec/bytefield_spec.rb +2 -140
- data/spec/ditaa_spec.rb +5 -143
- data/spec/dpic_spec.rb +19 -0
- data/spec/erd_spec.rb +2 -199
- data/spec/gnuplot_spec.rb +2 -255
- data/spec/graphviz_spec.rb +6 -145
- data/spec/lilypond_spec.rb +2 -140
- data/spec/mermaid_spec.rb +2 -199
- data/spec/msc_spec.rb +2 -199
- data/spec/nomnoml_spec.rb +4 -142
- data/spec/pikchr_spec.rb +51 -0
- data/spec/plantuml_spec.rb +6 -578
- data/spec/shaape_spec.rb +9 -221
- data/spec/shared_examples.rb +552 -0
- data/spec/smcat_spec.rb +2 -140
- data/spec/svgbob_spec.rb +2 -140
- data/spec/symbolator_spec.rb +23 -0
- data/spec/syntrax_spec.rb +5 -215
- data/spec/test_helper.rb +1 -22
- data/spec/tikz_spec.rb +4 -24
- data/spec/umlet_spec.rb +2 -58
- data/spec/vega_spec.rb +4 -117
- data/spec/wavedrom_spec.rb +2 -199
- metadata +20 -6
- data/spec/bpmn-example.xml +0 -44
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: asciidoctor-diagram
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Pepijn Van Eeckhoudt
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-09-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -109,6 +109,9 @@ files:
|
|
109
109
|
- lib/asciidoctor-diagram/ditaa.rb
|
110
110
|
- lib/asciidoctor-diagram/ditaa/converter.rb
|
111
111
|
- lib/asciidoctor-diagram/ditaa/extension.rb
|
112
|
+
- lib/asciidoctor-diagram/dpic.rb
|
113
|
+
- lib/asciidoctor-diagram/dpic/converter.rb
|
114
|
+
- lib/asciidoctor-diagram/dpic/extension.rb
|
112
115
|
- lib/asciidoctor-diagram/erd.rb
|
113
116
|
- lib/asciidoctor-diagram/erd/converter.rb
|
114
117
|
- lib/asciidoctor-diagram/erd/extension.rb
|
@@ -135,6 +138,9 @@ files:
|
|
135
138
|
- lib/asciidoctor-diagram/nomnoml.rb
|
136
139
|
- lib/asciidoctor-diagram/nomnoml/converter.rb
|
137
140
|
- lib/asciidoctor-diagram/nomnoml/extension.rb
|
141
|
+
- lib/asciidoctor-diagram/pikchr.rb
|
142
|
+
- lib/asciidoctor-diagram/pikchr/converter.rb
|
143
|
+
- lib/asciidoctor-diagram/pikchr/extension.rb
|
138
144
|
- lib/asciidoctor-diagram/plantuml.rb
|
139
145
|
- lib/asciidoctor-diagram/plantuml/converter.rb
|
140
146
|
- lib/asciidoctor-diagram/plantuml/extension.rb
|
@@ -148,6 +154,9 @@ files:
|
|
148
154
|
- lib/asciidoctor-diagram/svgbob.rb
|
149
155
|
- lib/asciidoctor-diagram/svgbob/converter.rb
|
150
156
|
- lib/asciidoctor-diagram/svgbob/extension.rb
|
157
|
+
- lib/asciidoctor-diagram/symbolator.rb
|
158
|
+
- lib/asciidoctor-diagram/symbolator/converter.rb
|
159
|
+
- lib/asciidoctor-diagram/symbolator/extension.rb
|
151
160
|
- lib/asciidoctor-diagram/syntrax.rb
|
152
161
|
- lib/asciidoctor-diagram/syntrax/converter.rb
|
153
162
|
- lib/asciidoctor-diagram/syntrax/extension.rb
|
@@ -185,10 +194,10 @@ files:
|
|
185
194
|
- lib/server-1.3.15.jar
|
186
195
|
- spec/a2s_spec.rb
|
187
196
|
- spec/blockdiag_spec.rb
|
188
|
-
- spec/bpmn-example.xml
|
189
197
|
- spec/bpmn_spec.rb
|
190
198
|
- spec/bytefield_spec.rb
|
191
199
|
- spec/ditaa_spec.rb
|
200
|
+
- spec/dpic_spec.rb
|
192
201
|
- spec/erd_spec.rb
|
193
202
|
- spec/gnuplot_spec.rb
|
194
203
|
- spec/graphviz_spec.rb
|
@@ -198,10 +207,13 @@ files:
|
|
198
207
|
- spec/mermaid_spec.rb
|
199
208
|
- spec/msc_spec.rb
|
200
209
|
- spec/nomnoml_spec.rb
|
210
|
+
- spec/pikchr_spec.rb
|
201
211
|
- spec/plantuml_spec.rb
|
202
212
|
- spec/shaape_spec.rb
|
213
|
+
- spec/shared_examples.rb
|
203
214
|
- spec/smcat_spec.rb
|
204
215
|
- spec/svgbob_spec.rb
|
216
|
+
- spec/symbolator_spec.rb
|
205
217
|
- spec/syntrax_spec.rb
|
206
218
|
- spec/test_helper.rb
|
207
219
|
- spec/tikz_spec.rb
|
@@ -227,8 +239,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
227
239
|
- !ruby/object:Gem::Version
|
228
240
|
version: '0'
|
229
241
|
requirements: []
|
230
|
-
|
231
|
-
rubygems_version: 2.7.6
|
242
|
+
rubygems_version: 3.0.1
|
232
243
|
signing_key:
|
233
244
|
specification_version: 4
|
234
245
|
summary: An extension for asciidoctor that adds support for UML diagram generation
|
@@ -236,10 +247,10 @@ summary: An extension for asciidoctor that adds support for UML diagram generati
|
|
236
247
|
test_files:
|
237
248
|
- spec/a2s_spec.rb
|
238
249
|
- spec/blockdiag_spec.rb
|
239
|
-
- spec/bpmn-example.xml
|
240
250
|
- spec/bpmn_spec.rb
|
241
251
|
- spec/bytefield_spec.rb
|
242
252
|
- spec/ditaa_spec.rb
|
253
|
+
- spec/dpic_spec.rb
|
243
254
|
- spec/erd_spec.rb
|
244
255
|
- spec/gnuplot_spec.rb
|
245
256
|
- spec/graphviz_spec.rb
|
@@ -249,10 +260,13 @@ test_files:
|
|
249
260
|
- spec/mermaid_spec.rb
|
250
261
|
- spec/msc_spec.rb
|
251
262
|
- spec/nomnoml_spec.rb
|
263
|
+
- spec/pikchr_spec.rb
|
252
264
|
- spec/plantuml_spec.rb
|
253
265
|
- spec/shaape_spec.rb
|
266
|
+
- spec/shared_examples.rb
|
254
267
|
- spec/smcat_spec.rb
|
255
268
|
- spec/svgbob_spec.rb
|
269
|
+
- spec/symbolator_spec.rb
|
256
270
|
- spec/syntrax_spec.rb
|
257
271
|
- spec/test_helper.rb
|
258
272
|
- spec/tikz_spec.rb
|
data/spec/bpmn-example.xml
DELETED
@@ -1,44 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
-
<bpmn:definitions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" id="Definitions_0zt4mn9" targetNamespace="http://bpmn.io/schema/bpmn" exporter="bpmn-js (https://demo.bpmn.io)" exporterVersion="5.1.2">
|
3
|
-
<bpmn:process id="Process_081h9u7" isExecutable="false">
|
4
|
-
<bpmn:startEvent id="StartEvent_00w25dz" name="Start">
|
5
|
-
<bpmn:outgoing>SequenceFlow_11u0n1f</bpmn:outgoing>
|
6
|
-
</bpmn:startEvent>
|
7
|
-
<bpmn:task id="Task_0yx8j7s" name="Task">
|
8
|
-
<bpmn:incoming>SequenceFlow_11u0n1f</bpmn:incoming>
|
9
|
-
<bpmn:outgoing>SequenceFlow_104th5x</bpmn:outgoing>
|
10
|
-
</bpmn:task>
|
11
|
-
<bpmn:sequenceFlow id="SequenceFlow_11u0n1f" sourceRef="StartEvent_00w25dz" targetRef="Task_0yx8j7s" />
|
12
|
-
<bpmn:endEvent id="EndEvent_0jxehtp" name="End">
|
13
|
-
<bpmn:incoming>SequenceFlow_104th5x</bpmn:incoming>
|
14
|
-
</bpmn:endEvent>
|
15
|
-
<bpmn:sequenceFlow id="SequenceFlow_104th5x" sourceRef="Task_0yx8j7s" targetRef="EndEvent_0jxehtp" />
|
16
|
-
</bpmn:process>
|
17
|
-
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
|
18
|
-
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Process_081h9u7">
|
19
|
-
<bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_00w25dz">
|
20
|
-
<dc:Bounds x="156" y="81" width="36" height="36" />
|
21
|
-
<bpmndi:BPMNLabel>
|
22
|
-
<dc:Bounds x="162" y="124" width="24" height="14" />
|
23
|
-
</bpmndi:BPMNLabel>
|
24
|
-
</bpmndi:BPMNShape>
|
25
|
-
<bpmndi:BPMNShape id="Task_0yx8j7s_di" bpmnElement="Task_0yx8j7s">
|
26
|
-
<dc:Bounds x="250" y="59" width="100" height="80" />
|
27
|
-
</bpmndi:BPMNShape>
|
28
|
-
<bpmndi:BPMNEdge id="SequenceFlow_11u0n1f_di" bpmnElement="SequenceFlow_11u0n1f">
|
29
|
-
<di:waypoint x="192" y="99" />
|
30
|
-
<di:waypoint x="250" y="99" />
|
31
|
-
</bpmndi:BPMNEdge>
|
32
|
-
<bpmndi:BPMNShape id="EndEvent_0jxehtp_di" bpmnElement="EndEvent_0jxehtp">
|
33
|
-
<dc:Bounds x="412" y="81" width="36" height="36" />
|
34
|
-
<bpmndi:BPMNLabel>
|
35
|
-
<dc:Bounds x="420" y="124" width="20" height="14" />
|
36
|
-
</bpmndi:BPMNLabel>
|
37
|
-
</bpmndi:BPMNShape>
|
38
|
-
<bpmndi:BPMNEdge id="SequenceFlow_104th5x_di" bpmnElement="SequenceFlow_104th5x">
|
39
|
-
<di:waypoint x="350" y="99" />
|
40
|
-
<di:waypoint x="412" y="99" />
|
41
|
-
</bpmndi:BPMNEdge>
|
42
|
-
</bpmndi:BPMNPlane>
|
43
|
-
</bpmndi:BPMNDiagram>
|
44
|
-
</bpmn:definitions>
|