metanorma 2.4.1 → 2.4.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: beb47bfd8337995c89db26dbe3992c782a043c283fd185d3deafad6b6a061cd8
4
- data.tar.gz: fefc082f5cdee21ca43f8dc057c8687e59f43cf96c6cdd193e7e4310fcb16d81
3
+ metadata.gz: 82fd8163f59a62584946e73d0b82cc0de6c6f51db5ae55617e31ce9cd87d3500
4
+ data.tar.gz: 5635ec6a6f073d14937584195b541086d65962c31f3f019e29efc1240a58ab2e
5
5
  SHA512:
6
- metadata.gz: 47c3fb8e7381d8eae7db92681e5d9c30c314b0cdda07ca9b721539e9b504ec67a8a74d5a0f5d0e6d9c75181ff18ca4a6f9aabc43e7be521d6cfeed7723708a4c
7
- data.tar.gz: e9b31de135bc29dd3d29523c4da811e9e01b3f9755016fd45f5a8b5d75897379208eabe2fdf291543894423e90a96113306ac68aff783910e389dcbf98600ba0
6
+ metadata.gz: '0701393b971281d9b8561eeb213a639fdf9c638ef987a83ab9dd4226222b15cc229b841f05be9a5155184483947a77bf2846dd38976b311ff1604b981336a221'
7
+ data.tar.gz: a1e5f8b4f4e6f3a823ddb98fc3fd9d1f4c61877eddc758216ee92ccc1633b92f311dd770d964bf6e6306b6f6e45ba0cf912099a9e72451cb97647fc4fe8f706e
@@ -58,11 +58,10 @@ module Metanorma
58
58
 
59
59
  # isodoc is Raw Metanorma XML
60
60
  def gather_and_install_fonts(source_file, options, extensions)
61
- font_exts = extensions - NO_FONTIST_FORMATS
62
- Util.sort_extensions_execution(font_exts).each do |ext|
63
- isodoc_options = get_isodoc_options(source_file, options, ext)
64
- font_install(isodoc_options.merge(options))
65
- end
61
+ return if (extensions - NO_FONTIST_FORMATS).empty?
62
+
63
+ install_options = @processor.extract_options(source_file).merge(options)
64
+ font_install(install_options)
66
65
  end
67
66
 
68
67
  # Process a single extension (output format)
@@ -1,3 +1,3 @@
1
1
  module Metanorma
2
- VERSION = "2.4.1".freeze
2
+ VERSION = "2.4.2".freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: metanorma
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.4.1
4
+ version: 2.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-05-13 00:00:00.000000000 Z
11
+ date: 2026-05-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: asciidoctor