metanorma-standoc 3.5.24 → 3.5.26

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: 988539c4f9f6f2b1d7008f813ed311b3af749da9ece4e429e1977d3d0047ed4d
4
- data.tar.gz: '0959cd387e865ee2775b635998cbe23ec2f0883299cefc23574a5aaf845783ac'
3
+ metadata.gz: 3067a51a53555a1a0d59ec5622f32dac2e5de5c26e685e56925495cc7a23306e
4
+ data.tar.gz: 5c49a68a3fa0d15c85a7a27fd5258f6f34eadb306be1c7604b22ee98348c1f8b
5
5
  SHA512:
6
- metadata.gz: c929acac2799252d23add3b40e5ba68b1a94e031b86a01ba7966c90c3fe65299e681137a4b9bf22e37344764f6bc2e64ab856a656356e2af5461a560965714de
7
- data.tar.gz: 7c8ff7e1ac4d9c9ea1382f37b58877040b66cb3632c3b68960384c77043368e214e349d5880f969e4247ca2028defa91eb581f15a5c018bfe034b95ef61a505a
6
+ metadata.gz: f549002150f5fab544a1afacba8bc81b72dd510b8702e959370be2a776c56e49b04cca874e5a68dba7dfb382bdd24a46009a0fd7611f17a381d3a2dff5d5008e
7
+ data.tar.gz: c20416ba8fe0e93ece2b721c50e6305ceee74723d99b525e3f24682e695fb6104c8c824a09b2ec3b3cee40da1a6748b249d951a9565afdf9fb104bfe3e008543
data/Gemfile CHANGED
@@ -19,13 +19,6 @@ gem "lutaml", "< 0.11"
19
19
  # ships its lutaml >= 0.11.8 floor.
20
20
  gem "lutaml-lml", "< 0.3.7"
21
21
 
22
- # Stopgap: leptris 1.9.434.0+ breaks RelaxNG cross-include combine
23
- # semantics — lib/metanorma/validate/standoc-compile.rng (two included
24
- # grammars) then rejects even the root element of valid documents
25
- # (spec/validate/schema_spec). Pin until the leptris regression ships a
26
- # fix.
27
- gem "leptris", "1.9.433.0"
28
-
29
22
  # Pin: update units (metanorma-document#122); return to "~> 0.5" once it is released.
30
23
  gem "metanorma-document", github: "metanorma/metanorma-document",
31
24
  ref: "b2d7d50b4b1dbb85daa02387dcfb60a745960185"
@@ -15,7 +15,8 @@ module Asciidoctor
15
15
  n = peek_line(true)
16
16
  /^Unresolved directive in/.match?(n) and begin
17
17
  code, params = include_failure_code(n, expanded_target)
18
- @document.converter.log&.add(code, nil, **params)
18
+ conv = @document.converter
19
+ conv.respond_to?(:log) and conv.log&.add(code, nil, **params)
19
20
  end
20
21
  end
21
22
  [inc_path, target_type, relpath]
@@ -64,6 +64,9 @@ module Metanorma
64
64
  attribute :term_sources,
65
65
  Metanorma::Standoc::Document::Terms::TermSource,
66
66
  collection: true
67
+ attribute :literal_blocks,
68
+ Metanorma::Document::Components::AncillaryBlocks::LiteralBlock,
69
+ collection: true
67
70
  end
68
71
  end
69
72
  end
@@ -150,6 +153,7 @@ module Metanorma
150
153
  "quote" => :quote_blocks,
151
154
  "dl" => :definition_lists,
152
155
  "termsource" => :term_sources,
156
+ "pre" => :literal_blocks,
153
157
  }.freeze
154
158
 
155
159
  def self.apply_block_mappings(mapping)
@@ -19,6 +19,6 @@ module Metanorma
19
19
  end
20
20
 
21
21
  module Standoc
22
- VERSION = "3.5.24".freeze
22
+ VERSION = "3.5.26".freeze
23
23
  end
24
24
  end
@@ -44,7 +44,9 @@ Gem::Specification.new do |spec|
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
46
  spec.add_dependency "moxml", "~> 0.6.1"
47
- spec.add_dependency "leptris", "~> 1.9"
47
+ # 1.9.434-1.9.439 break RelaxNG combine across included grammars and
48
+ # reject valid documents (leptris#2133); 1.9.440.0 carries the fix.
49
+ spec.add_dependency "leptris", "~> 1.9.440"
48
50
  spec.add_dependency "concurrent-ruby"
49
51
  spec.add_dependency "png_conform", "~> 0.1.7"
50
52
  # svgmap_cleanup reparses vectory's returned document and grafts the
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.24
4
+ version: 3.5.26
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-23 00:00:00.000000000 Z
11
+ date: 2026-11-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable
@@ -190,14 +190,14 @@ dependencies:
190
190
  requirements:
191
191
  - - "~>"
192
192
  - !ruby/object:Gem::Version
193
- version: '1.9'
193
+ version: 1.9.440
194
194
  type: :runtime
195
195
  prerelease: false
196
196
  version_requirements: !ruby/object:Gem::Requirement
197
197
  requirements:
198
198
  - - "~>"
199
199
  - !ruby/object:Gem::Version
200
- version: '1.9'
200
+ version: 1.9.440
201
201
  - !ruby/object:Gem::Dependency
202
202
  name: concurrent-ruby
203
203
  requirement: !ruby/object:Gem::Requirement