metanorma-iso 2.7.5 → 2.7.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/iso/index.rb +4 -6
- data/lib/isodoc/iso/iso.amendment.xsl +270 -81
- data/lib/isodoc/iso/iso.international-standard.xsl +270 -81
- data/lib/isodoc/iso/presentation_xml_convert.rb +5 -0
- data/lib/isodoc/iso/presentation_xref.rb +4 -19
- data/lib/isodoc/iso/word_convert.rb +10 -6
- data/lib/isodoc/iso/word_dis_cleanup.rb +1 -1
- data/lib/isodoc/iso/word_dis_convert.rb +0 -2
- data/lib/isodoc/iso/xref.rb +2 -4
- data/lib/isodoc/iso/xref_section.rb +12 -2
- data/lib/metanorma/iso/base.rb +9 -1
- data/lib/metanorma/iso/validate.rb +0 -8
- data/lib/metanorma/iso/validate_style.rb +17 -21
- data/lib/metanorma/iso/version.rb +1 -1
- data/metanorma-iso.gemspec +1 -3
- metadata +3 -31
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1ea605cb2d2600317ee12d4a926aee3231e8cd789cc422990e4ea7519f5b39a4
|
4
|
+
data.tar.gz: 615fdbf41b05dfe73a2e052d37b735a535bc4f8f990d99d7670562196339fd89
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6ca74e3ef2122b12b2e4ccb28f140631f83de54db8d2fda891eaee9e17849b3b8faf7eddb375dfafa6303cb4abb0042161ba0a45fbba86857a44b2a0521fcc9a
|
7
|
+
data.tar.gz: c6120ebc9efd5f703261f2e47e3a28c0a2805529c5a1eda44451fccf0d0aaf5264a4298ff7babcc564f4869392b2cad9a1e4be51fe725dd24858f2a5d9695f2a
|
data/lib/isodoc/iso/index.rb
CHANGED
@@ -50,9 +50,8 @@ module IsoDoc
|
|
50
50
|
ret = index_entries_head(words[primary],
|
51
51
|
index.dig(words[primary], nil, nil),
|
52
52
|
index_entries_opt)
|
53
|
-
words2 = index[words[primary]]&.keys&.
|
54
|
-
|
55
|
-
end&.each_with_object({}) { |w, v| v[w.downcase] = w }
|
53
|
+
words2 = index[words[primary]]&.keys&.compact
|
54
|
+
&.each_with_object({}) { |w, v| v[w.downcase] = w }
|
56
55
|
unless words2.empty?
|
57
56
|
ret += "<ul>"
|
58
57
|
words2.keys.localize(@lang.to_sym).sort.to_a.each do |w|
|
@@ -67,9 +66,8 @@ module IsoDoc
|
|
67
66
|
ret = index_entries_head(words[secondary],
|
68
67
|
index.dig(words[secondary], nil),
|
69
68
|
index_entries_opt)
|
70
|
-
words3 = index[words[secondary]]&.keys&.
|
71
|
-
|
72
|
-
end&.each_with_object({}) { |w, v| v[w.downcase] = w }
|
69
|
+
words3 = index[words[secondary]]&.keys&.compact
|
70
|
+
&.each_with_object({}) { |w, v| v[w.downcase] = w }
|
73
71
|
unless words3.empty?
|
74
72
|
ret += "<ul>"
|
75
73
|
words3.keys.localize(@lang.to_sym).sort.to_a.each do |w|
|