metanorma-vsd 1.0.3 → 1.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/macos.yml +2 -3
- data/.github/workflows/ubuntu.yml +15 -4
- data/.github/workflows/windows.yml +3 -4
- data/README.adoc +3 -2
- data/lib/asciidoctor/vsd/biblio.rng +2 -12
- data/lib/asciidoctor/vsd/converter.rb +2 -2
- data/lib/asciidoctor/vsd/isodoc.rng +1 -3
- data/lib/isodoc/vsd/html/htmlstyle.scss +256 -583
- data/lib/isodoc/vsd/html_convert.rb +2 -2
- data/lib/isodoc/vsd/metadata.rb +1 -1
- data/lib/isodoc/vsd/pdf_convert.rb +1 -1
- data/lib/isodoc/vsd/word_convert.rb +2 -2
- data/lib/metanorma/vsd.rb +2 -2
- data/lib/metanorma/vsd/processor.rb +1 -1
- data/lib/metanorma/vsd/version.rb +1 -1
- data/metanorma-vsd.gemspec +1 -1
- metadata +3 -3
@@ -1,5 +1,5 @@
|
|
1
1
|
require "isodoc"
|
2
|
-
require "isodoc/
|
2
|
+
require "isodoc/generic/html_convert"
|
3
3
|
require "isodoc/vsd/metadata"
|
4
4
|
|
5
5
|
module IsoDoc
|
@@ -7,7 +7,7 @@ module IsoDoc
|
|
7
7
|
# A {Converter} implementation that generates HTML output, and a document
|
8
8
|
# schema encapsulation of the document for validation
|
9
9
|
#
|
10
|
-
class HtmlConvert < IsoDoc::
|
10
|
+
class HtmlConvert < IsoDoc::Generic::HtmlConvert
|
11
11
|
def configuration
|
12
12
|
Metanorma::Vsd.configuration
|
13
13
|
end
|
data/lib/isodoc/vsd/metadata.rb
CHANGED
@@ -5,7 +5,7 @@ module IsoDoc
|
|
5
5
|
module Vsd
|
6
6
|
# A {Converter} implementation that generates PDF HTML output, and a
|
7
7
|
# document schema encapsulation of the document for validation
|
8
|
-
class PdfConvert < IsoDoc::
|
8
|
+
class PdfConvert < IsoDoc::Generic::PdfConvert
|
9
9
|
def configuration
|
10
10
|
Metanorma::Vsd.configuration
|
11
11
|
end
|
@@ -1,12 +1,12 @@
|
|
1
1
|
require "isodoc"
|
2
|
-
require "isodoc/
|
2
|
+
require "isodoc/generic/word_convert"
|
3
3
|
require "isodoc/vsd/metadata"
|
4
4
|
|
5
5
|
module IsoDoc
|
6
6
|
module Vsd
|
7
7
|
# A {Converter} implementation that generates Word output, and a document
|
8
8
|
# schema encapsulation of the document for validation
|
9
|
-
class WordConvert < IsoDoc::
|
9
|
+
class WordConvert < IsoDoc::Generic::WordConvert
|
10
10
|
def configuration
|
11
11
|
Metanorma::Vsd.configuration
|
12
12
|
end
|
data/lib/metanorma/vsd.rb
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
require "metanorma"
|
2
|
-
require "metanorma-
|
2
|
+
require "metanorma-generic"
|
3
3
|
require "metanorma/vsd/processor"
|
4
4
|
|
5
5
|
module Metanorma
|
6
6
|
module Vsd
|
7
|
-
class Configuration < Metanorma::
|
7
|
+
class Configuration < Metanorma::Generic::Configuration
|
8
8
|
def initialize(*args)
|
9
9
|
super
|
10
10
|
html_configs ||= File.join(File.expand_path('config', __dir__), 'vsd_html.yml')
|
@@ -32,7 +32,7 @@ module Metanorma
|
|
32
32
|
when :doc
|
33
33
|
IsoDoc::Vsd::WordConvert.new(options).convert(outname, isodoc_node)
|
34
34
|
when :pdf
|
35
|
-
IsoDoc::
|
35
|
+
IsoDoc::Generic::PdfConvert.new(options).convert(outname, isodoc_node)
|
36
36
|
else
|
37
37
|
super
|
38
38
|
end
|
data/metanorma-vsd.gemspec
CHANGED
@@ -29,7 +29,7 @@ Gem::Specification.new do |spec|
|
|
29
29
|
spec.add_dependency "htmlentities", "~> 4.3.4"
|
30
30
|
#spec.add_dependency "nokogiri"
|
31
31
|
spec.add_dependency "metanorma-standoc", "~> 1.3.0"
|
32
|
-
spec.add_dependency "metanorma-
|
32
|
+
spec.add_dependency "metanorma-generic", "~> 1.4.0"
|
33
33
|
spec.add_dependency "isodoc", "~> 1.0.0"
|
34
34
|
|
35
35
|
spec.add_development_dependency "byebug", "~> 9.1"
|
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.4
|
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-03
|
11
|
+
date: 2020-04-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: htmlentities
|
@@ -39,7 +39,7 @@ dependencies:
|
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: 1.3.0
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
|
-
name: metanorma-
|
42
|
+
name: metanorma-generic
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|