asciidoctor-rfc 0.2.0 → 0.8.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.adoc +116 -6
- data/asciidoctor-rfc.gemspec +15 -1
- data/lib/asciidoctor/rfc/common/base.rb +74 -7
- data/lib/asciidoctor/rfc/common/front.rb +1 -1
- data/lib/asciidoctor/rfc/v2/base.rb +87 -38
- data/lib/asciidoctor/rfc/v2/blocks.rb +29 -2
- data/lib/asciidoctor/rfc/v2/converter.rb +0 -1
- data/lib/asciidoctor/rfc/v2/inline_anchor.rb +2 -8
- data/lib/asciidoctor/rfc/v2/lists.rb +7 -4
- data/lib/asciidoctor/rfc/v2/table.rb +1 -1
- data/lib/asciidoctor/rfc/v3/base.rb +41 -43
- data/lib/asciidoctor/rfc/v3/blocks.rb +29 -2
- data/lib/asciidoctor/rfc/v3/converter.rb +0 -2
- data/lib/asciidoctor/rfc/v3/inline_anchor.rb +2 -6
- data/lib/asciidoctor/rfc/version.rb +1 -1
- data/spec/asciidoctor/rfc/v2/comments_spec.rb +7 -3
- data/spec/asciidoctor/rfc/v2/date_spec.rb +23 -0
- data/spec/asciidoctor/rfc/v2/dlist_spec.rb +107 -9
- data/spec/asciidoctor/rfc/v2/image_spec.rb +17 -0
- data/spec/asciidoctor/rfc/v2/inline_formatting_spec.rb +12 -0
- data/spec/asciidoctor/rfc/v2/listing_spec.rb +22 -0
- data/spec/asciidoctor/rfc/v2/literal_spec.rb +22 -2
- data/spec/asciidoctor/rfc/v2/preamble_spec.rb +72 -0
- data/spec/asciidoctor/rfc/v2/references_spec.rb +3 -1
- data/spec/asciidoctor/rfc/v2/table_spec.rb +104 -4
- data/spec/asciidoctor/rfc/v2/text_spec.rb +89 -0
- data/spec/asciidoctor/rfc/v2/ulist_spec.rb +40 -0
- data/spec/asciidoctor/rfc/v3/dlist_spec.rb +103 -1
- data/spec/asciidoctor/rfc/v3/image_spec.rb +18 -0
- data/spec/asciidoctor/rfc/v3/listing_spec.rb +26 -0
- data/spec/asciidoctor/rfc/v3/literal_spec.rb +20 -1
- data/spec/asciidoctor/rfc/v3/preamble_spec.rb +150 -0
- data/spec/asciidoctor/rfc/v3/references_spec.rb +35 -34
- data/spec/asciidoctor/rfc/v3/series_info_spec.rb +39 -0
- data/spec/examples/README.adoc +162 -0
- data/spec/examples/davies-template-bare-06.adoc +3 -0
- data/spec/examples/draft-ietf-core-block-xx.mkd +935 -0
- data/spec/examples/draft-ietf-core-block-xx.mkd.adoc +1013 -0
- data/spec/examples/draft-ietf-core-block-xx.xml.orig +1251 -0
- data/spec/examples/example-v2.adoc +6 -2
- data/spec/examples/example-v3.adoc +5 -1
- data/spec/examples/hoffmanv2.xml.adoc +247 -0
- data/spec/examples/hoffmanv2.xml.orig +339 -0
- data/spec/examples/hoffmanv3.xml.orig +346 -0
- data/spec/examples/mib-doc-template-xml-06.adoc +5 -1
- data/spec/examples/rfc2100.md.adoc +2 -3
- data/spec/examples/rfc3514.md.adoc +3 -2
- data/spec/examples/rfc5841.md.adoc +1 -1
- data/spec/examples/rfc748.md.adoc +7 -6
- data/spec/examples/rfc7511.md.adoc +15 -15
- data/spec/examples/skel.mkd +32 -0
- data/spec/examples/skel.mkd.adoc +50 -0
- data/spec/examples/skel.xml.orig +105 -0
- data/spec/examples/stupid-s.mkd +569 -0
- data/spec/examples/stupid-s.mkd.adoc +771 -0
- data/spec/examples/stupid-s.xml.orig +880 -0
- data/spec/spec_helper.rb +1 -1
- metadata +32 -4
data/spec/spec_helper.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: asciidoctor-rfc
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.8.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ribose Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-11-
|
11
|
+
date: 2017-11-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: asciidoctor
|
@@ -206,7 +206,21 @@ dependencies:
|
|
206
206
|
- - "~>"
|
207
207
|
- !ruby/object:Gem::Version
|
208
208
|
version: '0.50'
|
209
|
-
description:
|
209
|
+
description: |
|
210
|
+
asciidoctor-rfc lets you write Internet-Drafts and RFCs in a native
|
211
|
+
"asciidoctor" syntax.
|
212
|
+
|
213
|
+
RFC XML ("xml2rfc" Vocabulary XML, RFC7322) is the XML-based language used for
|
214
|
+
writing Internet-Drafts and RFCs, but not everyone likes hand-crafting XML,
|
215
|
+
especially when the focus should be on the content.
|
216
|
+
|
217
|
+
Specifically, the gem provides two things. First, an "asciidoctor" like syntax
|
218
|
+
that lets you utilize close to all features of native RFC XML, and maps most
|
219
|
+
asciidoctor textual syntax (like tables) into RFC XML features. Then, RFC XML
|
220
|
+
v3 (RFC 7991) and v2 (RFC 7749) backends that lets you render your AsciiDoc
|
221
|
+
into, you guessed it, RFC XML v3 and v2.
|
222
|
+
|
223
|
+
This gem is in active development.
|
210
224
|
email:
|
211
225
|
- open.source@ribose.com
|
212
226
|
executables: []
|
@@ -276,6 +290,7 @@ files:
|
|
276
290
|
- spec/asciidoctor/rfc/v2/section_spec.rb
|
277
291
|
- spec/asciidoctor/rfc/v2/sidebar_spec.rb
|
278
292
|
- spec/asciidoctor/rfc/v2/table_spec.rb
|
293
|
+
- spec/asciidoctor/rfc/v2/text_spec.rb
|
279
294
|
- spec/asciidoctor/rfc/v2/ulist_spec.rb
|
280
295
|
- spec/asciidoctor/rfc/v2/workgroup_spec.rb
|
281
296
|
- spec/asciidoctor/rfc/v3/appendix_spec.rb
|
@@ -306,12 +321,19 @@ files:
|
|
306
321
|
- spec/asciidoctor/rfc/v3/table_spec.rb
|
307
322
|
- spec/asciidoctor/rfc/v3/ulist_spec.rb
|
308
323
|
- spec/asciidoctor/rfc/v3/workgroup_spec.rb
|
324
|
+
- spec/examples/README.adoc
|
309
325
|
- spec/examples/davies-template-bare-06.adoc
|
310
326
|
- spec/examples/davies-template-bare-06.xml.orig
|
327
|
+
- spec/examples/draft-ietf-core-block-xx.mkd
|
328
|
+
- spec/examples/draft-ietf-core-block-xx.mkd.adoc
|
329
|
+
- spec/examples/draft-ietf-core-block-xx.xml.orig
|
311
330
|
- spec/examples/example-v2.adoc
|
312
331
|
- spec/examples/example-v2.xml
|
313
332
|
- spec/examples/example-v3.adoc
|
314
333
|
- spec/examples/example-v3.xml
|
334
|
+
- spec/examples/hoffmanv2.xml.adoc
|
335
|
+
- spec/examples/hoffmanv2.xml.orig
|
336
|
+
- spec/examples/hoffmanv3.xml.orig
|
315
337
|
- spec/examples/mib-doc-template-xml-06.adoc
|
316
338
|
- spec/examples/mib-doc-template-xml-06.xml.orig
|
317
339
|
- spec/examples/rfc1149.md
|
@@ -340,6 +362,12 @@ files:
|
|
340
362
|
- spec/examples/rfc7511.md.2.xml
|
341
363
|
- spec/examples/rfc7511.md.3.xml
|
342
364
|
- spec/examples/rfc7511.md.adoc
|
365
|
+
- spec/examples/skel.mkd
|
366
|
+
- spec/examples/skel.mkd.adoc
|
367
|
+
- spec/examples/skel.xml.orig
|
368
|
+
- spec/examples/stupid-s.mkd
|
369
|
+
- spec/examples/stupid-s.mkd.adoc
|
370
|
+
- spec/examples/stupid-s.xml.orig
|
343
371
|
- spec/spec_helper.rb
|
344
372
|
homepage: https://github.com/riboseinc/asciidoctor-rfc
|
345
373
|
licenses:
|
@@ -364,5 +392,5 @@ rubyforge_project:
|
|
364
392
|
rubygems_version: 2.5.2
|
365
393
|
signing_key:
|
366
394
|
specification_version: 4
|
367
|
-
summary:
|
395
|
+
summary: asciidoctor-rfc lets you write Internet-Drafts and RFCs in AsciiDoc.
|
368
396
|
test_files: []
|