metanorma-un 0.12.24 → 0.12.26

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: 567c6ab5564ba069199dfe5eb5a470ecb32f7fd375a383ff87e85a4e8a697aab
4
- data.tar.gz: a93f107cc1a3598abb36170607e1b9d0c34c952a3c0c3a3d033a412d6ee94e0e
3
+ metadata.gz: 313afb69ee00eae3dfb602357d69491670bfc2884b6946dd4d5ae90fdc6ad9f4
4
+ data.tar.gz: d0d946682617b4c5b404f9265afc974d6a05c1b3b1738e27af22049ea5e1e490
5
5
  SHA512:
6
- metadata.gz: 107cee43821e16da6890ecf34199f382e0cbe33a7d4e1c7d74206ffe0dbfffa25fdabcbfaba02f86b834348514acf5bbb05ca977cd68bfabbeac3a82e8ae5ddc
7
- data.tar.gz: f32b3fdb522704b6eba4ee52bd5f4981b5b60b7bfc79be659c8fd6589ac8af4a8258918bbb929a917c0cc49e978ae2bdb1942b1f8cdc1d2c1d983869b3de7492
6
+ metadata.gz: 5c3b7d11c969b4c1031097382e047f351b0aafed77f7ad0943908d61a46295246bef9f3496644855f27390874e73f8df3076bfefb2796bb355b3bb12d875c868
7
+ data.tar.gz: 30ec9cc4f930aa271671c570115e3ce6bfe82bcb5d913f0f2889b117f0f0a8e323ddb196d58460f59762f4f843ffc5973a48bcd19141dfafca324e0135a151f2
@@ -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: ''
@@ -1,5 +1,5 @@
1
1
  module Metanorma
2
2
  module UN
3
- VERSION = "0.12.24".freeze
3
+ VERSION = "0.12.26".freeze
4
4
  end
5
5
  end
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
data/metanorma-un.gemspec CHANGED
@@ -34,6 +34,13 @@ Gem::Specification.new do |spec|
34
34
 
35
35
  spec.add_dependency "metanorma-standoc", "~> 3.5.7"
36
36
 
37
+ # AdapterElement#to_xml must keep the bibdata whitespace verbatim
38
+ # (lutaml/lutaml-model#1277, shipped in 0.8.196): older resolvations
39
+ # compound the serializer's default indent onto whitespace-only text
40
+ # nodes during isodoc's bibdata round-trip and drift the version/note
41
+ # content against the fixtures.
42
+ spec.add_dependency "lutaml-model", "~> 0.8.196"
43
+
37
44
  spec.add_development_dependency "debug"
38
45
  spec.add_development_dependency "canon", "~> 0.3"
39
46
  spec.add_development_dependency "guard", "~> 2.14"
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.24
4
+ version: 0.12.26
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
@@ -80,6 +80,20 @@ dependencies:
80
80
  - - "~>"
81
81
  - !ruby/object:Gem::Version
82
82
  version: 3.5.7
83
+ - !ruby/object:Gem::Dependency
84
+ name: lutaml-model
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: 0.8.196
90
+ type: :runtime
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "~>"
95
+ - !ruby/object:Gem::Version
96
+ version: 0.8.196
83
97
  - !ruby/object:Gem::Dependency
84
98
  name: debug
85
99
  requirement: !ruby/object:Gem::Requirement
@@ -295,6 +309,7 @@ files:
295
309
  - lib/metanorma/un/processor.rb
296
310
  - lib/metanorma/un/relaton-un.rng
297
311
  - lib/metanorma/un/reqt.rng
312
+ - lib/metanorma/un/themes/un/theme.yaml
298
313
  - lib/metanorma/un/un.rng
299
314
  - lib/metanorma/un/validate.rb
300
315
  - lib/metanorma/un/version.rb