asciidoctor 2.0.6 → 2.0.11

Sign up to get free protection for your applications and to get access to all the features.
Files changed (74) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.adoc +159 -6
  3. data/LICENSE +2 -1
  4. data/README-de.adoc +5 -5
  5. data/README-fr.adoc +4 -4
  6. data/README-jp.adoc +248 -183
  7. data/README-zh_CN.adoc +6 -6
  8. data/README.adoc +17 -11
  9. data/asciidoctor.gemspec +8 -8
  10. data/data/locale/attributes-ar.adoc +4 -3
  11. data/data/locale/attributes-bg.adoc +4 -3
  12. data/data/locale/attributes-ca.adoc +6 -5
  13. data/data/locale/attributes-cs.adoc +4 -3
  14. data/data/locale/attributes-da.adoc +6 -5
  15. data/data/locale/attributes-de.adoc +4 -4
  16. data/data/locale/attributes-en.adoc +4 -4
  17. data/data/locale/attributes-es.adoc +6 -5
  18. data/data/locale/attributes-fa.adoc +4 -3
  19. data/data/locale/attributes-fi.adoc +4 -3
  20. data/data/locale/attributes-fr.adoc +6 -5
  21. data/data/locale/attributes-hu.adoc +4 -3
  22. data/data/locale/attributes-id.adoc +4 -3
  23. data/data/locale/attributes-it.adoc +4 -3
  24. data/data/locale/attributes-ja.adoc +4 -3
  25. data/data/locale/{attributes-kr.adoc → attributes-ko.adoc} +4 -3
  26. data/data/locale/attributes-nb.adoc +4 -3
  27. data/data/locale/attributes-nl.adoc +4 -3
  28. data/data/locale/attributes-nn.adoc +4 -3
  29. data/data/locale/attributes-pl.adoc +8 -7
  30. data/data/locale/attributes-pt.adoc +6 -5
  31. data/data/locale/attributes-pt_BR.adoc +6 -5
  32. data/data/locale/attributes-ro.adoc +4 -3
  33. data/data/locale/attributes-ru.adoc +6 -5
  34. data/data/locale/attributes-sr.adoc +4 -4
  35. data/data/locale/attributes-sr_Latn.adoc +4 -4
  36. data/data/locale/attributes-sv.adoc +4 -4
  37. data/data/locale/attributes-tr.adoc +4 -3
  38. data/data/locale/attributes-uk.adoc +6 -5
  39. data/data/locale/attributes-zh_CN.adoc +4 -3
  40. data/data/locale/attributes-zh_TW.adoc +4 -3
  41. data/data/stylesheets/asciidoctor-default.css +29 -26
  42. data/lib/asciidoctor.rb +94 -1098
  43. data/lib/asciidoctor/abstract_block.rb +19 -11
  44. data/lib/asciidoctor/abstract_node.rb +21 -15
  45. data/lib/asciidoctor/attribute_list.rb +59 -67
  46. data/lib/asciidoctor/cli/invoker.rb +2 -0
  47. data/lib/asciidoctor/cli/options.rb +8 -8
  48. data/lib/asciidoctor/convert.rb +198 -0
  49. data/lib/asciidoctor/converter.rb +14 -13
  50. data/lib/asciidoctor/converter/docbook5.rb +9 -25
  51. data/lib/asciidoctor/converter/html5.rb +65 -42
  52. data/lib/asciidoctor/converter/manpage.rb +13 -12
  53. data/lib/asciidoctor/converter/template.rb +6 -3
  54. data/lib/asciidoctor/document.rb +40 -48
  55. data/lib/asciidoctor/extensions.rb +3 -3
  56. data/lib/asciidoctor/helpers.rb +38 -39
  57. data/lib/asciidoctor/inline.rb +1 -1
  58. data/lib/asciidoctor/load.rb +117 -0
  59. data/lib/asciidoctor/parser.rb +29 -25
  60. data/lib/asciidoctor/path_resolver.rb +35 -25
  61. data/lib/asciidoctor/reader.rb +14 -7
  62. data/lib/asciidoctor/rx.rb +722 -0
  63. data/lib/asciidoctor/substitutors.rb +62 -40
  64. data/lib/asciidoctor/syntax_highlighter.rb +22 -8
  65. data/lib/asciidoctor/syntax_highlighter/coderay.rb +1 -1
  66. data/lib/asciidoctor/syntax_highlighter/highlightjs.rb +12 -4
  67. data/lib/asciidoctor/syntax_highlighter/prettify.rb +7 -4
  68. data/lib/asciidoctor/syntax_highlighter/pygments.rb +2 -3
  69. data/lib/asciidoctor/syntax_highlighter/rouge.rb +18 -11
  70. data/lib/asciidoctor/table.rb +49 -20
  71. data/lib/asciidoctor/version.rb +1 -1
  72. data/man/asciidoctor.1 +17 -17
  73. data/man/asciidoctor.adoc +15 -14
  74. metadata +12 -9
