asciidoctor-pdf 2.3.14 → 2.3.15

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: 39b6ad360fe1b653c7f0498edad3e45c8f76549e035f9dcdab76f088df362cbd
4
- data.tar.gz: 81a541dc83a1aa325c3586fae64947e68128387634810512be01898b2096f684
3
+ metadata.gz: 4b65e5da741e3df4c56f2e6ee79a9500dbd28a7c3f27d1ffea9c66bbb4d7031d
4
+ data.tar.gz: 41020f7cff7695528dac65d0d6368b4688f1fc00895a6ed68c9bf0d1c34ab594
5
5
  SHA512:
6
- metadata.gz: e6fd8480e6c642612fe12656aef7208afee65fa6a126b56aa366d11dc11078271fc1744cb92d3849131f3c0948d5ccff6c4a1041a779b4244ebc9fbd768d26b8
7
- data.tar.gz: 17378df2c24a571bb63334b4b2fe030f00ad9010dcbfeadef0fd4b626551984897841af0916228eac5bd11ff44f134ea9e6abf46cdf6a4a9a570995eca11bdeb
6
+ metadata.gz: cd72a63d48e8f29937bc6613257924d169fa3e878e3b5ab23a846fdc3fcccc1ee2471f800c380deee22b14b624b9db2383b8e00de62d21408467e3a3c77047b8
7
+ data.tar.gz: ada67363d0d5a5e551a4f9b499d31ce273d831e9de6c3c259130739c5b006f06937315f3130d25b89cf32a4b332deb3da23487cca9b856fd6753e24d2a4e027b
data/CHANGELOG.adoc CHANGED
@@ -5,6 +5,20 @@
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.15 (2024-03-12) - @mojavelinux
9
+
10
+ Improvements::
11
+
12
+ * drop links from entries in TOC (#2505)
13
+
14
+ Compliance::
15
+
16
+ * lock ttfunk to 1.7.x to avoid requiring Ruby headers (i.e., development libraries) to install gem (#2508)
17
+
18
+ === Details
19
+
20
+ {url-repo}/releases/tag/v2.3.15[git tag] | {url-repo}/compare/v2.3.14\...v2.3.15[full diff]
21
+
8
22
  == 2.3.14 (2024-03-08) - @mojavelinux
9
23
 
10
24
  Improvements::
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.14, 2024-03-08
3
+ v2.3.15, 2024-03-12
4
4
  // Settings:
5
5
  :experimental:
6
6
  :idprefix:
@@ -35,6 +35,7 @@ Gem::Specification.new do |s|
35
35
 
36
36
  s.add_runtime_dependency 'asciidoctor', '~> 2.0'
37
37
  s.add_runtime_dependency 'prawn', '~> 2.4.0'
38
+ s.add_runtime_dependency 'ttfunk', '~> 1.7.0' # pin ttfunk for compatiblity; prawn gem only pins it to major version
38
39
  s.add_runtime_dependency 'matrix', '~> 0.4' # required until prawn >= 2.5.0 is released
39
40
  s.add_runtime_dependency 'prawn-table', '~> 0.2.0'
40
41
  s.add_runtime_dependency 'prawn-templates', '~> 0.1.0'
@@ -3917,6 +3917,7 @@ module Asciidoctor
3917
3917
  theme_font :toc, level: entry_level do
3918
3918
  entry_title = entry.context == :section ? entry.numbered_title : (entry.title? ? entry.title : (entry.xreftext 'basic'))
3919
3919
  next if entry_title.empty?
3920
+ entry_title = entry_title.gsub DropAnchorRx, '' if entry_title.include? '<a'
3920
3921
  entry_title = transform_text entry_title, @text_transform if @text_transform
3921
3922
  pgnum_label_placeholder_width = rendered_width_of_string '0' * @toc_max_pagenum_digits
3922
3923
  # NOTE: only write title (excluding dots and page number) if this is a dry run
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Asciidoctor
4
4
  module PDF
5
- VERSION = '2.3.14'
5
+ VERSION = '2.3.15'
6
6
  end
7
7
  end
@@ -1,5 +1,11 @@
1
1
  # frozen_string_literal: true
2
2
 
3
+ proc do
4
+ old_verbose, $VERBOSE = $VERBOSE, nil
5
+ require 'bigdecimal' # eagerly require bigdecimal without warnings to avoid warning caused by ttfunk 1.7.0
6
+ $VERBOSE = old_verbose
7
+ end.call
8
+
3
9
  autoload :Set, 'set'
4
10
  autoload :StringIO, 'stringio'
5
11
  autoload :Tempfile, 'tempfile'
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.14
4
+ version: 2.3.15
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: 2024-03-08 00:00:00.000000000 Z
12
+ date: 2024-03-12 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: asciidoctor
@@ -39,6 +39,20 @@ dependencies:
39
39
  - - "~>"
40
40
  - !ruby/object:Gem::Version
41
41
  version: 2.4.0
42
+ - !ruby/object:Gem::Dependency
43
+ name: ttfunk
44
+ requirement: !ruby/object:Gem::Requirement
45
+ requirements:
46
+ - - "~>"
47
+ - !ruby/object:Gem::Version
48
+ version: 1.7.0
49
+ type: :runtime
50
+ prerelease: false
51
+ version_requirements: !ruby/object:Gem::Requirement
52
+ requirements:
53
+ - - "~>"
54
+ - !ruby/object:Gem::Version
55
+ version: 1.7.0
42
56
  - !ruby/object:Gem::Dependency
43
57
  name: matrix
44
58
  requirement: !ruby/object:Gem::Requirement