metanorma-un 0.9.5 → 0.9.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/isodoc/un/base_convert.rb +4 -3
- data/lib/isodoc/un/un.plenary-attachment.xsl +3333 -2678
- data/lib/isodoc/un/un.plenary.xsl +3333 -2678
- data/lib/isodoc/un/un.recommendation.xsl +3358 -2717
- data/lib/metanorma/un/isodoc.rng +6 -1
- data/lib/metanorma/un/reqt.rng +1 -1
- data/lib/metanorma/un/version.rb +1 -1
- data/metanorma-unece.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: 78b9305eb6614a7bec670abe0970bf5bdb14c07b1a0047e1b5411c850232f27f
|
4
|
+
data.tar.gz: e0131738e33f8e0937b7bfcb460fc9c70bb8da925716e2a9513a43f7909346bb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4a411e9e1591ffec208efed4fa0ed768f6c180922a5629e69bd2b6e09aebddf76e19e58fe94d6aa1a0461acfcb8ad6e085a0ea9ed19b539ae30803e7f4c69890
|
7
|
+
data.tar.gz: ced5e4b35a56e25593299a88c90d4e4e0fbc545d20516170b0a96bd8748ea5840a3f2afa1f09ff8ca76facb4f0948af942e0eb8d44db5f5cd2bbf0581f6505cd
|
@@ -17,17 +17,18 @@ module IsoDoc
|
|
17
17
|
end
|
18
18
|
end
|
19
19
|
|
20
|
-
def inline_header_title(out,
|
20
|
+
def inline_header_title(out, _node, title)
|
21
21
|
out.span **{ class: "zzMoveToFollowing" } do |s|
|
22
22
|
title&.children&.each { |c2| parse(c2, s) }
|
23
|
-
clausedelimspace(out) if /\S/.match(title&.text)
|
23
|
+
clausedelimspace(_node, out) if /\S/.match?(title&.text)
|
24
24
|
end
|
25
25
|
end
|
26
26
|
|
27
27
|
def is_plenary?(docxml)
|
28
28
|
doctype = docxml&.at(ns("//bibdata/ext/doctype"))&.text
|
29
|
-
return true if
|
29
|
+
return true if %w(plenary agenda budgetary).include?(doctype)
|
30
30
|
return true if docxml&.at(ns("//bibdata/ext/session/*"))
|
31
|
+
|
31
32
|
false
|
32
33
|
end
|
33
34
|
end
|