metanorma-vsd 1.0.7 → 1.0.8

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d5e57d1184b15477090a588ce289158ab50dbae90a8c3afa3f2073976d36fff6
4
- data.tar.gz: a5426b390e7fc6a4c586113a9b2bdfe7945d101fecf5b07da8ed12d077deb0ed
3
+ metadata.gz: 7d41164d393fbc155694a3c01b73faada902d82bc448a1a61d579ff90164b6db
4
+ data.tar.gz: 280be8bdaf2bd304e0e50e862bf2b85f8d20623bf1f93ab87520e05c665749aa
5
5
  SHA512:
6
- metadata.gz: '087d9d81130dcab02d8b4703335f596a7cfb06baa3023c909d260cfe062a907d8b8f7d211c9033617f692c6cf067bbd6ff9d6d73c4b58fc8f776d56d06e55e32'
7
- data.tar.gz: ec3f721df20bf2c337b1151318d4575bdfdc4b0e1a3b5496aef0a2fc2b3dc8f5a3dc5c2476153b18d3e44fedfbf98e571fe266bbc4617b36007b2b5881294c31
6
+ metadata.gz: ca8c593fa84b60d56ac13a0782d4cafff01003868e085a54da086cf2b69e87fe29fea3a3a181f2e1b57b5f9b359f06524d234a4a69e6a4b00f0887c118190c68
7
+ data.tar.gz: fddf2201b9ec925627bc34677232c173a39d3ab35d6ec8d7637808f774f08f98d4189e4bcf7aeb8900007250f2457139e4424e3613e6403b3b8c696bac70465c
@@ -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 initialize
7
- @short = :vsd
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
@@ -1,5 +1,5 @@
1
1
  module Metanorma
2
2
  module Vsd
3
- VERSION = "1.0.7"
3
+ VERSION = "1.0.8"
4
4
  end
5
5
  end
@@ -1,3 +1,4 @@
1
+ metanorma_name: vsd
1
2
  organization_name_short: Vita Green
2
3
  organization_name_long: Vita Green
3
4
  document_namespace: https://www.metanorma.org/ns/vsd
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.7
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-01 00:00:00.000000000 Z
11
+ date: 2020-05-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: htmlentities