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 +4 -4
- data/lib/isodoc/generic/html/html_generic_intro.html +0 -1
- data/lib/metanorma/generic/version.rb +1 -1
- data/lib/metanorma/generic.rb +10 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5703b930a463972c9363f98d6f2d942a582e579eeaa2db1fbd31afeedf23454d
|
|
4
|
+
data.tar.gz: 970691b0b7916b3787708ad47bc376073aa5d6b2579bd1d6b5731594c8bf7e66
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ba2e16b89628aefd00064137c9aeb0d025f91486e22d5dee1965a357b025a669975f6f0127395dfaa1757c723eac37673acdc5d7a40f977b4f1c0f0b445113f3
|
|
7
|
+
data.tar.gz: 147329b19f7cbbb6103d0124baad73855f11d793d1d4ea6fe0f3b232ae177523c8ee0b1f1660f903b487f25b76ff37fae2f4b45de02790fb1c28851d532aca82
|
data/lib/metanorma/generic.rb
CHANGED
|
@@ -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
|
-
|
|
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.
|
|
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-
|
|
11
|
+
date: 2026-11-21 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: metanorma-standoc
|