metanorma-un 0.9.5 → 0.9.8
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/.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
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e0ae564e3f603f4faa74044e2a42834d8d15a65806ff966eab37fa7770e9b1b7
|
4
|
+
data.tar.gz: bac395b53dadcb245c2e84829e15786c7daad9cf8ad04e8b61e428d56f06c8dc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6ddb21f1c554708486a8bbd25672609c966fd319ec3c673855ca53091e5b8a9d3672239875b825bb9bff5af01fe6fe4c98d50efbd6c6eee4ae544625ee37cd08
|
7
|
+
data.tar.gz: 13c7a17aeb5d7d57747c8ba650a6201461124b2a7f54d500c9326771a0d16c1eb88bc21afe78d1f29598992883b204cf1ce6734fbb76fc09d02b196f134eb1b7
|
data/.github/workflows/rake.yml
CHANGED
@@ -0,0 +1,24 @@
|
|
1
|
+
# Auto-generated by Cimas: Do not edit it manually!
|
2
|
+
# See https://github.com/metanorma/cimas
|
3
|
+
name: release
|
4
|
+
|
5
|
+
on:
|
6
|
+
workflow_dispatch:
|
7
|
+
inputs:
|
8
|
+
next_version:
|
9
|
+
description: |
|
10
|
+
Next release version. Possible values: x.y.z, major, minor, patch or pre|rc|etc
|
11
|
+
required: true
|
12
|
+
default: 'skip'
|
13
|
+
push:
|
14
|
+
tags: [ v* ]
|
15
|
+
|
16
|
+
jobs:
|
17
|
+
release:
|
18
|
+
uses: metanorma/ci/.github/workflows/rubygems-release.yml@main
|
19
|
+
with:
|
20
|
+
next_version: ${{ github.event.inputs.next_version }}
|
21
|
+
secrets:
|
22
|
+
rubygems-api-key: ${{ secrets.METANORMA_CI_RUBYGEMS_API_KEY }}
|
23
|
+
pat_token: ${{ secrets.METANORMA_CI_PAT_TOKEN }}
|
24
|
+
|
@@ -17,17 +17,18 @@ module IsoDoc
|
|
17
17
|
end
|
18
18
|
end
|
19
19
|
|
20
|
-
def inline_header_title(out,
|
20
|
+
def inline_header_title(out, _node, title)
|
21
21
|
out.span **{ class: "zzMoveToFollowing" } do |s|
|
22
22
|
title&.children&.each { |c2| parse(c2, s) }
|
23
|
-
clausedelimspace(out) if /\S/.match(title&.text)
|
23
|
+
clausedelimspace(_node, out) if /\S/.match?(title&.text)
|
24
24
|
end
|
25
25
|
end
|
26
26
|
|
27
27
|
def is_plenary?(docxml)
|
28
28
|
doctype = docxml&.at(ns("//bibdata/ext/doctype"))&.text
|
29
|
-
return true if
|
29
|
+
return true if %w(plenary agenda budgetary).include?(doctype)
|
30
30
|
return true if docxml&.at(ns("//bibdata/ext/session/*"))
|
31
|
+
|
31
32
|
false
|
32
33
|
end
|
33
34
|
end
|