asciidoctor-diagram 2.2.17 → 2.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.adoc +12 -0
- data/README.adoc +3 -3
- data/lib/asciidoctor-diagram/ditaa/ditaa-2.1.0.jar +0 -0
- data/lib/asciidoctor-diagram/plantuml/converter.rb +10 -4
- data/lib/asciidoctor-diagram/plantuml/plantuml-2.1.1.jar +0 -0
- data/lib/asciidoctor-diagram/structurizr/structurizr-2.1.1.jar +0 -0
- data/lib/asciidoctor-diagram/syntrax/syntrax-2.1.0.jar +0 -0
- data/lib/asciidoctor-diagram/util/server-2.1.0.jar +0 -0
- data/lib/asciidoctor-diagram/version.rb +1 -1
- metadata +8 -8
- data/lib/asciidoctor-diagram/ditaa/ditaa-2.0.0.jar +0 -0
- data/lib/asciidoctor-diagram/plantuml/plantuml-2.0.0.jar +0 -0
- data/lib/asciidoctor-diagram/structurizr/structurizr-2.0.5.jar +0 -0
- data/lib/asciidoctor-diagram/syntrax/syntrax-2.0.2.jar +0 -0
- data/lib/asciidoctor-diagram/util/server-2.0.0.jar +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0b7d586b723b3485288bc8127bbae0ce102fb2d6b07269a98790c01952aa2434
|
4
|
+
data.tar.gz: 97316ae03795b92cd09fd0baf9ecd86b5a68618a5a653e20d905fe3e66dd4c6f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 498776729f7aa965ad47f6ff9fe11bd16a09e389eab45a060b80675fd638bd05c4917a686e1effa787afaa67002c549817cdb36c8453453cb9010b9c33effa68
|
7
|
+
data.tar.gz: 6d6dc3314c9163832907cf7a5a45a2802976de6c9c04ef737463cdb2ec7ecb0c87db5f79dcf6bc5001705a10ea959635d66a88af7aa2f8b72bdde40af658d26b
|
data/CHANGELOG.adoc
CHANGED
@@ -1,5 +1,17 @@
|
|
1
1
|
= Asciidoctor-diagram Changelog
|
2
2
|
|
3
|
+
== 2.3.0
|
4
|
+
|
5
|
+
Enhancements::
|
6
|
+
|
7
|
+
* Issue #457: Relaxed Java version requirement from 11 to 1.8 (for tools that support it)
|
8
|
+
|
9
|
+
== 2.2.18
|
10
|
+
|
11
|
+
Enhancements::
|
12
|
+
|
13
|
+
* Add opt-in support for the PlantUML Smetana layout engine
|
14
|
+
|
3
15
|
== 2.2.17
|
4
16
|
|
5
17
|
Bugfixes::
|
data/README.adoc
CHANGED
@@ -2,9 +2,9 @@
|
|
2
2
|
Pepijn Van_Eeckhoudt <https://github.com/pepijnve[@pepijnve]>; Sarah White <https://github.com/graphitefriction[@graphitefriction]>
|
3
3
|
:description: README for the Asciidoctor Diagram extension for Asciidoctor.
|
4
4
|
|
5
|
-
image:https://github.com/asciidoctor/asciidoctor-diagram/workflows/Linux%20unit%20tests/badge.svg?branch=
|
6
|
-
// image:https://github.com/asciidoctor/asciidoctor-diagram/workflows/macOS%20unit%20tests/badge.svg?branch=
|
7
|
-
// image:https://github.com/asciidoctor/asciidoctor-diagram/workflows/Windows%20unit%20tests/badge.svg?branch=
|
5
|
+
image:https://github.com/asciidoctor/asciidoctor-diagram/workflows/Linux%20unit%20tests/badge.svg?branch=main["Linux Build Status", link="https://github.com/asciidoctor/asciidoctor-diagram/actions?query=workflow%3A%22Linux+unit+tests%22"]
|
6
|
+
// image:https://github.com/asciidoctor/asciidoctor-diagram/workflows/macOS%20unit%20tests/badge.svg?branch=main["macOS Build Status", link="https://github.com/asciidoctor/asciidoctor-diagram/actions?query=workflow%3A%22macOS+unit+tests%22"]
|
7
|
+
// image:https://github.com/asciidoctor/asciidoctor-diagram/workflows/Windows%20unit%20tests/badge.svg?branch=main["Windows Build Status", link="https://github.com/asciidoctor/asciidoctor-diagram/actions?query=workflow%3A%22Windows+unit+tests%22"]
|
8
8
|
image:https://badge.fury.io/rb/asciidoctor-diagram.svg[Gem Version, link=https://rubygems.org/gems/asciidoctor-diagram]
|
9
9
|
|
10
10
|
Asciidoctor Diagram is a set of Asciidoctor extensions that enable you to add diagrams, which you describe using plain text, to your AsciiDoc document.
|
Binary file
|
@@ -37,9 +37,11 @@ module Asciidoctor
|
|
37
37
|
|
38
38
|
def collect_options(source)
|
39
39
|
options = {
|
40
|
-
:size_limit => source.attr('size-limit', '4096')
|
40
|
+
:size_limit => source.attr('size-limit', '4096'),
|
41
41
|
}
|
42
42
|
|
43
|
+
options[:smetana] = true if source.opt('smetana')
|
44
|
+
|
43
45
|
theme = source.attr('theme', nil)
|
44
46
|
options[:theme] = theme if theme
|
45
47
|
|
@@ -106,9 +108,13 @@ module Asciidoctor
|
|
106
108
|
add_theme_header(headers, options[:theme])
|
107
109
|
add_size_limit_header(headers, options[:size_limit])
|
108
110
|
|
109
|
-
|
110
|
-
|
111
|
-
|
111
|
+
if options[:smetana]
|
112
|
+
headers['X-Graphviz'] = 'smetana'
|
113
|
+
else
|
114
|
+
dot = source.find_command('dot', :alt_attrs => ['graphvizdot'], :raise_on_error => false)
|
115
|
+
if dot
|
116
|
+
headers['X-Graphviz'] = ::Asciidoctor::Diagram::Platform.host_os_path(dot)
|
117
|
+
end
|
112
118
|
end
|
113
119
|
|
114
120
|
response = Java.send_request(
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
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.
|
4
|
+
version: 2.3.0
|
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: 2024-02-
|
11
|
+
date: 2024-02-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -156,7 +156,7 @@ files:
|
|
156
156
|
- lib/asciidoctor-diagram/diagrams/extension.rb
|
157
157
|
- lib/asciidoctor-diagram/ditaa.rb
|
158
158
|
- lib/asciidoctor-diagram/ditaa/converter.rb
|
159
|
-
- lib/asciidoctor-diagram/ditaa/ditaa-2.
|
159
|
+
- lib/asciidoctor-diagram/ditaa/ditaa-2.1.0.jar
|
160
160
|
- lib/asciidoctor-diagram/ditaa/extension.rb
|
161
161
|
- lib/asciidoctor-diagram/dpic.rb
|
162
162
|
- lib/asciidoctor-diagram/dpic/converter.rb
|
@@ -199,7 +199,7 @@ files:
|
|
199
199
|
- lib/asciidoctor-diagram/plantuml.rb
|
200
200
|
- lib/asciidoctor-diagram/plantuml/converter.rb
|
201
201
|
- lib/asciidoctor-diagram/plantuml/extension.rb
|
202
|
-
- lib/asciidoctor-diagram/plantuml/plantuml-2.
|
202
|
+
- lib/asciidoctor-diagram/plantuml/plantuml-2.1.1.jar
|
203
203
|
- lib/asciidoctor-diagram/salt.rb
|
204
204
|
- lib/asciidoctor-diagram/shaape.rb
|
205
205
|
- lib/asciidoctor-diagram/shaape/converter.rb
|
@@ -211,7 +211,7 @@ files:
|
|
211
211
|
- lib/asciidoctor-diagram/structurizr/converter.rb
|
212
212
|
- lib/asciidoctor-diagram/structurizr/extension.rb
|
213
213
|
- lib/asciidoctor-diagram/structurizr/renderers.rb
|
214
|
-
- lib/asciidoctor-diagram/structurizr/structurizr-2.
|
214
|
+
- lib/asciidoctor-diagram/structurizr/structurizr-2.1.1.jar
|
215
215
|
- lib/asciidoctor-diagram/svgbob.rb
|
216
216
|
- lib/asciidoctor-diagram/svgbob/converter.rb
|
217
217
|
- lib/asciidoctor-diagram/svgbob/extension.rb
|
@@ -221,7 +221,7 @@ files:
|
|
221
221
|
- lib/asciidoctor-diagram/syntrax.rb
|
222
222
|
- lib/asciidoctor-diagram/syntrax/converter.rb
|
223
223
|
- lib/asciidoctor-diagram/syntrax/extension.rb
|
224
|
-
- lib/asciidoctor-diagram/syntrax/syntrax-2.0.
|
224
|
+
- lib/asciidoctor-diagram/syntrax/syntrax-2.1.0.jar
|
225
225
|
- lib/asciidoctor-diagram/tikz.rb
|
226
226
|
- lib/asciidoctor-diagram/tikz/converter.rb
|
227
227
|
- lib/asciidoctor-diagram/tikz/extension.rb
|
@@ -238,7 +238,7 @@ files:
|
|
238
238
|
- lib/asciidoctor-diagram/util/pdf.rb
|
239
239
|
- lib/asciidoctor-diagram/util/platform.rb
|
240
240
|
- lib/asciidoctor-diagram/util/png.rb
|
241
|
-
- lib/asciidoctor-diagram/util/server-2.
|
241
|
+
- lib/asciidoctor-diagram/util/server-2.1.0.jar
|
242
242
|
- lib/asciidoctor-diagram/util/svg.rb
|
243
243
|
- lib/asciidoctor-diagram/util/which.rb
|
244
244
|
- lib/asciidoctor-diagram/vega.rb
|
@@ -253,7 +253,7 @@ licenses:
|
|
253
253
|
- MIT
|
254
254
|
metadata:
|
255
255
|
bug_tracker_uri: https://github.com/asciidoctor/asciidoctor-diagram/issues
|
256
|
-
changelog_uri: https://github.com/asciidoctor/asciidoctor-diagram/blob/
|
256
|
+
changelog_uri: https://github.com/asciidoctor/asciidoctor-diagram/blob/main/CHANGELOG.adoc
|
257
257
|
documentation_uri: https://docs.asciidoctor.org/diagram-extension/latest/
|
258
258
|
homepage_uri: https://github.com/asciidoctor/asciidoctor-diagram
|
259
259
|
source_code_uri: https://github.com/asciidoctor/asciidoctor-diagram.git
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|