asciidoctor-defmastership 1.0.8 → 1.0.9
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: 120879775fb430f58cc83b38f54a85a783e53c13a303f21aa1d53b140afe534c
|
4
|
+
data.tar.gz: 2dd09334b90b48c2d3fec43e8ba64a456ae00c13771113bae1655ac90d3451ef
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ef6a6b74bc6486b24cad993dad606b6a4d7d1730344c074af2fd9792fa94492730f80933bd262149963b5501e9c53ab41ce6b2a06cb61aa3ec770c3f176b06a9
|
7
|
+
data.tar.gz: 71c5ca0517d3766e4cd880ceccbca363f723859636d11cf2618ddf2590f73d19658ef15cdb71fe4ae13b5e283fefc4ac12ce2f45607bb9788eb1e7c2fd366a1c
|
@@ -126,7 +126,11 @@ module Asciidoctor
|
|
126
126
|
refname = matches[:reference]
|
127
127
|
return ref unless @has_url.include?(refname)
|
128
128
|
|
129
|
-
|
129
|
+
ref_pattern =
|
130
|
+
@variables["eref-#{refname}-ref-pattern"] || '#%s'
|
131
|
+
ref_str = format(ref_pattern, ref)
|
132
|
+
|
133
|
+
"link:{eref-#{refname}-url}#{ref_str}[#{ref}]"
|
130
134
|
end
|
131
135
|
|
132
136
|
def show_ext_ref(matches)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: asciidoctor-defmastership
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jérôme Arbez-Gindre
|
@@ -96,7 +96,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
96
96
|
- !ruby/object:Gem::Version
|
97
97
|
version: '0'
|
98
98
|
requirements: []
|
99
|
-
rubygems_version: 3.
|
99
|
+
rubygems_version: 3.5.9
|
100
100
|
signing_key:
|
101
101
|
specification_version: 4
|
102
102
|
summary: asciidoctor extension to handle applicable definition references
|