metanorma-standoc 3.5.25 → 3.5.27
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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: bdd8087933a6b29d33012b49b814ed694c564c2a62fd2f68fe196471a0790519
|
|
4
|
+
data.tar.gz: df12ddf7aa8ab5b54e718735a12ad63d2f58f3e76b6d472a5946fda6edc6aef3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a0663102bf45146cf5e5d417b4313dee859a5f44308f9226c78beaf7a1e153d04f8e7e532998ebc2add5967098f220110ce6103f37f936dae1e0d98b9b77b012
|
|
7
|
+
data.tar.gz: 466234c5bbc76f8ae0e09caca7f62bd32023bba09533b7597a8573bba17b9187dd1729acd15124c4e0583c3201316baf45191b414f55465c479cf5aac439a62d
|
|
@@ -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
|
|
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)
|
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.27
|
|
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-24 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: addressable
|