metanorma-bipm 1.2.3 → 2.0.0.1
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 +4 -32
- data/.gitignore +2 -0
- data/bin/console +1 -1
- data/lib/isodoc/bipm/base_convert.rb +0 -10
- data/lib/isodoc/bipm/bipm.brochure.xsl +573 -649
- data/lib/isodoc/bipm/bipm.guide.xsl +573 -649
- data/lib/isodoc/bipm/bipm.mise-en-pratique.xsl +573 -649
- data/lib/isodoc/bipm/bipm.rapport.xsl +573 -649
- data/lib/isodoc/bipm/html/htmlstyle.css +20 -11
- data/lib/isodoc/bipm/html/htmlstyle.scss +11 -11
- data/lib/isodoc/bipm/html/scripts.html +0 -1
- data/lib/isodoc/bipm/jcgm.standard.xsl +566 -710
- data/lib/isodoc/bipm/presentation_xml_convert.rb +13 -2
- data/lib/{asciidoctor → metanorma}/bipm/basicdoc.rng +0 -0
- data/lib/{asciidoctor → metanorma}/bipm/biblio.rng +0 -0
- data/lib/{asciidoctor → metanorma}/bipm/bipm.rng +2 -0
- data/lib/{asciidoctor → metanorma}/bipm/boilerplate-en.xml +0 -0
- data/lib/{asciidoctor → metanorma}/bipm/boilerplate-fr.xml +0 -0
- data/lib/{asciidoctor → metanorma}/bipm/boilerplate-jcgm-en.xml +0 -0
- data/lib/{asciidoctor → metanorma}/bipm/converter.rb +5 -5
- data/lib/{asciidoctor → metanorma}/bipm/isodoc.rng +49 -2
- data/lib/{asciidoctor → metanorma}/bipm/reqt.rng +0 -0
- data/lib/metanorma/bipm/version.rb +1 -1
- data/lib/metanorma/bipm.rb +1 -0
- data/lib/metanorma-bipm.rb +1 -1
- data/metanorma-bipm.gemspec +2 -2
- data/metanorma.yml +3 -3
- metadata +16 -17
- data/lib/asciidoctor/bipm.rb +0 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e12ccd357c97ed5057e57ff60b86afc4cf47941d8e52769930e5557052ad5d68
|
4
|
+
data.tar.gz: 5eaf1af1f25d13852b79da9499281536fd264d44d88c6ea40465ce44ec2bdc5a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 36b6f81ab682378bcb10cef58134b63fc4b1ed1bd2413f5ffed996f8a371fb09d95c51071bafad71dc93d561eacfaa63f7e99aa820aa357f217c4236d631a71b
|
7
|
+
data.tar.gz: c52d5a9880e003749185c8fd847b31253596a35381a21a89a241fa6d6877ba850a9e2ed8f8869161f276ef6d91cd5521965ffd8445e94c37751b182d8b3597de
|
data/.github/workflows/rake.yml
CHANGED
@@ -9,35 +9,7 @@ on:
|
|
9
9
|
pull_request:
|
10
10
|
|
11
11
|
jobs:
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
strategy:
|
17
|
-
fail-fast: false
|
18
|
-
matrix:
|
19
|
-
ruby: [ '3.0', '2.7', '2.6', '2.5' ]
|
20
|
-
os: [ ubuntu-latest, windows-latest, macos-latest ]
|
21
|
-
experimental: [ false ]
|
22
|
-
steps:
|
23
|
-
- uses: actions/checkout@v2
|
24
|
-
with:
|
25
|
-
submodules: true
|
26
|
-
|
27
|
-
- uses: ruby/setup-ruby@v1
|
28
|
-
with:
|
29
|
-
ruby-version: ${{ matrix.ruby }}
|
30
|
-
bundler-cache: true
|
31
|
-
|
32
|
-
- run: bundle exec rake
|
33
|
-
|
34
|
-
tests-passed:
|
35
|
-
needs: rake
|
36
|
-
runs-on: ubuntu-latest
|
37
|
-
steps:
|
38
|
-
- uses: peter-evans/repository-dispatch@v1
|
39
|
-
with:
|
40
|
-
token: ${{ secrets.METANORMA_CI_PAT_TOKEN || secrets.GITHUB_TOKEN }}
|
41
|
-
repository: ${{ github.repository }}
|
42
|
-
event-type: tests-passed
|
43
|
-
client-payload: '{"ref": "${{ github.ref }}", "sha": "${{ github.sha }}"}'
|
12
|
+
notify:
|
13
|
+
uses: metanorma/metanorma-build-scripts/.github/workflows/mn-processor-rake.yml@main
|
14
|
+
secrets:
|
15
|
+
pat_token: ${{ secrets.METANORMA_CI_PAT_TOKEN }}
|
data/.gitignore
CHANGED
data/bin/console
CHANGED
@@ -72,16 +72,6 @@ module IsoDoc
|
|
72
72
|
@jcgm ? docxml : super
|
73
73
|
end
|
74
74
|
|
75
|
-
def termref_cleanup(docxml)
|
76
|
-
docxml
|
77
|
-
.gsub(/\s*\[MODIFICATION\]\s*\[\/TERMREF\]/,
|
78
|
-
l10n(", #{@i18n.modified} [/TERMREF]"))
|
79
|
-
.gsub(%r{\s*\[/TERMREF\]\s*</p>\s*<p>\s*\[TERMREF\]}, "; ")
|
80
|
-
.gsub(/\[TERMREF\]\s*/, l10n("[#{@i18n.source} "))
|
81
|
-
.gsub(%r{\s*\[/TERMREF\]\s*}, l10n("]"))
|
82
|
-
.gsub(/\s*\[MODIFICATION\]/, l10n(", #{@i18n.modified} — "))
|
83
|
-
end
|
84
|
-
|
85
75
|
def error_parse(node, out)
|
86
76
|
case node.name
|
87
77
|
when "blacksquare" then blacksquare_parse(node, out)
|