metanorma-un 0.12.24 → 0.12.25
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/metanorma/un/themes/un/theme.yaml +14 -0
- data/lib/metanorma/un/version.rb +1 -1
- data/lib/metanorma/un.rb +14 -0
- metadata +2 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b75396cf8714093124f0006aef1524441f2085c4a8eeae885f59e8fbd907e844
|
|
4
|
+
data.tar.gz: 5fa184b206c0da728d4fff5c528323fa6d8911e3c979245f514f08ea7f6a65bb
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: cd5084168b55db8c5149b433a0d240121aafd7f0a62e8beb04d69de030bf5645003e8004e3bc91f07c15e695ae44b7c31fd0a853e4cedd905cedeabb6e892e3e
|
|
7
|
+
data.tar.gz: 7a12e97b24c8fb9918fd7ddcd4e39f855ae9a925f4064061db75448d099b924f8856d8fc789d961dfb23b083d7de4e0b22066439252dd0033d174896df8a24a9
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
extends: generic
|
|
2
|
+
publishers:
|
|
3
|
+
- United Nations Economic Commission for Europe
|
|
4
|
+
publisher_name: United Nations Economic Commission for Europe
|
|
5
|
+
logos: []
|
|
6
|
+
primary: '#00ADEF'
|
|
7
|
+
accent: '#00ADEF'
|
|
8
|
+
gradient: 'linear-gradient(135deg, #00ADEF, #00ADEF)'
|
|
9
|
+
header_background: '#00ADEF'
|
|
10
|
+
cover_background: '#00ADEF'
|
|
11
|
+
font_body: '"Source Sans Pro", sans-serif'
|
|
12
|
+
font_sans: '"Source Sans Pro", sans-serif'
|
|
13
|
+
font_mono: '"Source Code Pro", monospace'
|
|
14
|
+
font_url: ''
|
data/lib/metanorma/un/version.rb
CHANGED
data/lib/metanorma/un.rb
CHANGED
|
@@ -10,5 +10,19 @@ module Metanorma
|
|
|
10
10
|
|
|
11
11
|
ORGANIZATION_NAME_SHORT = "UN".freeze
|
|
12
12
|
ORGANIZATION_NAME_LONG = "United Nations".freeze
|
|
13
|
+
|
|
14
|
+
# The UN flavor owns its presentation theme: register it so
|
|
15
|
+
# metanorma-document resolves Theme.load(:un) to this gem's copy
|
|
16
|
+
# (metanorma-document#219: the engine carries no brand themes).
|
|
17
|
+
# Lazy: the theme system exists only on the metanorma-document
|
|
18
|
+
# line; skip silently on resolutions without it.
|
|
19
|
+
begin
|
|
20
|
+
require "metanorma/html"
|
|
21
|
+
Metanorma::Html::Theme.register_themes_dir(
|
|
22
|
+
File.expand_path("un/themes", __dir__),
|
|
23
|
+
)
|
|
24
|
+
rescue LoadError
|
|
25
|
+
# metanorma-document unavailable; registry styling inert
|
|
26
|
+
end
|
|
13
27
|
end
|
|
14
28
|
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: metanorma-un
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.12.
|
|
4
|
+
version: 0.12.25
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Ribose Inc.
|
|
@@ -295,6 +295,7 @@ files:
|
|
|
295
295
|
- lib/metanorma/un/processor.rb
|
|
296
296
|
- lib/metanorma/un/relaton-un.rng
|
|
297
297
|
- lib/metanorma/un/reqt.rng
|
|
298
|
+
- lib/metanorma/un/themes/un/theme.yaml
|
|
298
299
|
- lib/metanorma/un/un.rng
|
|
299
300
|
- lib/metanorma/un/validate.rb
|
|
300
301
|
- lib/metanorma/un/version.rb
|