metanorma-un 0.9.5 → 0.9.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/rake.yml +1 -1
- data/.github/workflows/release.yml +24 -0
- data/lib/isodoc/un/base_convert.rb +4 -3
- data/lib/isodoc/un/html/html_unece_plenary_titlepage.html +1 -1
- data/lib/isodoc/un/html/html_unece_titlepage.html +1 -1
- data/lib/isodoc/un/un.plenary-attachment.xsl +3413 -2793
- data/lib/isodoc/un/un.plenary.xsl +3413 -2793
- data/lib/isodoc/un/un.recommendation.xsl +3436 -2830
- data/lib/metanorma/un/biblio.rng +8 -5
- data/lib/metanorma/un/converter.rb +3 -0
- data/lib/metanorma/un/isodoc.rng +6 -1
- data/lib/metanorma/un/reqt.rng +1 -1
- data/lib/metanorma/un/version.rb +1 -1
- data/lib/metanorma-un.rb +2 -1
- data/metanorma-unece.gemspec +1 -1
- metadata +9 -11
- data/lib/isodoc/un/html/htmlstyle.css +0 -1140
- data/lib/isodoc/un/html/unece.css +0 -833
- data/lib/isodoc/un/html/wordstyle.css +0 -1280
data/lib/metanorma/un/biblio.rng
CHANGED
@@ -225,9 +225,9 @@
|
|
225
225
|
<zeroOrMore>
|
226
226
|
<ref name="forename"/>
|
227
227
|
</zeroOrMore>
|
228
|
-
<
|
229
|
-
<ref name="
|
230
|
-
</
|
228
|
+
<optional>
|
229
|
+
<ref name="formatted-initials"/>
|
230
|
+
</optional>
|
231
231
|
<ref name="surname"/>
|
232
232
|
<zeroOrMore>
|
233
233
|
<ref name="addition"/>
|
@@ -247,8 +247,8 @@
|
|
247
247
|
<ref name="LocalizedString"/>
|
248
248
|
</element>
|
249
249
|
</define>
|
250
|
-
<define name="
|
251
|
-
<element name="
|
250
|
+
<define name="formatted-initials">
|
251
|
+
<element name="formatted-initials">
|
252
252
|
<ref name="LocalizedString"/>
|
253
253
|
</element>
|
254
254
|
</define>
|
@@ -264,6 +264,9 @@
|
|
264
264
|
</define>
|
265
265
|
<define name="forename">
|
266
266
|
<element name="forename">
|
267
|
+
<optional>
|
268
|
+
<attribute name="initial"/>
|
269
|
+
</optional>
|
267
270
|
<ref name="LocalizedString"/>
|
268
271
|
</element>
|
269
272
|
</define>
|
@@ -212,6 +212,9 @@ module Metanorma
|
|
212
212
|
subsequence: node.attr("subsequence")))
|
213
213
|
end
|
214
214
|
|
215
|
+
PREFACE_CLAUSE_NAMES = %w(donotrecognise-foreword
|
216
|
+
acknowledgements).freeze
|
217
|
+
|
215
218
|
def sectiontype_streamline(ret)
|
216
219
|
case ret
|
217
220
|
when "foreword", "introduction" then "donotrecognise-foreword"
|
data/lib/metanorma/un/isodoc.rng
CHANGED
@@ -1285,7 +1285,12 @@
|
|
1285
1285
|
</define>
|
1286
1286
|
<define name="span">
|
1287
1287
|
<element name="span">
|
1288
|
-
<
|
1288
|
+
<optional>
|
1289
|
+
<attribute name="class"/>
|
1290
|
+
</optional>
|
1291
|
+
<optional>
|
1292
|
+
<attribute name="style"/>
|
1293
|
+
</optional>
|
1289
1294
|
<oneOrMore>
|
1290
1295
|
<ref name="TextElement"/>
|
1291
1296
|
</oneOrMore>
|
data/lib/metanorma/un/reqt.rng
CHANGED
data/lib/metanorma/un/version.rb
CHANGED
data/lib/metanorma-un.rb
CHANGED
data/metanorma-unece.gemspec
CHANGED
@@ -30,7 +30,7 @@ Gem::Specification.new do |spec|
|
|
30
30
|
spec.add_dependency "roman-numerals"
|
31
31
|
spec.add_dependency "twitter_cldr"
|
32
32
|
|
33
|
-
spec.add_dependency "metanorma-standoc", "~> 2.
|
33
|
+
spec.add_dependency "metanorma-standoc", "~> 2.2.0"
|
34
34
|
|
35
35
|
spec.add_development_dependency "debug"
|
36
36
|
spec.add_development_dependency "equivalent-xml", "~> 0.6"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: metanorma-un
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ribose Inc.
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-09-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: iso-639
|
@@ -58,14 +58,14 @@ dependencies:
|
|
58
58
|
requirements:
|
59
59
|
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: 2.
|
61
|
+
version: 2.2.0
|
62
62
|
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: 2.
|
68
|
+
version: 2.2.0
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: debug
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -217,6 +217,7 @@ extensions: []
|
|
217
217
|
extra_rdoc_files: []
|
218
218
|
files:
|
219
219
|
- ".github/workflows/rake.yml"
|
220
|
+
- ".github/workflows/release.yml"
|
220
221
|
- ".gitignore"
|
221
222
|
- ".hound.yml"
|
222
223
|
- ".rubocop.yml"
|
@@ -234,16 +235,13 @@ files:
|
|
234
235
|
- lib/isodoc/un/html/html_unece_intro.html
|
235
236
|
- lib/isodoc/un/html/html_unece_plenary_titlepage.html
|
236
237
|
- lib/isodoc/un/html/html_unece_titlepage.html
|
237
|
-
- lib/isodoc/un/html/htmlstyle.css
|
238
238
|
- lib/isodoc/un/html/htmlstyle.scss
|
239
239
|
- lib/isodoc/un/html/logo.jpg
|
240
240
|
- lib/isodoc/un/html/scripts.html
|
241
|
-
- lib/isodoc/un/html/unece.css
|
242
241
|
- lib/isodoc/un/html/unece.scss
|
243
242
|
- lib/isodoc/un/html/word_unece_intro.html
|
244
243
|
- lib/isodoc/un/html/word_unece_plenary_titlepage.html
|
245
244
|
- lib/isodoc/un/html/word_unece_titlepage.html
|
246
|
-
- lib/isodoc/un/html/wordstyle.css
|
247
245
|
- lib/isodoc/un/html/wordstyle.scss
|
248
246
|
- lib/isodoc/un/html_convert.rb
|
249
247
|
- lib/isodoc/un/i18n-en.yaml
|
@@ -276,7 +274,7 @@ homepage: https://github.com/metanorma/metanorma-un
|
|
276
274
|
licenses:
|
277
275
|
- BSD-2-Clause
|
278
276
|
metadata: {}
|
279
|
-
post_install_message:
|
277
|
+
post_install_message:
|
280
278
|
rdoc_options: []
|
281
279
|
require_paths:
|
282
280
|
- lib
|
@@ -291,8 +289,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
291
289
|
- !ruby/object:Gem::Version
|
292
290
|
version: '0'
|
293
291
|
requirements: []
|
294
|
-
rubygems_version: 3.
|
295
|
-
signing_key:
|
292
|
+
rubygems_version: 3.1.6
|
293
|
+
signing_key:
|
296
294
|
specification_version: 4
|
297
295
|
summary: Metanorma for UN.
|
298
296
|
test_files: []
|