metanorma 1.2.3 → 1.2.4

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: cd65d9c42b99b4d3fb54c89a6189e736fc3927c48cd28da8b96e14ece003c194
4
- data.tar.gz: 71d55f8449c7495a348c3acca4f2840562179cfebd96fdeaaf82b59965a4bf98
3
+ metadata.gz: bf7d6f99cb5eec27df20786b79a6932eb9e339c49072f4183b5cf9cb2ff747a3
4
+ data.tar.gz: '049577c6c56eb8092765b8e3679ac7f0c8362f9129e787e4e7b923f5b3b61734'
5
5
  SHA512:
6
- metadata.gz: 44b4797c97b3e306c9655c5073ec302563517d49982eba22a99fef10002c48763724309946c89edfd8617d954885b6a72bd7b4463e2a39148e174408f0428909
7
- data.tar.gz: 4e77d61c5bb7078f05ce2eabe7a58ba2b451d0d6f257fb6c79855366ad7f4e63fe79bf7851646a5313ff044a5715e21c173d5302e42de6784cc73b4e5bf67f91
6
+ metadata.gz: 7de4db35db282e2ec0665d79533885c31fd8a1b46493177d47a48920ab685e20d2f5a74e473b11d0dfa54b357b8d4e0be15d2908885a770b4e3ec518dd427975
7
+ data.tar.gz: 8ef45f441c0129920575751b10bf3d86b132395d020794d39e69429e099ba6bcde65f1d5930dca240ad07209e12eddada6926bf56ec54322674ef8f47e07cedc
@@ -261,6 +261,7 @@ module Metanorma
261
261
  @processor.output(isodoc, xml_name, outfilename, ext, isodoc_options)
262
262
  rescue StandardError => e
263
263
  puts e.message
264
+ puts e.backtrace.join("\n")
264
265
  end
265
266
  end
266
267
  wrap_html(options, file_extension, outfilename)
@@ -297,9 +298,8 @@ module Metanorma
297
298
  Util.log("[fontist] Aborting without proper fonts installed," \
298
299
  " make sure that you have set option --agree-to-terms", :fatal)
299
300
  end
300
- rescue Fontist::Errors::MissingFontError => e
301
- font = /Font '([^']+)'/.match(e.to_s)[1]
302
- Util.log("[fontist] '#{font}' font is not supported. " \
301
+ rescue Fontist::Errors::FontError => e
302
+ Util.log("[fontist] '#{e.font}' font is not supported. " \
303
303
  "Please report this issue at github.com/metanorma/metanorma-#{@processor.short}/issues" \
304
304
  " to report this issue.", :info)
305
305
  rescue Fontist::Errors::FormulaIndexNotFoundError
@@ -1,3 +1,3 @@
1
1
  module Metanorma
2
- VERSION = "1.2.3"
2
+ VERSION = "1.2.4"
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: 1.2.3
4
+ version: 1.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-01-11 00:00:00.000000000 Z
11
+ date: 2021-01-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: asciidoctor