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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 47f3c22a0edaf4f627fed780f6dd2f8c2cdfd7d4d047cf1fa9a9703b92325dd5
4
- data.tar.gz: c47a65f9f68d00c639cac88d2d48651f4c90582791def09fece9cb575dc2e745
3
+ metadata.gz: 2a0c8836fe444ec765c6b42245525c7c2c80c90446fd1baa6f15f3f1e091727e
4
+ data.tar.gz: 628ae6e520fbb9a24ee27f7bf8afa26fcbf3787e1bcabcfa749913490c013785
5
5
  SHA512:
6
- metadata.gz: 077b196ff6a987d700f0417fcf5cd4d69d22cf5e5ef605c67be07e8de4719e117bcc3e920a7cd21adc999ffdf466e363156ccbeb4cfdb500ac6d10b4e0ed6e28
7
- data.tar.gz: d9e7b2bda47ef3d55501903a9c4e086dcc046ecb7fec9d27398d70ea69812cd3a8a0bbc7af19fc1e3e37abfd1ed8c999a1c9483374f8e3cc79f4193568d28947
6
+ metadata.gz: b20740508b1bfe4d3490cc002ea8e37a9f4f8bd19bdef518e2bc14173e5f095e3027ea6d74699171a6f5e753a6902993f25d0208a08481dce1d7c9e9b88e7016
7
+ data.tar.gz: 12feb28601377b2e7446d2b3015d8020a3ebfe5b514cfa89ca9ca6fbc809c12446b679dff96ccb6da6aea663893bcf90f78a8ac3eb94d866be850b885a0c3655
@@ -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
- # The cover templates read org_name / org_abbrev labels; document
50
- # bibdata drives them so a non-IHO publisher's identity (WMO on
51
- # S-1XX product specifications) replaces the flavor defaults.
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
@@ -1,5 +1,5 @@
1
1
  module Metanorma
2
2
  module Iho
3
- VERSION = "1.4.6".freeze
3
+ VERSION = "1.4.7".freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: metanorma-iho
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.6
4
+ version: 1.4.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.