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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a9593fc7c8cc907059585053bfb0f26590b838a0f692a552dbfcb29a6536b3b5
4
- data.tar.gz: 9f44c2f283bc637ae1a566510ae04c045ce33cf15a303538928dc17920509ef5
3
+ metadata.gz: 16eb72f891fa7c6daab53a8f48d2a972fe169426bccf67e75b384668b2925d4e
4
+ data.tar.gz: d77d7bc80439c195100afdd81459ef5f41ca4fb2d560ffc00e2231951b98620a
5
5
  SHA512:
6
- metadata.gz: 40cdafa865358d44fcc703795a39002b5d43509116182e49cc3b0241018276ab00e87531d38823ee984bf3d8b211db0e824224921ec3871622dfa62b44336313
7
- data.tar.gz: 10addd80253aa7507aeb093e40e1bfd830f7dd8083711d90de0bbe5f2e3a325d9a99e1dce72aa2c953631771bbc13eb712f989658c632959902f3f196a1a498b
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
- # Absolute, not cleanpath: an index yaml whose schema paths
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)
@@ -1,7 +1,7 @@
1
1
  module Metanorma
2
2
  module Plugin
3
3
  module Lutaml
4
- VERSION = "0.7.89".freeze
4
+ VERSION = "0.7.90".freeze
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: metanorma-plugin-lutaml
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.89
4
+ version: 0.7.90
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.