metanorma-ribose 1.6.5 → 1.6.10
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 +66 -0
- data/README.adoc +5 -6
- data/lib/asciidoctor/ribose/basicdoc.rng +50 -3
- data/lib/asciidoctor/ribose/isodoc.rng +36 -43
- data/lib/isodoc/ribose/html/htmlstyle.css +7 -3
- data/lib/isodoc/ribose/html/htmlstyle.scss +2 -2
- data/lib/isodoc/ribose/html/rsd.css +70 -70
- data/lib/isodoc/ribose/html/rsd.scss +70 -70
- data/lib/isodoc/ribose/html/wordstyle.css +53 -53
- data/lib/isodoc/ribose/html/wordstyle.scss +53 -53
- data/lib/isodoc/ribose/rsd.standard.xsl +324 -93
- data/lib/metanorma/ribose/processor.rb +9 -0
- data/lib/metanorma/ribose/version.rb +1 -1
- data/metanorma-ribose.gemspec +1 -2
- data/metanorma.yml +6 -0
- metadata +5 -21
- data/.github/workflows/macos.yml +0 -41
- data/.github/workflows/ubuntu.yml +0 -45
- data/.github/workflows/windows.yml +0 -43
@@ -15,6 +15,15 @@ module Metanorma
|
|
15
15
|
)
|
16
16
|
end
|
17
17
|
|
18
|
+
def fonts_manifest
|
19
|
+
{
|
20
|
+
"Source Sans Pro" => nil,
|
21
|
+
"STIX Two Math" => nil,
|
22
|
+
"Source Serif Pro" => nil,
|
23
|
+
"Source Code Pro" => nil,
|
24
|
+
}
|
25
|
+
end
|
26
|
+
|
18
27
|
def version
|
19
28
|
"Metanorma::Ribose #{Metanorma::Ribose::VERSION}"
|
20
29
|
end
|
data/metanorma-ribose.gemspec
CHANGED
@@ -28,8 +28,7 @@ Gem::Specification.new do |spec|
|
|
28
28
|
spec.require_paths = ["lib"]
|
29
29
|
spec.required_ruby_version = Gem::Requirement.new(">= 2.4.0")
|
30
30
|
|
31
|
-
spec.add_dependency
|
32
|
-
spec.add_dependency 'metanorma-generic', '~> 1.7.0'
|
31
|
+
spec.add_dependency 'metanorma-generic', '~> 1.8.1'
|
33
32
|
|
34
33
|
spec.add_development_dependency "byebug", "~> 9.1"
|
35
34
|
spec.add_development_dependency "sassc", "2.4.0"
|
data/metanorma.yml
CHANGED
@@ -11,6 +11,8 @@ htmlstylesheet: lib/isodoc/ribose/html/htmlstyle.scss
|
|
11
11
|
html_bodyfont: '"Source Sans Pro",sans-serif'
|
12
12
|
html_headerfont: '"Source Sans Pro",sans-serif'
|
13
13
|
html_monospacefont: '"Source Code Pro",monospace'
|
14
|
+
html_normalfontsize: "15px"
|
15
|
+
html_footnotefontsize: "0.9em"
|
14
16
|
scripts: lib/isodoc/ribose/html/scripts.html
|
15
17
|
scripts_pdf: lib/isodoc/ribose/html/scripts.pdf.html
|
16
18
|
standardstylesheet: lib/isodoc/ribose/html/rsd.scss
|
@@ -21,6 +23,10 @@ wordstylesheet: lib/isodoc/ribose/html/wordstyle.scss
|
|
21
23
|
word_bodyfont: '"Source Sans Pro","Arial",sans-serif'
|
22
24
|
word_headerfont: '"Source Sans Pro","Arial",sans-serif'
|
23
25
|
word_monospacefont: '"Source Code Pro",monospace'
|
26
|
+
word_normalfontsize: "12.0pt"
|
27
|
+
word_smallerfontsize: "11.0pt"
|
28
|
+
word_monospacefontsize: "10.0pt"
|
29
|
+
word_footnotefontsize: "10.0pt"
|
24
30
|
docid_template: "{{ docnumeric }}{% if stageabbr %}({{ stageabbr }}){%endif%}"
|
25
31
|
published_stages:
|
26
32
|
- published
|
metadata
CHANGED
@@ -1,43 +1,29 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: metanorma-ribose
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.6.
|
4
|
+
version: 1.6.10
|
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-12-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
|
-
- !ruby/object:Gem::Dependency
|
14
|
-
name: isodoc
|
15
|
-
requirement: !ruby/object:Gem::Requirement
|
16
|
-
requirements:
|
17
|
-
- - "~>"
|
18
|
-
- !ruby/object:Gem::Version
|
19
|
-
version: 1.2.0
|
20
|
-
type: :runtime
|
21
|
-
prerelease: false
|
22
|
-
version_requirements: !ruby/object:Gem::Requirement
|
23
|
-
requirements:
|
24
|
-
- - "~>"
|
25
|
-
- !ruby/object:Gem::Version
|
26
|
-
version: 1.2.0
|
27
13
|
- !ruby/object:Gem::Dependency
|
28
14
|
name: metanorma-generic
|
29
15
|
requirement: !ruby/object:Gem::Requirement
|
30
16
|
requirements:
|
31
17
|
- - "~>"
|
32
18
|
- !ruby/object:Gem::Version
|
33
|
-
version: 1.
|
19
|
+
version: 1.8.1
|
34
20
|
type: :runtime
|
35
21
|
prerelease: false
|
36
22
|
version_requirements: !ruby/object:Gem::Requirement
|
37
23
|
requirements:
|
38
24
|
- - "~>"
|
39
25
|
- !ruby/object:Gem::Version
|
40
|
-
version: 1.
|
26
|
+
version: 1.8.1
|
41
27
|
- !ruby/object:Gem::Dependency
|
42
28
|
name: byebug
|
43
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -190,9 +176,7 @@ executables: []
|
|
190
176
|
extensions: []
|
191
177
|
extra_rdoc_files: []
|
192
178
|
files:
|
193
|
-
- ".github/workflows/
|
194
|
-
- ".github/workflows/ubuntu.yml"
|
195
|
-
- ".github/workflows/windows.yml"
|
179
|
+
- ".github/workflows/rake.yml"
|
196
180
|
- ".gitignore"
|
197
181
|
- ".hound.yml"
|
198
182
|
- ".rubocop.yml"
|
data/.github/workflows/macos.yml
DELETED
@@ -1,41 +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: Install PlantUML
|
37
|
-
run: |
|
38
|
-
brew install plantuml
|
39
|
-
- name: Run specs
|
40
|
-
run: |
|
41
|
-
bundle exec rake
|
@@ -1,45 +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
|
-
pull_request:
|
9
|
-
paths-ignore:
|
10
|
-
- .github/workflows/macos.yml
|
11
|
-
- .github/workflows/windows.yml
|
12
|
-
|
13
|
-
jobs:
|
14
|
-
test-linux:
|
15
|
-
name: Test on Ruby ${{ matrix.ruby }} Ubuntu
|
16
|
-
runs-on: ubuntu-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
|
-
gem install bundler
|
35
|
-
bundle install --jobs 4 --retry 3
|
36
|
-
- name: Install PlantUML
|
37
|
-
uses: nick-invision/retry@v1
|
38
|
-
with:
|
39
|
-
polling_interval_seconds: 5
|
40
|
-
timeout_minutes: 5
|
41
|
-
max_attempts: 3
|
42
|
-
command: sudo apt-get update -y && sudo bash -c "curl -L https://github.com/metanorma/plantuml-install/raw/master/ubuntu.sh | bash"
|
43
|
-
- name: Run specs
|
44
|
-
run: |
|
45
|
-
bundle exec rake
|
@@ -1,43 +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: Install PlantUML
|
39
|
-
run: |
|
40
|
-
cinst -y plantuml
|
41
|
-
- name: Run specs
|
42
|
-
run: |
|
43
|
-
bundle exec rake
|