metanorma-standoc 3.5.5 → 3.5.7
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/Gemfile +6 -1
- data/Gemfile.devel +3 -0
- data/lib/metanorma/converter/ref_queue.rb +18 -1
- data/lib/metanorma/standoc/version.rb +1 -1
- data/metanorma-standoc.gemspec +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d9b405331b8f6453a4f287ea24bb436d63369f9364442c8fdd2c8d1ed857ffd1
|
|
4
|
+
data.tar.gz: 0ceea03242022f0065b63347a63694355cf1cf471c1cea7711c6401a1ef4d135
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1267e49abe322b34dbc60db5c11fab11d2a3bb36a0f96fe3319e8867e0b66cba49f20b16df322d5f79a66072f51ea3c1bad34e5ec36279f1d98f50e2d99b6c8e
|
|
7
|
+
data.tar.gz: bf36386dae97eafe57a202166cdc50ba101e6672f6242594b5b034adb6b4f2d0213e205339f824371889ec10e4c6ebc829a834c7c14c3d5bdd153d9ea6a78f93
|
data/Gemfile
CHANGED
|
@@ -28,11 +28,16 @@ gem "isodoc", github: "metanorma/isodoc", branch: "main"
|
|
|
28
28
|
# release. Prefer the released gem over a git pin: relaton main has since
|
|
29
29
|
# moved to lutaml-store ~> 0.3, which conflicts with glossarist 2.14's
|
|
30
30
|
# lutaml-store ~> 0.2.0 and makes this bundle unresolvable.
|
|
31
|
+
# parsanol 1.3.120 removed the pre-1.3.113 grammar-header alias (mode), breaking pubid 2.0.1's baked self-description grammar at compile (81 suite failures). Pin below the break until pubid regenerates its artifacts against the current compiler.
|
|
32
|
+
gem "parsanol", "< 1.3.120"
|
|
31
33
|
gem "relaton", "~> 3.0"
|
|
32
|
-
gem "pubid", "
|
|
34
|
+
gem "pubid", ">= 2.0.3" # 2.0.3: edition-2 iso artifact
|
|
33
35
|
|
|
34
36
|
gem "metanorma-plugin-lutaml", github: "metanorma/metanorma-plugin-lutaml", branch: "main"
|
|
35
37
|
|
|
36
38
|
eval_gemfile("Gemfile.devel") rescue nil
|
|
37
39
|
|
|
38
40
|
gem "metanorma-utils", "~> 2.0.8" # GcBudget (utils#54) + the array-join asciidoctor table cell buffer (utils#55/#56), released in 2.0.8, github: "metanorma/metanorma-utils", branch: "main"
|
|
41
|
+
|
|
42
|
+
gem "svg_conform", "~> 0.2.6" # 0.2.6 ships the corrected metadata
|
|
43
|
+
|
data/Gemfile.devel
CHANGED
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
# The 0.2.4 bridge pin is gone: svg_conform 0.2.6 is the corrected push the
|
|
2
|
+
# bridge anticipated; the main Gemfile rides ~> 0.2.6.
|
|
3
|
+
gem "parsanol", "1.3.114" # bridge: pubid 2.0.1 grammars carry the mode header alias removed in parsanol 1.3.113+ — drop at pubid PARG edition 2
|
|
@@ -219,7 +219,7 @@ module Metanorma
|
|
|
219
219
|
def init_bib_caches(node)
|
|
220
220
|
@no_isobib and return
|
|
221
221
|
global = !@no_isobib_cache && !node.attr("local-cache-only")
|
|
222
|
-
local =
|
|
222
|
+
local = local_cache_dir(node)
|
|
223
223
|
local = nil if @no_isobib_cache
|
|
224
224
|
flush_bib_caches_force(node) if node.attr("flush-caches") &&
|
|
225
225
|
@no_isobib_cache
|
|
@@ -230,6 +230,23 @@ module Metanorma
|
|
|
230
230
|
)
|
|
231
231
|
end
|
|
232
232
|
|
|
233
|
+
# The local bibliographic cache belongs to the document, not to
|
|
234
|
+
# wherever the compile was invoked from (metanorma#627): an empty
|
|
235
|
+
# `:local-cache:`/`:local-cache-only:` attribute anchors the cache
|
|
236
|
+
# at the docfile's directory (docfile/relaton/cache) instead of the
|
|
237
|
+
# process working directory, and a relative path is resolved against
|
|
238
|
+
# the docfile directory. Absolute paths pass through untouched.
|
|
239
|
+
def local_cache_dir(node)
|
|
240
|
+
local = node.attr("local-cache") || node.attr("local-cache-only")
|
|
241
|
+
return local if local.nil?
|
|
242
|
+
|
|
243
|
+
docfile = node.attributes["docfile"]
|
|
244
|
+
return local unless docfile
|
|
245
|
+
|
|
246
|
+
File.expand_path(local.empty? ? "relaton" : local,
|
|
247
|
+
File.dirname(docfile))
|
|
248
|
+
end
|
|
249
|
+
|
|
233
250
|
# `:flush-caches:` must clear stale cache state regardless of whether
|
|
234
251
|
# `:no-isobib-cache:` disables caching for *this* compile. When both
|
|
235
252
|
# are set, the `Relaton::Db.init_bib_caches` path no-ops on the flush
|
data/metanorma-standoc.gemspec
CHANGED
|
@@ -43,7 +43,7 @@ Gem::Specification.new do |spec|
|
|
|
43
43
|
spec.add_dependency "metanorma-utils", "~> 2.0.10"
|
|
44
44
|
# moxml 0.6.0 removed the Opal surface (lutaml/moxml#516); owner
|
|
45
45
|
# call to update all to the latest moxml line.
|
|
46
|
-
spec.add_dependency "moxml", "~> 0.6.
|
|
46
|
+
spec.add_dependency "moxml", "~> 0.6.1"
|
|
47
47
|
spec.add_dependency "leptris", "~> 1.9"
|
|
48
48
|
spec.add_dependency "concurrent-ruby"
|
|
49
49
|
spec.add_dependency "png_conform", "~> 0.1.0"
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: metanorma-standoc
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.5.
|
|
4
|
+
version: 3.5.7
|
|
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-11-
|
|
11
|
+
date: 2026-11-03 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: addressable
|
|
@@ -184,14 +184,14 @@ dependencies:
|
|
|
184
184
|
requirements:
|
|
185
185
|
- - "~>"
|
|
186
186
|
- !ruby/object:Gem::Version
|
|
187
|
-
version: 0.6.
|
|
187
|
+
version: 0.6.1
|
|
188
188
|
type: :runtime
|
|
189
189
|
prerelease: false
|
|
190
190
|
version_requirements: !ruby/object:Gem::Requirement
|
|
191
191
|
requirements:
|
|
192
192
|
- - "~>"
|
|
193
193
|
- !ruby/object:Gem::Version
|
|
194
|
-
version: 0.6.
|
|
194
|
+
version: 0.6.1
|
|
195
195
|
- !ruby/object:Gem::Dependency
|
|
196
196
|
name: leptris
|
|
197
197
|
requirement: !ruby/object:Gem::Requirement
|