asciidoctor-reducer 1.0.0.alpha.10 → 1.0.0-beta.1

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: 425f7379b4e69cb9487a2c2affcd77bd7cc548bd7818b073334f45a64f853f9c
4
- data.tar.gz: b3a85d94ee64d2ecee967a3a88a7ce4295af83eda84c76f852df24fcb312b9ee
3
+ metadata.gz: ba34a52b145d4aec9db42e4149f7bbdf29897657f99d6b446d05510e0d193835
4
+ data.tar.gz: 71c60fcd5c4a1b1dc403885c3b47816b23917c755a9c4c3e6d40d0305fdae35a
5
5
  SHA512:
6
- metadata.gz: f48fffea4f5dd09c1cec0d375a1fe1050144c5e723802413e2de3191c57e221f0482f210addb533d4b7ddac23a7142ee5b75721e9d5b1269e001d17da97d5726
7
- data.tar.gz: a4538dc754a1f4b82aa0fd4bb8b89ed848da9b3932430dbb2c51c3b443d08c0d5a4c345925be75cbbee0c0fa1cf8dce08e60d42d9a27d3b2ddb2b5ad9c30f5c6
6
+ metadata.gz: 31c60803245045f362a162771cba785a2b11e2d65e504b0a06a220c9b22b9376a6c0f2e1b26ad580af9db2bff2c94d99502b7c4a065032a006dc0f409bb737c2
7
+ data.tar.gz: c1e960d7705de5cbb26fdb4cadd54fdbefaaf77617f9f4ac9f43ffbefb5089a2ae96af2d34be3333d43b404bba158e029e678d889c8410b7548e7eebbf343e4b
data/CHANGELOG.adoc CHANGED
@@ -4,6 +4,16 @@
4
4
  This document provides a high-level view of the changes to the Asciidoctor Reducer by 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.0-beta.1 (2022-04-21) - @mojavelinux
8
+
9
+ === Changed
10
+
11
+ * Add names of include files which have been included partially in include mapping comment and prefix names with ~
12
+
13
+ === Details
14
+
15
+ {url-repo}/releases/tag/v1.0.0-beta.1[git tag] | {url-repo}/compare/v1.0.0.alpha.10\...v1.0.0-beta.1[full diff]
16
+
7
17
  == 1.0.0.alpha.10 (2022-04-21) - @mojavelinux
8
18
 
9
19
  === Changed
