metanorma-iho 1.4.6 → 1.4.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/lib/isodoc/iho/metadata.rb +8 -3
- data/lib/metanorma/iho/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2a0c8836fe444ec765c6b42245525c7c2c80c90446fd1baa6f15f3f1e091727e
|
|
4
|
+
data.tar.gz: 628ae6e520fbb9a24ee27f7bf8afa26fcbf3787e1bcabcfa749913490c013785
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b20740508b1bfe4d3490cc002ea8e37a9f4f8bd19bdef518e2bc14173e5f095e3027ea6d74699171a6f5e753a6902993f25d0208a08481dce1d7c9e9b88e7016
|
|
7
|
+
data.tar.gz: 12feb28601377b2e7446d2b3015d8020a3ebfe5b514cfa89ca9ca6fbc809c12446b679dff96ccb6da6aea663893bcf90f78a8ac3eb94d866be850b885a0c3655
|
data/lib/isodoc/iho/metadata.rb
CHANGED
|
@@ -46,9 +46,14 @@ module IsoDoc
|
|
|
46
46
|
abbr = org&.at(ns("./abbreviation"))&.text || "IHO"
|
|
47
47
|
set(:publisher_name, name)
|
|
48
48
|
set(:publisher_abbr, abbr)
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
#
|
|
49
|
+
return unless org
|
|
50
|
+
|
|
51
|
+
# The cover templates read org_name / org_abbrev labels. Only a
|
|
52
|
+
# publisher NAMED in document bibdata (WMO on S-1XX product
|
|
53
|
+
# specifications) replaces them: when bibdata names no publisher,
|
|
54
|
+
# the flavor's own localized labels stand, as they are the IHO
|
|
55
|
+
# identity in the document language (metanorma-iho#566: S-4 is
|
|
56
|
+
# published in English, French and Spanish editions).
|
|
52
57
|
labels["org_name"] = name
|
|
53
58
|
labels["org_abbrev"] = abbr
|
|
54
59
|
end
|