metanorma-csd 1.0.1
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/.rubocop.tb.yml +650 -0
- data/.travis.yml +17 -0
- data/CODE_OF_CONDUCT.md +74 -0
- data/Gemfile +4 -0
- data/LICENSE +25 -0
- data/README.adoc +176 -0
- data/Rakefile +6 -0
- data/asciidoctor-csd.gemspec.old +43 -0
- data/bin/console +14 -0
- data/bin/rspec +18 -0
- data/bin/setup +8 -0
- data/lib/asciidoctor/csd.rb +7 -0
- data/lib/asciidoctor/csd/biblio.rng +836 -0
- data/lib/asciidoctor/csd/converter.rb +177 -0
- data/lib/asciidoctor/csd/csd.rng +135 -0
- data/lib/asciidoctor/csd/isodoc.rng +1059 -0
- data/lib/asciidoctor/csd/isostandard.rng +1001 -0
- data/lib/asciidoctor/csd/pdf.js +31 -0
- data/lib/asciidoctor/csd/version.rb +5 -0
- data/lib/isodoc/csd/csdconvert.rb +123 -0
- data/lib/isodoc/csd/html/csd.scss +548 -0
- data/lib/isodoc/csd/html/dots-w@2x.png +0 -0
- data/lib/isodoc/csd/html/dots@2x.png +0 -0
- data/lib/isodoc/csd/html/header.html +184 -0
- data/lib/isodoc/csd/html/html_csd_intro.html +8 -0
- data/lib/isodoc/csd/html/html_csd_titlepage.html +95 -0
- data/lib/isodoc/csd/html/htmlstyle.scss +973 -0
- data/lib/isodoc/csd/html/scripts.html +82 -0
- data/lib/isodoc/csd/metadata.rb +56 -0
- data/lib/metanorma-csd.rb +9 -0
- data/lib/metanorma/csd.rb +7 -0
- data/lib/metanorma/csd/processor.rb +46 -0
- data/metanorma-csd.gemspec +44 -0
- metadata +265 -0
@@ -0,0 +1,82 @@
|
|
1
|
+
<script>
|
2
|
+
//TOC generation
|
3
|
+
$('#toc').toc({
|
4
|
+
'selectors': 'h1,h2:not(.TermNum)', //elements to use as headings
|
5
|
+
'container': 'main', //element to find all selectors in
|
6
|
+
'smoothScrolling': true, //enable or disable smooth scrolling on click
|
7
|
+
'prefix': 'toc', //prefix for anchor tags and class names
|
8
|
+
'onHighlight': function(el) {}, //called when a new section is highlighted
|
9
|
+
'highlightOnScroll': true, //add class to heading that is currently in focus
|
10
|
+
'highlightOffset': 100, //offset to trigger the next headline
|
11
|
+
'anchorName': function(i, heading, prefix) { //custom function for anchor name
|
12
|
+
return prefix+i;
|
13
|
+
},
|
14
|
+
'headerText': function(i, heading, $heading) { //custom function building the header-item text
|
15
|
+
return $heading.text();
|
16
|
+
},
|
17
|
+
'itemClass': function(i, heading, $heading, prefix) { // custom function for item class
|
18
|
+
return $heading[0].tagName.toLowerCase();
|
19
|
+
}
|
20
|
+
});
|
21
|
+
|
22
|
+
</script>
|
23
|
+
|
24
|
+
<script>
|
25
|
+
//TOC toggle animation
|
26
|
+
$('#toggle').on('click', function(){
|
27
|
+
if( $('nav').is(':visible') ) {
|
28
|
+
$('nav').animate({ 'left': '-353px' }, 'slow', function(){
|
29
|
+
$('nav').hide();
|
30
|
+
});
|
31
|
+
$('.container').animate({ 'padding-left': '31px' }, 'slow');
|
32
|
+
}
|
33
|
+
else {
|
34
|
+
$('nav').show();
|
35
|
+
$('nav').animate({ 'left': '0px' }, 'slow');
|
36
|
+
$('.container').animate({ 'padding-left': '360px' }, 'slow');
|
37
|
+
}
|
38
|
+
});
|
39
|
+
</script>
|
40
|
+
|
41
|
+
<script>
|
42
|
+
// Scroll to top button
|
43
|
+
window.onscroll = function() {scrollFunction()};
|
44
|
+
|
45
|
+
function scrollFunction() {
|
46
|
+
if (document.body.scrollTop > 100 || document.documentElement.scrollTop > 100) {
|
47
|
+
document.getElementById("myBtn").style.display = "block";
|
48
|
+
} else {
|
49
|
+
document.getElementById("myBtn").style.display = "none";
|
50
|
+
}
|
51
|
+
}
|
52
|
+
|
53
|
+
// When the user clicks on the button, scroll to the top of the document
|
54
|
+
function topFunction() {
|
55
|
+
document.body.scrollTop = 0;
|
56
|
+
document.documentElement.scrollTop = 0;
|
57
|
+
}
|
58
|
+
</script>
|
59
|
+
|
60
|
+
<script>
|
61
|
+
/**
|
62
|
+
* AnchorJS - v4.1.0 - 2017-09-20
|
63
|
+
* https://github.com/bryanbraun/anchorjs
|
64
|
+
* Copyright (c) 2017 Bryan Braun; Licensed MIT
|
65
|
+
*/
|
66
|
+
!function(A,e){"use strict";"function"==typeof define&&define.amd?define([],e):"object"==typeof module&&module.exports?module.exports=e():(A.AnchorJS=e(),A.anchors=new A.AnchorJS)}(this,function(){"use strict";return function(A){function e(A){A.icon=A.hasOwnProperty("icon")?A.icon:"",A.visible=A.hasOwnProperty("visible")?A.visible:"hover",A.placement=A.hasOwnProperty("placement")?A.placement:"right",A.ariaLabel=A.hasOwnProperty("ariaLabel")?A.ariaLabel:"Anchor",A.class=A.hasOwnProperty("class")?A.class:"",A.truncate=A.hasOwnProperty("truncate")?Math.floor(A.truncate):64}function t(A){var e;if("string"==typeof A||A instanceof String)e=[].slice.call(document.querySelectorAll(A));else{if(!(Array.isArray(A)||A instanceof NodeList))throw new Error("The selector provided to AnchorJS was invalid.");e=[].slice.call(A)}return e}function i(){if(null===document.head.querySelector("style.anchorjs")){var A,e=document.createElement("style");e.className="anchorjs",e.appendChild(document.createTextNode("")),void 0===(A=document.head.querySelector('[rel="stylesheet"], style'))?document.head.appendChild(e):document.head.insertBefore(e,A),e.sheet.insertRule(" .anchorjs-link { opacity: 0; text-decoration: none; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }",e.sheet.cssRules.length),e.sheet.insertRule(" *:hover > .anchorjs-link, .anchorjs-link:focus { opacity: 1; }",e.sheet.cssRules.length),e.sheet.insertRule(" [data-anchorjs-icon]::after { content: attr(data-anchorjs-icon); }",e.sheet.cssRules.length),e.sheet.insertRule(' @font-face { font-family: "anchorjs-icons"; src: url(data:n/a;base64,AAEAAAALAIAAAwAwT1MvMg8yG2cAAAE4AAAAYGNtYXDp3gC3AAABpAAAAExnYXNwAAAAEAAAA9wAAAAIZ2x5ZlQCcfwAAAH4AAABCGhlYWQHFvHyAAAAvAAAADZoaGVhBnACFwAAAPQAAAAkaG10eASAADEAAAGYAAAADGxvY2EACACEAAAB8AAAAAhtYXhwAAYAVwAAARgAAAAgbmFtZQGOH9cAAAMAAAAAunBvc3QAAwAAAAADvAAAACAAAQAAAAEAAHzE2p9fDzz1AAkEAAAAAADRecUWAAAAANQA6R8AAAAAAoACwAAAAAgAAgAAAAAAAAABAAADwP/AAAACgAAA/9MCrQABAAAAAAAAAAAAAAAAAAAAAwABAAAAAwBVAAIAAAAAAAIAAAAAAAAAAAAAAAAAAAAAAAMCQAGQAAUAAAKZAswAAACPApkCzAAAAesAMwEJAAAAAAAAAAAAAAAAAAAAARAAAAAAAAAAAAAAAAAAAAAAQAAg//0DwP/AAEADwABAAAAAAQAAAAAAAAAAAAAAIAAAAAAAAAIAAAACgAAxAAAAAwAAAAMAAAAcAAEAAwAAABwAAwABAAAAHAAEADAAAAAIAAgAAgAAACDpy//9//8AAAAg6cv//f///+EWNwADAAEAAAAAAAAAAAAAAAAACACEAAEAAAAAAAAAAAAAAAAxAAACAAQARAKAAsAAKwBUAAABIiYnJjQ3NzY2MzIWFxYUBwcGIicmNDc3NjQnJiYjIgYHBwYUFxYUBwYGIwciJicmNDc3NjIXFhQHBwYUFxYWMzI2Nzc2NCcmNDc2MhcWFAcHBgYjARQGDAUtLXoWOR8fORYtLTgKGwoKCjgaGg0gEhIgDXoaGgkJBQwHdR85Fi0tOAobCgoKOBoaDSASEiANehoaCQkKGwotLXoWOR8BMwUFLYEuehYXFxYugC44CQkKGwo4GkoaDQ0NDXoaShoKGwoFBe8XFi6ALjgJCQobCjgaShoNDQ0NehpKGgobCgoKLYEuehYXAAAADACWAAEAAAAAAAEACAAAAAEAAAAAAAIAAwAIAAEAAAAAAAMACAAAAAEAAAAAAAQACAAAAAEAAAAAAAUAAQALAAEAAAAAAAYACAAAAAMAAQQJAAEAEAAMAAMAAQQJAAIABgAcAAMAAQQJAAMAEAAMAAMAAQQJAAQAEAAMAAMAAQQJAAUAAgAiAAMAAQQJAAYAEAAMYW5jaG9yanM0MDBAAGEAbgBjAGgAbwByAGoAcwA0ADAAMABAAAAAAwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAH//wAP) format("truetype"); }',e.sheet.cssRules.length)}}this.options=A||{},this.elements=[],e(this.options),this.isTouchDevice=function(){return!!("ontouchstart"in window||window.DocumentTouch&&document instanceof DocumentTouch)},this.add=function(A){var n,o,s,a,r,c,h,l,u,d,f,p=[];if(e(this.options),"touch"===(f=this.options.visible)&&(f=this.isTouchDevice()?"always":"hover"),A||(A="h2, h3, h4, h5, h6"),0===(n=t(A)).length)return this;for(i(),o=document.querySelectorAll("[id]"),s=[].map.call(o,function(A){return A.id}),r=0;r<n.length;r++)if(this.hasAnchorJSLink(n[r]))p.push(r);else{if(n[r].hasAttribute("id"))a=n[r].getAttribute("id");else if(n[r].hasAttribute("data-anchor-id"))a=n[r].getAttribute("data-anchor-id");else{u=l=this.urlify(n[r].textContent),h=0;do{void 0!==c&&(u=l+"-"+h),c=s.indexOf(u),h+=1}while(-1!==c);c=void 0,s.push(u),n[r].setAttribute("id",u),a=u}a.replace(/-/g," "),(d=document.createElement("a")).className="anchorjs-link "+this.options.class,d.href="#"+a,d.setAttribute("aria-label",this.options.ariaLabel),d.setAttribute("data-anchorjs-icon",this.options.icon),"always"===f&&(d.style.opacity="1"),""===this.options.icon&&(d.style.font="1em/1 anchorjs-icons","left"===this.options.placement&&(d.style.lineHeight="inherit")),"left"===this.options.placement?(d.style.position="absolute",d.style.marginLeft="-1em",d.style.paddingRight="0.5em",n[r].insertBefore(d,n[r].firstChild)):(d.style.paddingLeft="0.375em",n[r].appendChild(d))}for(r=0;r<p.length;r++)n.splice(p[r]-r,1);return this.elements=this.elements.concat(n),this},this.remove=function(A){for(var e,i,n=t(A),o=0;o<n.length;o++)(i=n[o].querySelector(".anchorjs-link"))&&(-1!==(e=this.elements.indexOf(n[o]))&&this.elements.splice(e,1),n[o].removeChild(i));return this},this.removeAll=function(){this.remove(this.elements)},this.urlify=function(A){var t=/[& +$,:;=?@"#{}|^~[`%!'<>\]\.\/\(\)\*\\]/g;return this.options.truncate||e(this.options),A.trim().replace(/\'/gi,"").replace(t,"-").replace(/-{2,}/g,"-").substring(0,this.options.truncate).replace(/^-+|-+$/gm,"").toLowerCase()},this.hasAnchorJSLink=function(A){var e=A.firstChild&&(" "+A.firstChild.className+" ").indexOf(" anchorjs-link ")>-1,t=A.lastChild&&(" "+A.lastChild.className+" ").indexOf(" anchorjs-link ")>-1;return e||t||!1}}}); </script>
|
67
|
+
|
68
|
+
<script>
|
69
|
+
$(document).ready(function() {
|
70
|
+
$('[id^=toc]').each(function ()
|
71
|
+
{
|
72
|
+
var currentToc = $(this);
|
73
|
+
var url = window.location.href;
|
74
|
+
currentToc.wrap("<a href='" + url + "#" + currentToc.attr("id") + "' </a>");
|
75
|
+
});
|
76
|
+
});
|
77
|
+
anchors.options = {
|
78
|
+
placement: 'left'
|
79
|
+
};
|
80
|
+
anchors.add('h1, h2, h3, h4');
|
81
|
+
</script>
|
82
|
+
|
@@ -0,0 +1,56 @@
|
|
1
|
+
require "isodoc"
|
2
|
+
|
3
|
+
module IsoDoc
|
4
|
+
module Csd
|
5
|
+
# A {Converter} implementation that generates CSD 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
|
+
set(:status, "XXX")
|
11
|
+
end
|
12
|
+
|
13
|
+
def title(isoxml, _out)
|
14
|
+
main = isoxml&.at(ns("//title[@language='en']"))&.text
|
15
|
+
set(:doctitle, main)
|
16
|
+
end
|
17
|
+
|
18
|
+
def subtitle(_isoxml, _out)
|
19
|
+
nil
|
20
|
+
end
|
21
|
+
|
22
|
+
def author(isoxml, _out)
|
23
|
+
set(:tc, "XXXX")
|
24
|
+
tc = isoxml.at(ns("//editorialgroup/technical-committee"))
|
25
|
+
set(:tc, tc.text) if tc
|
26
|
+
end
|
27
|
+
|
28
|
+
def docid(isoxml, _out)
|
29
|
+
docnumber = isoxml.at(ns("//bibdata/docidentifier"))
|
30
|
+
docstatus = isoxml.at(ns("//bibdata/status"))
|
31
|
+
dn = docnumber&.text
|
32
|
+
if docstatus
|
33
|
+
set(:status, status_print(docstatus.text))
|
34
|
+
abbr = status_abbr(docstatus.text)
|
35
|
+
dn = "#{dn}(#{abbr})" unless abbr.empty?
|
36
|
+
end
|
37
|
+
set(:docnumber, dn)
|
38
|
+
end
|
39
|
+
|
40
|
+
def status_print(status)
|
41
|
+
status.split(/-/).map{ |w| w.capitalize }.join(" ")
|
42
|
+
end
|
43
|
+
|
44
|
+
def status_abbr(status)
|
45
|
+
case status
|
46
|
+
when "working-draft" then "wd"
|
47
|
+
when "committee-draft" then "cd"
|
48
|
+
when "draft-standard" then "d"
|
49
|
+
else
|
50
|
+
""
|
51
|
+
end
|
52
|
+
end
|
53
|
+
end
|
54
|
+
end
|
55
|
+
end
|
56
|
+
|
@@ -0,0 +1,9 @@
|
|
1
|
+
require "asciidoctor" unless defined? Asciidoctor::Converter
|
2
|
+
require_relative "asciidoctor/csd/converter"
|
3
|
+
require_relative "isodoc/csd/csdconvert"
|
4
|
+
require_relative "asciidoctor/csd/version"
|
5
|
+
|
6
|
+
if defined? Metanorma
|
7
|
+
require_relative "metanorma/csd"
|
8
|
+
Metanorma::Registry.instance.register(Metanorma::Csd::Processor)
|
9
|
+
end
|
@@ -0,0 +1,46 @@
|
|
1
|
+
require "metanorma/processor"
|
2
|
+
|
3
|
+
module Metanorma
|
4
|
+
module Csd
|
5
|
+
class Processor < Metanorma::Processor
|
6
|
+
|
7
|
+
def initialize
|
8
|
+
@short = :csd
|
9
|
+
@input_format = :asciidoc
|
10
|
+
@asciidoctor_backend = :csd
|
11
|
+
end
|
12
|
+
|
13
|
+
def output_formats
|
14
|
+
super.merge(
|
15
|
+
html: "html",
|
16
|
+
pdf: "pdf"
|
17
|
+
)
|
18
|
+
end
|
19
|
+
|
20
|
+
def version
|
21
|
+
"Asciidoctor::Csd #{Asciidoctor::Csd::VERSION}"
|
22
|
+
end
|
23
|
+
|
24
|
+
def input_to_isodoc(file)
|
25
|
+
Metanorma::Input::Asciidoc.new.process(file, @asciidoctor_backend)
|
26
|
+
end
|
27
|
+
|
28
|
+
def output(isodoc_node, outname, format, options={})
|
29
|
+
case format
|
30
|
+
when :html
|
31
|
+
IsoDoc::Csd::HtmlConvert.new(options).convert(outname, isodoc_node)
|
32
|
+
when :pdf
|
33
|
+
#require 'tempfile'
|
34
|
+
# Tempfile.open("#{outname}.html") do |tmp|
|
35
|
+
outname_html = outname + ".html"
|
36
|
+
IsoDoc::Csd::HtmlConvert.new(options).convert(outname_html, isodoc_node)
|
37
|
+
puts outname_html
|
38
|
+
system "cat #{outname_html}"
|
39
|
+
Metanorma::Output::Pdf.new.convert(outname_html, outname)
|
40
|
+
else
|
41
|
+
super
|
42
|
+
end
|
43
|
+
end
|
44
|
+
end
|
45
|
+
end
|
46
|
+
end
|
@@ -0,0 +1,44 @@
|
|
1
|
+
lib = File.expand_path("../lib", __FILE__)
|
2
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
3
|
+
require "asciidoctor/csd/version"
|
4
|
+
|
5
|
+
Gem::Specification.new do |spec|
|
6
|
+
spec.name = "metanorma-csd"
|
7
|
+
spec.version = Asciidoctor::Csd::VERSION
|
8
|
+
spec.authors = ["Ribose Inc."]
|
9
|
+
spec.email = ["open.source@ribose.com"]
|
10
|
+
|
11
|
+
spec.summary = "metanorma-csd lets you write CSD in AsciiDoc."
|
12
|
+
spec.description = <<~DESCRIPTION
|
13
|
+
metanorma-csd lets you write CSD in AsciiDoc syntax.
|
14
|
+
|
15
|
+
This gem is in active development.
|
16
|
+
|
17
|
+
Formerly known as asciidoctor-csd.
|
18
|
+
DESCRIPTION
|
19
|
+
|
20
|
+
spec.homepage = "https://github.com/riboseinc/metanorma-csd"
|
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
|
+
|
30
|
+
spec.add_dependency "metanorma-standoc", "~> 1.0.0"
|
31
|
+
spec.add_dependency "isodoc", "~> 0.8.8"
|
32
|
+
|
33
|
+
spec.add_development_dependency "bundler", "~> 1.15"
|
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.50"
|
41
|
+
spec.add_development_dependency "simplecov", "~> 0.15"
|
42
|
+
spec.add_development_dependency "timecop", "~> 0.9"
|
43
|
+
spec.add_development_dependency "metanorma", "~> 0.2.5"
|
44
|
+
end
|
metadata
ADDED
@@ -0,0 +1,265 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: metanorma-csd
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.0.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Ribose Inc.
|
8
|
+
autorequire:
|
9
|
+
bindir: exe
|
10
|
+
cert_chain: []
|
11
|
+
date: 2018-08-15 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.0.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.0.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: 0.8.8
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: 0.8.8
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: bundler
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '1.15'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '1.15'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: byebug
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '9.1'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '9.1'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: equivalent-xml
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - "~>"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0.6'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - "~>"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0.6'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: guard
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - "~>"
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '2.14'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - "~>"
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '2.14'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: guard-rspec
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - "~>"
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '4.7'
|
104
|
+
type: :development
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - "~>"
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '4.7'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: rake
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - "~>"
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '12.0'
|
118
|
+
type: :development
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - "~>"
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '12.0'
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: rspec
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - "~>"
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: '3.6'
|
132
|
+
type: :development
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - "~>"
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: '3.6'
|
139
|
+
- !ruby/object:Gem::Dependency
|
140
|
+
name: rubocop
|
141
|
+
requirement: !ruby/object:Gem::Requirement
|
142
|
+
requirements:
|
143
|
+
- - "~>"
|
144
|
+
- !ruby/object:Gem::Version
|
145
|
+
version: '0.50'
|
146
|
+
type: :development
|
147
|
+
prerelease: false
|
148
|
+
version_requirements: !ruby/object:Gem::Requirement
|
149
|
+
requirements:
|
150
|
+
- - "~>"
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: '0.50'
|
153
|
+
- !ruby/object:Gem::Dependency
|
154
|
+
name: simplecov
|
155
|
+
requirement: !ruby/object:Gem::Requirement
|
156
|
+
requirements:
|
157
|
+
- - "~>"
|
158
|
+
- !ruby/object:Gem::Version
|
159
|
+
version: '0.15'
|
160
|
+
type: :development
|
161
|
+
prerelease: false
|
162
|
+
version_requirements: !ruby/object:Gem::Requirement
|
163
|
+
requirements:
|
164
|
+
- - "~>"
|
165
|
+
- !ruby/object:Gem::Version
|
166
|
+
version: '0.15'
|
167
|
+
- !ruby/object:Gem::Dependency
|
168
|
+
name: timecop
|
169
|
+
requirement: !ruby/object:Gem::Requirement
|
170
|
+
requirements:
|
171
|
+
- - "~>"
|
172
|
+
- !ruby/object:Gem::Version
|
173
|
+
version: '0.9'
|
174
|
+
type: :development
|
175
|
+
prerelease: false
|
176
|
+
version_requirements: !ruby/object:Gem::Requirement
|
177
|
+
requirements:
|
178
|
+
- - "~>"
|
179
|
+
- !ruby/object:Gem::Version
|
180
|
+
version: '0.9'
|
181
|
+
- !ruby/object:Gem::Dependency
|
182
|
+
name: metanorma
|
183
|
+
requirement: !ruby/object:Gem::Requirement
|
184
|
+
requirements:
|
185
|
+
- - "~>"
|
186
|
+
- !ruby/object:Gem::Version
|
187
|
+
version: 0.2.5
|
188
|
+
type: :development
|
189
|
+
prerelease: false
|
190
|
+
version_requirements: !ruby/object:Gem::Requirement
|
191
|
+
requirements:
|
192
|
+
- - "~>"
|
193
|
+
- !ruby/object:Gem::Version
|
194
|
+
version: 0.2.5
|
195
|
+
description: |
|
196
|
+
metanorma-csd lets you write CSD in AsciiDoc syntax.
|
197
|
+
|
198
|
+
This gem is in active development.
|
199
|
+
|
200
|
+
Formerly known as asciidoctor-csd.
|
201
|
+
email:
|
202
|
+
- open.source@ribose.com
|
203
|
+
executables: []
|
204
|
+
extensions: []
|
205
|
+
extra_rdoc_files: []
|
206
|
+
files:
|
207
|
+
- ".gitignore"
|
208
|
+
- ".rubocop.tb.yml"
|
209
|
+
- ".travis.yml"
|
210
|
+
- CODE_OF_CONDUCT.md
|
211
|
+
- Gemfile
|
212
|
+
- LICENSE
|
213
|
+
- README.adoc
|
214
|
+
- Rakefile
|
215
|
+
- asciidoctor-csd.gemspec.old
|
216
|
+
- bin/console
|
217
|
+
- bin/rspec
|
218
|
+
- bin/setup
|
219
|
+
- lib/asciidoctor/csd.rb
|
220
|
+
- lib/asciidoctor/csd/biblio.rng
|
221
|
+
- lib/asciidoctor/csd/converter.rb
|
222
|
+
- lib/asciidoctor/csd/csd.rng
|
223
|
+
- lib/asciidoctor/csd/isodoc.rng
|
224
|
+
- lib/asciidoctor/csd/isostandard.rng
|
225
|
+
- lib/asciidoctor/csd/pdf.js
|
226
|
+
- lib/asciidoctor/csd/version.rb
|
227
|
+
- lib/isodoc/csd/csdconvert.rb
|
228
|
+
- lib/isodoc/csd/html/csd.scss
|
229
|
+
- lib/isodoc/csd/html/dots-w@2x.png
|
230
|
+
- lib/isodoc/csd/html/dots@2x.png
|
231
|
+
- lib/isodoc/csd/html/header.html
|
232
|
+
- lib/isodoc/csd/html/html_csd_intro.html
|
233
|
+
- lib/isodoc/csd/html/html_csd_titlepage.html
|
234
|
+
- lib/isodoc/csd/html/htmlstyle.scss
|
235
|
+
- lib/isodoc/csd/html/scripts.html
|
236
|
+
- lib/isodoc/csd/metadata.rb
|
237
|
+
- lib/metanorma-csd.rb
|
238
|
+
- lib/metanorma/csd.rb
|
239
|
+
- lib/metanorma/csd/processor.rb
|
240
|
+
- metanorma-csd.gemspec
|
241
|
+
homepage: https://github.com/riboseinc/metanorma-csd
|
242
|
+
licenses:
|
243
|
+
- BSD-2-Clause
|
244
|
+
metadata: {}
|
245
|
+
post_install_message:
|
246
|
+
rdoc_options: []
|
247
|
+
require_paths:
|
248
|
+
- lib
|
249
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
250
|
+
requirements:
|
251
|
+
- - ">="
|
252
|
+
- !ruby/object:Gem::Version
|
253
|
+
version: '0'
|
254
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
255
|
+
requirements:
|
256
|
+
- - ">="
|
257
|
+
- !ruby/object:Gem::Version
|
258
|
+
version: '0'
|
259
|
+
requirements: []
|
260
|
+
rubyforge_project:
|
261
|
+
rubygems_version: 2.7.6
|
262
|
+
signing_key:
|
263
|
+
specification_version: 4
|
264
|
+
summary: metanorma-csd lets you write CSD in AsciiDoc.
|
265
|
+
test_files: []
|