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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 61484f3684d8fdfc67590e300484c52e9a2bdf14cd9e46a7a59c8bd7926836ba
4
- data.tar.gz: 5a7327b41a1c2a33ecbec9288e7eb155d2757e9a94cbd64da3497caaab89e3b8
3
+ metadata.gz: '093396b7e8100e4c3c7ee3a3aadfea734195bee629fe5284c2dc7e09d6a270d7'
4
+ data.tar.gz: d216e0f827b3c0eeb5f80f130ef0d8200567f14babda2f42b65fb141f465d842
5
5
  SHA512:
6
- metadata.gz: de7ead3ed1f79256653758038bc1b313a01deaeeba2295f042ba21c7af9d8125581a938dbeceebe6caaec952412a1e84dfbe2eb6f1f8aecfbc45d87a38d69de1
7
- data.tar.gz: 979950581b012e1c46c035bcf30941502800e6c921ba0612167d60accec9ba1efd25cce729877d85f1944d1336f4bb6290fa1581096e9a4f73f66250547bac88
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
@@ -1,6 +1,6 @@
1
1
  = {project-name}
2
2
  Dan Allen <https://github.com/mojavelinux[@mojavelinux]>
3
- v1.0.3, 2022-09-22
3
+ v1.0.4, 2022-10-15
4
4
  :idprefix:
5
5
  :idseparator: -
6
6
  ifndef::env-github[:icons: font]
@@ -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.zulipchat.com',
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.slice 0, (ln.length - 1)}role=include])
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
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Asciidoctor
4
4
  module Reducer
5
- VERSION = '1.0.3'
5
+ VERSION = '1.0.4'
6
6
  end
7
7
  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.3
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-09-22 00:00:00.000000000 Z
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.zulipchat.com
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: []