metanorma-cc 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 +61 -0
- data/Rakefile +6 -0
- data/bin/console +14 -0
- data/bin/rspec +18 -0
- data/bin/setup +8 -0
- data/docs/navigation.adoc +8 -0
- data/docs/quickstart.adoc +368 -0
- data/lib/asciidoctor/cc.rb +5 -0
- data/lib/asciidoctor/cc/basicdoc.rng +1059 -0
- data/lib/asciidoctor/cc/biblio.rng +1237 -0
- data/lib/asciidoctor/cc/boilerplate.xml +46 -0
- data/lib/asciidoctor/cc/cc.rng +116 -0
- data/lib/asciidoctor/cc/converter.rb +69 -0
- data/lib/asciidoctor/cc/front.rb +93 -0
- data/lib/asciidoctor/cc/isodoc.rng +1504 -0
- data/lib/asciidoctor/cc/reqt.rng +194 -0
- data/lib/asciidoctor/cc/validate.rb +29 -0
- data/lib/asciidoctor/cc/validate_section.rb +138 -0
- data/lib/isodoc/cc/base_convert.rb +42 -0
- data/lib/isodoc/cc/csd.standard.xsl +3228 -0
- data/lib/isodoc/cc/html/_coverpage.scss +128 -0
- data/lib/isodoc/cc/html/cc.scss +763 -0
- data/lib/isodoc/cc/html/dots-w@2x.png +0 -0
- data/lib/isodoc/cc/html/dots@2x.png +0 -0
- data/lib/isodoc/cc/html/header.html +240 -0
- data/lib/isodoc/cc/html/html_cc_intro.html +8 -0
- data/lib/isodoc/cc/html/html_cc_titlepage.html +93 -0
- data/lib/isodoc/cc/html/htmlstyle.scss +409 -0
- data/lib/isodoc/cc/html/scripts.html +71 -0
- data/lib/isodoc/cc/html/word_cc_intro.html +19 -0
- data/lib/isodoc/cc/html/word_cc_titlepage.html +64 -0
- data/lib/isodoc/cc/html/wordstyle.scss +1157 -0
- data/lib/isodoc/cc/html_convert.rb +51 -0
- data/lib/isodoc/cc/metadata.rb +62 -0
- data/lib/isodoc/cc/pdf_convert.rb +21 -0
- data/lib/isodoc/cc/presentation_xml_convert.rb +10 -0
- data/lib/isodoc/cc/word_convert.rb +38 -0
- data/lib/metanorma-cc.rb +11 -0
- data/lib/metanorma/cc.rb +29 -0
- data/lib/metanorma/cc/processor.rb +53 -0
- data/lib/metanorma/cc/version.rb +5 -0
- data/metanorma-cc.gemspec +43 -0
- metadata +253 -0
@@ -0,0 +1,51 @@
|
|
1
|
+
require_relative "base_convert"
|
2
|
+
require "isodoc"
|
3
|
+
|
4
|
+
module IsoDoc
|
5
|
+
module CC
|
6
|
+
# A {Converter} implementation that generates CC output, and a document
|
7
|
+
# schema encapsulation of the document for validation
|
8
|
+
class HtmlConvert < IsoDoc::HtmlConvert
|
9
|
+
def initialize(options)
|
10
|
+
@libdir = File.dirname(__FILE__)
|
11
|
+
super
|
12
|
+
end
|
13
|
+
|
14
|
+
def default_fonts(options)
|
15
|
+
{
|
16
|
+
bodyfont: (options[:script] == "Hans" ? '"SimSun",serif' : '"Source Sans Pro",sans-serif'),
|
17
|
+
headerfont: (options[:script] == "Hans" ? '"SimHei",sans-serif' : '"Source Sans Pro",sans-serif'),
|
18
|
+
monospacefont: '"Source Code Pro",monospace'
|
19
|
+
}
|
20
|
+
end
|
21
|
+
|
22
|
+
def default_file_locations(options)
|
23
|
+
{
|
24
|
+
htmlstylesheet: html_doc_path("htmlstyle.scss"),
|
25
|
+
htmlcoverpage: html_doc_path("html_cc_titlepage.html"),
|
26
|
+
htmlintropage: html_doc_path("html_cc_intro.html"),
|
27
|
+
scripts: html_doc_path("scripts.html"),
|
28
|
+
}
|
29
|
+
end
|
30
|
+
|
31
|
+
def googlefonts()
|
32
|
+
<<~HEAD.freeze
|
33
|
+
<link href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,400i,700&display=swap" rel="stylesheet">
|
34
|
+
<link href="https://fonts.googleapis.com/css2?family=Source+Code+Pro:ital,wght@0,400;0,700;1,400;1,700&display=swap" rel="stylesheet">
|
35
|
+
HEAD
|
36
|
+
end
|
37
|
+
|
38
|
+
def make_body(xml, docxml)
|
39
|
+
body_attr = { lang: "EN-US", link: "blue", vlink: "#954F72", "xml:lang": "EN-US", class: "container" }
|
40
|
+
xml.body **body_attr do |body|
|
41
|
+
make_body1(body, docxml)
|
42
|
+
make_body2(body, docxml)
|
43
|
+
make_body3(body, docxml)
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
include BaseConvert
|
48
|
+
end
|
49
|
+
end
|
50
|
+
end
|
51
|
+
|
@@ -0,0 +1,62 @@
|
|
1
|
+
require "isodoc"
|
2
|
+
require "metanorma/cc"
|
3
|
+
|
4
|
+
module IsoDoc
|
5
|
+
module CC
|
6
|
+
# A {Converter} implementation that generates CC output, and a document
|
7
|
+
# schema encapsulation of the document for validation
|
8
|
+
class Metadata < IsoDoc::Metadata
|
9
|
+
|
10
|
+
def initialize(lang, script, labels)
|
11
|
+
super
|
12
|
+
set(:tc, "XXXX")
|
13
|
+
end
|
14
|
+
|
15
|
+
def title(isoxml, _out)
|
16
|
+
main = isoxml&.at(ns("//bibdata/title[@language='en']"))&.text
|
17
|
+
set(:doctitle, main)
|
18
|
+
end
|
19
|
+
|
20
|
+
def subtitle(_isoxml, _out)
|
21
|
+
nil
|
22
|
+
end
|
23
|
+
|
24
|
+
def author(isoxml, _out)
|
25
|
+
tc = isoxml.at(ns("//bibdata/ext/editorialgroup/technical-committee"))
|
26
|
+
set(:tc, tc.text) if tc
|
27
|
+
super
|
28
|
+
end
|
29
|
+
|
30
|
+
def personal_authors(isoxml)
|
31
|
+
persons = {}
|
32
|
+
roles = isoxml.xpath(ns("//bibdata/contributor/role/@type")).
|
33
|
+
inject([]) { |m, t| m << t.value }
|
34
|
+
roles.uniq.sort.each do |r|
|
35
|
+
names = isoxml.xpath(ns("//bibdata/contributor[role/@type = '#{r}']"\
|
36
|
+
"/person"))
|
37
|
+
persons[r] = extract_person_names_affiliations(names) unless names.empty?
|
38
|
+
end
|
39
|
+
set(:roles_authors_affiliations, persons)
|
40
|
+
super
|
41
|
+
end
|
42
|
+
|
43
|
+
def docid(isoxml, _out)
|
44
|
+
docnumber = isoxml.at(ns("//bibdata/docidentifier"))
|
45
|
+
prefix = "CC"
|
46
|
+
if docnumber.nil?
|
47
|
+
set(:docnumber, prefix)
|
48
|
+
else
|
49
|
+
set(:docnumber, docnumber.text)
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
53
|
+
def stage_abbr(status)
|
54
|
+
::Metanorma::CC::DOCSTATUS[status] || ""
|
55
|
+
end
|
56
|
+
|
57
|
+
def unpublished(status)
|
58
|
+
!%w(published withdrawn).include? status.downcase
|
59
|
+
end
|
60
|
+
end
|
61
|
+
end
|
62
|
+
end
|
@@ -0,0 +1,21 @@
|
|
1
|
+
require_relative "base_convert"
|
2
|
+
require "isodoc"
|
3
|
+
|
4
|
+
module IsoDoc
|
5
|
+
module CC
|
6
|
+
# A {Converter} implementation that generates CSD output, and a document
|
7
|
+
# schema encapsulation of the document for validation
|
8
|
+
class PdfConvert < IsoDoc::XslfoPdfConvert
|
9
|
+
def initialize(options)
|
10
|
+
@libdir = File.dirname(__FILE__)
|
11
|
+
super
|
12
|
+
end
|
13
|
+
|
14
|
+
def pdf_stylesheet(docxml)
|
15
|
+
"csd.standard.xsl"
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
20
|
+
|
21
|
+
|
@@ -0,0 +1,38 @@
|
|
1
|
+
require_relative "base_convert"
|
2
|
+
require "isodoc"
|
3
|
+
|
4
|
+
module IsoDoc
|
5
|
+
module CC
|
6
|
+
# A {Converter} implementation that generates CSD output, and a document
|
7
|
+
# schema encapsulation of the document for validation
|
8
|
+
class WordConvert < IsoDoc::WordConvert
|
9
|
+
def initialize(options)
|
10
|
+
@libdir = File.dirname(__FILE__)
|
11
|
+
super
|
12
|
+
end
|
13
|
+
|
14
|
+
def default_fonts(options)
|
15
|
+
{
|
16
|
+
bodyfont: (options[:script] == "Hans" ? '"SimSun",serif' : '"Source Sans Pro","Arial",sans-serif'),
|
17
|
+
headerfont: (options[:script] == "Hans" ? '"SimHei",sans-serif' : '"Source Sans Pro","Arial",sans-serif'),
|
18
|
+
monospacefont: '"Source Code Pro","Courier New",monospace'
|
19
|
+
}
|
20
|
+
end
|
21
|
+
|
22
|
+
def default_file_locations(options)
|
23
|
+
{
|
24
|
+
wordstylesheet: html_doc_path("wordstyle.scss"),
|
25
|
+
standardstylesheet: html_doc_path("cc.scss"),
|
26
|
+
header: html_doc_path("header.html"),
|
27
|
+
wordcoverpage: html_doc_path("word_cc_titlepage.html"),
|
28
|
+
wordintropage: html_doc_path("word_cc_intro.html"),
|
29
|
+
ulstyle: "l3",
|
30
|
+
olstyle: "l2",
|
31
|
+
}
|
32
|
+
end
|
33
|
+
|
34
|
+
include BaseConvert
|
35
|
+
end
|
36
|
+
end
|
37
|
+
end
|
38
|
+
|
data/lib/metanorma-cc.rb
ADDED
@@ -0,0 +1,11 @@
|
|
1
|
+
require "asciidoctor" unless defined? Asciidoctor::Converter
|
2
|
+
require_relative "asciidoctor/cc/converter"
|
3
|
+
require_relative "isodoc/cc/html_convert"
|
4
|
+
require_relative "isodoc/cc/word_convert"
|
5
|
+
require_relative "isodoc/cc/pdf_convert"
|
6
|
+
require_relative "metanorma/cc/version"
|
7
|
+
|
8
|
+
if defined? Metanorma
|
9
|
+
require_relative "metanorma/cc"
|
10
|
+
Metanorma::Registry.instance.register(Metanorma::CC::Processor)
|
11
|
+
end
|
data/lib/metanorma/cc.rb
ADDED
@@ -0,0 +1,29 @@
|
|
1
|
+
require_relative "./cc/processor"
|
2
|
+
|
3
|
+
module Metanorma
|
4
|
+
module CC
|
5
|
+
|
6
|
+
DOCSUFFIX = {
|
7
|
+
"standard" => "",
|
8
|
+
"directive" => "DIR",
|
9
|
+
"guide" => "Guide",
|
10
|
+
"specification" => "S",
|
11
|
+
"report" => "R",
|
12
|
+
"amendment" => "Amd",
|
13
|
+
"technical-corrigendum" => "Cor",
|
14
|
+
"administrative" => "A",
|
15
|
+
"advisory" => "Adv",
|
16
|
+
}
|
17
|
+
|
18
|
+
DOCSTATUS = {
|
19
|
+
"working-draft" => "WD",
|
20
|
+
"committee-draft" => "CD",
|
21
|
+
"draft-standard" => "DS",
|
22
|
+
"final-draft" => "FDS",
|
23
|
+
"published" => "",
|
24
|
+
"cancelled" => "",
|
25
|
+
"withdrawn" => "",
|
26
|
+
}
|
27
|
+
|
28
|
+
end
|
29
|
+
end
|
@@ -0,0 +1,53 @@
|
|
1
|
+
require "metanorma/processor"
|
2
|
+
|
3
|
+
module Metanorma
|
4
|
+
module CC
|
5
|
+
def self.fonts_used
|
6
|
+
{
|
7
|
+
html: %w(SourceSansPro SourceSerifPro SourceCodePro HanSans),
|
8
|
+
doc: %w(SourceSansPro SourceSerifPro SourceCodePro HanSans),
|
9
|
+
pdf: %w(SourceSansPro SourceSerifPro SourceCodePro HanSans)
|
10
|
+
}
|
11
|
+
end
|
12
|
+
|
13
|
+
class Processor < Metanorma::Processor
|
14
|
+
|
15
|
+
def initialize
|
16
|
+
@short = [:csd, :cc]
|
17
|
+
@input_format = :asciidoc
|
18
|
+
@asciidoctor_backend = :cc
|
19
|
+
end
|
20
|
+
|
21
|
+
def output_formats
|
22
|
+
super.merge(
|
23
|
+
html: "html",
|
24
|
+
pdf: "pdf",
|
25
|
+
doc: "doc"
|
26
|
+
)
|
27
|
+
end
|
28
|
+
|
29
|
+
def version
|
30
|
+
"Metanorma::CC #{Metanorma::CC::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::CC::HtmlConvert.new(options).convert(inname, isodoc_node, nil, outname)
|
41
|
+
when :doc
|
42
|
+
IsoDoc::CC::WordConvert.new(options).convert(inname, isodoc_node, nil, outname)
|
43
|
+
when :pdf
|
44
|
+
IsoDoc::CC::PdfConvert.new(options).convert(inname, isodoc_node, nil, outname)
|
45
|
+
when :pdf
|
46
|
+
IsoDoc::CC::PresentationXMLConvert.new(options).convert(inname, isodoc_node, nil, outname)
|
47
|
+
else
|
48
|
+
super
|
49
|
+
end
|
50
|
+
end
|
51
|
+
end
|
52
|
+
end
|
53
|
+
end
|
@@ -0,0 +1,43 @@
|
|
1
|
+
lib = File.expand_path("../lib", __FILE__)
|
2
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
3
|
+
require "metanorma/cc/version"
|
4
|
+
|
5
|
+
Gem::Specification.new do |spec|
|
6
|
+
spec.name = "metanorma-cc"
|
7
|
+
spec.version = Metanorma::CC::VERSION
|
8
|
+
spec.authors = ["Ribose Inc."]
|
9
|
+
spec.email = ["open.source@ribose.com"]
|
10
|
+
|
11
|
+
spec.summary = "metanorma-cc lets you write CalConnect standards in AsciiDoc."
|
12
|
+
spec.description = <<~DESCRIPTION
|
13
|
+
metanorma-cc lets you write CalConnect standards in AsciiDoc syntax.
|
14
|
+
|
15
|
+
This gem is in active development.
|
16
|
+
|
17
|
+
Formerly known as asciidoctor-csd, metanorma-csd.
|
18
|
+
DESCRIPTION
|
19
|
+
|
20
|
+
spec.homepage = "https://github.com/metanorma/metanorma-cc"
|
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 "metanorma-standoc", "~> 1.4.0"
|
32
|
+
spec.add_dependency "isodoc", "~> 1.1.0"
|
33
|
+
|
34
|
+
spec.add_development_dependency "byebug", "~> 9.1"
|
35
|
+
spec.add_development_dependency "equivalent-xml", "~> 0.6"
|
36
|
+
spec.add_development_dependency "guard", "~> 2.14"
|
37
|
+
spec.add_development_dependency "guard-rspec", "~> 4.7"
|
38
|
+
spec.add_development_dependency "rake", "~> 12.0"
|
39
|
+
spec.add_development_dependency "rspec", "~> 3.6"
|
40
|
+
spec.add_development_dependency "rubocop", "= 0.54.0"
|
41
|
+
spec.add_development_dependency "simplecov", "~> 0.15"
|
42
|
+
spec.add_development_dependency "timecop", "~> 0.9"
|
43
|
+
end
|
metadata
ADDED
@@ -0,0 +1,253 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: metanorma-cc
|
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: metanorma-standoc
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 1.4.0
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 1.4.0
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: isodoc
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 1.1.0
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: 1.1.0
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: byebug
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '9.1'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '9.1'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: equivalent-xml
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0.6'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0.6'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: guard
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - "~>"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '2.14'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - "~>"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '2.14'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: guard-rspec
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - "~>"
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '4.7'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - "~>"
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '4.7'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: rake
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - "~>"
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '12.0'
|
104
|
+
type: :development
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - "~>"
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '12.0'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: rspec
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - "~>"
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '3.6'
|
118
|
+
type: :development
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - "~>"
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '3.6'
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: rubocop
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - '='
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: 0.54.0
|
132
|
+
type: :development
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - '='
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: 0.54.0
|
139
|
+
- !ruby/object:Gem::Dependency
|
140
|
+
name: simplecov
|
141
|
+
requirement: !ruby/object:Gem::Requirement
|
142
|
+
requirements:
|
143
|
+
- - "~>"
|
144
|
+
- !ruby/object:Gem::Version
|
145
|
+
version: '0.15'
|
146
|
+
type: :development
|
147
|
+
prerelease: false
|
148
|
+
version_requirements: !ruby/object:Gem::Requirement
|
149
|
+
requirements:
|
150
|
+
- - "~>"
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: '0.15'
|
153
|
+
- !ruby/object:Gem::Dependency
|
154
|
+
name: timecop
|
155
|
+
requirement: !ruby/object:Gem::Requirement
|
156
|
+
requirements:
|
157
|
+
- - "~>"
|
158
|
+
- !ruby/object:Gem::Version
|
159
|
+
version: '0.9'
|
160
|
+
type: :development
|
161
|
+
prerelease: false
|
162
|
+
version_requirements: !ruby/object:Gem::Requirement
|
163
|
+
requirements:
|
164
|
+
- - "~>"
|
165
|
+
- !ruby/object:Gem::Version
|
166
|
+
version: '0.9'
|
167
|
+
description: |
|
168
|
+
metanorma-cc lets you write CalConnect standards in AsciiDoc syntax.
|
169
|
+
|
170
|
+
This gem is in active development.
|
171
|
+
|
172
|
+
Formerly known as asciidoctor-csd, metanorma-csd.
|
173
|
+
email:
|
174
|
+
- open.source@ribose.com
|
175
|
+
executables: []
|
176
|
+
extensions: []
|
177
|
+
extra_rdoc_files: []
|
178
|
+
files:
|
179
|
+
- ".github/workflows/macos.yml"
|
180
|
+
- ".github/workflows/ubuntu.yml"
|
181
|
+
- ".github/workflows/windows.yml"
|
182
|
+
- ".gitignore"
|
183
|
+
- ".hound.yml"
|
184
|
+
- ".rubocop.yml"
|
185
|
+
- CODE_OF_CONDUCT.md
|
186
|
+
- Gemfile
|
187
|
+
- LICENSE
|
188
|
+
- README.adoc
|
189
|
+
- Rakefile
|
190
|
+
- bin/console
|
191
|
+
- bin/rspec
|
192
|
+
- bin/setup
|
193
|
+
- docs/navigation.adoc
|
194
|
+
- docs/quickstart.adoc
|
195
|
+
- lib/asciidoctor/cc.rb
|
196
|
+
- lib/asciidoctor/cc/basicdoc.rng
|
197
|
+
- lib/asciidoctor/cc/biblio.rng
|
198
|
+
- lib/asciidoctor/cc/boilerplate.xml
|
199
|
+
- lib/asciidoctor/cc/cc.rng
|
200
|
+
- lib/asciidoctor/cc/converter.rb
|
201
|
+
- lib/asciidoctor/cc/front.rb
|
202
|
+
- lib/asciidoctor/cc/isodoc.rng
|
203
|
+
- lib/asciidoctor/cc/reqt.rng
|
204
|
+
- lib/asciidoctor/cc/validate.rb
|
205
|
+
- lib/asciidoctor/cc/validate_section.rb
|
206
|
+
- lib/isodoc/cc/base_convert.rb
|
207
|
+
- lib/isodoc/cc/csd.standard.xsl
|
208
|
+
- lib/isodoc/cc/html/_coverpage.scss
|
209
|
+
- lib/isodoc/cc/html/cc.scss
|
210
|
+
- lib/isodoc/cc/html/dots-w@2x.png
|
211
|
+
- lib/isodoc/cc/html/dots@2x.png
|
212
|
+
- lib/isodoc/cc/html/header.html
|
213
|
+
- lib/isodoc/cc/html/html_cc_intro.html
|
214
|
+
- lib/isodoc/cc/html/html_cc_titlepage.html
|
215
|
+
- lib/isodoc/cc/html/htmlstyle.scss
|
216
|
+
- lib/isodoc/cc/html/scripts.html
|
217
|
+
- lib/isodoc/cc/html/word_cc_intro.html
|
218
|
+
- lib/isodoc/cc/html/word_cc_titlepage.html
|
219
|
+
- lib/isodoc/cc/html/wordstyle.scss
|
220
|
+
- lib/isodoc/cc/html_convert.rb
|
221
|
+
- lib/isodoc/cc/metadata.rb
|
222
|
+
- lib/isodoc/cc/pdf_convert.rb
|
223
|
+
- lib/isodoc/cc/presentation_xml_convert.rb
|
224
|
+
- lib/isodoc/cc/word_convert.rb
|
225
|
+
- lib/metanorma-cc.rb
|
226
|
+
- lib/metanorma/cc.rb
|
227
|
+
- lib/metanorma/cc/processor.rb
|
228
|
+
- lib/metanorma/cc/version.rb
|
229
|
+
- metanorma-cc.gemspec
|
230
|
+
homepage: https://github.com/metanorma/metanorma-cc
|
231
|
+
licenses:
|
232
|
+
- BSD-2-Clause
|
233
|
+
metadata: {}
|
234
|
+
post_install_message:
|
235
|
+
rdoc_options: []
|
236
|
+
require_paths:
|
237
|
+
- lib
|
238
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
239
|
+
requirements:
|
240
|
+
- - ">="
|
241
|
+
- !ruby/object:Gem::Version
|
242
|
+
version: 2.4.0
|
243
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
244
|
+
requirements:
|
245
|
+
- - ">="
|
246
|
+
- !ruby/object:Gem::Version
|
247
|
+
version: '0'
|
248
|
+
requirements: []
|
249
|
+
rubygems_version: 3.0.3
|
250
|
+
signing_key:
|
251
|
+
specification_version: 4
|
252
|
+
summary: metanorma-cc lets you write CalConnect standards in AsciiDoc.
|
253
|
+
test_files: []
|