asciidoctor-diagram 2.2.0 → 2.2.1
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f13f5d250305d3a9da90af8da4a0b784c247979b9e23462b8b8bd77f6c92ca0a
|
4
|
+
data.tar.gz: 5f757455ea6ba101f8543d87a2bbe06106ed354e09bec89bf3d22959d1674f96
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2e08ce3f20a0d241e177cbf06680f68149af8adc8e65b6ab25fa57bf1e620aead335d7c8fbe96047bb10b95bf52ce7b22d7c67c3160882e8fd4f0a261c597eb2
|
7
|
+
data.tar.gz: 9ff970387205a3686999220bd37e0d54b08f10f5c95be8d37d05764fbf2f46a5606c9efe4184249b951ad845194e108d7d283fd178216fd42958230dbd50afce
|
data/CHANGELOG.adoc
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
= Asciidoctor-diagram Changelog
|
2
2
|
|
3
|
+
== 2.2.1
|
4
|
+
|
5
|
+
Bug Fixes::
|
6
|
+
|
7
|
+
* Issue #366: Improve correctness of SVG images produced by Ditaa
|
8
|
+
* Issue #367: Resolve compatibility issue with rqrcode 2.1.0
|
9
|
+
* Issue #368: Respect `options` attribute when generating SVG images
|
10
|
+
|
3
11
|
== 2.2.0
|
4
12
|
|
5
13
|
Enhancements::
|
@@ -23,7 +23,7 @@ The following diagram types and output formats are available:
|
|
23
23
|
|Diagram Type |gif |pdf |png |svg |txt
|
24
24
|
|{uri-a2s}[a2s] | | | |{check}|
|
25
25
|
|{uri-actdiag}[actdiag] | |{check}|{check}|{check}|
|
26
|
-
|
26
|
+
|<<barcode,barcode>> | | |{check}| |{check}
|
27
27
|
|{uri-blockdiag}[blockdiag] | |{check}|{check}|{check}|
|
28
28
|
|{uri-bpmn}[bpmn] | |{check}|{check}|{check}|
|
29
29
|
|{uri-bytefield}[bytefield] | | | |{check}|
|
@@ -2,8 +2,8 @@ module Asciidoctor
|
|
2
2
|
module Diagram
|
3
3
|
module BarcodeDependencies
|
4
4
|
BARCODE_DEPENDENCIES = {'barby' => '~> 0.6.8'}
|
5
|
-
PNG_DEPENDENCIES = {'chunky_png' => '~> 1.4
|
6
|
-
QRCODE_DEPENDENCIES = {'rqrcode' => '~> 2.0
|
5
|
+
PNG_DEPENDENCIES = {'chunky_png' => '~> 1.4'}
|
6
|
+
QRCODE_DEPENDENCIES = {'rqrcode' => '~> 2.0'}
|
7
7
|
ALL_DEPENDENCIES = {}.merge(BARCODE_DEPENDENCIES).merge(PNG_DEPENDENCIES).merge(QRCODE_DEPENDENCIES)
|
8
8
|
end
|
9
9
|
end
|
@@ -238,9 +238,17 @@ module Asciidoctor
|
|
238
238
|
use_absolute_path = source.attr('data-uri', nil, true)
|
239
239
|
|
240
240
|
if format == :svg
|
241
|
-
|
241
|
+
if node.option? 'inline'
|
242
|
+
svg_type = 'inline'
|
243
|
+
elsif node.option? 'interactive'
|
244
|
+
svg_type = 'interactive'
|
245
|
+
else
|
246
|
+
svg_type = source.global_attr('svg-type')
|
247
|
+
end
|
248
|
+
|
242
249
|
case svg_type
|
243
250
|
when nil, 'static'
|
251
|
+
# Nothing to do
|
244
252
|
when 'inline', 'interactive'
|
245
253
|
node.set_option(svg_type)
|
246
254
|
use_absolute_path = true
|
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.2.
|
4
|
+
version: 2.2.1
|
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: 2021-
|
11
|
+
date: 2021-09-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -78,14 +78,14 @@ dependencies:
|
|
78
78
|
requirements:
|
79
79
|
- - "~>"
|
80
80
|
- !ruby/object:Gem::Version
|
81
|
-
version: 1.0
|
81
|
+
version: '1.0'
|
82
82
|
type: :runtime
|
83
83
|
prerelease: false
|
84
84
|
version_requirements: !ruby/object:Gem::Requirement
|
85
85
|
requirements:
|
86
86
|
- - "~>"
|
87
87
|
- !ruby/object:Gem::Version
|
88
|
-
version: 1.0
|
88
|
+
version: '1.0'
|
89
89
|
- !ruby/object:Gem::Dependency
|
90
90
|
name: asciidoctor-diagram-plantuml
|
91
91
|
requirement: !ruby/object:Gem::Requirement
|
@@ -293,7 +293,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
293
293
|
- !ruby/object:Gem::Version
|
294
294
|
version: '0'
|
295
295
|
requirements: []
|
296
|
-
rubygems_version: 3.
|
296
|
+
rubygems_version: 3.0.3
|
297
297
|
signing_key:
|
298
298
|
specification_version: 4
|
299
299
|
summary: A family of Asciidoctor extensions that generate images from a broad range
|