metanorma-vsd 1.0.6 → 1.0.7

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: b2ff5cf9bda1a7db1cafccad2ccb1cee5358bd782deb90e74851c9b3a8c6b477
4
- data.tar.gz: eb9e0c39adb2345deff8ab5f055e78c17fa20f92d668a74b0913c42f3d4f53c3
3
+ metadata.gz: d5e57d1184b15477090a588ce289158ab50dbae90a8c3afa3f2073976d36fff6
4
+ data.tar.gz: a5426b390e7fc6a4c586113a9b2bdfe7945d101fecf5b07da8ed12d077deb0ed
5
5
  SHA512:
6
- metadata.gz: 2cd8d27456076e5af1f4282e156b51957c2332880e6661fdb7d7e3b0e447ea4a6ed92bcb09237ad69b5b42a284ea9ac4df1a101a0958d48a224c2e9bb263c088
7
- data.tar.gz: ae49bf33cd99d402007ba50a66efc5f422ac18d0fe463bb23bf9a3c22a44074829a6b0cb9a093ce56c9f0a730a01f67c942be47808d7d8a00d002e9468680521
6
+ metadata.gz: '087d9d81130dcab02d8b4703335f596a7cfb06baa3023c909d260cfe062a907d8b8f7d211c9033617f692c6cf067bbd6ff9d6d73c4b58fc8f776d56d06e55e32'
7
+ data.tar.gz: ec3f721df20bf2c337b1151318d4575bdfdc4b0e1a3b5496aef0a2fc2b3dc8f5a3dc5c2476153b18d3e44fedfbf98e571fe266bbc4617b36007b2b5881294c31
@@ -26,6 +26,13 @@ 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
29
36
  - name: Run specs
30
37
  run: |
31
38
  bundle exec rake
@@ -26,11 +26,20 @@ 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
29
38
  - name: Run specs
30
39
  run: |
31
40
  bundle exec rake
32
41
  - name: Trigger dependent repositories
33
- if: github.ref == 'refs/heads/master' && matrix.ruby == '2.6'
42
+ if: github.ref == 'refs/heads/master'
34
43
  env:
35
44
  GH_USERNAME: ${{ secrets.PAT_USERNAME }}
36
45
  GH_ACCESS_TOKEN: ${{ secrets.PAT_TOKEN }}
@@ -39,5 +48,5 @@ jobs:
39
48
  [[ -f ".github/workflows/dependent_repos.env" ]] && source .github/workflows/dependent_repos.env
40
49
  for repo in $DEPENDENT_REPOS
41
50
  do
42
- sh trigger-gh-actions.sh $ORGANISATION $repo $GH_USERNAME $GH_ACCESS_TOKEN $GITHUB_REPOSITORY "{ \"ref\": \"${GITHUB_REF}\" }"
51
+ sh trigger-gh-actions.sh $ORGANISATION $repo $GH_USERNAME $GH_ACCESS_TOKEN $GITHUB_REPOSITORY
43
52
  done
@@ -28,6 +28,13 @@ 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
31
38
  - name: Run specs
32
39
  run: |
33
40
  bundle exec rake
@@ -17,10 +17,6 @@ module Asciidoctor
17
17
  IsoDoc::Vsd::HtmlConvert.new(html_extract_attributes(node))
18
18
  end
19
19
 
20
- def pdf_converter(node)
21
- IsoDoc::Vsd::PdfConvert.new(html_extract_attributes(node))
22
- end
23
-
24
20
  def word_converter(node)
25
21
  IsoDoc::Vsd::WordConvert.new(doc_extract_attributes(node))
26
22
  end
data/lib/isodoc/vsd.rb CHANGED
@@ -1,7 +1,6 @@
1
1
  require "isodoc/vsd/metadata"
2
2
  require "isodoc/vsd/html_convert"
3
3
  require "isodoc/vsd/word_convert"
4
- require "isodoc/vsd/pdf_convert"
5
4
 
6
5
  module IsoDoc
7
6
  module Vsd
@@ -12,8 +12,7 @@ module Metanorma
12
12
  def output_formats
13
13
  super.merge(
14
14
  html: "html",
15
- doc: "doc",
16
- pdf: "pdf"
15
+ doc: "doc"
17
16
  )
18
17
  end
19
18
 
@@ -31,8 +30,6 @@ module Metanorma
31
30
  IsoDoc::Vsd::HtmlConvert.new(options).convert(outname, isodoc_node)
32
31
  when :doc
33
32
  IsoDoc::Vsd::WordConvert.new(options).convert(outname, isodoc_node)
34
- when :pdf
35
- IsoDoc::Generic::PdfConvert.new(options).convert(outname, isodoc_node)
36
33
  else
37
34
  super
38
35
  end
@@ -1,5 +1,5 @@
1
1
  module Metanorma
2
2
  module Vsd
3
- VERSION = "1.0.6"
3
+ VERSION = "1.0.7"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: metanorma-vsd
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.6
4
+ version: 1.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
@@ -235,7 +235,6 @@ files:
235
235
  - lib/isodoc/vsd/html/wordstyle.scss
236
236
  - lib/isodoc/vsd/html_convert.rb
237
237
  - lib/isodoc/vsd/metadata.rb
238
- - lib/isodoc/vsd/pdf_convert.rb
239
238
  - lib/isodoc/vsd/word_convert.rb
240
239
  - lib/metanorma-vsd.rb
241
240
  - lib/metanorma/vsd.rb
@@ -1,19 +0,0 @@
1
- require "isodoc"
2
- require "isodoc/vsd/metadata"
3
-
4
- module IsoDoc
5
- module Vsd
6
- # A {Converter} implementation that generates PDF HTML output, and a
7
- # document schema encapsulation of the document for validation
8
- class PdfConvert < IsoDoc::Generic::PdfConvert
9
- def configuration
10
- Metanorma::Vsd.configuration
11
- end
12
-
13
- def metadata_init(lang, script, labels)
14
- @meta = Metadata.new(lang, script, labels)
15
- end
16
- end
17
- end
18
- end
19
-