@@ -58,7 +58,7 @@ class Table < AbstractBlock
58
58
  @rows = Rows.new
59
59
  @columns = []
60
60
 
61
- @has_header_option = attributes['header-option'] ? true : false
61
+ @has_header_option = false
62
62
 
63
63
  # smells like we need a utility method here
64
64
  # to resolve an integer width from potential bogus input
@@ -154,22 +154,19 @@ class Table < AbstractBlock
154
154
  # returns nothing
155
155
  def partition_header_footer(attrs)
156
156
  # set rowcount before splitting up body rows
157
- @attributes['rowcount'] = @rows.body.size
158
-
159
- num_body_rows = @rows.body.size
160
- if num_body_rows > 0 && @has_header_option
161
- head = @rows.body.shift
162
- num_body_rows -= 1
163
- # styles aren't applied to header row
164
- head.each {|c| c.style = nil }
165
- # QUESTION why does AsciiDoc use an array for head? is it
166
- # possible to have more than one based on the syntax?
167
- @rows.head = [head]
157
+ num_body_rows = @attributes['rowcount'] = (body = @rows.body).size
158
+
159
+ if num_body_rows > 0
160
+ if @has_header_option
161
+ @rows.head = [body.shift.map {|cell| cell.reinitialize true }]
162
+ num_body_rows -= 1
163
+ elsif @has_header_option.nil?
164
+ @has_header_option = false
165
+ body.unshift(body.shift.map {|cell| cell.reinitialize false })
166
+ end
168
167
  end
169
168
 
170
- if num_body_rows > 0 && attrs['footer-option']
171
- @rows.foot = [@rows.body.pop]
172
- end
169
+ @rows.foot = [body.pop] if num_body_rows > 0 && attrs['footer-option']
173
170
 
174
171
  nil
175
172
  end
@@ -232,14 +229,23 @@ class Table::Cell < AbstractBlock
232
229
  # Public: An alias to the parent block (which is always a Column)
233
230
  alias column parent
234
231
 
235
- # Internal: Returns the nested Document in an AsciiDoc table cell (only set when style is :asciidoc)
232
+ # Public: Returns the nested Document in an AsciiDoc table cell (only set when style is :asciidoc)
236
233
  attr_reader :inner_document
237
234
 
238
235
  def initialize column, cell_text, attributes = {}, opts = {}
239
236
  super column, :table_cell
237
+ @cursor = @reinitialize_args = nil
240
238
  @source_location = opts[:cursor].dup if @document.sourcemap
239
+ # NOTE: column is always set when parsing; may not be set when building table from the API
241
240
  if column
242
- cell_style = column.attributes['style'] unless (in_header_row = column.table.header_row?)
241
+ if (in_header_row = column.table.header_row?)
242
+ if (cell_style = column.style || attributes&.[]('style')) == :asciidoc || cell_style == :literal
243
+ @reinitialize_args = [column, cell_text, attributes&.merge, opts]
244
+ end
245
+ cell_style = nil
246
+ else
247
+ cell_style = column.style
248
+ end
243
249
  # REVIEW feels hacky to inherit all attributes from column
244
250
  update_attributes column.attributes
245
251
  end
@@ -306,8 +312,12 @@ class Table::Cell < AbstractBlock
306
312
  @content_model = :verbatim
307
313
  @subs = BASIC_SUBS
308
314
  else
