metanorma-plugin-lutaml 0.7.89 → 0.7.90
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 +4 -4
- data/lib/metanorma/plugin/lutaml/utils.rb +1 -7
- data/lib/metanorma/plugin/lutaml/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 16eb72f891fa7c6daab53a8f48d2a972fe169426bccf67e75b384668b2925d4e
|
|
4
|
+
data.tar.gz: d77d7bc80439c195100afdd81459ef5f41ca4fb2d560ffc00e2231951b98620a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a9009c472c7c9c21861011f3aec85a54ff258bed9bca45d3e13e452a44d64699d23581c0bd0fb9ae58b1fadd1da91df032774cc9903cfd7c81b84c11cac4f8a1
|
|
7
|
+
data.tar.gz: 25622afa4bb57190c1228a61c256aec521b5dc6a1064006c44813a58477f9f6071ff83d6f5660288fb1c7420e5e1a268612f79623fccc6edc67cce1e70bc691c
|
|
@@ -271,13 +271,7 @@ module Metanorma
|
|
|
271
271
|
|
|
272
272
|
file_paths = yaml_content["schemas"].map do |key, value|
|
|
273
273
|
schema_path = Pathname.new(value["path"] || "#{key}.exp")
|
|
274
|
-
|
|
275
|
-
# escape its own directory (../../schemas/...) keeps its ..
|
|
276
|
-
# segments under cleanpath, and the figure decoration's
|
|
277
|
-
# system_path then cannot resolve the schema directory - the
|
|
278
|
-
# FATAL-Image-not-found of metanorma-plugin-lutaml#377.
|
|
279
|
-
# expand_path resolves the real location at any depth.
|
|
280
|
-
File.expand_path(schema_yaml_base_path + schema_path).to_s
|
|
274
|
+
(schema_yaml_base_path + schema_path).cleanpath.to_s
|
|
281
275
|
end
|
|
282
276
|
|
|
283
277
|
parse_express_files(file_paths)
|