metanorma-vsd 0.3.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +1 -0
- data/.travis.yml +16 -0
- data/CODE_OF_CONDUCT.md +74 -0
- data/Gemfile +4 -0
- data/LICENSE +25 -0
- data/README.adoc +174 -0
- data/Rakefile +6 -0
- data/bin/console +14 -0
- data/bin/rspec +18 -0
- data/bin/setup +8 -0
- data/lib/asciidoctor/vsd.rb +8 -0
- data/lib/asciidoctor/vsd/biblio.rng +836 -0
- data/lib/asciidoctor/vsd/converter.rb +98 -0
- data/lib/asciidoctor/vsd/isodoc.rng +1041 -0
- data/lib/asciidoctor/vsd/isostandard.rng +1001 -0
- data/lib/asciidoctor/vsd/pdf.js +31 -0
- data/lib/asciidoctor/vsd/vsd.rng +212 -0
- data/lib/isodoc/vsd.rb +9 -0
- data/lib/isodoc/vsd/html/header.html +184 -0
- data/lib/isodoc/vsd/html/html_vsd_intro.html +8 -0
- data/lib/isodoc/vsd/html/html_vsd_titlepage.html +106 -0
- data/lib/isodoc/vsd/html/htmlstyle.scss +1028 -0
- data/lib/isodoc/vsd/html/logo.png +0 -0
- data/lib/isodoc/vsd/html/scripts.html +82 -0
- data/lib/isodoc/vsd/html/vsd.scss +564 -0
- data/lib/isodoc/vsd/html/word_vsd_intro.html +72 -0
- data/lib/isodoc/vsd/html/word_vsd_titlepage.html +71 -0
- data/lib/isodoc/vsd/html/wordstyle.scss +1096 -0
- data/lib/isodoc/vsd/html_convert.rb +65 -0
- data/lib/isodoc/vsd/metadata.rb +11 -0
- data/lib/isodoc/vsd/pdf_convert.rb +64 -0
- data/lib/isodoc/vsd/word_convert.rb +61 -0
- data/lib/metanorma-vsd.rb +6 -0
- data/lib/metanorma/vsd.rb +10 -0
- data/lib/metanorma/vsd/processor.rb +51 -0
- data/lib/metanorma/vsd/version.rb +5 -0
- data/metanorma-vsd.gemspec +47 -0
- metadata +322 -0
@@ -0,0 +1,65 @@
|
|
1
|
+
require "isodoc/rsd/html_convert"
|
2
|
+
require_relative "metadata"
|
3
|
+
|
4
|
+
module IsoDoc
|
5
|
+
module Vsd
|
6
|
+
|
7
|
+
# A {Converter} implementation that generates HTML output, and a document
|
8
|
+
# schema encapsulation of the document for validation
|
9
|
+
#
|
10
|
+
class HtmlConvert < IsoDoc::Rsd::HtmlConvert
|
11
|
+
def vsd_html_path(file)
|
12
|
+
File.join(File.dirname(__FILE__), File.join("html", file))
|
13
|
+
end
|
14
|
+
|
15
|
+
def initialize(options)
|
16
|
+
super
|
17
|
+
@htmlstylesheet = generate_css(vsd_html_path("htmlstyle.scss"), true, default_fonts(options))
|
18
|
+
@htmlcoverpage = vsd_html_path("html_vsd_titlepage.html")
|
19
|
+
@htmlintropage = vsd_html_path("html_vsd_intro.html")
|
20
|
+
@scripts = vsd_html_path("scripts.html")
|
21
|
+
system "cp #{vsd_html_path('logo.png')} logo.png"
|
22
|
+
@files_to_delete << "logo.png"
|
23
|
+
end
|
24
|
+
|
25
|
+
def default_fonts(options)
|
26
|
+
b = options[:bodyfont] ||
|
27
|
+
(options[:script] == "Hans" ? '"SimSun",serif' :
|
28
|
+
'"Overpass",sans-serif')
|
29
|
+
h = options[:headerfont] ||
|
30
|
+
(options[:script] == "Hans" ? '"SimHei",sans-serif' :
|
31
|
+
'"Overpass",sans-serif')
|
32
|
+
m = options[:monospacefont] || '"Space Mono",monospace'
|
33
|
+
"$bodyfont: #{b};\n$headerfont: #{h};\n$monospacefont: #{m};\n"
|
34
|
+
end
|
35
|
+
|
36
|
+
def html_head
|
37
|
+
<<~HEAD.freeze
|
38
|
+
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
|
39
|
+
|
40
|
+
<!--TOC script import-->
|
41
|
+
<script type="text/javascript" src="https://cdn.rawgit.com/jgallen23/toc/0.3.2/dist/toc.min.js"></script>
|
42
|
+
|
43
|
+
<!--Google fonts-->
|
44
|
+
<link href="https://fonts.googleapis.com/css?family=Open+Sans:300,300i,400,400i,600,600i|Space+Mono:400,700" rel="stylesheet">
|
45
|
+
<link href="https://fonts.googleapis.com/css?family=Overpass:300,300i,600,900" rel="stylesheet">
|
46
|
+
<!--Font awesome import for the link icon-->
|
47
|
+
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.0.8/css/solid.css" integrity="sha384-v2Tw72dyUXeU3y4aM2Y0tBJQkGfplr39mxZqlTBDUZAb9BGoC40+rdFCG0m10lXk" crossorigin="anonymous">
|
48
|
+
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.0.8/css/fontawesome.css" integrity="sha384-q3jl8XQu1OpdLgGFvNRnPdj5VIlCvgsDQTQB6owSOHWlAurxul7f+JpUOVdAiJ5P" crossorigin="anonymous">
|
49
|
+
<style class="anchorjs"></style>
|
50
|
+
HEAD
|
51
|
+
end
|
52
|
+
|
53
|
+
def make_body(xml, docxml)
|
54
|
+
body_attr = { lang: "EN-US", link: "blue", vlink: "#954F72", "xml:lang": "EN-US", class: "container" }
|
55
|
+
xml.body **body_attr do |body|
|
56
|
+
make_body1(body, docxml)
|
57
|
+
make_body2(body, docxml)
|
58
|
+
make_body3(body, docxml)
|
59
|
+
end
|
60
|
+
end
|
61
|
+
|
62
|
+
end
|
63
|
+
end
|
64
|
+
end
|
65
|
+
|
@@ -0,0 +1,64 @@
|
|
1
|
+
require "isodoc"
|
2
|
+
require "isodoc/rsd/pdf_convert"
|
3
|
+
require_relative "metadata"
|
4
|
+
|
5
|
+
module IsoDoc
|
6
|
+
module Vsd
|
7
|
+
# A {Converter} implementation that generates PDF HTML output, and a
|
8
|
+
# document schema encapsulation of the document for validation
|
9
|
+
class PdfConvert < IsoDoc::Rsd::PdfConvert
|
10
|
+
def vsd_html_path(file)
|
11
|
+
File.join(File.dirname(__FILE__), File.join("html", file))
|
12
|
+
end
|
13
|
+
|
14
|
+
def initialize(options)
|
15
|
+
super
|
16
|
+
@htmlstylesheet = generate_css(vsd_html_path("htmlstyle.scss"), true, default_fonts(options))
|
17
|
+
@htmlcoverpage = vsd_html_path("html_vsd_titlepage.html")
|
18
|
+
@htmlintropage = vsd_html_path("html_vsd_intro.html")
|
19
|
+
@scripts = vsd_html_path("scripts.html")
|
20
|
+
system "cp #{vsd_html_path('logo.png')} logo.png"
|
21
|
+
@files_to_delete << "logo.png"
|
22
|
+
end
|
23
|
+
|
24
|
+
def default_fonts(options)
|
25
|
+
b = options[:bodyfont] ||
|
26
|
+
(options[:script] == "Hans" ? '"SimSun",serif' :
|
27
|
+
'"Overpass",sans-serif')
|
28
|
+
h = options[:headerfont] ||
|
29
|
+
(options[:script] == "Hans" ? '"SimHei",sans-serif' :
|
30
|
+
'"Overpass",sans-serif')
|
31
|
+
m = options[:monospacefont] || '"Space Mono",monospace'
|
32
|
+
"$bodyfont: #{b};\n$headerfont: #{h};\n$monospacefont: #{m};\n"
|
33
|
+
end
|
34
|
+
|
35
|
+
def html_head()
|
36
|
+
<<~HEAD.freeze
|
37
|
+
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
|
38
|
+
|
39
|
+
<!--TOC script import-->
|
40
|
+
<script type="text/javascript" src="https://cdn.rawgit.com/jgallen23/toc/0.3.2/dist/toc.min.js"></script>
|
41
|
+
|
42
|
+
<!--Google fonts-->
|
43
|
+
<link href="https://fonts.googleapis.com/css?family=Open+Sans:300,300i,400,400i,600,600i|Space+Mono:400,700" rel="stylesheet">
|
44
|
+
<link href="https://fonts.googleapis.com/css?family=Overpass:300,300i,600,900" rel="stylesheet">
|
45
|
+
<!--Font awesome import for the link icon-->
|
46
|
+
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.0.8/css/solid.css" integrity="sha384-v2Tw72dyUXeU3y4aM2Y0tBJQkGfplr39mxZqlTBDUZAb9BGoC40+rdFCG0m10lXk" crossorigin="anonymous">
|
47
|
+
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.0.8/css/fontawesome.css" integrity="sha384-q3jl8XQu1OpdLgGFvNRnPdj5VIlCvgsDQTQB6owSOHWlAurxul7f+JpUOVdAiJ5P" crossorigin="anonymous">
|
48
|
+
<style class="anchorjs"></style>
|
49
|
+
HEAD
|
50
|
+
end
|
51
|
+
|
52
|
+
def make_body(xml, docxml)
|
53
|
+
body_attr = { lang: "EN-US", link: "blue", vlink: "#954F72", "xml:lang": "EN-US", class: "container" }
|
54
|
+
xml.body **body_attr do |body|
|
55
|
+
make_body1(body, docxml)
|
56
|
+
make_body2(body, docxml)
|
57
|
+
make_body3(body, docxml)
|
58
|
+
end
|
59
|
+
end
|
60
|
+
|
61
|
+
end
|
62
|
+
end
|
63
|
+
end
|
64
|
+
|
@@ -0,0 +1,61 @@
|
|
1
|
+
require "isodoc"
|
2
|
+
require "isodoc/rsd/word_convert"
|
3
|
+
require_relative "metadata"
|
4
|
+
|
5
|
+
module IsoDoc
|
6
|
+
module Vsd
|
7
|
+
# A {Converter} implementation that generates Word output, and a document
|
8
|
+
# schema encapsulation of the document for validation
|
9
|
+
|
10
|
+
class WordConvert < IsoDoc::Rsd::WordConvert
|
11
|
+
def vsd_html_path(file)
|
12
|
+
File.join(File.dirname(__FILE__), File.join("html", file))
|
13
|
+
end
|
14
|
+
|
15
|
+
def initialize(options)
|
16
|
+
super
|
17
|
+
@wordstylesheet = generate_css(vsd_html_path("wordstyle.scss"), false, default_fonts(options))
|
18
|
+
@standardstylesheet = generate_css(vsd_html_path("vsd.scss"), false, default_fonts(options))
|
19
|
+
@header = vsd_html_path("header.html")
|
20
|
+
@wordcoverpage = vsd_html_path("word_vsd_titlepage.html")
|
21
|
+
@wordintropage = vsd_html_path("word_vsd_intro.html")
|
22
|
+
@ulstyle = "l3"
|
23
|
+
@olstyle = "l2"
|
24
|
+
system "cp #{vsd_html_path('logo.png')} logo.png"
|
25
|
+
@files_to_delete << "logo.png"
|
26
|
+
end
|
27
|
+
|
28
|
+
def default_fonts(options)
|
29
|
+
b = options[:bodyfont] ||
|
30
|
+
(options[:script] == "Hans" ? '"SimSun",serif' :
|
31
|
+
'"Arial",sans-serif')
|
32
|
+
h = options[:headerfont] ||
|
33
|
+
(options[:script] == "Hans" ? '"SimHei",sans-serif' :
|
34
|
+
'"Arial",sans-serif')
|
35
|
+
m = options[:monospacefont] || '"Courier New",monospace'
|
36
|
+
"$bodyfont: #{b};\n$headerfont: #{h};\n$monospacefont: #{m};\n"
|
37
|
+
end
|
38
|
+
|
39
|
+
def make_body(xml, docxml)
|
40
|
+
body_attr = { lang: "EN-US", link: "blue", vlink: "#954F72" }
|
41
|
+
xml.body **body_attr do |body|
|
42
|
+
make_body1(body, docxml)
|
43
|
+
make_body2(body, docxml)
|
44
|
+
make_body3(body, docxml)
|
45
|
+
end
|
46
|
+
end
|
47
|
+
|
48
|
+
def generate_header(filename, dir)
|
49
|
+
return unless @header
|
50
|
+
template = Liquid::Template.parse(File.read(@header, encoding: "UTF-8"))
|
51
|
+
meta = @meta.get
|
52
|
+
meta[:filename] = filename
|
53
|
+
params = meta.map { |k, v| [k.to_s, v] }.to_h
|
54
|
+
File.open("header.html", "w") { |f| f.write(template.render(params)) }
|
55
|
+
@files_to_delete << "header.html"
|
56
|
+
"header.html"
|
57
|
+
end
|
58
|
+
|
59
|
+
end
|
60
|
+
end
|
61
|
+
end
|
@@ -0,0 +1,51 @@
|
|
1
|
+
require "metanorma/rsd/processor"
|
2
|
+
|
3
|
+
module Metanorma
|
4
|
+
module Vsd
|
5
|
+
class Processor < Metanorma::Rsd::Processor
|
6
|
+
|
7
|
+
def initialize
|
8
|
+
@short = :vsd
|
9
|
+
@input_format = :asciidoc
|
10
|
+
@asciidoctor_backend = :vsd
|
11
|
+
end
|
12
|
+
|
13
|
+
def output_formats
|
14
|
+
super.merge(
|
15
|
+
html: "html",
|
16
|
+
doc: "doc",
|
17
|
+
pdf: "pdf"
|
18
|
+
)
|
19
|
+
end
|
20
|
+
|
21
|
+
def version
|
22
|
+
"Metanorma::Vsd #{Metanorma::Vsd::VERSION}"
|
23
|
+
end
|
24
|
+
|
25
|
+
def input_to_isodoc(file)
|
26
|
+
Metanorma::Input::Asciidoc.new.process(file, @asciidoctor_backend)
|
27
|
+
end
|
28
|
+
|
29
|
+
def output(isodoc_node, outname, format, options={})
|
30
|
+
case format
|
31
|
+
when :html
|
32
|
+
IsoDoc::Vsd::HtmlConvert.new(options).convert(outname, isodoc_node)
|
33
|
+
when :doc
|
34
|
+
IsoDoc::Vsd::WordConvert.new(options).convert(outname, isodoc_node)
|
35
|
+
when :pdf
|
36
|
+
IsoDoc::Vsd::PdfConvert.new(options).convert(outname, isodoc_node)
|
37
|
+
=begin
|
38
|
+
require 'tempfile'
|
39
|
+
outname_html = outname + ".html"
|
40
|
+
IsoDoc::Vsd::HtmlConvert.new(options).convert(outname_html, isodoc_node)
|
41
|
+
puts outname_html
|
42
|
+
system "cat #{outname_html}"
|
43
|
+
Metanorma::Output::Pdf.new.convert(outname_html, outname)
|
44
|
+
=end
|
45
|
+
else
|
46
|
+
super
|
47
|
+
end
|
48
|
+
end
|
49
|
+
end
|
50
|
+
end
|
51
|
+
end
|
@@ -0,0 +1,47 @@
|
|
1
|
+
lib = File.expand_path("../lib", __FILE__)
|
2
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
3
|
+
require "metanorma/vsd/version"
|
4
|
+
|
5
|
+
Gem::Specification.new do |spec|
|
6
|
+
spec.name = "metanorma-vsd"
|
7
|
+
spec.version = Metanorma::Vsd::VERSION
|
8
|
+
spec.authors = ["Ribose Inc."]
|
9
|
+
spec.email = ["open.source@ribose.com"]
|
10
|
+
|
11
|
+
spec.summary = "metanorma-vsd lets you write RSD in Metanorma."
|
12
|
+
spec.description = <<~DESCRIPTION
|
13
|
+
metanorma-vsd lets you write VSD in Metanorma syntax.
|
14
|
+
|
15
|
+
This gem is in active development.
|
16
|
+
DESCRIPTION
|
17
|
+
|
18
|
+
spec.homepage = "https://github.com/riboseinc/metanorma-vsd"
|
19
|
+
spec.license = "BSD-2-Clause"
|
20
|
+
|
21
|
+
spec.files = `git ls-files -z`.split("\x0").reject do |f|
|
22
|
+
f.match(%r{^(test|spec|features)/})
|
23
|
+
end
|
24
|
+
spec.bindir = "exe"
|
25
|
+
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
26
|
+
spec.require_paths = ["lib"]
|
27
|
+
|
28
|
+
spec.add_dependency "asciidoctor", "~> 1.5.7"
|
29
|
+
spec.add_dependency "htmlentities", "~> 4.3.4"
|
30
|
+
spec.add_dependency "nokogiri"
|
31
|
+
spec.add_dependency "asciidoctor-iso", "~> 0.9.6"
|
32
|
+
spec.add_dependency "asciidoctor-rsd", "~> 0.3.3"
|
33
|
+
spec.add_dependency "metanorma"
|
34
|
+
spec.add_dependency "isodoc", ">= 0.8.4"
|
35
|
+
|
36
|
+
spec.add_development_dependency "bundler", "~> 1.15"
|
37
|
+
spec.add_development_dependency "byebug", "~> 9.1"
|
38
|
+
spec.add_development_dependency "equivalent-xml", "~> 0.6"
|
39
|
+
spec.add_development_dependency "guard", "~> 2.14"
|
40
|
+
spec.add_development_dependency "guard-rspec", "~> 4.7"
|
41
|
+
spec.add_development_dependency "rake", "~> 12.0"
|
42
|
+
spec.add_development_dependency "rspec", "~> 3.6"
|
43
|
+
spec.add_development_dependency "rubocop", "~> 0.50"
|
44
|
+
spec.add_development_dependency "simplecov", "~> 0.15"
|
45
|
+
spec.add_development_dependency "timecop", "~> 0.9"
|
46
|
+
# spec.add_development_dependency "metanorma", "~> 0.2.6"
|
47
|
+
end
|
metadata
ADDED
@@ -0,0 +1,322 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: metanorma-vsd
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.3.3
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Ribose Inc.
|
8
|
+
autorequire:
|
9
|
+
bindir: exe
|
10
|
+
cert_chain: []
|
11
|
+
date: 2018-07-17 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: asciidoctor
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 1.5.7
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 1.5.7
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: htmlentities
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 4.3.4
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: 4.3.4
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: nokogiri
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: asciidoctor-iso
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: 0.9.6
|
62
|
+
type: :runtime
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: 0.9.6
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: asciidoctor-rsd
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - "~>"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: 0.3.3
|
76
|
+
type: :runtime
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - "~>"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: 0.3.3
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: metanorma
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - ">="
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0'
|
90
|
+
type: :runtime
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - ">="
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: isodoc
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - ">="
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: 0.8.4
|
104
|
+
type: :runtime
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - ">="
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: 0.8.4
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: bundler
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - "~>"
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '1.15'
|
118
|
+
type: :development
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - "~>"
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '1.15'
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: byebug
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - "~>"
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: '9.1'
|
132
|
+
type: :development
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - "~>"
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: '9.1'
|
139
|
+
- !ruby/object:Gem::Dependency
|
140
|
+
name: equivalent-xml
|
141
|
+
requirement: !ruby/object:Gem::Requirement
|
142
|
+
requirements:
|
143
|
+
- - "~>"
|
144
|
+
- !ruby/object:Gem::Version
|
145
|
+
version: '0.6'
|
146
|
+
type: :development
|
147
|
+
prerelease: false
|
148
|
+
version_requirements: !ruby/object:Gem::Requirement
|
149
|
+
requirements:
|
150
|
+
- - "~>"
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: '0.6'
|
153
|
+
- !ruby/object:Gem::Dependency
|
154
|
+
name: guard
|
155
|
+
requirement: !ruby/object:Gem::Requirement
|
156
|
+
requirements:
|
157
|
+
- - "~>"
|
158
|
+
- !ruby/object:Gem::Version
|
159
|
+
version: '2.14'
|
160
|
+
type: :development
|
161
|
+
prerelease: false
|
162
|
+
version_requirements: !ruby/object:Gem::Requirement
|
163
|
+
requirements:
|
164
|
+
- - "~>"
|
165
|
+
- !ruby/object:Gem::Version
|
166
|
+
version: '2.14'
|
167
|
+
- !ruby/object:Gem::Dependency
|
168
|
+
name: guard-rspec
|
169
|
+
requirement: !ruby/object:Gem::Requirement
|
170
|
+
requirements:
|
171
|
+
- - "~>"
|
172
|
+
- !ruby/object:Gem::Version
|
173
|
+
version: '4.7'
|
174
|
+
type: :development
|
175
|
+
prerelease: false
|
176
|
+
version_requirements: !ruby/object:Gem::Requirement
|
177
|
+
requirements:
|
178
|
+
- - "~>"
|
179
|
+
- !ruby/object:Gem::Version
|
180
|
+
version: '4.7'
|
181
|
+
- !ruby/object:Gem::Dependency
|
182
|
+
name: rake
|
183
|
+
requirement: !ruby/object:Gem::Requirement
|
184
|
+
requirements:
|
185
|
+
- - "~>"
|
186
|
+
- !ruby/object:Gem::Version
|
187
|
+
version: '12.0'
|
188
|
+
type: :development
|
189
|
+
prerelease: false
|
190
|
+
version_requirements: !ruby/object:Gem::Requirement
|
191
|
+
requirements:
|
192
|
+
- - "~>"
|
193
|
+
- !ruby/object:Gem::Version
|
194
|
+
version: '12.0'
|
195
|
+
- !ruby/object:Gem::Dependency
|
196
|
+
name: rspec
|
197
|
+
requirement: !ruby/object:Gem::Requirement
|
198
|
+
requirements:
|
199
|
+
- - "~>"
|
200
|
+
- !ruby/object:Gem::Version
|
201
|
+
version: '3.6'
|
202
|
+
type: :development
|
203
|
+
prerelease: false
|
204
|
+
version_requirements: !ruby/object:Gem::Requirement
|
205
|
+
requirements:
|
206
|
+
- - "~>"
|
207
|
+
- !ruby/object:Gem::Version
|
208
|
+
version: '3.6'
|
209
|
+
- !ruby/object:Gem::Dependency
|
210
|
+
name: rubocop
|
211
|
+
requirement: !ruby/object:Gem::Requirement
|
212
|
+
requirements:
|
213
|
+
- - "~>"
|
214
|
+
- !ruby/object:Gem::Version
|
215
|
+
version: '0.50'
|
216
|
+
type: :development
|
217
|
+
prerelease: false
|
218
|
+
version_requirements: !ruby/object:Gem::Requirement
|
219
|
+
requirements:
|
220
|
+
- - "~>"
|
221
|
+
- !ruby/object:Gem::Version
|
222
|
+
version: '0.50'
|
223
|
+
- !ruby/object:Gem::Dependency
|
224
|
+
name: simplecov
|
225
|
+
requirement: !ruby/object:Gem::Requirement
|
226
|
+
requirements:
|
227
|
+
- - "~>"
|
228
|
+
- !ruby/object:Gem::Version
|
229
|
+
version: '0.15'
|
230
|
+
type: :development
|
231
|
+
prerelease: false
|
232
|
+
version_requirements: !ruby/object:Gem::Requirement
|
233
|
+
requirements:
|
234
|
+
- - "~>"
|
235
|
+
- !ruby/object:Gem::Version
|
236
|
+
version: '0.15'
|
237
|
+
- !ruby/object:Gem::Dependency
|
238
|
+
name: timecop
|
239
|
+
requirement: !ruby/object:Gem::Requirement
|
240
|
+
requirements:
|
241
|
+
- - "~>"
|
242
|
+
- !ruby/object:Gem::Version
|
243
|
+
version: '0.9'
|
244
|
+
type: :development
|
245
|
+
prerelease: false
|
246
|
+
version_requirements: !ruby/object:Gem::Requirement
|
247
|
+
requirements:
|
248
|
+
- - "~>"
|
249
|
+
- !ruby/object:Gem::Version
|
250
|
+
version: '0.9'
|
251
|
+
description: |
|
252
|
+
metanorma-vsd lets you write VSD in Metanorma syntax.
|
253
|
+
|
254
|
+
This gem is in active development.
|
255
|
+
email:
|
256
|
+
- open.source@ribose.com
|
257
|
+
executables: []
|
258
|
+
extensions: []
|
259
|
+
extra_rdoc_files: []
|
260
|
+
files:
|
261
|
+
- ".gitignore"
|
262
|
+
- ".travis.yml"
|
263
|
+
- CODE_OF_CONDUCT.md
|
264
|
+
- Gemfile
|
265
|
+
- LICENSE
|
266
|
+
- README.adoc
|
267
|
+
- Rakefile
|
268
|
+
- bin/console
|
269
|
+
- bin/rspec
|
270
|
+
- bin/setup
|
271
|
+
- lib/asciidoctor/vsd.rb
|
272
|
+
- lib/asciidoctor/vsd/biblio.rng
|
273
|
+
- lib/asciidoctor/vsd/converter.rb
|
274
|
+
- lib/asciidoctor/vsd/isodoc.rng
|
275
|
+
- lib/asciidoctor/vsd/isostandard.rng
|
276
|
+
- lib/asciidoctor/vsd/pdf.js
|
277
|
+
- lib/asciidoctor/vsd/vsd.rng
|
278
|
+
- lib/isodoc/vsd.rb
|
279
|
+
- lib/isodoc/vsd/html/header.html
|
280
|
+
- lib/isodoc/vsd/html/html_vsd_intro.html
|
281
|
+
- lib/isodoc/vsd/html/html_vsd_titlepage.html
|
282
|
+
- lib/isodoc/vsd/html/htmlstyle.scss
|
283
|
+
- lib/isodoc/vsd/html/logo.png
|
284
|
+
- lib/isodoc/vsd/html/scripts.html
|
285
|
+
- lib/isodoc/vsd/html/vsd.scss
|
286
|
+
- lib/isodoc/vsd/html/word_vsd_intro.html
|
287
|
+
- lib/isodoc/vsd/html/word_vsd_titlepage.html
|
288
|
+
- lib/isodoc/vsd/html/wordstyle.scss
|
289
|
+
- lib/isodoc/vsd/html_convert.rb
|
290
|
+
- lib/isodoc/vsd/metadata.rb
|
291
|
+
- lib/isodoc/vsd/pdf_convert.rb
|
292
|
+
- lib/isodoc/vsd/word_convert.rb
|
293
|
+
- lib/metanorma-vsd.rb
|
294
|
+
- lib/metanorma/vsd.rb
|
295
|
+
- lib/metanorma/vsd/processor.rb
|
296
|
+
- lib/metanorma/vsd/version.rb
|
297
|
+
- metanorma-vsd.gemspec
|
298
|
+
homepage: https://github.com/riboseinc/metanorma-vsd
|
299
|
+
licenses:
|
300
|
+
- BSD-2-Clause
|
301
|
+
metadata: {}
|
302
|
+
post_install_message:
|
303
|
+
rdoc_options: []
|
304
|
+
require_paths:
|
305
|
+
- lib
|
306
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
307
|
+
requirements:
|
308
|
+
- - ">="
|
309
|
+
- !ruby/object:Gem::Version
|
310
|
+
version: '0'
|
311
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
312
|
+
requirements:
|
313
|
+
- - ">="
|
314
|
+
- !ruby/object:Gem::Version
|
315
|
+
version: '0'
|
316
|
+
requirements: []
|
317
|
+
rubyforge_project:
|
318
|
+
rubygems_version: 2.7.7
|
319
|
+
signing_key:
|
320
|
+
specification_version: 4
|
321
|
+
summary: metanorma-vsd lets you write RSD in Metanorma.
|
322
|
+
test_files: []
|