metanorma-gb 1.5.3 → 1.5.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 +44 -0
- data/lib/asciidoctor/gb/basicdoc.rng +23 -0
- data/lib/asciidoctor/gb/gbstandard.rng +7 -0
- data/lib/asciidoctor/gb/isodoc.rng +122 -58
- data/lib/asciidoctor/gb/isostandard.rng +8 -1
- data/lib/isodoc/gb/gb.recommendation.xsl +951 -232
- data/lib/isodoc/gb/html/gb.css +16 -4
- data/lib/isodoc/gb/html/gb.scss +18 -4
- data/lib/isodoc/gb/html/htmlcompliantstyle.css +5 -1
- data/lib/isodoc/gb/html/htmlstyle.css +5 -1
- data/lib/metanorma/gb/version.rb +1 -1
- data/metanorma-gb.gemspec +1 -1
- metadata +5 -7
- data/.github/workflows/macos.yml +0 -38
- data/.github/workflows/ubuntu.yml +0 -56
- data/.github/workflows/windows.yml +0 -40
data/lib/isodoc/gb/html/gb.css
CHANGED
@@ -410,7 +410,7 @@ p.Formula, li.Formula, div.Formula {
|
|
410
410
|
table.formula_dl {
|
411
411
|
margin-left: 20.15pt; }
|
412
412
|
|
413
|
-
table.MsoISOTable {
|
413
|
+
table.MsoISOTable, table.MsoISOTableBig {
|
414
414
|
mso-style-name: "Table ISO";
|
415
415
|
mso-tstyle-rowband-size: 0;
|
416
416
|
mso-tstyle-colband-size: 0;
|
@@ -433,17 +433,17 @@ table.MsoISOTable {
|
|
433
433
|
font-family: {{bodyfont}};
|
434
434
|
mso-fareast-font-family: {{bodyfont}}; }
|
435
435
|
|
436
|
-
table.MsoISOTable th {
|
436
|
+
table.MsoISOTable th, table.MsoISOTableBig th {
|
437
437
|
border: solid windowtext 1pt;
|
438
438
|
mso-border-alt: solid windowtext 1pt;
|
439
439
|
padding: 0cm 2.85pt 0cm 2.85pt; }
|
440
440
|
|
441
|
-
table.MsoISOTable td {
|
441
|
+
table.MsoISOTable td, table.MsoISOTableBig td {
|
442
442
|
border: solid windowtext 1pt;
|
443
443
|
mso-border-alt: solid windowtext 1pt;
|
444
444
|
padding: 0cm 2.85pt 0cm 2.85pt; }
|
445
445
|
|
446
|
-
table.MsoISOTable p {
|
446
|
+
table.MsoISOTable p, table.MsoISOTableBig p {
|
447
447
|
font-size: 10.0pt; }
|
448
448
|
|
449
449
|
table.MsoTableGrid {
|
@@ -557,8 +557,20 @@ div.example p.MsoListParagraph {
|
|
557
557
|
font-size: 9.0pt; }
|
558
558
|
|
559
559
|
div.Note p.MsoListParagraph {
|
560
|
+
font-size: 9.0pt;
|
561
|
+
margin-left: 1.0cm; }
|
562
|
+
|
563
|
+
div.Note span.stem {
|
560
564
|
font-size: 9.0pt; }
|
561
565
|
|
566
|
+
div.Note p.Sourcecode, div.Note pre.Sourcecode {
|
567
|
+
font-size: 8.0pt;
|
568
|
+
margin-left: 1.0cm; }
|
569
|
+
|
570
|
+
div.Note table.dl {
|
571
|
+
font-size: 9.0pt;
|
572
|
+
margin-left: 1.0cm; }
|
573
|
+
|
562
574
|
p.leftpagenumber, li.leftpagenumber, div.leftpagenumber {
|
563
575
|
mso-style-name: leftpagenumber;
|
564
576
|
mso-style-priority: 99;
|
data/lib/isodoc/gb/html/gb.scss
CHANGED
@@ -387,7 +387,7 @@ p.Formula, li.Formula, div.Formula
|
|
387
387
|
table.formula_dl {
|
388
388
|
margin-left:20.15pt;
|
389
389
|
}
|
390
|
-
table.MsoISOTable
|
390
|
+
table.MsoISOTable, table.MsoISOTableBig
|
391
391
|
{mso-style-name:"Table ISO";
|
392
392
|
mso-tstyle-rowband-size:0;
|
393
393
|
mso-tstyle-colband-size:0;
|
@@ -409,15 +409,15 @@ table.MsoISOTable
|
|
409
409
|
font-size:10.0pt;
|
410
410
|
font-family:$bodyfont;
|
411
411
|
mso-fareast-font-family:$bodyfont;}
|
412
|
-
table.MsoISOTable th
|
412
|
+
table.MsoISOTable th, table.MsoISOTableBig th
|
413
413
|
{border:solid windowtext 1pt;
|
414
414
|
mso-border-alt:solid windowtext 1pt;
|
415
415
|
padding:0cm 2.85pt 0cm 2.85pt;}
|
416
|
-
table.MsoISOTable td
|
416
|
+
table.MsoISOTable td, table.MsoISOTableBig td
|
417
417
|
{border:solid windowtext 1pt;
|
418
418
|
mso-border-alt:solid windowtext 1pt;
|
419
419
|
padding:0cm 2.85pt 0cm 2.85pt;}
|
420
|
-
table.MsoISOTable p
|
420
|
+
table.MsoISOTable p, table.MsoISOTableBig p
|
421
421
|
{font-size:10.0pt; }
|
422
422
|
table.MsoTableGrid
|
423
423
|
{mso-style-name:"Table Grid";
|
@@ -520,6 +520,20 @@ div.example p.MsoListParagraph {
|
|
520
520
|
|
521
521
|
div.Note p.MsoListParagraph {
|
522
522
|
font-size: 9.0pt;
|
523
|
+
margin-left: 1.0cm;
|
524
|
+
}
|
525
|
+
|
526
|
+
div.Note span.stem {
|
527
|
+
font-size: 9.0pt; }
|
528
|
+
|
529
|
+
div.Note p.Sourcecode, div.Note pre.Sourcecode {
|
530
|
+
font-size: 8.0pt;
|
531
|
+
margin-left: 1.0cm;
|
532
|
+
}
|
533
|
+
|
534
|
+
div.Note table.dl {
|
535
|
+
font-size: 9.0pt;
|
536
|
+
margin-left: 1.0cm;
|
523
537
|
}
|
524
538
|
|
525
539
|
p.leftpagenumber, li.leftpagenumber, div.leftpagenumber
|
@@ -16,7 +16,7 @@ fieldset, form, label, legend,
|
|
16
16
|
table, caption, tbody, tfoot, thead, tr, th, td,
|
17
17
|
article, aside, canvas, details, embed,
|
18
18
|
figure, figcaption, footer, header, hgroup,
|
19
|
-
menu,
|
19
|
+
menu, output, ruby, section, summary,
|
20
20
|
time, mark, audio, video {
|
21
21
|
margin: 0;
|
22
22
|
padding: 0; }
|
@@ -111,6 +111,10 @@ b, strong {
|
|
111
111
|
div.document-stage-band, div.document-type-band {
|
112
112
|
background-color: #333333; }
|
113
113
|
|
114
|
+
a.FootnoteRef + a.FootnoteRef:before {
|
115
|
+
content: ", ";
|
116
|
+
vertical-align: super; }
|
117
|
+
|
114
118
|
#standard-band {
|
115
119
|
background-color: #0ac442; }
|
116
120
|
|
@@ -9,7 +9,7 @@ fieldset, form, label, legend,
|
|
9
9
|
table, caption, tbody, tfoot, thead, tr, th, td,
|
10
10
|
article, aside, canvas, details, embed,
|
11
11
|
figure, figcaption, footer, header, hgroup,
|
12
|
-
menu,
|
12
|
+
menu, output, ruby, section, summary,
|
13
13
|
time, mark, audio, video {
|
14
14
|
margin: 0;
|
15
15
|
padding: 0; }
|
@@ -104,6 +104,10 @@ b, strong {
|
|
104
104
|
div.document-stage-band, div.document-type-band {
|
105
105
|
background-color: #333333; }
|
106
106
|
|
107
|
+
a.FootnoteRef + a.FootnoteRef:before {
|
108
|
+
content: ", ";
|
109
|
+
vertical-align: super; }
|
110
|
+
|
107
111
|
#standard-band {
|
108
112
|
background-color: #0ac442; }
|
109
113
|
|
data/lib/metanorma/gb/version.rb
CHANGED
data/metanorma-gb.gemspec
CHANGED
@@ -29,7 +29,7 @@ Gem::Specification.new do |spec|
|
|
29
29
|
spec.require_paths = ["lib"]
|
30
30
|
spec.required_ruby_version = Gem::Requirement.new(">= 2.4.0")
|
31
31
|
|
32
|
-
spec.add_dependency "metanorma-iso", "~> 1.5.
|
32
|
+
spec.add_dependency "metanorma-iso", "~> 1.5.10"
|
33
33
|
spec.add_dependency "isodoc", "~> 1.2.0"
|
34
34
|
spec.add_dependency "twitter_cldr", "~> 4.4.4"
|
35
35
|
spec.add_dependency "gb-agencies", "~> 0.0.4"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: metanorma-gb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.5.
|
4
|
+
version: 1.5.8
|
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-
|
11
|
+
date: 2020-10-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: metanorma-iso
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 1.5.
|
19
|
+
version: 1.5.10
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 1.5.
|
26
|
+
version: 1.5.10
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: isodoc
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -247,9 +247,7 @@ executables: []
|
|
247
247
|
extensions: []
|
248
248
|
extra_rdoc_files: []
|
249
249
|
files:
|
250
|
-
- ".github/workflows/
|
251
|
-
- ".github/workflows/ubuntu.yml"
|
252
|
-
- ".github/workflows/windows.yml"
|
250
|
+
- ".github/workflows/rake.yml"
|
253
251
|
- ".gitignore"
|
254
252
|
- ".hound.yml"
|
255
253
|
- ".oss-guides.rubocop.yml"
|
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
|