asciidoctor-pdf 2.3.25 → 2.3.26

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6d3d3298e3d9c986a74fd881afef3849962ab116bfb821d3dc0ae5aa119cdda7
4
- data.tar.gz: 322b16750318c051ada5b847aa1abe9ef77259f04976f37f74c956011d025ee9
3
+ metadata.gz: 8843f3b86a1d9334e9e2a1330388db22a0c65b082aa931269c473819637ef90f
4
+ data.tar.gz: 908c10c7be21b537fea86a6087cdcc968758a6b4a26fb500f9daae9a69eb3d71
5
5
  SHA512:
6
- metadata.gz: 2ad59d7144d4585635e3e2c69fee235ea5f0ab592edf79b2092dfbd2f4078f2f3762c963f3d5a2dda22ded28e31eb4868fe2cc78477bb8abce83dae827e0a482
7
- data.tar.gz: cb719b82e3c3a9111d9b3ceb64f21481b8bdd35499e452a6dcb0c10dfc3c2ca52db116ea3cc2999ec83984141a87ed04379e9fa1723abaab2f8f39a17a1271ca
6
+ metadata.gz: '045039779d1bd00016935a9af042a9de5bd70695df867ea02d8694467bad8f9fda4827c96eee339cd82221cfeb27896587731a901a6f8e155e50ff7f2b9afa6e'
7
+ data.tar.gz: 664b8c1196135a633a4270802be602a6572ea1f01b47c38f89926aff1025feac812b7b3a92f12177a3a25065630af18dc92292f7c75064b34687722a8f56005e
data/CHANGELOG.adoc CHANGED
@@ -5,6 +5,16 @@
5
5
  This document provides a high-level view of the changes to the {project-name} by release.
6
6
  For a detailed view of what has changed, refer to the {url-repo}/commits/main[commit history] on GitHub.
7
7
 
8
+ == 2.3.26 (2026-09-02) - @mojavelinux
9
+
10
+ Bug Fixes::
11
+
12
+ * scope Document#attr_unspecified? to parent document; don't crash if `:attributes` option not set (#2656)
13
+
14
+ === Details
15
+
16
+ {url-repo}/releases/tag/v2.3.26[git tag] | {url-repo}/compare/v2.3.25\...v2.3.26[full diff]
17
+
8
18
  == 2.3.25 (2026-08-31) - @mojavelinux
9
19
 
10
20
  Enhancements::
data/README.adoc CHANGED
@@ -1,6 +1,6 @@
1
1
  = Asciidoctor PDF: A native PDF converter for AsciiDoc
2
2
  Dan Allen <https://github.com/mojavelinux[@mojavelinux]>; Sarah White <https://github.com/graphitefriction[@graphitefriction]>
3
- v2.3.25, 2026-08-31
3
+ v2.3.26, 2026-09-02
4
4
  // Settings:
5
5
  :experimental:
6
6
  :idprefix:
@@ -26,10 +26,12 @@ class Asciidoctor::Document
26
26
 
27
27
  # Internal: Returns whether the specified attribute has never been set and is not locked.
28
28
  def attr_unspecified? name
29
- if (attribute_locked? name) || (@attributes_modified.include? name)
29
+ if nested?
30
+ @parent_document.attr_unspecified? name
31
+ elsif (attribute_locked? name) || (@attributes_modified.include? name)
30
32
  false
31
33
  else
32
- @options[:attributes].each_pair.none? do |k, v|
34
+ (@options[:attributes] || {}).each_pair.none? do |k, v|
33
35
  if k == name
34
36
  true
35
37
  elsif v == '@'
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Asciidoctor
4
4
  module PDF
5
- VERSION = '2.3.25'
5
+ VERSION = '2.3.26'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: asciidoctor-pdf
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.25
4
+ version: 2.3.26
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dan Allen
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2026-08-31 00:00:00.000000000 Z
12
+ date: 2026-09-02 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: asciidoctor