metanorma 2.5.6.pre.alpha.1 → 2.5.6.pre.alpha.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: f225922f924a7498faff8af31ef32af2b2bdb7718ddbdd4d71e8111b1e1c2024
4
- data.tar.gz: 25d6d62381fe280580b9914e2e08208b117e69a50f916670174f8cef483de801
3
+ metadata.gz: 834a924551ca15a50f160376cfcd57297d5b76a6614e2e216b23e5732895ddcf
4
+ data.tar.gz: 25e149845256b206fc4bd6a5d0a9aab851fcc2ed91608fad03e5c4c67540aaa6
5
5
  SHA512:
6
- metadata.gz: 705eb23883f6b8c1e30137ebd300e34ab9248c62858e0a49afd0d3a7b08b08d61b0b26ee1d89599af4049bc31862f00b1fba922b6e31a7c5331c73c7c2700069
7
- data.tar.gz: 6373b0edc74e3a9fa86faffd9e4c85c08b3ff1e57327e1f54fbea6de2da12825cc995910473b4f44e4b09a33490724130dbd669c4b2437a5729284cedcf3af13
6
+ metadata.gz: 5f8b1c155092bf4c25ae2ef76c66e87ba57ed38e7902f738267f74220a51a67dc246bef896ec85bc4d0f6c2100d78663a39c7b0e16611c36babd4a19436fa4cd
7
+ data.tar.gz: 4f6858efb8e6d7699a735f9d386c97d1a8c44d33516f366f6fb350c27ae3bf589b68442546da84eb868412140567426f8ac3b6edacfc41c97a85c06477c32214
@@ -36,10 +36,27 @@ module Metanorma
36
36
  Util.log("[fontist] '#{e.font}' font is not supported. " \
37
37
  "Please report this issue at " \
38
38
  "https://github.com/metanorma/metanorma/issues", log_level)
39
+ rescue *size_limit_errors => e
40
+ log_level = continue ? :warning : :fatal
41
+ Util.log("[fontist] #{e.message}. " \
42
+ "Please report this issue at " \
43
+ "https://github.com/metanorma/metanorma/issues", log_level)
39
44
  rescue Fontist::Errors::FormulaIndexNotFoundError
40
45
  fontist_update_repo(manifest, agree, continue, no_progress)
41
46
  end
42
47
 
48
+ # fontist 3 rejects formulas above its size limit (Fontist::Errors::
49
+ # SizeLimitError); fontist 2.x, which metanorma still supports, does
50
+ # not define the class, so rescue on an empty list rather than raise
51
+ # the dependency floor.
52
+ def size_limit_errors
53
+ if defined?(Fontist::Errors::SizeLimitError)
54
+ [Fontist::Errors::SizeLimitError]
55
+ else
56
+ []
57
+ end
58
+ end
59
+
43
60
  def fontist_install(manifest, agree, no_progress)
44
61
  if agree then no_license_log
45
62
  else
@@ -1,3 +1,3 @@
1
1
  module Metanorma
2
- VERSION = "2.5.6.pre.alpha.1".freeze
2
+ VERSION = "2.5.6.pre.alpha.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.5.6.pre.alpha.1
4
+ version: 2.5.6.pre.alpha.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-10-22 00:00:00.000000000 Z
11
+ date: 2026-10-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: asciidoctor