asciidoctor-diagram 1.5.15 → 1.5.16
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: fd917dfffdfbdf86a9a2d1f94d67567adf0296b1e9b1e1b8e64e4dacfef06645
|
4
|
+
data.tar.gz: e8b7f3554732fa3a051890a12fa943ea803a455d6a15281b86bd6df889312bfe
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fee236ca6ef2e424d872be4517b9f6d27007a1d5177235678a20acd5533a34580234e469913468e697bb744b57411c386a29ad936597dcbdb4f9a226cf16c3d3
|
7
|
+
data.tar.gz: 75b4a0a5981798b5af94ad2f0e9d8db9f509b6c460a4b5dd962d04fc179ddf454b9ad54b3c693afe2451bc5fcffd6cd5ad7dda187f459c6a7d5764eea45eff0c
|
data/CHANGELOG.adoc
CHANGED
@@ -13,6 +13,12 @@ require_relative 'util/svg'
|
|
13
13
|
module Asciidoctor
|
14
14
|
module Diagram
|
15
15
|
module Extensions
|
16
|
+
if Asciidoctor::VERSION =~ /^1\.*/
|
17
|
+
POSITIONAL_ATTRS_KEY = :pos_attrs
|
18
|
+
else
|
19
|
+
POSITIONAL_ATTRS_KEY = :positional_attrs
|
20
|
+
end
|
21
|
+
|
16
22
|
# Provides the means for diagram processors to register supported output formats and image
|
17
23
|
# generation routines
|
18
24
|
module FormatRegistry
|
@@ -294,7 +300,7 @@ module Asciidoctor
|
|
294
300
|
include DiagramProcessor
|
295
301
|
|
296
302
|
def self.inherited(subclass)
|
297
|
-
subclass.option
|
303
|
+
subclass.option Asciidoctor::Diagram::Extensions::POSITIONAL_ATTRS_KEY, ['target', 'format']
|
298
304
|
subclass.option :contexts, [:listing, :literal, :open]
|
299
305
|
subclass.option :content_model, :simple
|
300
306
|
end
|
@@ -312,7 +318,7 @@ module Asciidoctor
|
|
312
318
|
include DiagramProcessor
|
313
319
|
|
314
320
|
def self.inherited(subclass)
|
315
|
-
subclass.option
|
321
|
+
subclass.option Asciidoctor::Diagram::Extensions::POSITIONAL_ATTRS_KEY, ['target', 'format']
|
316
322
|
end
|
317
323
|
|
318
324
|
def apply_target_subs(parent, target)
|
@@ -118,7 +118,7 @@ module Asciidoctor
|
|
118
118
|
end
|
119
119
|
end
|
120
120
|
|
121
|
-
option
|
121
|
+
option Asciidoctor::Diagram::Extensions::POSITIONAL_ATTRS_KEY, %w(top bottom target format)
|
122
122
|
|
123
123
|
def create_source(parent, target, attributes)
|
124
124
|
attributes = attributes.dup
|
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.16
|
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: 2019-03-
|
11
|
+
date: 2019-03-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|