metanorma-m3aawg 1.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.github/workflows/macos.yml +39 -0
- data/.github/workflows/ubuntu.yml +53 -0
- data/.github/workflows/windows.yml +41 -0
- data/.gitignore +1 -0
- data/.hound.yml +3 -0
- data/.rubocop.yml +10 -0
- data/CODE_OF_CONDUCT.md +74 -0
- data/Gemfile +11 -0
- data/LICENSE +25 -0
- data/README.adoc +67 -0
- data/Rakefile +6 -0
- data/bin/console +14 -0
- data/bin/rspec +18 -0
- data/bin/setup +8 -0
- data/lib/asciidoctor/m3aawg.rb +5 -0
- data/lib/asciidoctor/m3aawg/basicdoc.rng +1059 -0
- data/lib/asciidoctor/m3aawg/biblio.rng +1237 -0
- data/lib/asciidoctor/m3aawg/boilerplate.xml +44 -0
- data/lib/asciidoctor/m3aawg/converter.rb +142 -0
- data/lib/asciidoctor/m3aawg/isodoc.rng +1504 -0
- data/lib/asciidoctor/m3aawg/m3d.rng +109 -0
- data/lib/asciidoctor/m3aawg/reqt.rng +194 -0
- data/lib/asciidoctor/m3aawg/validate.rb +22 -0
- data/lib/isodoc/m3aawg/base_convert.rb +54 -0
- data/lib/isodoc/m3aawg/html/dots-w@2x.png +0 -0
- data/lib/isodoc/m3aawg/html/dots@2x.png +0 -0
- data/lib/isodoc/m3aawg/html/header.html +328 -0
- data/lib/isodoc/m3aawg/html/html_m3d_intro.html +14 -0
- data/lib/isodoc/m3aawg/html/html_m3d_titlepage.html +81 -0
- data/lib/isodoc/m3aawg/html/htmlstyle.scss +733 -0
- data/lib/isodoc/m3aawg/html/logo.jpg +0 -0
- data/lib/isodoc/m3aawg/html/m3-logo.png +0 -0
- data/lib/isodoc/m3aawg/html/m3d.scss +743 -0
- data/lib/isodoc/m3aawg/html/scripts.html +71 -0
- data/lib/isodoc/m3aawg/html/word_m3d_intro.html +10 -0
- data/lib/isodoc/m3aawg/html/word_m3d_titlepage.html +41 -0
- data/lib/isodoc/m3aawg/html/wordstyle.scss +1175 -0
- data/lib/isodoc/m3aawg/html_convert.rb +63 -0
- data/lib/isodoc/m3aawg/m3d.report.xsl +3299 -0
- data/lib/isodoc/m3aawg/metadata.rb +53 -0
- data/lib/isodoc/m3aawg/pdf_convert.rb +22 -0
- data/lib/isodoc/m3aawg/presentation_xml_convert.rb +10 -0
- data/lib/isodoc/m3aawg/word_convert.rb +61 -0
- data/lib/metanorma-m3aawg.rb +12 -0
- data/lib/metanorma/m3aawg.rb +7 -0
- data/lib/metanorma/m3aawg/processor.rb +54 -0
- data/lib/metanorma/m3aawg/version.rb +5 -0
- data/metanorma-m3d.gemspec +51 -0
- metadata +334 -0
@@ -0,0 +1,53 @@
|
|
1
|
+
require "isodoc"
|
2
|
+
|
3
|
+
module IsoDoc
|
4
|
+
module M3AAWG
|
5
|
+
# A {Converter} implementation that generates CSAND output, and a document
|
6
|
+
# schema encapsulation of the document for validation
|
7
|
+
class Metadata < IsoDoc::Metadata
|
8
|
+
def initialize(lang, script, labels)
|
9
|
+
super
|
10
|
+
here = File.dirname(__FILE__)
|
11
|
+
set(:logo_html,
|
12
|
+
File.expand_path(File.join(here, "html", "m3-logo.png")))
|
13
|
+
set(:logo_word,
|
14
|
+
File.expand_path(File.join(here, "html", "logo.jpg")))
|
15
|
+
end
|
16
|
+
|
17
|
+
def title(isoxml, _out)
|
18
|
+
main = isoxml&.at(ns("//bibdata/title[@language='en']"))&.text
|
19
|
+
set(:doctitle, main)
|
20
|
+
end
|
21
|
+
|
22
|
+
def subtitle(_isoxml, _out)
|
23
|
+
nil
|
24
|
+
end
|
25
|
+
|
26
|
+
def author(isoxml, _out)
|
27
|
+
set(:tc, nil)
|
28
|
+
tc = isoxml.at(ns("//bibdata/ext/editorialgroup/committee"))
|
29
|
+
set(:tc, tc.text) if tc
|
30
|
+
super
|
31
|
+
end
|
32
|
+
|
33
|
+
def docid(isoxml, _out)
|
34
|
+
docnumber = isoxml.at(ns("//bibdata/docidentifier"))
|
35
|
+
set(:docnumber, docnumber&.text)
|
36
|
+
end
|
37
|
+
|
38
|
+
def stage_abbr(status)
|
39
|
+
case status
|
40
|
+
when "working-draft" then "wd"
|
41
|
+
when "committee-draft" then "cd"
|
42
|
+
when "draft-standard" then "d"
|
43
|
+
else
|
44
|
+
""
|
45
|
+
end
|
46
|
+
end
|
47
|
+
|
48
|
+
def unpublished(status)
|
49
|
+
!%w(published withdrawn).include? status.downcase
|
50
|
+
end
|
51
|
+
end
|
52
|
+
end
|
53
|
+
end
|
@@ -0,0 +1,22 @@
|
|
1
|
+
require_relative "base_convert"
|
2
|
+
require "isodoc"
|
3
|
+
|
4
|
+
module IsoDoc
|
5
|
+
module M3AAWG
|
6
|
+
|
7
|
+
# A {Converter} implementation that generates HTML output, and a document
|
8
|
+
# schema encapsulation of the document for validation
|
9
|
+
#
|
10
|
+
class PdfConvert < IsoDoc::XslfoPdfConvert
|
11
|
+
def initialize(options)
|
12
|
+
@libdir = File.dirname(__FILE__)
|
13
|
+
super
|
14
|
+
end
|
15
|
+
|
16
|
+
def pdf_stylesheet(docxml)
|
17
|
+
"m3d.report.xsl"
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
22
|
+
|
@@ -0,0 +1,61 @@
|
|
1
|
+
require "isodoc"
|
2
|
+
require_relative "base_convert"
|
3
|
+
|
4
|
+
module IsoDoc
|
5
|
+
module M3AAWG
|
6
|
+
# A {Converter} implementation that generates GB output, and a document
|
7
|
+
# schema encapsulation of the document for validation
|
8
|
+
|
9
|
+
class WordConvert < IsoDoc::WordConvert
|
10
|
+
def initialize(options)
|
11
|
+
@libdir = File.dirname(__FILE__)
|
12
|
+
super
|
13
|
+
end
|
14
|
+
|
15
|
+
def default_fonts(options)
|
16
|
+
{
|
17
|
+
bodyfont: (options[:script] == "Hans" ? '"SimSun",serif' : '"Garamond",serif'),
|
18
|
+
headerfont: (options[:script] == "Hans" ? '"SimHei",sans-serif' : '"Garamond",serif'),
|
19
|
+
monospacefont: '"Courier New",monospace'
|
20
|
+
}
|
21
|
+
end
|
22
|
+
|
23
|
+
def default_file_locations(_options)
|
24
|
+
{
|
25
|
+
htmlstylesheet: html_doc_path("htmlstyle.scss"),
|
26
|
+
htmlcoverpage: html_doc_path("html_m3d_titlepage.html"),
|
27
|
+
htmlintropage: html_doc_path("html_m3d_intro.html"),
|
28
|
+
scripts: html_doc_path("scripts.html"),
|
29
|
+
wordstylesheet: html_doc_path("wordstyle.scss"),
|
30
|
+
standardstylesheet: html_doc_path("m3d.scss"),
|
31
|
+
header: html_doc_path("header.html"),
|
32
|
+
wordintropage: html_doc_path("word_m3d_intro.html"),
|
33
|
+
ulstyle: "l3",
|
34
|
+
olstyle: "l2",
|
35
|
+
}
|
36
|
+
end
|
37
|
+
|
38
|
+
def colophon(body, docxml)
|
39
|
+
section_break(body)
|
40
|
+
body.div **{ class: "colophon" } do |div|
|
41
|
+
end
|
42
|
+
end
|
43
|
+
|
44
|
+
def make_body(xml, docxml)
|
45
|
+
body_attr = { lang: "EN-US", link: "blue", vlink: "#954F72" }
|
46
|
+
xml.body **body_attr do |body|
|
47
|
+
make_body2(body, docxml)
|
48
|
+
make_body3(body, docxml)
|
49
|
+
colophon(body, docxml)
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
53
|
+
def title(isoxml, _out)
|
54
|
+
main = isoxml&.at(ns("//title[@language='en']"))&.text
|
55
|
+
set_metadata(:doctitle, main)
|
56
|
+
end
|
57
|
+
|
58
|
+
include BaseRender
|
59
|
+
end
|
60
|
+
end
|
61
|
+
end
|
@@ -0,0 +1,12 @@
|
|
1
|
+
require "asciidoctor" unless defined? Asciidoctor::Converter
|
2
|
+
require_relative "asciidoctor/m3aawg/converter"
|
3
|
+
require_relative "isodoc/m3aawg/html_convert"
|
4
|
+
require_relative "isodoc/m3aawg/word_convert"
|
5
|
+
require_relative "isodoc/m3aawg/pdf_convert"
|
6
|
+
require_relative "isodoc/m3aawg/presentation_xml_convert"
|
7
|
+
require_relative "metanorma/m3aawg/version"
|
8
|
+
|
9
|
+
if defined? Metanorma
|
10
|
+
require_relative "metanorma/m3aawg"
|
11
|
+
Metanorma::Registry.instance.register(Metanorma::M3AAWG::Processor)
|
12
|
+
end
|
@@ -0,0 +1,54 @@
|
|
1
|
+
require "metanorma/processor"
|
2
|
+
|
3
|
+
module Metanorma
|
4
|
+
module M3AAWG
|
5
|
+
def self.fonts_used
|
6
|
+
{
|
7
|
+
html: ["Overpass", "Space Mono"],
|
8
|
+
doc: ["Garamond", "Courier New"],
|
9
|
+
pdf: ["Garamond", "Courier New"]
|
10
|
+
}
|
11
|
+
end
|
12
|
+
|
13
|
+
class Processor < Metanorma::Processor
|
14
|
+
|
15
|
+
def initialize
|
16
|
+
@short = [:m3d, :m3aawg]
|
17
|
+
@input_format = :asciidoc
|
18
|
+
@asciidoctor_backend = :m3aawg
|
19
|
+
end
|
20
|
+
|
21
|
+
def output_formats
|
22
|
+
super.merge(
|
23
|
+
html: "html",
|
24
|
+
doc: "doc",
|
25
|
+
pdf: "pdf"
|
26
|
+
)
|
27
|
+
end
|
28
|
+
|
29
|
+
def version
|
30
|
+
"Metanorma::M3AAWG #{Metanorma::M3AAWG::VERSION}"
|
31
|
+
end
|
32
|
+
|
33
|
+
def input_to_isodoc(file, filename)
|
34
|
+
Metanorma::Input::Asciidoc.new.process(file, filename, @asciidoctor_backend)
|
35
|
+
end
|
36
|
+
|
37
|
+
def output(isodoc_node, inname, outname, format, options={})
|
38
|
+
case format
|
39
|
+
when :html
|
40
|
+
IsoDoc::M3AAWG::HtmlConvert.new(options).convert(inname, isodoc_node, nil, outname)
|
41
|
+
when :doc
|
42
|
+
IsoDoc::M3AAWG::WordConvert.new(options).convert(inname, isodoc_node, nil, outname)
|
43
|
+
when :pdf
|
44
|
+
IsoDoc::M3AAWG::WordConvert.new(options).convert(inname, isodoc_node, nil, outname)
|
45
|
+
when :presentation
|
46
|
+
IsoDoc::M3AAWG::PresentationXMLConvert.new(options).convert(inname, isodoc_node, nil, outname)
|
47
|
+
else
|
48
|
+
super
|
49
|
+
end
|
50
|
+
end
|
51
|
+
|
52
|
+
end
|
53
|
+
end
|
54
|
+
end
|
@@ -0,0 +1,51 @@
|
|
1
|
+
lib = File.expand_path("../lib", __FILE__)
|
2
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
3
|
+
require "metanorma/m3aawg/version"
|
4
|
+
|
5
|
+
Gem::Specification.new do |spec|
|
6
|
+
spec.name = "metanorma-m3aawg"
|
7
|
+
spec.version = Metanorma::M3AAWG::VERSION
|
8
|
+
spec.authors = ["Ribose Inc."]
|
9
|
+
spec.email = ["open.source@ribose.com"]
|
10
|
+
|
11
|
+
spec.summary = "metanorma-m3d lets you write M3AAWG Documents in AsciiDoc."
|
12
|
+
spec.description = <<~DESCRIPTION
|
13
|
+
metanorma-m3d lets you write M3AAWG Documents in AsciiDoc syntax.
|
14
|
+
|
15
|
+
This gem is in active development.
|
16
|
+
|
17
|
+
Formerly known as asciidoctor-m3d, metanorma-m3d.
|
18
|
+
DESCRIPTION
|
19
|
+
|
20
|
+
spec.homepage = "https://github.com/metanorma/metanorma-m3aawg"
|
21
|
+
spec.license = "BSD-2-Clause"
|
22
|
+
|
23
|
+
spec.files = `git ls-files -z`.split("\x0").reject do |f|
|
24
|
+
f.match(%r{^(test|spec|features)/})
|
25
|
+
end
|
26
|
+
spec.bindir = "exe"
|
27
|
+
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
28
|
+
spec.require_paths = ["lib"]
|
29
|
+
spec.required_ruby_version = Gem::Requirement.new(">= 2.4.0")
|
30
|
+
|
31
|
+
spec.add_dependency "htmlentities", "~> 4.3.4"
|
32
|
+
spec.add_dependency "image_size"
|
33
|
+
spec.add_dependency "mime-types"
|
34
|
+
#spec.add_dependency "nokogiri"
|
35
|
+
spec.add_dependency "ruby-jing"
|
36
|
+
spec.add_dependency "thread_safe"
|
37
|
+
spec.add_dependency "uuidtools"
|
38
|
+
|
39
|
+
spec.add_dependency "metanorma-standoc", "~> 1.4.0"
|
40
|
+
spec.add_dependency "isodoc", "~> 1.1.0"
|
41
|
+
|
42
|
+
spec.add_development_dependency "byebug", "~> 9.1"
|
43
|
+
spec.add_development_dependency "equivalent-xml", "~> 0.6"
|
44
|
+
spec.add_development_dependency "guard", "~> 2.14"
|
45
|
+
spec.add_development_dependency "guard-rspec", "~> 4.7"
|
46
|
+
spec.add_development_dependency "rake", "~> 12.0"
|
47
|
+
spec.add_development_dependency "rspec", "~> 3.6"
|
48
|
+
spec.add_development_dependency "rubocop", "= 0.54.0"
|
49
|
+
spec.add_development_dependency "simplecov", "~> 0.15"
|
50
|
+
spec.add_development_dependency "timecop", "~> 0.9"
|
51
|
+
end
|
metadata
ADDED
@@ -0,0 +1,334 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: metanorma-m3aawg
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.4.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Ribose Inc.
|
8
|
+
autorequire:
|
9
|
+
bindir: exe
|
10
|
+
cert_chain: []
|
11
|
+
date: 2020-06-26 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: htmlentities
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 4.3.4
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 4.3.4
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: image_size
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: mime-types
|
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: ruby-jing
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
type: :runtime
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: thread_safe
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ">="
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
76
|
+
type: :runtime
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ">="
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: uuidtools
|
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: metanorma-standoc
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - "~>"
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: 1.4.0
|
104
|
+
type: :runtime
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - "~>"
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: 1.4.0
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: isodoc
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - "~>"
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: 1.1.0
|
118
|
+
type: :runtime
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - "~>"
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: 1.1.0
|
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.54.0
|
216
|
+
type: :development
|
217
|
+
prerelease: false
|
218
|
+
version_requirements: !ruby/object:Gem::Requirement
|
219
|
+
requirements:
|
220
|
+
- - '='
|
221
|
+
- !ruby/object:Gem::Version
|
222
|
+
version: 0.54.0
|
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-m3d lets you write M3AAWG Documents in AsciiDoc syntax.
|
253
|
+
|
254
|
+
This gem is in active development.
|
255
|
+
|
256
|
+
Formerly known as asciidoctor-m3d, metanorma-m3d.
|
257
|
+
email:
|
258
|
+
- open.source@ribose.com
|
259
|
+
executables: []
|
260
|
+
extensions: []
|
261
|
+
extra_rdoc_files: []
|
262
|
+
files:
|
263
|
+
- ".github/workflows/macos.yml"
|
264
|
+
- ".github/workflows/ubuntu.yml"
|
265
|
+
- ".github/workflows/windows.yml"
|
266
|
+
- ".gitignore"
|
267
|
+
- ".hound.yml"
|
268
|
+
- ".rubocop.yml"
|
269
|
+
- CODE_OF_CONDUCT.md
|
270
|
+
- Gemfile
|
271
|
+
- LICENSE
|
272
|
+
- README.adoc
|
273
|
+
- Rakefile
|
274
|
+
- bin/console
|
275
|
+
- bin/rspec
|
276
|
+
- bin/setup
|
277
|
+
- lib/asciidoctor/m3aawg.rb
|
278
|
+
- lib/asciidoctor/m3aawg/basicdoc.rng
|
279
|
+
- lib/asciidoctor/m3aawg/biblio.rng
|
280
|
+
- lib/asciidoctor/m3aawg/boilerplate.xml
|
281
|
+
- lib/asciidoctor/m3aawg/converter.rb
|
282
|
+
- lib/asciidoctor/m3aawg/isodoc.rng
|
283
|
+
- lib/asciidoctor/m3aawg/m3d.rng
|
284
|
+
- lib/asciidoctor/m3aawg/reqt.rng
|
285
|
+
- lib/asciidoctor/m3aawg/validate.rb
|
286
|
+
- lib/isodoc/m3aawg/base_convert.rb
|
287
|
+
- lib/isodoc/m3aawg/html/dots-w@2x.png
|
288
|
+
- lib/isodoc/m3aawg/html/dots@2x.png
|
289
|
+
- lib/isodoc/m3aawg/html/header.html
|
290
|
+
- lib/isodoc/m3aawg/html/html_m3d_intro.html
|
291
|
+
- lib/isodoc/m3aawg/html/html_m3d_titlepage.html
|
292
|
+
- lib/isodoc/m3aawg/html/htmlstyle.scss
|
293
|
+
- lib/isodoc/m3aawg/html/logo.jpg
|
294
|
+
- lib/isodoc/m3aawg/html/m3-logo.png
|
295
|
+
- lib/isodoc/m3aawg/html/m3d.scss
|
296
|
+
- lib/isodoc/m3aawg/html/scripts.html
|
297
|
+
- lib/isodoc/m3aawg/html/word_m3d_intro.html
|
298
|
+
- lib/isodoc/m3aawg/html/word_m3d_titlepage.html
|
299
|
+
- lib/isodoc/m3aawg/html/wordstyle.scss
|
300
|
+
- lib/isodoc/m3aawg/html_convert.rb
|
301
|
+
- lib/isodoc/m3aawg/m3d.report.xsl
|
302
|
+
- lib/isodoc/m3aawg/metadata.rb
|
303
|
+
- lib/isodoc/m3aawg/pdf_convert.rb
|
304
|
+
- lib/isodoc/m3aawg/presentation_xml_convert.rb
|
305
|
+
- lib/isodoc/m3aawg/word_convert.rb
|
306
|
+
- lib/metanorma-m3aawg.rb
|
307
|
+
- lib/metanorma/m3aawg.rb
|
308
|
+
- lib/metanorma/m3aawg/processor.rb
|
309
|
+
- lib/metanorma/m3aawg/version.rb
|
310
|
+
- metanorma-m3d.gemspec
|
311
|
+
homepage: https://github.com/metanorma/metanorma-m3aawg
|
312
|
+
licenses:
|
313
|
+
- BSD-2-Clause
|
314
|
+
metadata: {}
|
315
|
+
post_install_message:
|
316
|
+
rdoc_options: []
|
317
|
+
require_paths:
|
318
|
+
- lib
|
319
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
320
|
+
requirements:
|
321
|
+
- - ">="
|
322
|
+
- !ruby/object:Gem::Version
|
323
|
+
version: 2.4.0
|
324
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
325
|
+
requirements:
|
326
|
+
- - ">="
|
327
|
+
- !ruby/object:Gem::Version
|
328
|
+
version: '0'
|
329
|
+
requirements: []
|
330
|
+
rubygems_version: 3.0.3
|
331
|
+
signing_key:
|
332
|
+
specification_version: 4
|
333
|
+
summary: metanorma-m3d lets you write M3AAWG Documents in AsciiDoc.
|
334
|
+
test_files: []
|