309
- if normal_psv && (cell_text.start_with? '[[') && LeadingInlineAnchorRx =~ cell_text
310
- Parser.catalog_inline_anchor $1, $2, self, opts[:cursor], @document
315
+ if normal_psv
316
+ if in_header_row
317
+ @cursor = opts[:cursor] # used in deferred catalog_inline_anchor call
318
+ else
319
+ catalog_inline_anchor cell_text, opts[:cursor]
320
+ end
311
321
  end
312
322
  @content_model = :simple
313
323
  @subs = NORMAL_SUBS
@@ -316,6 +326,25 @@ class Table::Cell < AbstractBlock
316
326
  @style = cell_style
317
327
  end
318
328
 
329
+ def reinitialize has_header
330
+ if has_header
331
+ @reinitialize_args = nil
332
+ elsif @reinitialize_args
333
+ return Table::Cell.new(*@reinitialize_args)
334
+ else
335
+ @style = @attributes['style']
336
+ end
337
+ catalog_inline_anchor if @cursor
338
+ self
339
+ end
340
+
341
+ def catalog_inline_anchor cell_text = @text, cursor = nil
342
+ cursor, @cursor = @cursor, nil unless cursor
343
+ if (cell_text.start_with? '[[') && LeadingInlineAnchorRx =~ cell_text
344
+ Parser.catalog_inline_anchor $1, $2, self, cursor, @document
345
+ end
346
+ end
347
+
319
348
  # Public: Get the String text of this cell with substitutions applied.
320
349
  #
321
350
  # Used for cells in the head row as well as text-only (non-AsciiDoc) cells in
@@ -339,7 +368,7 @@ class Table::Cell < AbstractBlock
339
368
 
340
369
  # Public: Handles the body data (tbody, tfoot), applying styles and partitioning into paragraphs
341
370
  #
342
- # This method should not be used for cells in the head row or that have the literal or verse style.
371
+ # This method should not be used for cells in the head row or that have the literal style.
343
372
  #
344
373
  # Returns the converted String for this Cell
345
374
  def content
@@ -1,4 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
  module Asciidoctor
3
- VERSION = '2.0.6'
3
+ VERSION = '2.0.11'
4
4
  end
@@ -1,13 +1,13 @@
1
1
  '\" t
2
2
  .\" Title: asciidoctor
3
3
  .\" Author: Dan Allen, Sarah White, Ryan Waldron
4
- .\" Generator: Asciidoctor 2.0.6
5
- .\" Date: 2019-04-04
4
+ .\" Generator: Asciidoctor 2.0.11
5
+ .\" Date: 2020-11-02
6
6
  .\" Manual: Asciidoctor Manual
7
- .\" Source: Asciidoctor 2.0.6
7
+ .\" Source: Asciidoctor 2.0.11
8
8
  .\" Language: English
9
9
  .\"
