asciidoctor-rhrev 1.8.1 → 1.8.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.adoc +5 -0
- data/lib/asciidoctor/rhrev/renderer.rb +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 155f025dbf45d15c912cbb3f624bc9214344472bd3d33e21c8cfb8dcca21f54a
|
|
4
|
+
data.tar.gz: b6ceffec703149d7b45f2c3007ff32099421532cf9e73f9cff763200706f6b00
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: eb676e02167dad226f2ef494bf8de843df79497d8f6fd419d44d815c727e635ea6d62ca9767283540630a515ae27c201695d67875b57d6684158cb1dc15f26e2
|
|
7
|
+
data.tar.gz: 4369e143e5614067d6f0f28039788e5004a5f772bc5383beacfd56c6f20c3dd7970808515bbcf9b459337d4d7b726e79f3b1d20bbdaa46a689cc26bb639fa6f4
|
data/CHANGELOG.adoc
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
= Changelog
|
|
2
2
|
|
|
3
|
+
== 1.8.2 (2026-10-06)
|
|
4
|
+
|
|
5
|
+
* Change the initial-release table's default text from `Initial Release` to `Initial release` and render it bold (PDF backend), matching the bold `Page` cell beside it; `rhrev-customization-initial-release-text` still overrides the text and is rendered bold too
|
|
6
|
+
* Note: gem-only; the Antora extension is unaffected, npm still bumps concurrently per the standing 1.5.1 policy
|
|
7
|
+
|
|
3
8
|
== 1.8.1 (2026-09-08)
|
|
4
9
|
|
|
5
10
|
* Fix a table-cell change bar spanning every row of an unmarked rowspanned cell that sits in the same row as the marked cell (PDF backend). `table_cell_change_bar_patch.rb` matched drawn cells to the marked row by row index, so every cell in that row inked a bar with its own height, the spanning cell included. The marked cell is now flagged as itself while Prawn builds the table: a hook on `Prawn::Table#initialize` reads the node `Converter#convert_table` stashes in `@rhrev_table_cell_bar_node`, walks Asciidoctor's rows and asciidoctor-pdf's cell data in step, source order both, and sets `rhrev_marked` on exactly the marked cells, through a new writer on `Prawn::Table::Cell` for a plain cell's option hash or directly on the prebuilt `Prawn::Table::Cell::AsciiDoc` for an `a|` cell; `draw_background` inks only for a flagged cell, with that cell's own height. A marked spanning cell keeps its full-height bar. `Converter#marked_table_cell_bar_rows` and the per-table bar-row stash on `@pagerhref_tables` are removed; `ink_pagerhref_tables` points the hook at its stashed node instead. Reported directly against a real document. Three spy-based checks in `tests/regression/table-cell-change-bar.rb` replace the removed method's unit checks: one marked cell among many rows, an unmarked three-row cell beside the marked cell, and a marked three-row cell; the second fails (two calls) without the fix and passes with it
|
|
@@ -235,8 +235,8 @@ module Asciidoctor
|
|
|
235
235
|
table_data = []
|
|
236
236
|
|
|
237
237
|
page_label = doc.attr 'rhrev-localization-page', 'Page'
|
|
238
|
-
initial_text = doc.attr 'rhrev-customization-initial-release-text', 'Initial
|
|
239
|
-
table_data << ["*#{page_label}*", initial_text]
|
|
238
|
+
initial_text = doc.attr 'rhrev-customization-initial-release-text', 'Initial release'
|
|
239
|
+
table_data << ["*#{page_label}*", "*#{initial_text}*"]
|
|
240
240
|
|
|
241
241
|
formatted_widths = column_widths.map { |w| w.to_i.to_s }.join(',')
|
|
242
242
|
markup_lines = []
|