asciidoctor-diagram 1.5.6 → 1.5.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.adoc +11 -0
- data/README.adoc +1 -0
- data/lib/asciidoctor-diagram/extensions.rb +1 -1
- data/lib/asciidoctor-diagram/syntrax/extension.rb +5 -0
- data/lib/asciidoctor-diagram/version.rb +1 -1
- data/lib/plantuml.jar +0 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1c5c6f676486cb4d63650439d97ee2136bc6f92a
|
4
|
+
data.tar.gz: 82b3ae5a378f850952c2ea2e44c358138aa88327
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b056780ddec76489b951d088ca6f7dad0e3215b714ce8e5e97c78f0c94f04a685a3b30902753dc22b5cedf4c795b2b13335a7572e4a71a27b28bd2508700a5af
|
7
|
+
data.tar.gz: 08bb3c3adc5ac5f2c4fd50c8cc4e945f133954efa6d8d1355178722b8aaf9c0a559f2ee8354f20d372716d89fa44fea5db2399f18c127b84e80e3293dfd9351f
|
data/CHANGELOG.adoc
CHANGED
@@ -1,5 +1,16 @@
|
|
1
1
|
= Asciidoctor-diagram Changelog
|
2
2
|
|
3
|
+
== 1.5.7
|
4
|
+
|
5
|
+
Enhancements::
|
6
|
+
|
7
|
+
* Update PlantUML to revision 2017.20
|
8
|
+
* Add support for Syntrax `--title` argument via the `heading` attribute (@vinipsmaker)
|
9
|
+
|
10
|
+
Bug Fixes::
|
11
|
+
|
12
|
+
* Issue #173: Block macro targets are now correctly resolved against the document base directory.
|
13
|
+
|
3
14
|
== 1.5.6
|
4
15
|
|
5
16
|
Enhancements::
|
data/README.adoc
CHANGED
@@ -424,6 +424,7 @@ The attribute name at the block level should be prefixed with the name of the di
|
|
424
424
|
[cols=">,<,<",options="header"]
|
425
425
|
|===
|
426
426
|
|Name |Default value |Description
|
427
|
+
|heading |unspecifed |Diagram title
|
427
428
|
|scale |1 |A scale factor that is applied to the image.
|
428
429
|
|style |unspecifed |Path to a style config file to pass to Syntrax.
|
429
430
|
|transparent |false |Makes the background of the image transparent instead of opaque white.
|
@@ -303,7 +303,7 @@ module Asciidoctor
|
|
303
303
|
|
304
304
|
def apply_target_subs(parent, target)
|
305
305
|
if target
|
306
|
-
parent.sub_attributes(target, :attribute_missing => 'warn')
|
306
|
+
parent.normalize_system_path(parent.sub_attributes(target, :attribute_missing => 'warn'))
|
307
307
|
else
|
308
308
|
nil
|
309
309
|
end
|
@@ -24,6 +24,11 @@ module Asciidoctor
|
|
24
24
|
generate_file(which(parent, 'syntrax'), 'spec', format.to_s, source.to_s) do |tool_path, input_path, output_path|
|
25
25
|
args = [tool_path, '-i', Platform.native_path(input_path), '-o', Platform.native_path(output_path)]
|
26
26
|
|
27
|
+
title = source.attr('heading', nil, inherit_prefix)
|
28
|
+
if title
|
29
|
+
args << '--title' << title
|
30
|
+
end
|
31
|
+
|
27
32
|
scale = source.attr('scale', nil, inherit_prefix)
|
28
33
|
if scale
|
29
34
|
args << '--scale' << scale
|
data/lib/plantuml.jar
CHANGED
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: 1.5.
|
4
|
+
version: 1.5.7
|
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: 2017-
|
11
|
+
date: 2017-12-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|