10
- .TH "ASCIIDOCTOR" "1" "2019-04-04" "Asciidoctor 2.0.6" "Asciidoctor Manual"
10
+ .TH "ASCIIDOCTOR" "1" "2020-11-02" "Asciidoctor 2.0.11" "Asciidoctor Manual"
11
11
  .ie \n(.g .ds Aq \(aq
12
12
  .el .ds Aq '
13
13
  .ss \n[.ss] 0
@@ -28,13 +28,13 @@
28
28
  . LINKSTYLE blue R < >
29
29
  .\}
30
30
  .SH "NAME"
31
- asciidoctor \- converts AsciiDoc source files to HTML, DocBook and other formats
31
+ asciidoctor \- converts AsciiDoc source files to HTML, DocBook, and other formats
32
32
  .SH "SYNOPSIS"
33
33
  .sp
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, man(ual) page and other custom output formats.
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"
@@ -43,13 +43,13 @@ If \fIFILE\fP is \fI\-\fP then the AsciiDoc source is read from standard input.
43
43
  \fB\-B, \-\-base\-dir\fP=\fIDIR\fP
44
44
  .RS 4
45
45
  Base directory containing the document and resources.
46
- Defaults to the directory containing the source file, or the working directory if the source is read from a stream.
46
+ Defaults to the directory containing the source file or, if the source is read from a stream, the working directory.
47
47
  When combined with the safe mode setting, can be used to chroot the execution of the program.
48
48
  .RE
49
49
  .sp
50
50
  \fB\-S, \-\-safe\-mode\fP=\fISAFE_MODE\fP
51
51
  .RS 4
52
- Set safe mode level: \fIunsafe\fP, \fIsafe\fP, \fIserver\fP or \fIsecure\fP.
52
+ Set safe mode level: \fIunsafe\fP, \fIsafe\fP, \fIserver\fP, or \fIsecure\fP.
53
53
  Disables potentially dangerous macros in source files, such as \f(CRinclude::[]\fP.
54
54
  If not set, the safe mode level defaults to \fIunsafe\fP when Asciidoctor is invoked using this script.
55
55
  .RE
@@ -65,11 +65,11 @@ If not set, the safe mode level defaults to \fIunsafe\fP when Asciidoctor is inv
65
65
  .sp
66
66
  \fB\-a, \-\-attribute\fP=\fIATTRIBUTE\fP
67
67
  .RS 4
68
- Define, override or delete a document attribute.
69
- Command\-line attributes take precedence over attributes defined in the source file unless the value ends with \fI@\fP.
68
+ Define, override, or unset a document attribute.
69
+ Command\-line attributes take precedence over attributes defined in the source file unless either the name or value ends in \fI@\fP.
70
70
  .sp
71
71
  \fIATTRIBUTE\fP is normally formatted as a key\-value pair, in the form \fINAME=VALUE\fP.
72
- Alternate acceptable forms are \fINAME\fP (where the \fIVALUE\fP defaults to an empty string), \fINAME!\fP (unassigns the \fINAME\fP attribute) and \fINAME=VALUE@\fP (where \fIVALUE\fP does not override value of \fINAME\fP attribute if it\(cqs already defined in the source document).
72
+ Alternate forms are \fINAME\fP (where the \fIVALUE\fP defaults to an empty string), \fINAME!\fP (unsets the \fINAME\fP attribute), and \fINAME=VALUE@\fP (or \fINAME@=VALUE\fP) (where \fIVALUE\fP does not override the \fINAME\fP attribute if it\(cqs already defined in the source document).
73
73
  Values containing spaces should be enclosed in quotes.
74
74
  .sp
75
75
  This option may be specified more than once.
@@ -77,7 +77,7 @@ This option may be specified more than once.
77
77
  .sp
78
78
  \fB\-b, \-\-backend\fP=\fIBACKEND\fP
79
79
  .RS 4
80
- Backend output file format: \fIhtml5\fP, \fIdocbook5\fP, \fIdocbook45\fP and \fImanpage\fP are supported out of the box.
80
+ Backend output file format: \fIhtml5\fP, \fIdocbook5\fP, and \fImanpage\fP are supported out of the box.
81
81
  You can also use the backend alias names \fIhtml\fP (aliased to \fIhtml5\fP) or \fIdocbook\fP (aliased to \fIdocbook5\fP).
82
82
  Other values can be passed, but if Asciidoctor cannot resolve the backend to a converter, it will fail.
83
83
  Defaults to \fIhtml5\fP.
@@ -85,7 +85,7 @@ Defaults to \fIhtml5\fP.
85
85
  .sp
86
86
  \fB\-d, \-\-doctype\fP=\fIDOCTYPE\fP
87
87
  .RS 4
88
- Document type: \fIarticle\fP, \fIbook\fP, \fImanpage\fP or \fIinline\fP.
88
+ Document type: \fIarticle\fP, \fIbook\fP, \fImanpage\fP, or \fIinline\fP.
89
89
  Sets the root element when using the \fIdocbook\fP backend and the style class on the HTML body element when using the \fIhtml\fP backend.
90
90
  The \fIbook\fP document type allows multiple level\-0 section titles in a single document.
91
91
  The \fImanpage\fP document type enables parsing of metadata necessary to produce a man page.
@@ -97,7 +97,7 @@ Defaults to \fIarticle\fP.
97
97
  \fB\-D, \-\-destination\-dir\fP=\fIDIR\fP
98
98
  .RS 4
99
99
  Destination output directory.
100
- Defaults to the directory containing the source file, or the working directory if the source is read from a stream.
100
+ Defaults to the directory containing the source file or, if the source is read from a stream, the working directory.
101
101
  If specified, the directory is resolved relative to the working directory.
102
102
  .RE
103
103
  .sp
@@ -198,7 +198,7 @@ Turn on script warnings (applies to executed code).
198
198
  .sp
199
199
  \fB\-t, \-\-timings\fP
200
200
  .RS 4
201
- Print timings report to stderr (time to read, parse and convert).
201
+ Print timings report to stderr (time to read, parse, and convert).
202
202
  .RE
203
203
  .SS "Program Information"
204
204
  .sp
@@ -239,7 +239,7 @@ Refer to the \fBAsciidoctor\fP issue tracker at \c
239
239
  .URL "https://github.com/asciidoctor/asciidoctor/issues?q=is%3Aopen" "" "."
240
240
  .SH "AUTHORS"
241
241
  .sp
242
- \fBAsciidoctor\fP was written by Dan Allen, Ryan Waldron, Jason Porter, Nick Hengeveld and other contributors.
242
+ \fBAsciidoctor\fP was written by Dan Allen, Ryan Waldron, Jason Porter, Nick Hengeveld, and other contributors.
243
243
  .sp
244
244
  \fBAsciiDoc\fP was written by Stuart Rackham and has received contributions from many other individuals.
245
245
  .SH "RESOURCES"
@@ -257,7 +257,7 @@ Refer to the \fBAsciidoctor\fP issue tracker at \c
257
257
  .URL "http://discuss.asciidoctor.org" "" ""
258
258
  .SH "COPYING"
259
259
  .sp
260
- Copyright (C) 2012\-2019 Dan Allen, Ryan Waldron and the Asciidoctor Project.
260
+ Copyright (C) 2012\-2020 Dan Allen, Ryan Waldron, and the Asciidoctor Project.
261
261
  Free use of this software is granted under the terms of the MIT License.
262
262
  .SH "AUTHORS"
263
263
  .sp
@@ -1,13 +1,14 @@
1
1
  = asciidoctor(1)
2
2
  Dan Allen; Sarah White; Ryan Waldron
3
3
  :doctype: manpage
4
+ :release-version: 2.0.11
4
5
  :man manual: Asciidoctor Manual
5
- :man source: Asciidoctor 2.0.6
6
+ :man source: Asciidoctor {release-version}
6
7
  :page-layout: base
7
8
 
8
9
  == NAME
9
10
 
10
- asciidoctor - converts AsciiDoc source files to HTML, DocBook and other formats
11
+ asciidoctor - converts AsciiDoc source files to HTML, DocBook, and other formats
11
12
 
12
13
  == SYNOPSIS
13
14
 
@@ -15,7 +16,7 @@ asciidoctor - converts AsciiDoc source files to HTML, DocBook and other formats
15
16
 
16
17
  == DESCRIPTION
17
18
 
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
+ The asciidoctor(1) command converts the AsciiDoc source file(s) _FILE_ to HTML5, DocBook 5, man(ual) page, and other custom output formats.
19
20
 
20
21
  If _FILE_ is _-_ then the AsciiDoc source is read from standard input.
21
22
 
@@ -25,11 +26,11 @@ If _FILE_ is _-_ then the AsciiDoc source is read from standard input.
25
26
 
26
27
  *-B, --base-dir*=_DIR_::
27
28
  Base directory containing the document and resources.
28
- Defaults to the directory containing the source file, or the working directory if the source is read from a stream.
29
+ Defaults to the directory containing the source file or, if the source is read from a stream, the working directory.
29
30
  When combined with the safe mode setting, can be used to chroot the execution of the program.
30
31
 
31
32
  *-S, --safe-mode*=_SAFE_MODE_::
32
- Set safe mode level: _unsafe_, _safe_, _server_ or _secure_.
33
+ Set safe mode level: _unsafe_, _safe_, _server_, or _secure_.
33
34
  Disables potentially dangerous macros in source files, such as `include::[]`.
34
35
  If not set, the safe mode level defaults to _unsafe_ when Asciidoctor is invoked using this script.
35
36
 
@@ -42,23 +43,23 @@ If _FILE_ is _-_ then the AsciiDoc source is read from standard input.
42
43
  === Document Settings
43
44
 
44
45
  *-a, --attribute*=_ATTRIBUTE_::
45
- Define, override or delete a document attribute.
46
- Command-line attributes take precedence over attributes defined in the source file unless the value ends with _@_.
46
+ Define, override, or unset a document attribute.
47
+ Command-line attributes take precedence over attributes defined in the source file unless either the name or value ends in _@_.
47
48
  +
48
49
  _ATTRIBUTE_ is normally formatted as a key-value pair, in the form _NAME=VALUE_.
49
- Alternate acceptable forms are _NAME_ (where the _VALUE_ defaults to an empty string), _NAME!_ (unassigns the _NAME_ attribute) and _NAME=VALUE@_ (where _VALUE_ does not override value of _NAME_ attribute if it's already defined in the source document).
50
+ Alternate forms are _NAME_ (where the _VALUE_ defaults to an empty string), _NAME!_ (unsets the _NAME_ attribute), and _NAME=VALUE@_ (or _NAME@=VALUE_) (where _VALUE_ does not override the _NAME_ attribute if it's already defined in the source document).
50
51
  Values containing spaces should be enclosed in quotes.
51
52
  +
52
53
  This option may be specified more than once.
53
54
 
54
55
  *-b, --backend*=_BACKEND_::
55
- Backend output file format: _html5_, _docbook5_, _docbook45_ and _manpage_ are supported out of the box.
56
+ Backend output file format: _html5_, _docbook5_, and _manpage_ are supported out of the box.
56
57
  You can also use the backend alias names _html_ (aliased to _html5_) or _docbook_ (aliased to _docbook5_).
57
58
  Other values can be passed, but if Asciidoctor cannot resolve the backend to a converter, it will fail.
58
59
  Defaults to _html5_.
59
60
 
60
61
  *-d, --doctype*=_DOCTYPE_::
61
- Document type: _article_, _book_, _manpage_ or _inline_.
62
+ Document type: _article_, _book_, _manpage_, or _inline_.
62
63
  Sets the root element when using the _docbook_ backend and the style class on the HTML body element when using the _html_ backend.
63
64
  The _book_ document type allows multiple level-0 section titles in a single document.
64
65
  The _manpage_ document type enables parsing of metadata necessary to produce a man page.
@@ -69,7 +70,7 @@ This option may be specified more than once.
69
70
 
70
71
  *-D, --destination-dir*=_DIR_::
71
72
  Destination output directory.
72
- Defaults to the directory containing the source file, or the working directory if the source is read from a stream.
73
+ Defaults to the directory containing the source file or, if the source is read from a stream, the working directory.
73
74
  If specified, the directory is resolved relative to the working directory.
74
75
 
75
76
  *-E, --template-engine*=_NAME_::
@@ -141,7 +142,7 @@ Matching templates found in subsequent directories override ones previously disc
141
142
  Turn on script warnings (applies to executed code).
142
143
 
143
144
  *-t, --timings*::
144
- Print timings report to stderr (time to read, parse and convert).
145
+ Print timings report to stderr (time to read, parse, and convert).
145
146
 
146
147
  === Program Information
147
148
 
@@ -175,7 +176,7 @@ Refer to the *Asciidoctor* issue tracker at https://github.com/asciidoctor/ascii
175
176
 
176
177
  == AUTHORS
177
178
 
178
- *Asciidoctor* was written by Dan Allen, Ryan Waldron, Jason Porter, Nick Hengeveld and other contributors.
179
+ *Asciidoctor* was written by Dan Allen, Ryan Waldron, Jason Porter, Nick Hengeveld, and other contributors.
179
180
 
180
181
  *AsciiDoc* was written by Stuart Rackham and has received contributions from many other individuals.
181
182
 
@@ -191,5 +192,5 @@ Refer to the *Asciidoctor* issue tracker at https://github.com/asciidoctor/ascii
191
192
 
192
193
  == COPYING
193
194
 
194
- Copyright \(C) 2012-2019 Dan Allen, Ryan Waldron and the Asciidoctor Project.
195
+ Copyright \(C) 2012-2020 Dan Allen, Ryan Waldron, and the Asciidoctor Project.
195
196
  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: 2.0.6
4
+ version: 2.0.11
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: 2019-04-04 00:00:00.000000000 Z
16
+ date: 2018-03-20 00:00:00.000000000 Z
17
17
  dependencies:
18
18
  - !ruby/object:Gem::Dependency
19
19
  name: asciimath
@@ -72,19 +72,19 @@ dependencies:
72
72
  - !ruby/object:Gem::Version
73
73
  version: 3.1.0
74
74
  - !ruby/object:Gem::Dependency
75
- name: erubis
75
+ name: erubi
76
76
  requirement: !ruby/object:Gem::Requirement
77
77
  requirements:
78
78
  - - "~>"
79
79
  - !ruby/object:Gem::Version
80
- version: 2.7.0
80
+ version: 1.9.0
81
81
  type: :development
82
82
  prerelease: false
83
83
  version_requirements: !ruby/object:Gem::Requirement
84
84
  requirements:
85
85
  - - "~>"
86
86
  - !ruby/object:Gem::Version
87
- version: 2.7.0
87
+ version: 1.9.0
88
88
  - !ruby/object:Gem::Dependency
89
89
  name: haml
90
90
  requirement: !ruby/object:Gem::Requirement
@@ -147,14 +147,14 @@ dependencies:
147
147
  requirements:
148
148
  - - "~>"
149
149
  - !ruby/object:Gem::Version
150
- version: 3.3.0
150
+ version: 3.15.0
151
151
  type: :development
152
152
  prerelease: false
153
153
  version_requirements: !ruby/object:Gem::Requirement
154
154
  requirements:
155
155
  - - "~>"
156
156
  - !ruby/object:Gem::Version
157
- version: 3.3.0
157
+ version: 3.15.0
158
158
  - !ruby/object:Gem::Dependency
159
159
  name: rspec-expectations
160
160
  requirement: !ruby/object:Gem::Requirement
@@ -231,7 +231,7 @@ files:
231
231
  - data/locale/attributes-id.adoc
232
232
  - data/locale/attributes-it.adoc
233
233
  - data/locale/attributes-ja.adoc
234
- - data/locale/attributes-kr.adoc
234
+ - data/locale/attributes-ko.adoc
235
235
  - data/locale/attributes-nb.adoc
236
236
  - data/locale/attributes-nl.adoc
237
237
  - data/locale/attributes-nn.adoc
@@ -260,6 +260,7 @@ files:
260
260
  - lib/asciidoctor/cli.rb
261
261
  - lib/asciidoctor/cli/invoker.rb
262
262
  - lib/asciidoctor/cli/options.rb
263
+ - lib/asciidoctor/convert.rb
263
264
  - lib/asciidoctor/converter.rb
264
265
  - lib/asciidoctor/converter/composite.rb
265
266
  - lib/asciidoctor/converter/docbook5.rb
@@ -277,11 +278,13 @@ files:
277
278
  - lib/asciidoctor/helpers.rb
278
279
  - lib/asciidoctor/inline.rb
279
280
  - lib/asciidoctor/list.rb
281
+ - lib/asciidoctor/load.rb
280
282
  - lib/asciidoctor/logging.rb
281
283
  - lib/asciidoctor/parser.rb
282
284
  - lib/asciidoctor/path_resolver.rb
283
285
  - lib/asciidoctor/reader.rb
284
286
  - lib/asciidoctor/rouge_ext.rb
287
+ - lib/asciidoctor/rx.rb
285
288
  - lib/asciidoctor/section.rb
286
289
  - lib/asciidoctor/stylesheets.rb
287
290
  - lib/asciidoctor/substitutors.rb
@@ -321,7 +324,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
321
324
  - !ruby/object:Gem::Version
322
325
  version: '0'
323
326
  requirements: []
324
- rubygems_version: 3.0.3
327
+ rubygems_version: 3.0.6
325
328
  signing_key:
326
329
  specification_version: 4
327
330
  summary: An implementation of the AsciiDoc text processor and publishing toolchain