metanorma-bipm 0.0.2 → 0.0.3
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 +44 -0
- data/README.adoc +44 -20
- data/lib/asciidoctor/bipm/bipm.rng +178 -20
- data/lib/asciidoctor/bipm/converter.rb +87 -14
- data/lib/asciidoctor/bipm/isodoc.rng +1 -43
- data/lib/isodoc/bipm/base_convert.rb +5 -0
- data/lib/isodoc/bipm/bipm.brochure.xsl +598 -194
- data/lib/isodoc/bipm/html/html_bipm_titlepage.html +21 -3
- data/lib/isodoc/bipm/html/htmlstyle.css +6 -2
- data/lib/isodoc/bipm/html/htmlstyle.scss +1 -1
- data/lib/isodoc/bipm/html/si-aspect/A_e.png +0 -0
- data/lib/isodoc/bipm/html/si-aspect/A_e_deltanu.png +0 -0
- data/lib/isodoc/bipm/html/si-aspect/K_k.png +0 -0
- data/lib/isodoc/bipm/html/si-aspect/K_k_deltanu_h.png +0 -0
- data/lib/isodoc/bipm/html/si-aspect/cd_Kcd.png +0 -0
- data/lib/isodoc/bipm/html/si-aspect/cd_Kcd_h_deltanu.png +0 -0
- data/lib/isodoc/bipm/html/si-aspect/full.png +0 -0
- data/lib/isodoc/bipm/html/si-aspect/kg_h.png +0 -0
- data/lib/isodoc/bipm/html/si-aspect/kg_h_c_deltanu.png +0 -0
- data/lib/isodoc/bipm/html/si-aspect/m_c.png +0 -0
- data/lib/isodoc/bipm/html/si-aspect/m_c_deltanu.png +0 -0
- data/lib/isodoc/bipm/html/si-aspect/mol_NA.png +0 -0
- data/lib/isodoc/bipm/html/si-aspect/s_deltanu.png +0 -0
- data/lib/isodoc/bipm/html_convert.rb +15 -0
- data/lib/isodoc/bipm/i18n-en.yaml +1 -0
- data/lib/isodoc/bipm/i18n-fr.yaml +1 -0
- data/lib/isodoc/bipm/metadata.rb +20 -4
- data/lib/isodoc/bipm/presentation_xml_convert.rb +88 -6
- data/lib/isodoc/bipm/xref.rb +131 -2
- data/lib/metanorma/bipm/version.rb +1 -1
- data/metanorma.yml +37 -0
- metadata +16 -5
- data/.github/workflows/macos.yml +0 -38
- data/.github/workflows/ubuntu.yml +0 -56
- data/.github/workflows/windows.yml +0 -40
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: metanorma-bipm
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ribose Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-10-
|
11
|
+
date: 2020-10-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: metanorma-generic
|
@@ -188,9 +188,7 @@ executables: []
|
|
188
188
|
extensions: []
|
189
189
|
extra_rdoc_files: []
|
190
190
|
files:
|
191
|
-
- ".github/workflows/
|
192
|
-
- ".github/workflows/ubuntu.yml"
|
193
|
-
- ".github/workflows/windows.yml"
|
191
|
+
- ".github/workflows/rake.yml"
|
194
192
|
- CODE_OF_CONDUCT.md
|
195
193
|
- Gemfile
|
196
194
|
- LICENSE
|
@@ -217,6 +215,19 @@ files:
|
|
217
215
|
- lib/isodoc/bipm/html/htmlstyle.scss
|
218
216
|
- lib/isodoc/bipm/html/logo.png
|
219
217
|
- lib/isodoc/bipm/html/scripts.html
|
218
|
+
- lib/isodoc/bipm/html/si-aspect/A_e.png
|
219
|
+
- lib/isodoc/bipm/html/si-aspect/A_e_deltanu.png
|
220
|
+
- lib/isodoc/bipm/html/si-aspect/K_k.png
|
221
|
+
- lib/isodoc/bipm/html/si-aspect/K_k_deltanu_h.png
|
222
|
+
- lib/isodoc/bipm/html/si-aspect/cd_Kcd.png
|
223
|
+
- lib/isodoc/bipm/html/si-aspect/cd_Kcd_h_deltanu.png
|
224
|
+
- lib/isodoc/bipm/html/si-aspect/full.png
|
225
|
+
- lib/isodoc/bipm/html/si-aspect/kg_h.png
|
226
|
+
- lib/isodoc/bipm/html/si-aspect/kg_h_c_deltanu.png
|
227
|
+
- lib/isodoc/bipm/html/si-aspect/m_c.png
|
228
|
+
- lib/isodoc/bipm/html/si-aspect/m_c_deltanu.png
|
229
|
+
- lib/isodoc/bipm/html/si-aspect/mol_NA.png
|
230
|
+
- lib/isodoc/bipm/html/si-aspect/s_deltanu.png
|
220
231
|
- lib/isodoc/bipm/html_convert.rb
|
221
232
|
- lib/isodoc/bipm/i18n-en.yaml
|
222
233
|
- lib/isodoc/bipm/i18n-fr.yaml
|
data/.github/workflows/macos.yml
DELETED
@@ -1,38 +0,0 @@
|
|
1
|
-
# Auto-generated by Cimas: Do not edit it manually!
|
2
|
-
# See https://github.com/metanorma/cimas
|
3
|
-
name: macos
|
4
|
-
|
5
|
-
on:
|
6
|
-
push:
|
7
|
-
branches: [ master ]
|
8
|
-
pull_request:
|
9
|
-
paths-ignore:
|
10
|
-
- .github/workflows/ubuntu.yml
|
11
|
-
- .github/workflows/windows.yml
|
12
|
-
|
13
|
-
jobs:
|
14
|
-
test-macos:
|
15
|
-
name: Test on Ruby ${{ matrix.ruby }} macOS
|
16
|
-
runs-on: macos-latest
|
17
|
-
continue-on-error: ${{ matrix.experimental }}
|
18
|
-
strategy:
|
19
|
-
fail-fast: false
|
20
|
-
matrix:
|
21
|
-
ruby: [ '2.6', '2.5', '2.4' ]
|
22
|
-
experimental: [false]
|
23
|
-
include:
|
24
|
-
- ruby: '2.7'
|
25
|
-
experimental: true
|
26
|
-
steps:
|
27
|
-
- uses: actions/checkout@master
|
28
|
-
- name: Use Ruby
|
29
|
-
uses: actions/setup-ruby@v1
|
30
|
-
with:
|
31
|
-
ruby-version: ${{ matrix.ruby }}
|
32
|
-
- name: Update gems
|
33
|
-
run: |
|
34
|
-
sudo gem install bundler --force
|
35
|
-
bundle install --jobs 4 --retry 3
|
36
|
-
- name: Run specs
|
37
|
-
run: |
|
38
|
-
bundle exec rake
|
@@ -1,56 +0,0 @@
|
|
1
|
-
# Auto-generated by Cimas: Do not edit it manually!
|
2
|
-
# See https://github.com/metanorma/cimas
|
3
|
-
name: ubuntu
|
4
|
-
|
5
|
-
on:
|
6
|
-
push:
|
7
|
-
branches: [ master ]
|
8
|
-
tags:
|
9
|
-
- '*'
|
10
|
-
pull_request:
|
11
|
-
paths-ignore:
|
12
|
-
- .github/workflows/macos.yml
|
13
|
-
- .github/workflows/windows.yml
|
14
|
-
|
15
|
-
jobs:
|
16
|
-
test-linux:
|
17
|
-
name: Test on Ruby ${{ matrix.ruby }} Ubuntu
|
18
|
-
runs-on: ubuntu-latest
|
19
|
-
continue-on-error: ${{ matrix.experimental }}
|
20
|
-
strategy:
|
21
|
-
fail-fast: false
|
22
|
-
matrix:
|
23
|
-
ruby: [ '2.6', '2.5', '2.4' ]
|
24
|
-
experimental: [false]
|
25
|
-
include:
|
26
|
-
- ruby: '2.7'
|
27
|
-
experimental: true
|
28
|
-
steps:
|
29
|
-
- uses: actions/checkout@master
|
30
|
-
- name: Use Ruby
|
31
|
-
uses: actions/setup-ruby@v1
|
32
|
-
with:
|
33
|
-
ruby-version: ${{ matrix.ruby }}
|
34
|
-
- name: Update gems
|
35
|
-
run: |
|
36
|
-
gem install bundler
|
37
|
-
bundle install --jobs 4 --retry 3
|
38
|
-
- name: Run specs
|
39
|
-
run: |
|
40
|
-
bundle exec rake
|
41
|
-
- name: Trigger repositories
|
42
|
-
if: matrix.ruby == '2.6'
|
43
|
-
env:
|
44
|
-
GH_USERNAME: metanorma-ci
|
45
|
-
GH_ACCESS_TOKEN: ${{ secrets.METANORMA_CI_PAT_TOKEN }}
|
46
|
-
run: |
|
47
|
-
curl -LO --retry 3 https://raw.githubusercontent.com/metanorma/metanorma-build-scripts/master/trigger-gh-actions.sh
|
48
|
-
[[ -f ".github/workflows/dependent_repos.env" ]] && source .github/workflows/dependent_repos.env
|
49
|
-
CLIENT_PAYLOAD=$(cat <<EOF
|
50
|
-
"{ "ref": "${GITHUB_REF}", "repo": "${GITHUB_REPOSITORY}" }"
|
51
|
-
EOF
|
52
|
-
)
|
53
|
-
for repo in $REPOS
|
54
|
-
do
|
55
|
-
sh trigger-gh-actions.sh $ORGANISATION $repo $GH_USERNAME $GH_ACCESS_TOKEN $GITHUB_REPOSITORY "$CLIENT_PAYLOAD"
|
56
|
-
done
|
@@ -1,40 +0,0 @@
|
|
1
|
-
# Auto-generated by Cimas: Do not edit it manually!
|
2
|
-
# See https://github.com/metanorma/cimas
|
3
|
-
name: windows
|
4
|
-
|
5
|
-
on:
|
6
|
-
push:
|
7
|
-
branches: [ master ]
|
8
|
-
pull_request:
|
9
|
-
paths-ignore:
|
10
|
-
- .github/workflows/macos.yml
|
11
|
-
- .github/workflows/ubuntu.yml
|
12
|
-
|
13
|
-
jobs:
|
14
|
-
test-windows:
|
15
|
-
name: Test on Ruby ${{ matrix.ruby }} Windows
|
16
|
-
runs-on: windows-latest
|
17
|
-
continue-on-error: ${{ matrix.experimental }}
|
18
|
-
strategy:
|
19
|
-
fail-fast: false
|
20
|
-
matrix:
|
21
|
-
ruby: [ '2.6', '2.5', '2.4' ]
|
22
|
-
experimental: [false]
|
23
|
-
include:
|
24
|
-
- ruby: '2.7'
|
25
|
-
experimental: true
|
26
|
-
steps:
|
27
|
-
- uses: actions/checkout@master
|
28
|
-
- name: Use Ruby
|
29
|
-
uses: actions/setup-ruby@v1
|
30
|
-
with:
|
31
|
-
ruby-version: ${{ matrix.ruby }}
|
32
|
-
- name: Update gems
|
33
|
-
shell: pwsh
|
34
|
-
run: |
|
35
|
-
gem install bundler
|
36
|
-
bundle config --local path vendor/bundle
|
37
|
-
bundle install --jobs 4 --retry 3
|
38
|
-
- name: Run specs
|
39
|
-
run: |
|
40
|
-
bundle exec rake
|