asciidoctor-rsd 0.2.4 → 0.2.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile +3 -7
- data/Gemfile.lock +57 -5
- data/README.adoc +11 -11
- data/lib/asciidoctor/rsd/converter.rb +3 -3
- data/lib/asciidoctor/rsd/html/html_rsd_titlepage.html +3 -3
- data/lib/asciidoctor/rsd/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d9114d458a4618ee4a37a30188f66e58317e5d82
|
|
4
|
+
data.tar.gz: 58c1554bca805adeedac7803d434c849d8ec46cf
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f89e93f29f1e6a4b2a5c73867191a4853a67b670371801294a4f465dc73352004e95a9363150ecdfbe7f18d7e374222435ed67fb30d51505508946aa6c1ae417
|
|
7
|
+
data.tar.gz: 84b03de0c69348bf619459edbf592695d9241f40bf559b37c7946d3d0a2fb27b4ce0b749485e37fdc29f9568868f53a8e0476e23c90f80eecd10bc3ebef0175b
|
data/Gemfile
CHANGED
|
@@ -1,11 +1,7 @@
|
|
|
1
1
|
source "https://rubygems.org"
|
|
2
|
+
git_source(:github) {|repo| "https://github.com/#{repo}" }
|
|
2
3
|
|
|
3
|
-
|
|
4
|
-
gem "
|
|
5
|
-
git: "https://github.com/riboseinc/isodoc.git"
|
|
6
|
-
gem "asciidoctor-iso",
|
|
7
|
-
git: "https://github.com/riboseinc/asciidoctor-iso.git"
|
|
8
|
-
git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }
|
|
4
|
+
gem "isodoc", github: "riboseinc/isodoc"
|
|
5
|
+
gem "asciidoctor-iso", github: "riboseinc/asciidoctor-iso"
|
|
9
6
|
|
|
10
|
-
# Specify your gem's dependencies in asciidoctor-rsd.gemspec
|
|
11
7
|
gemspec
|
data/Gemfile.lock
CHANGED
|
@@ -1,13 +1,47 @@
|
|
|
1
|
+
GIT
|
|
2
|
+
remote: https://github.com/riboseinc/asciidoctor-iso
|
|
3
|
+
revision: f5e46b7dda5fb043b5872e166806f672fe70b909
|
|
4
|
+
specs:
|
|
5
|
+
asciidoctor-iso (0.7.5)
|
|
6
|
+
asciidoctor (~> 1.5.6)
|
|
7
|
+
html2doc
|
|
8
|
+
htmlentities (~> 4.3.4)
|
|
9
|
+
isodoc
|
|
10
|
+
nokogiri
|
|
11
|
+
ruby-jing
|
|
12
|
+
sass
|
|
13
|
+
thread_safe
|
|
14
|
+
uuidtools
|
|
15
|
+
|
|
16
|
+
GIT
|
|
17
|
+
remote: https://github.com/riboseinc/isodoc
|
|
18
|
+
revision: 871fc62c0249e81f2dba3ebb64e0109e6f7b25c8
|
|
19
|
+
specs:
|
|
20
|
+
isodoc (0.5.9)
|
|
21
|
+
asciimath
|
|
22
|
+
html2doc
|
|
23
|
+
htmlentities (~> 4.3.4)
|
|
24
|
+
image_size
|
|
25
|
+
liquid
|
|
26
|
+
mime-types
|
|
27
|
+
nokogiri
|
|
28
|
+
roman-numerals
|
|
29
|
+
ruby-xslt
|
|
30
|
+
thread_safe
|
|
31
|
+
uuidtools
|
|
32
|
+
|
|
1
33
|
PATH
|
|
2
34
|
remote: .
|
|
3
35
|
specs:
|
|
4
|
-
asciidoctor-rsd (0.
|
|
5
|
-
asciidoctor (~> 1.5.
|
|
36
|
+
asciidoctor-rsd (0.2.4)
|
|
37
|
+
asciidoctor (~> 1.5.7)
|
|
38
|
+
asciidoctor-iso (>= 0.7.5)
|
|
6
39
|
asciimath
|
|
7
40
|
htmlentities (~> 4.3.4)
|
|
8
41
|
image_size
|
|
42
|
+
isodoc
|
|
9
43
|
mime-types
|
|
10
|
-
nokogiri
|
|
44
|
+
nokogiri
|
|
11
45
|
ruby-jing
|
|
12
46
|
ruby-xslt
|
|
13
47
|
thread_safe
|
|
@@ -16,7 +50,7 @@ PATH
|
|
|
16
50
|
GEM
|
|
17
51
|
remote: https://rubygems.org/
|
|
18
52
|
specs:
|
|
19
|
-
asciidoctor (1.5.
|
|
53
|
+
asciidoctor (1.5.7.1)
|
|
20
54
|
asciimath (1.0.4)
|
|
21
55
|
ast (2.4.0)
|
|
22
56
|
byebug (9.1.0)
|
|
@@ -41,9 +75,19 @@ GEM
|
|
|
41
75
|
guard (~> 2.1)
|
|
42
76
|
guard-compat (~> 1.1)
|
|
43
77
|
rspec (>= 2.99.0, < 4.0)
|
|
78
|
+
html2doc (0.7.0)
|
|
79
|
+
asciimath
|
|
80
|
+
htmlentities (~> 4.3.4)
|
|
81
|
+
image_size
|
|
82
|
+
mime-types
|
|
83
|
+
nokogiri
|
|
84
|
+
ruby-xslt
|
|
85
|
+
thread_safe
|
|
86
|
+
uuidtools
|
|
44
87
|
htmlentities (4.3.4)
|
|
45
|
-
image_size (
|
|
88
|
+
image_size (2.0.0)
|
|
46
89
|
json (2.1.0)
|
|
90
|
+
liquid (4.0.0)
|
|
47
91
|
listen (3.1.5)
|
|
48
92
|
rb-fsevent (~> 0.9, >= 0.9.4)
|
|
49
93
|
rb-inotify (~> 0.9, >= 0.9.7)
|
|
@@ -73,6 +117,7 @@ GEM
|
|
|
73
117
|
rb-fsevent (0.10.2)
|
|
74
118
|
rb-inotify (0.9.10)
|
|
75
119
|
ffi (>= 0.5.0, < 2)
|
|
120
|
+
roman-numerals (0.3.0)
|
|
76
121
|
rspec (3.7.0)
|
|
77
122
|
rspec-core (~> 3.7.0)
|
|
78
123
|
rspec-expectations (~> 3.7.0)
|
|
@@ -98,6 +143,11 @@ GEM
|
|
|
98
143
|
ruby-progressbar (1.9.0)
|
|
99
144
|
ruby-xslt (0.9.10)
|
|
100
145
|
ruby_dep (1.5.0)
|
|
146
|
+
sass (3.5.6)
|
|
147
|
+
sass-listen (~> 4.0.0)
|
|
148
|
+
sass-listen (4.0.0)
|
|
149
|
+
rb-fsevent (~> 0.9, >= 0.9.4)
|
|
150
|
+
rb-inotify (~> 0.9, >= 0.9.7)
|
|
101
151
|
shellany (0.0.1)
|
|
102
152
|
simplecov (0.15.1)
|
|
103
153
|
docile (~> 1.1.0)
|
|
@@ -114,12 +164,14 @@ PLATFORMS
|
|
|
114
164
|
ruby
|
|
115
165
|
|
|
116
166
|
DEPENDENCIES
|
|
167
|
+
asciidoctor-iso!
|
|
117
168
|
asciidoctor-rsd!
|
|
118
169
|
bundler (~> 1.15)
|
|
119
170
|
byebug (~> 9.1)
|
|
120
171
|
equivalent-xml (~> 0.6)
|
|
121
172
|
guard (~> 2.14)
|
|
122
173
|
guard-rspec (~> 4.7)
|
|
174
|
+
isodoc!
|
|
123
175
|
rake (~> 12.0)
|
|
124
176
|
rspec (~> 3.6)
|
|
125
177
|
rubocop (~> 0.50)
|
data/README.adoc
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
= AsciiRSD: Asciidoctor processor for RSD
|
|
1
|
+
= AsciiRSD: Asciidoctor processor for Ribose Standard Documents (RSD)
|
|
2
2
|
|
|
3
3
|
image:https://img.shields.io/gem/v/asciidoctor-rsd.svg["Gem Version", link="https://rubygems.org/gems/asciidoctor-rsd"]
|
|
4
4
|
image:https://img.shields.io/travis/riboseinc/asciidoctor-rsd/master.svg["Build Status", link="https://travis-ci.org/riboseinc/asciidoctor-rsd"]
|
|
@@ -9,7 +9,7 @@ WARNING: This gem is still under development.
|
|
|
9
9
|
== Functionality
|
|
10
10
|
|
|
11
11
|
This gem processes http://asciidoctor.org/[Asciidoctor] documents following
|
|
12
|
-
a template for generating RSD
|
|
12
|
+
a template for generating RSD documents.
|
|
13
13
|
|
|
14
14
|
The gem currently inherits from the https://github.com/riboseinc/asciidoctor-iso
|
|
15
15
|
gem, and aligns closely to it. Refer to the ISO gem
|
|
@@ -18,18 +18,18 @@ for guidance, including https://github.com/riboseinc/asciidoctor-iso/wiki/Guidan
|
|
|
18
18
|
The following outputs are generated.
|
|
19
19
|
|
|
20
20
|
* (Optional) An HTML preview generated directly from the Asciidoctor document,
|
|
21
|
-
using native
|
|
21
|
+
using native Asciidoctor formatting.
|
|
22
22
|
** http://asciimath.org[AsciiMathML] is to be used for mathematical formatting.
|
|
23
23
|
The gem uses the https://github.com/asciidoctor/asciimath[Ruby AsciiMath parser],
|
|
24
24
|
which is syntactically stricter than the common MathJax processor;
|
|
25
|
-
if you do not get expected results, try
|
|
25
|
+
if you do not get expected results, try bracketing terms your in AsciiMathML
|
|
26
26
|
expressions.
|
|
27
27
|
* an XML representation of the document, intended as a document model for RSD
|
|
28
|
-
International Standards.
|
|
28
|
+
International Standards.
|
|
29
29
|
* The XML representation is processed in turn to generate the following outputs
|
|
30
30
|
as end deliverable RSD standard drafts.
|
|
31
|
-
** Microsoft Word output (`.doc`), following the style conventions of the
|
|
32
|
-
https://www.rsd.org/rsd-templates.html[RSD Standard Microsoft Word template].
|
|
31
|
+
** Microsoft Word output (`.doc`), following the style conventions of the
|
|
32
|
+
https://www.rsd.org/rsd-templates.html[RSD Standard Microsoft Word template].
|
|
33
33
|
(In development)
|
|
34
34
|
** PDF (forthcoming)
|
|
35
35
|
** HTML (forthcoming)
|
|
@@ -88,10 +88,10 @@ levels of subsections.)
|
|
|
88
88
|
|
|
89
89
|
=== Document model
|
|
90
90
|
|
|
91
|
-
The
|
|
91
|
+
The Ribose Standard Document model is an instance of the
|
|
92
92
|
https://github.com/riboseinc/isodoc-models[StandardDocument model].
|
|
93
93
|
|
|
94
|
-
The RSD format ("RSD XML") intends to introduce
|
|
94
|
+
The RSD format ("RSD XML") intends to introduce rigor into the RSD
|
|
95
95
|
standards authoring process, and is prescribed in a separate document.
|
|
96
96
|
|
|
97
97
|
RSD XML is still under development, but it already contains all the markup
|
|
@@ -104,7 +104,7 @@ WARNING: The current RNG model of RSD XML is out of sync with the UML.
|
|
|
104
104
|
Asciidoctor has been selected as the authoring tool to generate the document
|
|
105
105
|
model representation of RSD standards. It is a document formatting tool like
|
|
106
106
|
Markdown and DocBook, which combines the relative ease of use of the former
|
|
107
|
-
(using relatively lightweight markup), and the
|
|
107
|
+
(using relatively lightweight markup), and the rigor and expressively of the
|
|
108
108
|
latter (it has a well-defined syntax, and was in fact initially developed as a
|
|
109
109
|
DocBook document authoring tool). Asciidoctor has built-in capability to output
|
|
110
110
|
Text, DocBook and HTML; so it can be used to preview the file as it is being
|
|
@@ -134,7 +134,7 @@ and comply with the RSD Standard specifications.
|
|
|
134
134
|
the semantic markup of alternate and other terms is not rendered visually.
|
|
135
135
|
|
|
136
136
|
* _Formulas_: Asciidoctor has no provision for the automated numbering of
|
|
137
|
-
|
|
137
|
+
isolated block formulas ("stem"), and does not display the number assigned a
|
|
138
138
|
block formula in its default HTML processor—although it does provide automated
|
|
139
139
|
numbering of examples. Formula numbering is provided in the final outputs
|
|
140
140
|
of the conversion.
|
|
@@ -17,7 +17,7 @@ module Asciidoctor
|
|
|
17
17
|
xml.contributor do |c|
|
|
18
18
|
c.role **{ type: "author" }
|
|
19
19
|
c.organization do |a|
|
|
20
|
-
a.name "
|
|
20
|
+
a.name "Ribose"
|
|
21
21
|
end
|
|
22
22
|
end
|
|
23
23
|
end
|
|
@@ -26,7 +26,7 @@ module Asciidoctor
|
|
|
26
26
|
xml.contributor do |c|
|
|
27
27
|
c.role **{ type: "publisher" }
|
|
28
28
|
c.organization do |a|
|
|
29
|
-
a.name "
|
|
29
|
+
a.name "Ribose"
|
|
30
30
|
end
|
|
31
31
|
end
|
|
32
32
|
end
|
|
@@ -60,7 +60,7 @@ module Asciidoctor
|
|
|
60
60
|
c.from from
|
|
61
61
|
c.owner do |owner|
|
|
62
62
|
owner.organization do |o|
|
|
63
|
-
o.name "
|
|
63
|
+
o.name "Ribose"
|
|
64
64
|
end
|
|
65
65
|
end
|
|
66
66
|
end
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
</div>
|
|
4
4
|
|
|
5
5
|
<div class="document-type-band" id="standard-band">
|
|
6
|
-
<p class="document-type">
|
|
6
|
+
<p class="document-type">Ribose {{ doctype }}</p>
|
|
7
7
|
</div>
|
|
8
8
|
|
|
9
9
|
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
|
|
41
41
|
<div class="WordSection11">
|
|
42
42
|
<div class="coverpage-stage-block" >
|
|
43
|
-
<span class="coverpage-stage" id="{{ doctype | replace: ' ', '-' | downcase }}">
|
|
43
|
+
<span class="coverpage-stage" id="{{ doctype | replace: ' ', '-' | downcase }}">Ribose {{ doctype }}</span>
|
|
44
44
|
</div>
|
|
45
45
|
|
|
46
46
|
<div class="coverpage-stage-block" >
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
<span class="title">Warning for Drafts</span>
|
|
53
53
|
|
|
54
54
|
<p class="content">
|
|
55
|
-
This document is not a
|
|
55
|
+
This document is not a Ribose Standard. It is distributed for review and
|
|
56
56
|
comment, and is subject to change without notice and may not be referred to as
|
|
57
57
|
a Standard. Recipients of this draft are invited to submit, with their
|
|
58
58
|
comments, notification of any relevant patent rights of which they are aware
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: asciidoctor-rsd
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.5
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Ribose Inc.
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2018-05-
|
|
11
|
+
date: 2018-05-14 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: asciidoctor
|