metanorma-generic 3.5.2 → 3.5.3

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: 8801633684dafc956af5f61e02fc206884a0808753031c2de5fa24ff71b1c1e6
4
- data.tar.gz: 717a08ed7d87f6e2778948db15168e81724d2548b452c56f6c85fa276e72a966
3
+ metadata.gz: 5703b930a463972c9363f98d6f2d942a582e579eeaa2db1fbd31afeedf23454d
4
+ data.tar.gz: 970691b0b7916b3787708ad47bc376073aa5d6b2579bd1d6b5731594c8bf7e66
5
5
  SHA512:
6
- metadata.gz: a31b32708b286d031adfa75f104826bc7b675b41f1155f3c59904f468e44382a661036e4200ef05a9d93fd73ae4c37c9d7654c8742d3097cc432d4f59d508857
7
- data.tar.gz: 9136a9089ff9e3b48bb321de5f2ee78ec6654243dbe65a07e7b9c8eff19e5405d24a0f5bd9f3341a2d4464fca33faad8b5118778a3da4ea1b5157d414e805747
6
+ metadata.gz: ba2e16b89628aefd00064137c9aeb0d025f91486e22d5dee1965a357b025a669975f6f0127395dfaa1757c723eac37673acdc5d7a40f977b4f1c0f0b445113f3
7
+ data.tar.gz: 147329b19f7cbbb6103d0124baad73855f11d793d1d4ea6fe0f3b232ae177523c8ee0b1f1660f903b487f25b76ff37fae2f4b45de02790fb1c28851d532aca82
@@ -1,5 +1,4 @@
1
1
  <nav>
2
- <h1 id="content">Contents</h1>
3
2
  <div id="toc"></div>
4
3
 
5
4
  </nav>
@@ -1,5 +1,5 @@
1
1
  module Metanorma
2
2
  module Generic
3
- VERSION = "3.5.2".freeze
3
+ VERSION = "3.5.3".freeze
4
4
  end
5
5
  end
@@ -173,7 +173,16 @@ module Metanorma
173
173
  end
174
174
 
175
175
  def set_default_value_from_yaml_file(attr, root_path, default_options)
176
- value = default_options[attr.to_s]
176
+ key = attr.to_s
177
+ # A configuration file speaks only to the keys it names: a
178
+ # flavour's metanorma.yml read through the +:customize:+
179
+ # document attribute is typically sparse, and absent keys are
180
+ # "no opinion" -- they must keep the values the base flavour
181
+ # already carries, not be clobbered to nil (metanorma-taste#252:
182
+ # the iala customize file nil-ed the iho htmlintropage, dropping
183
+ # the flavour into the generic HTML intro page).
184
+ default_options.key?(key) or return
185
+ value = default_options[key]
177
186
  value && filepath_attrs.include?(attr) and
178
187
  value = absolute_path(value, root_path)
179
188
  instance_variable_set("@#{attr}", value)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: metanorma-generic
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.5.2
4
+ version: 3.5.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2026-11-06 00:00:00.000000000 Z
11
+ date: 2026-11-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: metanorma-standoc