@@ -59,7 +69,7 @@ For a detailed view of what has changed, refer to the {url-repo}/commits/main[co
59
69
 
60
70
  === Details
61
71
 
62
- {url-repo}/releases/tag/v1.0.0.alpha.8[git tag]
72
+ {url-repo}/releases/tag/v1.0.0.alpha.8[git tag] | {url-repo}/compare/v1.0.0.alpha.7\...v1.0.0.alpha.8[full diff]
63
73
 
64
74
  == 1.0.0.alpha.7 (2022-02-14) - @mojavelinux
65
75
 
@@ -82,7 +92,7 @@ For a detailed view of what has changed, refer to the {url-repo}/commits/main[co
82
92
 
83
93
  === Details
84
94
 
85
- {url-repo}/releases/tag/v1.0.0.alpha.7[git tag]
95
+ {url-repo}/releases/tag/v1.0.0.alpha.7[git tag] | {url-repo}/compare/v1.0.0.alpha.6\...v1.0.0.alpha.7[full diff]
86
96
 
87
97
  == 1.0.0.alpha.6 (2022-02-10) - @mojavelinux
88
98
 
@@ -106,7 +116,7 @@ For a detailed view of what has changed, refer to the {url-repo}/commits/main[co
106
116
 
107
117
  === Details
108
118
 
109
- {url-repo}/releases/tag/v1.0.0.alpha.6[git tag]
119
+ {url-repo}/releases/tag/v1.0.0.alpha.6[git tag] | {url-repo}/compare/v1.0.0.alpha.5\...v1.0.0.alpha.6[full diff]
110
120
 
111
121
  == 1.0.0.alpha.5 (2022-02-06) - @mojavelinux
112
122
 
@@ -123,7 +133,7 @@ For a detailed view of what has changed, refer to the {url-repo}/commits/main[co
123
133
 
124
134
  === Details
125
135
 
126
- {url-repo}/releases/tag/v1.0.0.alpha.5[git tag]
136
+ {url-repo}/releases/tag/v1.0.0.alpha.5[git tag] | {url-repo}/compare/v1.0.0.alpha.4\...v1.0.0.alpha.5[full diff]
127
137
 
128
138
  == 1.0.0.alpha.4 (2022-02-03) - @mojavelinux
129
139
 
@@ -133,7 +143,7 @@ For a detailed view of what has changed, refer to the {url-repo}/commits/main[co
133
143
 
134
144
  === Details
135
145
 
136
- {url-repo}/releases/tag/v1.0.0.alpha.4[git tag]
146
+ {url-repo}/releases/tag/v1.0.0.alpha.4[git tag] | {url-repo}/compare/v1.0.0.alpha.3\...v1.0.0.alpha.4[full diff]
137
147
 
138
148
  == 1.0.0.alpha.3 (2022-02-02) - @mojavelinux
139
149
 
@@ -146,7 +156,7 @@ For a detailed view of what has changed, refer to the {url-repo}/commits/main[co
146
156
 
147
157
  === Details
148
158
 
149
- {url-repo}/releases/tag/v1.0.0.alpha.3[git tag]
159
+ {url-repo}/releases/tag/v1.0.0.alpha.3[git tag] | {url-repo}/compare/v1.0.0.alpha.2\...v1.0.0.alpha.3[full diff]
150
160
 
151
161
  == 1.0.0.alpha.2 (2022-01-27) - @mojavelinux
152
162
 
@@ -169,7 +179,7 @@ For a detailed view of what has changed, refer to the {url-repo}/commits/main[co
169
179
 
170
180
  === Details
171
181
 
172
- {url-repo}/releases/tag/v1.0.0.alpha.2[git tag]
182
+ {url-repo}/releases/tag/v1.0.0.alpha.2[git tag] | {url-repo}/compare/v1.0.0.alpha.1\...v1.0.0.alpha.2[full diff]
173
183
 
174
184
  == 1.0.0.alpha.1 (2022-01-12) - @mojavelinux
175
185
 
data/README.adoc CHANGED
@@ -1,6 +1,6 @@
1
1
  = {project-name}
2
2
  Dan Allen <https://github.com/mojavelinux[@mojavelinux]>
3
- v1.0.0.alpha.10, 2022-04-21
3
+ v1.0.0-beta.1, 2022-04-21
4
4
  :idprefix:
5
5
  :idseparator: -
6
6
  ifndef::env-github[:icons: font]
@@ -4,11 +4,12 @@ module Asciidoctor::Reducer
4
4
  class IncludeMapper < ::Asciidoctor::Extensions::TreeProcessor
5
5
  def process doc
6
6
  if doc.extensions.groups[:reducer]
7
- unless (includes = doc.catalog[:includes].select {|_, v| v }.keys).empty?
7
+ unless (includes = doc.catalog[:includes].map {|name, val| val ? name : %(~#{name}) }).empty?
8
8
  doc.source_lines.concat ['', %(//# includes=#{includes.join ','})]
9
9
  end
10
10
  elsif (last_line = doc.source_lines[-1])&.start_with? '//# includes='
11
- doc.catalog[:includes].update ((last_line.slice 13, last_line.length).split ',').map {|it| [it, true] }.to_h
11
+ doc.catalog[:includes].update ((last_line.slice 13, last_line.length).split ',')
12
+ .map {|it| [(fragment = it.chr == '~') ? (it.slice 1, it.length) : it, !fragment] }.to_h
12
13
  end
13
14
  doc
14
15
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Asciidoctor
4
4
  module Reducer
5
- VERSION = '1.0.0.alpha.10'
5
+ VERSION = '1.0.0-beta.1'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: asciidoctor-reducer
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0.alpha.10
4
+ version: 1.0.0-beta.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dan Allen