asciidoctor-reducer 1.0.3 → 1.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.adoc +10 -0
- data/README.adoc +1 -1
- data/asciidoctor-reducer.gemspec +1 -1
- data/lib/asciidoctor/reducer/include_directive_tracker.rb +2 -2
- data/lib/asciidoctor/reducer/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '093396b7e8100e4c3c7ee3a3aadfea734195bee629fe5284c2dc7e09d6a270d7'
|
4
|
+
data.tar.gz: d216e0f827b3c0eeb5f80f130ef0d8200567f14babda2f42b65fb141f465d842
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b2d405cce7f61beae5ed35f4247892ee321bdb4efbba0c49faa325560503be3bb68d828e2018df686e95c0ddf576436c625d3b81dc87847e8ccce6642d3ecc92
|
7
|
+
data.tar.gz: 4454a1023fbba097f8b8227de6d0c594f215a77cc6f57d71f423141c9594f07e6fee8635e8ef61939f6551a0f6062639dc39c52a197de5b162f9300b9cc3844a
|
data/CHANGELOG.adoc
CHANGED
@@ -4,6 +4,16 @@
|
|
4
4
|
This document provides a curated view of the changes to Asciidoctor Reducer in each release.
|
5
5
|
For a detailed view of what has changed, refer to the {url-repo}/commits/main[commit history] on GitHub.
|
6
6
|
|
7
|
+
== 1.0.4 (2022-10-15) - @mojavelinux
|
8
|
+
|
9
|
+
=== Changed
|
10
|
+
|
11
|
+
* don't add role to link that replaces include directive if role is already present
|
12
|
+
|
13
|
+
=== Details
|
14
|
+
|
15
|
+
{url-repo}/releases/tag/v1.0.4[git tag] | {url-repo}/compare/v1.0.3\...v1.0.4[full diff]
|
16
|
+
|
7
17
|
== 1.0.3 (2022-09-22) - @mojavelinux
|
8
18
|
|
9
19
|
=== Changed
|
data/README.adoc
CHANGED
data/asciidoctor-reducer.gemspec
CHANGED
@@ -18,7 +18,7 @@ Gem::Specification.new do |s|
|
|
18
18
|
s.metadata = {
|
19
19
|
'bug_tracker_uri' => 'https://github.com/asciidoctor/asciidoctor-reducer/issues',
|
20
20
|
'changelog_uri' => 'https://github.com/asciidoctor/asciidoctor-reducer/blob/main/CHANGELOG.adoc',
|
21
|
-
'mailing_list_uri' => 'https://asciidoctor.
|
21
|
+
'mailing_list_uri' => 'https://chat.asciidoctor.org',
|
22
22
|
'source_code_uri' => 'https://github.com/asciidoctor/asciidoctor-reducer'
|
23
23
|
}
|
24
24
|
|
@@ -15,8 +15,8 @@ module Asciidoctor::Reducer
|
|
15
15
|
result = super
|
16
16
|
unless @x_reducer[:include_pushed]
|
17
17
|
if ((ln = peek_line true)&.end_with? ']') && !(unresolved = ln.start_with? 'Unresolved directive in ') &&
|
18
|
-
directive_lineno == @lineno && (unresolved = ln.start_with? 'link:')
|
19
|
-
ln = %(#{ln.
|
18
|
+
directive_lineno == @lineno && (unresolved = ln.start_with? 'link:') && (ln.end_with? '[]')
|
19
|
+
ln = %(#{ln.chop}role=include])
|
20
20
|
end
|
21
21
|
push_include_replacement directive_lineno, (unresolved ? [ln] : []), 0, unresolved
|
22
22
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: asciidoctor-reducer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dan Allen
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-10-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: asciidoctor
|
@@ -84,7 +84,7 @@ licenses:
|
|
84
84
|
metadata:
|
85
85
|
bug_tracker_uri: https://github.com/asciidoctor/asciidoctor-reducer/issues
|
86
86
|
changelog_uri: https://github.com/asciidoctor/asciidoctor-reducer/blob/main/CHANGELOG.adoc
|
87
|
-
mailing_list_uri: https://asciidoctor.
|
87
|
+
mailing_list_uri: https://chat.asciidoctor.org
|
88
88
|
source_code_uri: https://github.com/asciidoctor/asciidoctor-reducer
|
89
89
|
post_install_message:
|
90
90
|
rdoc_options: []
|