metanorma-vsd 1.0.7 → 1.0.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/macos.yml +0 -7
- data/.github/workflows/ubuntu.yml +2 -11
- data/.github/workflows/windows.yml +0 -7
- data/lib/asciidoctor/vsd/isodoc.rng +6 -3
- data/lib/metanorma/vsd/processor.rb +4 -6
- data/lib/metanorma/vsd/version.rb +1 -1
- data/metanorma.yml +1 -0
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7d41164d393fbc155694a3c01b73faada902d82bc448a1a61d579ff90164b6db
|
|
4
|
+
data.tar.gz: 280be8bdaf2bd304e0e50e862bf2b85f8d20623bf1f93ab87520e05c665749aa
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ca8c593fa84b60d56ac13a0782d4cafff01003868e085a54da086cf2b69e87fe29fea3a3a181f2e1b57b5f9b359f06524d234a4a69e6a4b00f0887c118190c68
|
|
7
|
+
data.tar.gz: fddf2201b9ec925627bc34677232c173a39d3ab35d6ec8d7637808f774f08f98d4189e4bcf7aeb8900007250f2457139e4424e3613e6403b3b8c696bac70465c
|
data/.github/workflows/macos.yml
CHANGED
|
@@ -26,13 +26,6 @@ jobs:
|
|
|
26
26
|
run: |
|
|
27
27
|
sudo gem install bundler --force
|
|
28
28
|
bundle install --jobs 4 --retry 3
|
|
29
|
-
- name: Use Node
|
|
30
|
-
uses: actions/setup-node@v1
|
|
31
|
-
with:
|
|
32
|
-
node-version: '12'
|
|
33
|
-
- name: Install Puppeteer
|
|
34
|
-
run: |
|
|
35
|
-
npm install -g puppeteer@3.0.1
|
|
36
29
|
- name: Run specs
|
|
37
30
|
run: |
|
|
38
31
|
bundle exec rake
|
|
@@ -26,20 +26,11 @@ jobs:
|
|
|
26
26
|
run: |
|
|
27
27
|
gem install bundler
|
|
28
28
|
bundle install --jobs 4 --retry 3
|
|
29
|
-
- name: Use Node
|
|
30
|
-
uses: actions/setup-node@v1
|
|
31
|
-
with:
|
|
32
|
-
node-version: '12'
|
|
33
|
-
- name: Install Puppeteer
|
|
34
|
-
run: |
|
|
35
|
-
sudo apt-get update
|
|
36
|
-
sudo apt-get install libgbm1
|
|
37
|
-
npm install -g puppeteer@3.0.1
|
|
38
29
|
- name: Run specs
|
|
39
30
|
run: |
|
|
40
31
|
bundle exec rake
|
|
41
32
|
- name: Trigger dependent repositories
|
|
42
|
-
if: github.ref == 'refs/heads/master'
|
|
33
|
+
if: github.ref == 'refs/heads/master' && matrix.ruby == '2.6'
|
|
43
34
|
env:
|
|
44
35
|
GH_USERNAME: ${{ secrets.PAT_USERNAME }}
|
|
45
36
|
GH_ACCESS_TOKEN: ${{ secrets.PAT_TOKEN }}
|
|
@@ -48,5 +39,5 @@ jobs:
|
|
|
48
39
|
[[ -f ".github/workflows/dependent_repos.env" ]] && source .github/workflows/dependent_repos.env
|
|
49
40
|
for repo in $DEPENDENT_REPOS
|
|
50
41
|
do
|
|
51
|
-
sh trigger-gh-actions.sh $ORGANISATION $repo $GH_USERNAME $GH_ACCESS_TOKEN $GITHUB_REPOSITORY
|
|
42
|
+
sh trigger-gh-actions.sh $ORGANISATION $repo $GH_USERNAME $GH_ACCESS_TOKEN $GITHUB_REPOSITORY "{ \"ref\": \"${GITHUB_REF}\" }"
|
|
52
43
|
done
|
|
@@ -28,13 +28,6 @@ jobs:
|
|
|
28
28
|
gem install bundler
|
|
29
29
|
bundle config --local path vendor/bundle
|
|
30
30
|
bundle install --jobs 4 --retry 3
|
|
31
|
-
- name: Use Node
|
|
32
|
-
uses: actions/setup-node@v1
|
|
33
|
-
with:
|
|
34
|
-
node-version: '12'
|
|
35
|
-
- name: Install Puppeteer
|
|
36
|
-
run: |
|
|
37
|
-
npm install -g puppeteer@3.0.1
|
|
38
31
|
- name: Run specs
|
|
39
32
|
run: |
|
|
40
33
|
bundle exec rake
|
|
@@ -129,6 +129,9 @@
|
|
|
129
129
|
</choice>
|
|
130
130
|
</attribute>
|
|
131
131
|
</optional>
|
|
132
|
+
<attribute name="normative">
|
|
133
|
+
<data type="boolean"/>
|
|
134
|
+
</attribute>
|
|
132
135
|
<optional>
|
|
133
136
|
<ref name="section-title"/>
|
|
134
137
|
</optional>
|
|
@@ -303,11 +306,11 @@
|
|
|
303
306
|
<ref name="paragraph"/>
|
|
304
307
|
</element>
|
|
305
308
|
</define>
|
|
306
|
-
<define name="TextElement" combine="choice">
|
|
307
|
-
<ref name="concept"/>
|
|
308
|
-
</define>
|
|
309
309
|
</include>
|
|
310
310
|
<!-- end overrides -->
|
|
311
|
+
<define name="TextElement" combine="choice">
|
|
312
|
+
<ref name="concept"/>
|
|
313
|
+
</define>
|
|
311
314
|
<define name="concept">
|
|
312
315
|
<element name="concept">
|
|
313
316
|
<optional>
|
|
@@ -2,18 +2,16 @@ require "metanorma/processor"
|
|
|
2
2
|
|
|
3
3
|
module Metanorma
|
|
4
4
|
module Vsd
|
|
5
|
-
class Processor < Metanorma::Processor
|
|
6
|
-
def
|
|
7
|
-
|
|
8
|
-
@input_format = :asciidoc
|
|
9
|
-
@asciidoctor_backend = :vsd
|
|
5
|
+
class Processor < Metanorma::Generic::Processor
|
|
6
|
+
def configuration
|
|
7
|
+
Metanorma::Vsd.configuration
|
|
10
8
|
end
|
|
11
9
|
|
|
12
10
|
def output_formats
|
|
13
11
|
super.merge(
|
|
14
12
|
html: "html",
|
|
15
13
|
doc: "doc"
|
|
16
|
-
)
|
|
14
|
+
).tap { |hs| hs.delete(:pdf) }
|
|
17
15
|
end
|
|
18
16
|
|
|
19
17
|
def version
|
data/metanorma.yml
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: metanorma-vsd
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.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-05-
|
|
11
|
+
date: 2020-05-13 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: htmlentities
|