asciidoctor-rhrev 1.0.0 → 1.0.1

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: 7a1ad3cb27fbce5f7a4295c90d2f069407d993230f89e14d6d05e4f34f3d6302
4
- data.tar.gz: 9129908c97d9da8ad0b16028e92e722103db4a865504e357c1c28748eadadbc0
3
+ metadata.gz: c1c1b7deda1e8161597bdc0ce03b140c59c38316210828ee0bd3fb3f7fdc2aba
4
+ data.tar.gz: a39f100dcbb08ad20c297b0c0eef9676db5d0420ea8a54e5e562c4667c152245
5
5
  SHA512:
6
- metadata.gz: 95a202f0e4560c9ce5eb51de3bd53325c44ae41d820c40db2b791ed6438f797f121cc143559ee3ab564b88006156e4724ad6730d9680a95cee464f24885280d6
7
- data.tar.gz: d47b9bf8163523403bf7a41a2c52765eaafcf33b41e33a7737a2801234382b80e13ec9c646ea35dc6ce05bddd3b5afe4cd900a96e50d0d7f8bb13500bd178823
6
+ metadata.gz: 6eb46d1c65c0d87b0313ba8e4dc302fe26f1f546bf45af94d8e667262484e78065c2b1a138a3d8024d7360eb1f00066a0293eabe89c3186f58c4bf68174de917
7
+ data.tar.gz: 87e3db66058d9f5a0c5a271494aaf3aa5df90554f7c887d366078bfa8a276cbc8fc8a1284fcb64cf5780de38acb430e98b4d993ea13134f6b02547d90c1e8c1c
data/CHANGELOG.adoc ADDED
@@ -0,0 +1,6 @@
1
+ = Changelog
2
+
3
+ == 1.0.1 (2026-05-15)
4
+
5
+ * Fix `convert_section` method signature to accept optional `opts` keyword arguments for compatibility with converters that pass them
6
+ * Fix `delete_attr` → `delete_attribute` to use the correct Asciidoctor Document API
@@ -67,7 +67,7 @@ module Asciidoctor
67
67
  result
68
68
  end
69
69
 
70
- def convert_section node
70
+ def convert_section node, opts = {}
71
71
  # Skip collect during render if prescan already did it
72
72
  collect_revision_entries node unless @prescan_complete
73
73
  update_revision_entry_metadata node
@@ -345,7 +345,7 @@ module Asciidoctor
345
345
  if saved_caption
346
346
  doc.set_attr 'table-caption', saved_caption
347
347
  else
348
- doc.delete_attr 'table-caption'
348
+ doc.delete_attribute 'table-caption'
349
349
  end
350
350
  end
351
351
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: asciidoctor-rhrev
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - 白一百 baiyibai
@@ -31,6 +31,7 @@ executables: []
31
31
  extensions: []
32
32
  extra_rdoc_files: []
33
33
  files:
34
+ - CHANGELOG.adoc
34
35
  - LICENSE
35
36
  - README.adoc
36
37
  - USAGE.adoc
@@ -63,7 +64,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
63
64
  - !ruby/object:Gem::Version
64
65
  version: '0'
65
66
  requirements: []
66
- rubygems_version: 3.6.7
67
+ rubygems_version: 3.6.9
67
68
  specification_version: 4
68
69
  summary: Comprehensive revision history tracking extension for asciidoctor and asciidoctor-pdf
69
70
  test_files: []