metanorma-plugin-lutaml 0.7.55 → 0.7.56

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: 608d678b19ef1c180dc4e244f98d329a8452d9c875469978b6d84247894c09d5
4
- data.tar.gz: 64269c82a46666d5b50df626671d985917c6acb845708a8d527b6070a2da9e1e
3
+ metadata.gz: '082818d3c08e139aaf8f7e51fbc3187bdff832c7ff79020ca3a8057e497c0f0e'
4
+ data.tar.gz: 8524c16a1c751a3a9b03b9e9e0e77ce9040ccd455d6c7cb4c9bd2ae862b5b1c5
5
5
  SHA512:
6
- metadata.gz: 9078948b7bd2f32a925871da5b6f51f54d6613a660c20dff4e0c19d1f72c77814f5877f02700926eb031b33dae6de3aae7bc09668a65581f8d9287db0d29a9ad
7
- data.tar.gz: 10fa46ed3a240a00777df9f10621b1cdb5e5e35646958bf9b94b830ebacd8ca8b520dd367dcab4d9019a7042a19ec57270e8cea5d9cb63212ec957fdf0f8d6bf
6
+ metadata.gz: 96178a219154034173db6621b51a70821c7c97ca0826db593d8bd9aa38a417156460601db83319f9ee4994451eb16575ab2a1f58befc72fbbf4f6b1bf70809c3
7
+ data.tar.gz: c61b1123f75491be102bc38c90f1f361c169a8cdf3227cc7ee0f87e236119efc506d1145e30ac891be37641e15ca1b7a1be401b97d6dd47606d262373abfcfd9
data/Gemfile CHANGED
@@ -25,13 +25,10 @@ gem "timecop"
25
25
  gem "vcr"
26
26
  gem "webmock"
27
27
 
28
- # leptris 1.9.367.0 is the highest match for standoc's '~> 1.9.361' but
29
- # publishes only linux prebuilds plus a ruby gem with no vendored
30
- # libleptris; windows-latest falls back to that ruby gem and dies on
31
- # require "metanorma-standoc". 1.9.361.1 is the latest that still ships
32
- # x64-mingw-ucrt (and darwin) binaries. Lift once upstream packs Windows
33
- # again.
34
- gem "leptris", "~> 1.9.361.1"
28
+ # moxml requires leptris >= 1.9.386 (older bindings are rejected at
29
+ # load: Moxml::AdapterError). 1.9.39x ships every platform again,
30
+ # including x64-mingw-ucrt, so the old Windows-gap pin is gone.
31
+ gem "leptris", ">= 1.9.386"
35
32
 
36
33
  # pre-release line pins (see metanorma release wave)
37
34
  gem "isodoc", github: "metanorma/isodoc", branch: "main"
@@ -61,7 +61,12 @@ module Metanorma
61
61
 
62
62
  def prefix_relative_paths(line, path_prefix)
63
63
  line.gsub(RELATIVE_PREFIX_MACRO_REGEXP) do |_match|
64
- full_path = File.expand_path(File.join(path_prefix, $3.strip))
64
+ # The prefix is docfile-relative (metanorma-plugin-lutaml#325):
65
+ # expanding it against the process CWD produced absolute image
66
+ # paths under whatever directory the build was launched from
67
+ # (e.g. <repo>/../../schemas/...), which then failed to resolve
68
+ # at render time. An absolute prefix passes through unchanged.
69
+ full_path = File.join(path_prefix, $3.strip)
65
70
  "#{$1}#{$2}#{full_path}#{$4}"
66
71
  end
67
72
  end
@@ -1,7 +1,7 @@
1
1
  module Metanorma
2
2
  module Plugin
3
3
  module Lutaml
4
- VERSION = "0.7.55".freeze
4
+ VERSION = "0.7.56".freeze
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: metanorma-plugin-lutaml
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.55
4
+ version: 0.7.56
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2026-10-29 00:00:00.000000000 Z
11
+ date: 2026-10-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: asciidoctor