asciidoctor-multipage 0.0.16 → 0.0.17

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: 586429962868adbdfa2f14a85ea6438b62b8d33708258e76c33e2ce22b408c05
4
- data.tar.gz: '09a2a625effa351a139dca939db85e822d1b8ddb5f5b52c79260202c7a6e3137'
3
+ metadata.gz: 2ba817da939a0607e2ac05ca788507fe9125d1d7ff668e9cf67a6feeb03a1686
4
+ data.tar.gz: 83b5e0a71844ec2430c05d7da4a75e69baabf404c3d15964699ce3790d65bebe
5
5
  SHA512:
6
- metadata.gz: 6df280fb5bf8a4b23084e25ae5ca4217b06d05b225a05e5f267ccca243f0e762612712e50bbadc3690f98d65159c614c6ffb4bb260f2f91ec203ffe486c758c2
7
- data.tar.gz: e2f1e882b5a9c2ef2cb8c68805dc64815522003e96acbae4a2d40552fc6f1ab9a3725947420a529af2fa5ac7ebd0bd7177f3ef6263a7b3e13e8636fe07f7619a
6
+ metadata.gz: 1993e3121cc0e4d06d6da00371b0d92cbf7d6ffb6e459175f72618d280472ce73aa51edfc3fd0c7fb3cc0fc906c3188f933bc9a1781607ef6ff50291059e55c8
7
+ data.tar.gz: c75bf6c7f772c56a6f53542d0ac9d2eb8b40587de1f7f1ee848ba63c50a4e80aa742ecea0e6d5002b0b8e36396f72430c183448c6a4ad69481e719d621b32ba8
@@ -1,3 +1,3 @@
1
1
  module AsciidoctorMultipage
2
- VERSION = "0.0.16"
2
+ VERSION = "0.0.17"
3
3
  end
@@ -66,6 +66,9 @@ class Asciidoctor::Document
66
66
  # no need for a TOC. However, we override the Html5Converter outline() in
67
67
  # order to generate a custom TOC for each page with entries that span the
68
68
  # entire document.
69
+ #
70
+ # Prevent Ruby warning about redefining the method.
71
+ remove_method "sections?" if method_defined? "sections?"
69
72
  def sections?
70
73
  return true
71
74
  end
@@ -84,6 +87,9 @@ class Asciidoctor::Section
84
87
  # Extend sectnum() to use the Document's saved sectnum. Document objects
85
88
  # normally do not have sectnums, but here Documents are generated from
86
89
  # Sections. The sectnum is saved in section() below.
90
+ #
91
+ # Prevent Ruby warning about redefining the method.
92
+ remove_method "sectnum" if method_defined? "sectnum"
87
93
  def sectnum(delimiter = '.', append = nil)
88
94
  append ||= (append == false ? '' : delimiter)
89
95
  if @level > 1 and @parent.class == Asciidoctor::Section ||
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: asciidoctor-multipage
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.16
4
+ version: 0.0.17
5
5
  platform: ruby
6
6
  authors:
7
7
  - Owen T. Heisler
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-06-09 00:00:00.000000000 Z
11
+ date: 2023-08-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: appraisal
@@ -104,7 +104,7 @@ metadata:
104
104
  bug_tracker_uri: https://github.com/owenh000/asciidoctor-multipage/issues
105
105
  homepage_uri: https://github.com/owenh000/asciidoctor-multipage
106
106
  source_code_uri: https://github.com/owenh000/asciidoctor-multipage
107
- post_install_message:
107
+ post_install_message:
108
108
  rdoc_options: []
109
109
  require_paths:
110
110
  - lib
@@ -119,8 +119,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
119
119
  - !ruby/object:Gem::Version
120
120
  version: '0'
121
121
  requirements: []
122
- rubygems_version: 3.2.5
123
- signing_key:
122
+ rubygems_version: 3.3.15
123
+ signing_key:
124
124
  specification_version: 4
125
125
  summary: Asciidoctor multipage HTML output extension
126
126
  test_files: []