asciidoctor 1.5.8 → 2.0.0.rc.1
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/CHANGELOG.adoc +162 -17
- data/LICENSE +1 -1
- data/README-de.adoc +12 -13
- data/README-fr.adoc +11 -12
- data/README-jp.adoc +11 -12
- data/README-zh_CN.adoc +12 -13
- data/README.adoc +6 -7
- data/asciidoctor.gemspec +19 -24
- data/bin/asciidoctor +5 -4
- data/data/reference/syntax.adoc +283 -0
- data/data/stylesheets/asciidoctor-default.css +56 -52
- data/data/stylesheets/coderay-asciidoctor.css +7 -9
- data/lib/asciidoctor.rb +171 -232
- data/lib/asciidoctor/abstract_block.rb +96 -105
- data/lib/asciidoctor/abstract_node.rb +118 -139
- data/lib/asciidoctor/attribute_list.rb +10 -14
- data/lib/asciidoctor/block.rb +20 -19
- data/lib/asciidoctor/callouts.rb +4 -2
- data/lib/asciidoctor/cli.rb +3 -2
- data/lib/asciidoctor/cli/invoker.rb +14 -21
- data/lib/asciidoctor/cli/options.rb +64 -54
- data/lib/asciidoctor/converter.rb +357 -185
- data/lib/asciidoctor/converter/composite.rb +40 -48
- data/lib/asciidoctor/converter/docbook5.rb +604 -640
- data/lib/asciidoctor/converter/html5.rb +949 -963
- data/lib/asciidoctor/converter/manpage.rb +569 -548
- data/lib/asciidoctor/converter/template.rb +231 -272
- data/lib/asciidoctor/core_ext.rb +5 -18
- data/lib/asciidoctor/core_ext/float/truncate.rb +19 -0
- data/lib/asciidoctor/core_ext/match_data/names.rb +7 -0
- data/lib/asciidoctor/core_ext/nil_or_empty.rb +1 -0
- data/lib/asciidoctor/core_ext/regexp/is_match.rb +4 -2
- data/lib/asciidoctor/document.rb +399 -377
- data/lib/asciidoctor/extensions.rb +72 -140
- data/lib/asciidoctor/helpers.rb +122 -83
- data/lib/asciidoctor/inline.rb +5 -1
- data/lib/asciidoctor/list.rb +13 -11
- data/lib/asciidoctor/logging.rb +17 -16
- data/lib/asciidoctor/parser.rb +390 -423
- data/lib/asciidoctor/path_resolver.rb +10 -5
- data/lib/asciidoctor/reader.rb +286 -263
- data/lib/asciidoctor/rouge_ext.rb +39 -0
- data/lib/asciidoctor/section.rb +9 -8
- data/lib/asciidoctor/stylesheets.rb +19 -37
- data/lib/asciidoctor/substitutors.rb +364 -509
- data/lib/asciidoctor/syntax_highlighter.rb +238 -0
- data/lib/asciidoctor/syntax_highlighter/coderay.rb +87 -0
- data/lib/asciidoctor/syntax_highlighter/highlightjs.rb +26 -0
- data/lib/asciidoctor/syntax_highlighter/html_pipeline.rb +10 -0
- data/lib/asciidoctor/syntax_highlighter/prettify.rb +27 -0
- data/lib/asciidoctor/syntax_highlighter/pygments.rb +149 -0
- data/lib/asciidoctor/syntax_highlighter/rouge.rb +129 -0
- data/lib/asciidoctor/table.rb +73 -66
- data/lib/asciidoctor/timings.rb +4 -2
- data/lib/asciidoctor/version.rb +2 -1
- data/lib/asciidoctor/writer.rb +30 -0
- data/man/asciidoctor.1 +19 -15
- data/man/asciidoctor.adoc +14 -12
- metadata +69 -216
- data/CONTRIBUTING.adoc +0 -185
- data/Gemfile +0 -60
- data/Rakefile +0 -129
- data/bin/asciidoctor-safe +0 -15
- data/features/open_block.feature +0 -92
- data/features/pass_block.feature +0 -66
- data/features/step_definitions.rb +0 -49
- data/features/text_formatting.feature +0 -57
- data/features/xref.feature +0 -1039
- data/lib/asciidoctor/converter/base.rb +0 -59
- data/lib/asciidoctor/converter/docbook45.rb +0 -93
- data/lib/asciidoctor/converter/factory.rb +0 -226
- data/lib/asciidoctor/core_ext/1.8.7/base64/strict_encode64.rb +0 -6
- data/lib/asciidoctor/core_ext/1.8.7/concurrent/hash.rb +0 -5
- data/lib/asciidoctor/core_ext/1.8.7/hash/key.rb +0 -4
- data/lib/asciidoctor/core_ext/1.8.7/io/binread.rb +0 -6
- data/lib/asciidoctor/core_ext/1.8.7/io/write.rb +0 -5
- data/lib/asciidoctor/core_ext/1.8.7/string/chr.rb +0 -6
- data/lib/asciidoctor/core_ext/1.8.7/string/limit_bytesize.rb +0 -29
- data/lib/asciidoctor/core_ext/1.8.7/symbol/empty.rb +0 -6
- data/lib/asciidoctor/core_ext/1.8.7/symbol/length.rb +0 -6
- data/lib/asciidoctor/core_ext/string/limit_bytesize.rb +0 -10
- data/test/api_test.rb +0 -1240
- data/test/attribute_list_test.rb +0 -242
- data/test/attributes_test.rb +0 -1623
- data/test/blocks_test.rb +0 -3870
- data/test/converter_test.rb +0 -470
- data/test/document_test.rb +0 -1853
- data/test/extensions_test.rb +0 -1560
- data/test/fixtures/asciidoc_index.txt +0 -521
- data/test/fixtures/basic-docinfo-footer.html +0 -6
- data/test/fixtures/basic-docinfo-footer.xml +0 -8
- data/test/fixtures/basic-docinfo.html +0 -1
- data/test/fixtures/basic-docinfo.xml +0 -4
- data/test/fixtures/basic.asciidoc +0 -5
- data/test/fixtures/chapter-a.adoc +0 -3
- data/test/fixtures/child-include.adoc +0 -5
- data/test/fixtures/circle.svg +0 -9
- data/test/fixtures/custom-backends/erb/html5/block_paragraph.html.erb +0 -6
- data/test/fixtures/custom-backends/haml/docbook45/block_paragraph.xml.haml +0 -6
- data/test/fixtures/custom-backends/haml/html5-tweaks/block_paragraph.html.haml +0 -1
- data/test/fixtures/custom-backends/haml/html5/block_paragraph.html.haml +0 -3
- data/test/fixtures/custom-backends/haml/html5/block_sidebar.html.haml +0 -5
- data/test/fixtures/custom-backends/slim/docbook45/block_paragraph.xml.slim +0 -6
- data/test/fixtures/custom-backends/slim/html5/block_paragraph.html.slim +0 -3
- data/test/fixtures/custom-backends/slim/html5/block_sidebar.html.slim +0 -5
- data/test/fixtures/custom-docinfodir/basic-docinfo.html +0 -1
- data/test/fixtures/custom-docinfodir/docinfo.html +0 -1
- data/test/fixtures/docinfo-footer.html +0 -1
- data/test/fixtures/docinfo-footer.xml +0 -9
- data/test/fixtures/docinfo.html +0 -1
- data/test/fixtures/docinfo.xml +0 -3
- data/test/fixtures/doctime-localtime.adoc +0 -2
- data/test/fixtures/dot.gif +0 -0
- data/test/fixtures/encoding.asciidoc +0 -13
- data/test/fixtures/file-with-missing-include.adoc +0 -1
- data/test/fixtures/grandchild-include.adoc +0 -3
- data/test/fixtures/hello-asciidoctor.pdf +0 -69
- data/test/fixtures/include-file.asciidoc +0 -24
- data/test/fixtures/include-file.jsx +0 -8
- data/test/fixtures/include-file.ml +0 -3
- data/test/fixtures/include-file.xml +0 -5
- data/test/fixtures/lists.adoc +0 -96
- data/test/fixtures/master.adoc +0 -5
- data/test/fixtures/mismatched-end-tag.adoc +0 -7
- data/test/fixtures/other-chapters.adoc +0 -11
- data/test/fixtures/outer-include.adoc +0 -5
- data/test/fixtures/parent-include-restricted.adoc +0 -5
- data/test/fixtures/parent-include.adoc +0 -5
- data/test/fixtures/sample.asciidoc +0 -30
- data/test/fixtures/section-a.adoc +0 -4
- data/test/fixtures/stylesheets/custom.css +0 -3
- data/test/fixtures/subdir/index.adoc +0 -3
- data/test/fixtures/subdir/inner-include.adoc +0 -3
- data/test/fixtures/subdir/middle-include.adoc +0 -5
- data/test/fixtures/subs-docinfo.html +0 -2
- data/test/fixtures/subs.adoc +0 -6
- data/test/fixtures/tagged-class-enclosed.rb +0 -25
- data/test/fixtures/tagged-class.rb +0 -23
- data/test/fixtures/tip.gif +0 -0
- data/test/fixtures/unclosed-tag.adoc +0 -3
- data/test/fixtures/unexpected-end-tag.adoc +0 -4
- data/test/invoker_test.rb +0 -745
- data/test/links_test.rb +0 -855
- data/test/lists_test.rb +0 -5151
- data/test/logger_test.rb +0 -211
- data/test/manpage_test.rb +0 -660
- data/test/options_test.rb +0 -262
- data/test/paragraphs_test.rb +0 -562
- data/test/parser_test.rb +0 -742
- data/test/paths_test.rb +0 -395
- data/test/preamble_test.rb +0 -173
- data/test/reader_test.rb +0 -2161
- data/test/sections_test.rb +0 -3575
- data/test/substitutions_test.rb +0 -2066
- data/test/tables_test.rb +0 -2036
- data/test/test_helper.rb +0 -447
- data/test/text_test.rb +0 -309
data/lib/asciidoctor/timings.rb
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
#
|
1
|
+
# frozen_string_literal: true
|
2
2
|
module Asciidoctor
|
3
3
|
class Timings
|
4
4
|
def initialize
|
@@ -54,7 +54,9 @@ module Asciidoctor
|
|
54
54
|
to.puts %( Total time (read, parse and convert): #{'%05.5f' % read_parse_convert.to_f})
|
55
55
|
end
|
56
56
|
|
57
|
-
|
57
|
+
private
|
58
|
+
|
59
|
+
if (::Process.const_defined? :CLOCK_MONOTONIC, false) && (defined? ::Process.clock_gettime) == 'method'
|
58
60
|
CLOCK_ID = ::Process::CLOCK_MONOTONIC
|
59
61
|
def now
|
60
62
|
::Process.clock_gettime CLOCK_ID
|
data/lib/asciidoctor/version.rb
CHANGED
@@ -0,0 +1,30 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
module Asciidoctor
|
3
|
+
# A module that can be used to mix the {#write} method into a {Converter} implementation to allow the converter to
|
4
|
+
# control how the output is written to disk.
|
5
|
+
module Writer
|
6
|
+
# Public: Writes the output to the specified target file name or stream.
|
7
|
+
#
|
8
|
+
# output - The output String to write
|
9
|
+
# target - The String file name or stream object to which the output should be written.
|
10
|
+
#
|
11
|
+
# Returns nothing
|
12
|
+
def write output, target
|
13
|
+
if target.respond_to? :write
|
14
|
+
# ensure there's a trailing newline to be nice to terminals
|
15
|
+
target.write output.chomp + LF
|
16
|
+
else
|
17
|
+
# QUESTION shouldn't we ensure a trailing newline here too?
|
18
|
+
::File.write target, output, mode: FILE_WRITE_MODE
|
19
|
+
end
|
20
|
+
nil
|
21
|
+
end
|
22
|
+
end
|
23
|
+
|
24
|
+
module VoidWriter
|
25
|
+
include Writer
|
26
|
+
|
27
|
+
# Public: Does not write output
|
28
|
+
def write output, target; end
|
29
|
+
end
|
30
|
+
end
|
data/man/asciidoctor.1
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
'\" t
|
2
2
|
.\" Title: asciidoctor
|
3
3
|
.\" Author: Dan Allen, Sarah White, Ryan Waldron
|
4
|
-
.\" Generator: Asciidoctor
|
5
|
-
.\" Date:
|
4
|
+
.\" Generator: Asciidoctor 2.0.0.rc.1
|
5
|
+
.\" Date: 2019-03-02
|
6
6
|
.\" Manual: Asciidoctor Manual
|
7
|
-
.\" Source: Asciidoctor
|
7
|
+
.\" Source: Asciidoctor 2.0.0.rc.1
|
8
8
|
.\" Language: English
|
9
9
|
.\"
|
10
|
-
.TH "ASCIIDOCTOR" "1" "
|
10
|
+
.TH "ASCIIDOCTOR" "1" "2019-03-02" "Asciidoctor 2.0.0.rc.1" "Asciidoctor Manual"
|
11
11
|
.ie \n(.g .ds Aq \(aq
|
12
12
|
.el .ds Aq '
|
13
13
|
.ss \n[.ss] 0
|
@@ -34,7 +34,7 @@ asciidoctor \- converts AsciiDoc source files to HTML, DocBook and other formats
|
|
34
34
|
\fBasciidoctor\fP [\fIOPTION\fP]... \fIFILE\fP...
|
35
35
|
.SH "DESCRIPTION"
|
36
36
|
.sp
|
37
|
-
The asciidoctor(1) command converts the AsciiDoc source file(s) \fIFILE\fP to HTML5, DocBook 5,
|
37
|
+
The asciidoctor(1) command converts the AsciiDoc source file(s) \fIFILE\fP to HTML5, DocBook 5, man(ual) page and other custom output formats.
|
38
38
|
.sp
|
39
39
|
If \fIFILE\fP is \fI\-\fP then the AsciiDoc source is read from standard input.
|
40
40
|
.SH "OPTIONS"
|
@@ -173,35 +173,39 @@ Matching templates found in subsequent directories override ones previously disc
|
|
173
173
|
\fB\-\-failure\-level\fP=\fILEVEL\fP
|
174
174
|
.RS 4
|
175
175
|
The minimum logging level that triggers a non\-zero exit code (failure).
|
176
|
-
If this option is not set (default: FATAL), the program exits with
|
176
|
+
If this option is not set (default: FATAL), the program exits with exit code zero even if warnings or errors have been logged.
|
177
177
|
.RE
|
178
178
|
.sp
|
179
179
|
\fB\-q, \-\-quiet\fP
|
180
180
|
.RS 4
|
181
|
-
Silence warnings.
|
181
|
+
Silence application log messages and script warnings.
|
182
182
|
.RE
|
183
183
|
.sp
|
184
184
|
\fB\-\-trace\fP
|
185
185
|
.RS 4
|
186
|
-
Include backtrace information
|
187
|
-
Not enabled by default.
|
186
|
+
Include backtrace information when reporting errors.
|
188
187
|
.RE
|
189
188
|
.sp
|
190
189
|
\fB\-v, \-\-verbose\fP
|
191
190
|
.RS 4
|
192
|
-
Verbosely print processing information
|
191
|
+
Verbosely print processing information to stderr, including debug\-level log messages.
|
192
|
+
.RE
|
193
|
+
.sp
|
194
|
+
\fB\-w, \-\-warnings\fP
|
195
|
+
.RS 4
|
196
|
+
Turn on script warnings (applies to executed code).
|
193
197
|
.RE
|
194
198
|
.sp
|
195
199
|
\fB\-t, \-\-timings\fP
|
196
200
|
.RS 4
|
197
|
-
|
201
|
+
Print timings report to stderr (time to read, parse and convert).
|
198
202
|
.RE
|
199
203
|
.SS "Program Information"
|
200
204
|
.sp
|
201
205
|
\fB\-h, \-\-help\fP [\fITOPIC\fP]
|
202
206
|
.RS 4
|
203
|
-
Print
|
204
|
-
Show the command usage if \fITOPIC\fP is not specified
|
207
|
+
Print a help message.
|
208
|
+
Show the command usage if \fITOPIC\fP is not specified or recognized.
|
205
209
|
Dump the Asciidoctor man page (in troff/groff format) if \fITOPIC\fP is \fImanpage\fP.
|
206
210
|
.RE
|
207
211
|
.sp
|
@@ -209,7 +213,7 @@ Dump the Asciidoctor man page (in troff/groff format) if \fITOPIC\fP is \fImanpa
|
|
209
213
|
.RS 4
|
210
214
|
Print program version number.
|
211
215
|
.sp
|
212
|
-
\
|
216
|
+
\fB\-v\fP can also be used if no source files are specified.
|
213
217
|
.RE
|
214
218
|
.SH "ENVIRONMENT"
|
215
219
|
.sp
|
@@ -253,7 +257,7 @@ Refer to the \fBAsciidoctor\fP issue tracker at \c
|
|
253
257
|
.URL "http://discuss.asciidoctor.org" "" ""
|
254
258
|
.SH "COPYING"
|
255
259
|
.sp
|
256
|
-
Copyright (C) 2012\-
|
260
|
+
Copyright (C) 2012\-2019 Dan Allen, Ryan Waldron and the Asciidoctor Project.
|
257
261
|
Free use of this software is granted under the terms of the MIT License.
|
258
262
|
.SH "AUTHORS"
|
259
263
|
.sp
|
data/man/asciidoctor.adoc
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
Dan Allen; Sarah White; Ryan Waldron
|
3
3
|
:doctype: manpage
|
4
4
|
:man manual: Asciidoctor Manual
|
5
|
-
:man source: Asciidoctor
|
5
|
+
:man source: Asciidoctor 2.0.0.rc.1
|
6
6
|
:page-layout: base
|
7
7
|
|
8
8
|
== NAME
|
@@ -15,7 +15,7 @@ asciidoctor - converts AsciiDoc source files to HTML, DocBook and other formats
|
|
15
15
|
|
16
16
|
== DESCRIPTION
|
17
17
|
|
18
|
-
The asciidoctor(1) command converts the AsciiDoc source file(s) _FILE_ to HTML5, DocBook 5,
|
18
|
+
The asciidoctor(1) command converts the AsciiDoc source file(s) _FILE_ to HTML5, DocBook 5, man(ual) page and other custom output formats.
|
19
19
|
|
20
20
|
If _FILE_ is _-_ then the AsciiDoc source is read from standard input.
|
21
21
|
|
@@ -126,32 +126,34 @@ Matching templates found in subsequent directories override ones previously disc
|
|
126
126
|
|
127
127
|
*--failure-level*=_LEVEL_::
|
128
128
|
The minimum logging level that triggers a non-zero exit code (failure).
|
129
|
-
If this option is not set (default: FATAL), the program exits with
|
129
|
+
If this option is not set (default: FATAL), the program exits with exit code zero even if warnings or errors have been logged.
|
130
130
|
|
131
131
|
*-q, --quiet*::
|
132
|
-
Silence warnings.
|
132
|
+
Silence application log messages and script warnings.
|
133
133
|
|
134
134
|
*--trace*::
|
135
|
-
Include backtrace information
|
136
|
-
Not enabled by default.
|
135
|
+
Include backtrace information when reporting errors.
|
137
136
|
|
138
137
|
*-v, --verbose*::
|
139
|
-
Verbosely print processing information
|
138
|
+
Verbosely print processing information to stderr, including debug-level log messages.
|
139
|
+
|
140
|
+
*-w, --warnings*::
|
141
|
+
Turn on script warnings (applies to executed code).
|
140
142
|
|
141
143
|
*-t, --timings*::
|
142
|
-
|
144
|
+
Print timings report to stderr (time to read, parse and convert).
|
143
145
|
|
144
146
|
=== Program Information
|
145
147
|
|
146
148
|
*-h, --help* [_TOPIC_]::
|
147
|
-
Print
|
148
|
-
Show the command usage if _TOPIC_ is not specified
|
149
|
+
Print a help message.
|
150
|
+
Show the command usage if _TOPIC_ is not specified or recognized.
|
149
151
|
Dump the Asciidoctor man page (in troff/groff format) if _TOPIC_ is _manpage_.
|
150
152
|
|
151
153
|
*-V, --version*::
|
152
154
|
Print program version number.
|
153
155
|
+
|
154
|
-
|
156
|
+
*-v* can also be used if no source files are specified.
|
155
157
|
|
156
158
|
== ENVIRONMENT
|
157
159
|
|
@@ -189,5 +191,5 @@ Refer to the *Asciidoctor* issue tracker at https://github.com/asciidoctor/ascii
|
|
189
191
|
|
190
192
|
== COPYING
|
191
193
|
|
192
|
-
Copyright \(C) 2012-
|
194
|
+
Copyright \(C) 2012-2019 Dan Allen, Ryan Waldron and the Asciidoctor Project.
|
193
195
|
Free use of this software is granted under the terms of the MIT License.
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: asciidoctor
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 2.0.0.rc.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dan Allen
|
@@ -13,7 +13,7 @@ authors:
|
|
13
13
|
autorequire:
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
|
-
date:
|
16
|
+
date: 2019-03-02 00:00:00.000000000 Z
|
17
17
|
dependencies:
|
18
18
|
- !ruby/object:Gem::Dependency
|
19
19
|
name: asciimath
|
@@ -43,20 +43,34 @@ dependencies:
|
|
43
43
|
- - "~>"
|
44
44
|
- !ruby/object:Gem::Version
|
45
45
|
version: 1.1.0
|
46
|
+
- !ruby/object:Gem::Dependency
|
47
|
+
name: concurrent-ruby
|
48
|
+
requirement: !ruby/object:Gem::Requirement
|
49
|
+
requirements:
|
50
|
+
- - "~>"
|
51
|
+
- !ruby/object:Gem::Version
|
52
|
+
version: 1.1.0
|
53
|
+
type: :development
|
54
|
+
prerelease: false
|
55
|
+
version_requirements: !ruby/object:Gem::Requirement
|
56
|
+
requirements:
|
57
|
+
- - "~>"
|
58
|
+
- !ruby/object:Gem::Version
|
59
|
+
version: 1.1.0
|
46
60
|
- !ruby/object:Gem::Dependency
|
47
61
|
name: cucumber
|
48
62
|
requirement: !ruby/object:Gem::Requirement
|
49
63
|
requirements:
|
50
64
|
- - "~>"
|
51
65
|
- !ruby/object:Gem::Version
|
52
|
-
version:
|
66
|
+
version: 3.1.0
|
53
67
|
type: :development
|
54
68
|
prerelease: false
|
55
69
|
version_requirements: !ruby/object:Gem::Requirement
|
56
70
|
requirements:
|
57
71
|
- - "~>"
|
58
72
|
- !ruby/object:Gem::Version
|
59
|
-
version:
|
73
|
+
version: 3.1.0
|
60
74
|
- !ruby/object:Gem::Dependency
|
61
75
|
name: erubis
|
62
76
|
requirement: !ruby/object:Gem::Requirement
|
@@ -85,117 +99,122 @@ dependencies:
|
|
85
99
|
- - "~>"
|
86
100
|
- !ruby/object:Gem::Version
|
87
101
|
version: 5.0.0
|
102
|
+
- !ruby/object:Gem::Dependency
|
103
|
+
name: minitest
|
104
|
+
requirement: !ruby/object:Gem::Requirement
|
105
|
+
requirements:
|
106
|
+
- - "~>"
|
107
|
+
- !ruby/object:Gem::Version
|
108
|
+
version: 5.11.0
|
109
|
+
type: :development
|
110
|
+
prerelease: false
|
111
|
+
version_requirements: !ruby/object:Gem::Requirement
|
112
|
+
requirements:
|
113
|
+
- - "~>"
|
114
|
+
- !ruby/object:Gem::Version
|
115
|
+
version: 5.11.0
|
88
116
|
- !ruby/object:Gem::Dependency
|
89
117
|
name: nokogiri
|
90
118
|
requirement: !ruby/object:Gem::Requirement
|
91
119
|
requirements:
|
92
120
|
- - "~>"
|
93
121
|
- !ruby/object:Gem::Version
|
94
|
-
version: 1.
|
122
|
+
version: 1.10.0
|
95
123
|
type: :development
|
96
124
|
prerelease: false
|
97
125
|
version_requirements: !ruby/object:Gem::Requirement
|
98
126
|
requirements:
|
99
127
|
- - "~>"
|
100
128
|
- !ruby/object:Gem::Version
|
101
|
-
version: 1.
|
129
|
+
version: 1.10.0
|
102
130
|
- !ruby/object:Gem::Dependency
|
103
131
|
name: rake
|
104
132
|
requirement: !ruby/object:Gem::Requirement
|
105
133
|
requirements:
|
106
134
|
- - "~>"
|
107
135
|
- !ruby/object:Gem::Version
|
108
|
-
version:
|
136
|
+
version: 12.3.0
|
109
137
|
type: :development
|
110
138
|
prerelease: false
|
111
139
|
version_requirements: !ruby/object:Gem::Requirement
|
112
140
|
requirements:
|
113
141
|
- - "~>"
|
114
142
|
- !ruby/object:Gem::Version
|
115
|
-
version:
|
143
|
+
version: 12.3.0
|
116
144
|
- !ruby/object:Gem::Dependency
|
117
|
-
name:
|
145
|
+
name: rouge
|
118
146
|
requirement: !ruby/object:Gem::Requirement
|
119
147
|
requirements:
|
120
148
|
- - "~>"
|
121
149
|
- !ruby/object:Gem::Version
|
122
|
-
version:
|
150
|
+
version: 3.3.0
|
123
151
|
type: :development
|
124
152
|
prerelease: false
|
125
153
|
version_requirements: !ruby/object:Gem::Requirement
|
126
154
|
requirements:
|
127
155
|
- - "~>"
|
128
156
|
- !ruby/object:Gem::Version
|
129
|
-
version:
|
157
|
+
version: 3.3.0
|
130
158
|
- !ruby/object:Gem::Dependency
|
131
|
-
name:
|
159
|
+
name: rspec-expectations
|
132
160
|
requirement: !ruby/object:Gem::Requirement
|
133
161
|
requirements:
|
134
162
|
- - "~>"
|
135
163
|
- !ruby/object:Gem::Version
|
136
|
-
version:
|
164
|
+
version: 3.8.0
|
137
165
|
type: :development
|
138
166
|
prerelease: false
|
139
167
|
version_requirements: !ruby/object:Gem::Requirement
|
140
168
|
requirements:
|
141
169
|
- - "~>"
|
142
170
|
- !ruby/object:Gem::Version
|
143
|
-
version:
|
171
|
+
version: 3.8.0
|
144
172
|
- !ruby/object:Gem::Dependency
|
145
|
-
name:
|
173
|
+
name: slim
|
146
174
|
requirement: !ruby/object:Gem::Requirement
|
147
175
|
requirements:
|
148
176
|
- - "~>"
|
149
177
|
- !ruby/object:Gem::Version
|
150
|
-
version:
|
178
|
+
version: 4.0.0
|
151
179
|
type: :development
|
152
180
|
prerelease: false
|
153
181
|
version_requirements: !ruby/object:Gem::Requirement
|
154
182
|
requirements:
|
155
183
|
- - "~>"
|
156
184
|
- !ruby/object:Gem::Version
|
157
|
-
version:
|
185
|
+
version: 4.0.0
|
158
186
|
- !ruby/object:Gem::Dependency
|
159
|
-
name:
|
187
|
+
name: tilt
|
160
188
|
requirement: !ruby/object:Gem::Requirement
|
161
189
|
requirements:
|
162
190
|
- - "~>"
|
163
191
|
- !ruby/object:Gem::Version
|
164
|
-
version:
|
192
|
+
version: 2.0.0
|
165
193
|
type: :development
|
166
194
|
prerelease: false
|
167
195
|
version_requirements: !ruby/object:Gem::Requirement
|
168
196
|
requirements:
|
169
197
|
- - "~>"
|
170
198
|
- !ruby/object:Gem::Version
|
171
|
-
version:
|
172
|
-
description: A fast, open source text processor and publishing toolchain
|
173
|
-
|
174
|
-
formats.
|
199
|
+
version: 2.0.0
|
200
|
+
description: A fast, open source text processor and publishing toolchain for converting
|
201
|
+
AsciiDoc content to HTML 5, DocBook 5, and other formats.
|
175
202
|
email:
|
176
203
|
- dan.j.allen@gmail.com
|
177
204
|
executables:
|
178
205
|
- asciidoctor
|
179
|
-
- asciidoctor-safe
|
180
206
|
extensions: []
|
181
|
-
extra_rdoc_files:
|
182
|
-
- CHANGELOG.adoc
|
183
|
-
- CONTRIBUTING.adoc
|
184
|
-
- LICENSE
|
207
|
+
extra_rdoc_files: []
|
185
208
|
files:
|
186
209
|
- CHANGELOG.adoc
|
187
|
-
- CONTRIBUTING.adoc
|
188
|
-
- Gemfile
|
189
210
|
- LICENSE
|
190
211
|
- README-de.adoc
|
191
212
|
- README-fr.adoc
|
192
213
|
- README-jp.adoc
|
193
214
|
- README-zh_CN.adoc
|
194
215
|
- README.adoc
|
195
|
-
- Rakefile
|
196
216
|
- asciidoctor.gemspec
|
197
217
|
- bin/asciidoctor
|
198
|
-
- bin/asciidoctor-safe
|
199
218
|
- data/locale/attributes-ar.adoc
|
200
219
|
- data/locale/attributes-bg.adoc
|
201
220
|
- data/locale/attributes-ca.adoc
|
@@ -228,13 +247,9 @@ files:
|
|
228
247
|
- data/locale/attributes-zh_CN.adoc
|
229
248
|
- data/locale/attributes-zh_TW.adoc
|
230
249
|
- data/locale/attributes.adoc
|
250
|
+
- data/reference/syntax.adoc
|
231
251
|
- data/stylesheets/asciidoctor-default.css
|
232
252
|
- data/stylesheets/coderay-asciidoctor.css
|
233
|
-
- features/open_block.feature
|
234
|
-
- features/pass_block.feature
|
235
|
-
- features/step_definitions.rb
|
236
|
-
- features/text_formatting.feature
|
237
|
-
- features/xref.feature
|
238
253
|
- lib/asciidoctor.rb
|
239
254
|
- lib/asciidoctor/abstract_block.rb
|
240
255
|
- lib/asciidoctor/abstract_node.rb
|
@@ -245,27 +260,16 @@ files:
|
|
245
260
|
- lib/asciidoctor/cli/invoker.rb
|
246
261
|
- lib/asciidoctor/cli/options.rb
|
247
262
|
- lib/asciidoctor/converter.rb
|
248
|
-
- lib/asciidoctor/converter/base.rb
|
249
263
|
- lib/asciidoctor/converter/composite.rb
|
250
|
-
- lib/asciidoctor/converter/docbook45.rb
|
251
264
|
- lib/asciidoctor/converter/docbook5.rb
|
252
|
-
- lib/asciidoctor/converter/factory.rb
|
253
265
|
- lib/asciidoctor/converter/html5.rb
|
254
266
|
- lib/asciidoctor/converter/manpage.rb
|
255
267
|
- lib/asciidoctor/converter/template.rb
|
256
268
|
- lib/asciidoctor/core_ext.rb
|
257
|
-
- lib/asciidoctor/core_ext/
|
258
|
-
- lib/asciidoctor/core_ext/
|
259
|
-
- lib/asciidoctor/core_ext/1.8.7/hash/key.rb
|
260
|
-
- lib/asciidoctor/core_ext/1.8.7/io/binread.rb
|
261
|
-
- lib/asciidoctor/core_ext/1.8.7/io/write.rb
|
262
|
-
- lib/asciidoctor/core_ext/1.8.7/string/chr.rb
|
263
|
-
- lib/asciidoctor/core_ext/1.8.7/string/limit_bytesize.rb
|
264
|
-
- lib/asciidoctor/core_ext/1.8.7/symbol/empty.rb
|
265
|
-
- lib/asciidoctor/core_ext/1.8.7/symbol/length.rb
|
269
|
+
- lib/asciidoctor/core_ext/float/truncate.rb
|
270
|
+
- lib/asciidoctor/core_ext/match_data/names.rb
|
266
271
|
- lib/asciidoctor/core_ext/nil_or_empty.rb
|
267
272
|
- lib/asciidoctor/core_ext/regexp/is_match.rb
|
268
|
-
- lib/asciidoctor/core_ext/string/limit_bytesize.rb
|
269
273
|
- lib/asciidoctor/document.rb
|
270
274
|
- lib/asciidoctor/extensions.rb
|
271
275
|
- lib/asciidoctor/helpers.rb
|
@@ -275,91 +279,24 @@ files:
|
|
275
279
|
- lib/asciidoctor/parser.rb
|
276
280
|
- lib/asciidoctor/path_resolver.rb
|
277
281
|
- lib/asciidoctor/reader.rb
|
282
|
+
- lib/asciidoctor/rouge_ext.rb
|
278
283
|
- lib/asciidoctor/section.rb
|
279
284
|
- lib/asciidoctor/stylesheets.rb
|
280
285
|
- lib/asciidoctor/substitutors.rb
|
286
|
+
- lib/asciidoctor/syntax_highlighter.rb
|
287
|
+
- lib/asciidoctor/syntax_highlighter/coderay.rb
|
288
|
+
- lib/asciidoctor/syntax_highlighter/highlightjs.rb
|
289
|
+
- lib/asciidoctor/syntax_highlighter/html_pipeline.rb
|
290
|
+
- lib/asciidoctor/syntax_highlighter/prettify.rb
|
291
|
+
- lib/asciidoctor/syntax_highlighter/pygments.rb
|
292
|
+
- lib/asciidoctor/syntax_highlighter/rouge.rb
|
281
293
|
- lib/asciidoctor/table.rb
|
282
294
|
- lib/asciidoctor/timings.rb
|
283
295
|
- lib/asciidoctor/version.rb
|
296
|
+
- lib/asciidoctor/writer.rb
|
284
297
|
- man/asciidoctor.1
|
285
298
|
- man/asciidoctor.adoc
|
286
|
-
|
287
|
-
- test/attribute_list_test.rb
|
288
|
-
- test/attributes_test.rb
|
289
|
-
- test/blocks_test.rb
|
290
|
-
- test/converter_test.rb
|
291
|
-
- test/document_test.rb
|
292
|
-
- test/extensions_test.rb
|
293
|
-
- test/fixtures/asciidoc_index.txt
|
294
|
-
- test/fixtures/basic-docinfo-footer.html
|
295
|
-
- test/fixtures/basic-docinfo-footer.xml
|
296
|
-
- test/fixtures/basic-docinfo.html
|
297
|
-
- test/fixtures/basic-docinfo.xml
|
298
|
-
- test/fixtures/basic.asciidoc
|
299
|
-
- test/fixtures/chapter-a.adoc
|
300
|
-
- test/fixtures/child-include.adoc
|
301
|
-
- test/fixtures/circle.svg
|
302
|
-
- test/fixtures/custom-backends/erb/html5/block_paragraph.html.erb
|
303
|
-
- test/fixtures/custom-backends/haml/docbook45/block_paragraph.xml.haml
|
304
|
-
- test/fixtures/custom-backends/haml/html5-tweaks/block_paragraph.html.haml
|
305
|
-
- test/fixtures/custom-backends/haml/html5/block_paragraph.html.haml
|
306
|
-
- test/fixtures/custom-backends/haml/html5/block_sidebar.html.haml
|
307
|
-
- test/fixtures/custom-backends/slim/docbook45/block_paragraph.xml.slim
|
308
|
-
- test/fixtures/custom-backends/slim/html5/block_paragraph.html.slim
|
309
|
-
- test/fixtures/custom-backends/slim/html5/block_sidebar.html.slim
|
310
|
-
- test/fixtures/custom-docinfodir/basic-docinfo.html
|
311
|
-
- test/fixtures/custom-docinfodir/docinfo.html
|
312
|
-
- test/fixtures/docinfo-footer.html
|
313
|
-
- test/fixtures/docinfo-footer.xml
|
314
|
-
- test/fixtures/docinfo.html
|
315
|
-
- test/fixtures/docinfo.xml
|
316
|
-
- test/fixtures/doctime-localtime.adoc
|
317
|
-
- test/fixtures/dot.gif
|
318
|
-
- test/fixtures/encoding.asciidoc
|
319
|
-
- test/fixtures/file-with-missing-include.adoc
|
320
|
-
- test/fixtures/grandchild-include.adoc
|
321
|
-
- test/fixtures/hello-asciidoctor.pdf
|
322
|
-
- test/fixtures/include-file.asciidoc
|
323
|
-
- test/fixtures/include-file.jsx
|
324
|
-
- test/fixtures/include-file.ml
|
325
|
-
- test/fixtures/include-file.xml
|
326
|
-
- test/fixtures/lists.adoc
|
327
|
-
- test/fixtures/master.adoc
|
328
|
-
- test/fixtures/mismatched-end-tag.adoc
|
329
|
-
- test/fixtures/other-chapters.adoc
|
330
|
-
- test/fixtures/outer-include.adoc
|
331
|
-
- test/fixtures/parent-include-restricted.adoc
|
332
|
-
- test/fixtures/parent-include.adoc
|
333
|
-
- test/fixtures/sample.asciidoc
|
334
|
-
- test/fixtures/section-a.adoc
|
335
|
-
- test/fixtures/stylesheets/custom.css
|
336
|
-
- test/fixtures/subdir/index.adoc
|
337
|
-
- test/fixtures/subdir/inner-include.adoc
|
338
|
-
- test/fixtures/subdir/middle-include.adoc
|
339
|
-
- test/fixtures/subs-docinfo.html
|
340
|
-
- test/fixtures/subs.adoc
|
341
|
-
- test/fixtures/tagged-class-enclosed.rb
|
342
|
-
- test/fixtures/tagged-class.rb
|
343
|
-
- test/fixtures/tip.gif
|
344
|
-
- test/fixtures/unclosed-tag.adoc
|
345
|
-
- test/fixtures/unexpected-end-tag.adoc
|
346
|
-
- test/invoker_test.rb
|
347
|
-
- test/links_test.rb
|
348
|
-
- test/lists_test.rb
|
349
|
-
- test/logger_test.rb
|
350
|
-
- test/manpage_test.rb
|
351
|
-
- test/options_test.rb
|
352
|
-
- test/paragraphs_test.rb
|
353
|
-
- test/parser_test.rb
|
354
|
-
- test/paths_test.rb
|
355
|
-
- test/preamble_test.rb
|
356
|
-
- test/reader_test.rb
|
357
|
-
- test/sections_test.rb
|
358
|
-
- test/substitutions_test.rb
|
359
|
-
- test/tables_test.rb
|
360
|
-
- test/test_helper.rb
|
361
|
-
- test/text_test.rb
|
362
|
-
homepage: http://asciidoctor.org
|
299
|
+
homepage: https://asciidoctor.org
|
363
300
|
licenses:
|
364
301
|
- MIT
|
365
302
|
metadata:
|
@@ -368,8 +305,7 @@ metadata:
|
|
368
305
|
mailing_list_uri: http://discuss.asciidoctor.org
|
369
306
|
source_code_uri: https://github.com/asciidoctor/asciidoctor
|
370
307
|
post_install_message:
|
371
|
-
rdoc_options:
|
372
|
-
- "--charset=UTF-8"
|
308
|
+
rdoc_options: []
|
373
309
|
require_paths:
|
374
310
|
- lib
|
375
311
|
required_ruby_version: !ruby/object:Gem::Requirement
|
@@ -379,95 +315,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
379
315
|
version: '0'
|
380
316
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
381
317
|
requirements:
|
382
|
-
- - "
|
318
|
+
- - ">"
|
383
319
|
- !ruby/object:Gem::Version
|
384
|
-
version:
|
320
|
+
version: 1.3.1
|
385
321
|
requirements: []
|
386
|
-
|
387
|
-
rubygems_version: 2.7.7
|
322
|
+
rubygems_version: 3.0.2
|
388
323
|
signing_key:
|
389
324
|
specification_version: 4
|
390
325
|
summary: An implementation of the AsciiDoc text processor and publishing toolchain
|
391
|
-
|
392
|
-
test_files:
|
393
|
-
- features/open_block.feature
|
394
|
-
- features/pass_block.feature
|
395
|
-
- features/step_definitions.rb
|
396
|
-
- features/text_formatting.feature
|
397
|
-
- features/xref.feature
|
398
|
-
- test/api_test.rb
|
399
|
-
- test/attribute_list_test.rb
|
400
|
-
- test/attributes_test.rb
|
401
|
-
- test/blocks_test.rb
|
402
|
-
- test/converter_test.rb
|
403
|
-
- test/document_test.rb
|
404
|
-
- test/extensions_test.rb
|
405
|
-
- test/fixtures/asciidoc_index.txt
|
406
|
-
- test/fixtures/basic-docinfo-footer.html
|
407
|
-
- test/fixtures/basic-docinfo-footer.xml
|
408
|
-
- test/fixtures/basic-docinfo.html
|
409
|
-
- test/fixtures/basic-docinfo.xml
|
410
|
-
- test/fixtures/basic.asciidoc
|
411
|
-
- test/fixtures/chapter-a.adoc
|
412
|
-
- test/fixtures/child-include.adoc
|
413
|
-
- test/fixtures/circle.svg
|
414
|
-
- test/fixtures/custom-backends/erb/html5/block_paragraph.html.erb
|
415
|
-
- test/fixtures/custom-backends/haml/docbook45/block_paragraph.xml.haml
|
416
|
-
- test/fixtures/custom-backends/haml/html5-tweaks/block_paragraph.html.haml
|
417
|
-
- test/fixtures/custom-backends/haml/html5/block_paragraph.html.haml
|
418
|
-
- test/fixtures/custom-backends/haml/html5/block_sidebar.html.haml
|
419
|
-
- test/fixtures/custom-backends/slim/docbook45/block_paragraph.xml.slim
|
420
|
-
- test/fixtures/custom-backends/slim/html5/block_paragraph.html.slim
|
421
|
-
- test/fixtures/custom-backends/slim/html5/block_sidebar.html.slim
|
422
|
-
- test/fixtures/custom-docinfodir/basic-docinfo.html
|
423
|
-
- test/fixtures/custom-docinfodir/docinfo.html
|
424
|
-
- test/fixtures/docinfo-footer.html
|
425
|
-
- test/fixtures/docinfo-footer.xml
|
426
|
-
- test/fixtures/docinfo.html
|
427
|
-
- test/fixtures/docinfo.xml
|
428
|
-
- test/fixtures/doctime-localtime.adoc
|
429
|
-
- test/fixtures/dot.gif
|
430
|
-
- test/fixtures/encoding.asciidoc
|
431
|
-
- test/fixtures/file-with-missing-include.adoc
|
432
|
-
- test/fixtures/grandchild-include.adoc
|
433
|
-
- test/fixtures/hello-asciidoctor.pdf
|
434
|
-
- test/fixtures/include-file.asciidoc
|
435
|
-
- test/fixtures/include-file.jsx
|
436
|
-
- test/fixtures/include-file.ml
|
437
|
-
- test/fixtures/include-file.xml
|
438
|
-
- test/fixtures/lists.adoc
|
439
|
-
- test/fixtures/master.adoc
|
440
|
-
- test/fixtures/mismatched-end-tag.adoc
|
441
|
-
- test/fixtures/other-chapters.adoc
|
442
|
-
- test/fixtures/outer-include.adoc
|
443
|
-
- test/fixtures/parent-include-restricted.adoc
|
444
|
-
- test/fixtures/parent-include.adoc
|
445
|
-
- test/fixtures/sample.asciidoc
|
446
|
-
- test/fixtures/section-a.adoc
|
447
|
-
- test/fixtures/stylesheets/custom.css
|
448
|
-
- test/fixtures/subdir/index.adoc
|
449
|
-
- test/fixtures/subdir/inner-include.adoc
|
450
|
-
- test/fixtures/subdir/middle-include.adoc
|
451
|
-
- test/fixtures/subs-docinfo.html
|
452
|
-
- test/fixtures/subs.adoc
|
453
|
-
- test/fixtures/tagged-class-enclosed.rb
|
454
|
-
- test/fixtures/tagged-class.rb
|
455
|
-
- test/fixtures/tip.gif
|
456
|
-
- test/fixtures/unclosed-tag.adoc
|
457
|
-
- test/fixtures/unexpected-end-tag.adoc
|
458
|
-
- test/invoker_test.rb
|
459
|
-
- test/links_test.rb
|
460
|
-
- test/lists_test.rb
|
461
|
-
- test/logger_test.rb
|
462
|
-
- test/manpage_test.rb
|
463
|
-
- test/options_test.rb
|
464
|
-
- test/paragraphs_test.rb
|
465
|
-
- test/parser_test.rb
|
466
|
-
- test/paths_test.rb
|
467
|
-
- test/preamble_test.rb
|
468
|
-
- test/reader_test.rb
|
469
|
-
- test/sections_test.rb
|
470
|
-
- test/substitutions_test.rb
|
471
|
-
- test/tables_test.rb
|
472
|
-
- test/test_helper.rb
|
473
|
-
- test/text_test.rb
|
326
|
+
test_files: []
|