ronn-ng 0.9.1 → 0.10.0.pre.SNAPSHOT

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a0c86d52512fedd7a5b3b61f1867851fcab7877706e458f4cde45e073df6fa4a
4
- data.tar.gz: 18d7a1560428cf229e72956656ddc0395bae82ca6a3824bd75b116b44e437be2
3
+ metadata.gz: 42d3c988ea961f9b89073f5534e6c0fc721c2f951e0a3d4e14f74987bab263db
4
+ data.tar.gz: ef7745fc686d7ba4de2bfa94f9071e05a675a18389a064cf651970976ba09e0f
5
5
  SHA512:
6
- metadata.gz: 4578b4612b2c004a2aa06f27161008fd57c7ee70e3715f3da8a9872e0c023f91d45651f65c75e358bfcd79712f4870e5e63c27f63bbf5614688010dfa2fae5c3
7
- data.tar.gz: e180ee66f3bca9a20fe5e99ac8b47ce1d69fb5bbc65f40a95bab9500f5c0efe6a65dc2a225edf5df972b32ccf17b30773a31f8cc19104eab5192aa85fd807e08
6
+ metadata.gz: 3a065288a7f12e64f33c1c5fea974a1954e21b0ea56b96f934fbad5f1570ee5b71716d10feb9b28cf9cd894ef4a185054889fa1c698f249595b1e8abbc8f24f9
7
+ data.tar.gz: '0338fdc307af4380e99127bd9e137c53e6ea7c9ddb7e719616667602de4fd7cae856c7099a3b9053cdc02c4083b10feae666f87e40688016782433f8663d1cc8'
data/CHANGES CHANGED
@@ -1,10 +1,18 @@
1
1
  Ronn-NG CHANGES
2
2
  ===============
3
3
 
4
+ Version 0.10.0 (2020 Oct 22)
5
+ ----------------------------
6
+
7
+ * Switch to GitHub Flavored Markdown, fixing code block rendering (<https://github.com/apjanke/ronn-ng/pull/53>)
8
+ * Revert `\[ci]` back to `\(bu)` (<https://github.com/apjanke/ronn-ng/pull/51>)
9
+ * Minor fix to single-quote escaping (<https://github.com/apjanke/ronn-ng/issues/55>)
10
+ * Bump to mustache 1.x
11
+
4
12
  Version 0.9.1 (2020 Apr 09)
5
13
  ---------------------------
6
14
 
7
- * Fix underlining issue (https://github.com/apjanke/ronn-ng/pull/41)
15
+ * Fix underlining issue (<https://github.com/apjanke/ronn-ng/pull/41>)
8
16
 
9
17
  Version 0.9.0 (2019 Dec 21)
10
18
  ---------------------------
@@ -20,8 +28,8 @@ Version 0.8.2 (2019 Mar 5)
20
28
  Version 0.8.1 (2019 Mar 5)
21
29
  --------------------------
22
30
 
23
- * Fixed URL hyphenation bug. (https://github.com/apjanke/ronn-ng/issues/23) (apjanke)
24
- * Fixed ordered-list bustication. (https://github.com/apjanke/ronn-ng/issues/24) (apjanke)
31
+ * Fixed URL hyphenation bug. (<https://github.com/apjanke/ronn-ng/issues/23>) (apjanke)
32
+ * Fixed ordered-list bustication. (<https://github.com/apjanke/ronn-ng/issues/24>) (apjanke)
25
33
 
26
34
  Version 0.8.0 (2018 Dec 25)
27
35
  ---------------------------
data/Rakefile CHANGED
@@ -19,7 +19,7 @@ end
19
19
  desc 'Run tests'
20
20
  task test: :environment do
21
21
  $LOAD_PATH.unshift "#{ROOTDIR}/test"
22
- Dir['test/test_*.rb'].each { |f| require(f) }
22
+ Dir['test/test_*.rb'].sort.each { |f| require(f) }
23
23
  end
24
24
 
25
25
  desc 'Start the server'
data/bin/ronn CHANGED
@@ -191,7 +191,7 @@ end
191
191
  # Build Pipeline
192
192
 
193
193
  pid = nil
194
- wr = STDOUT
194
+ wr = $stdout
195
195
  documents = ARGV.map { |file| Ronn::Document.new(file, options) }
196
196
  documents.each do |doc|
197
197
  # setup the man pipeline if the --man option was specified
@@ -202,7 +202,7 @@ documents.each do |doc|
202
202
  rd.close
203
203
  else
204
204
  wr.close
205
- STDIN.reopen rd
205
+ $stdin.reopen rd
206
206
  exec "#{groff} | #{pager}"
207
207
  end
208
208
  end
@@ -42,6 +42,6 @@ module Ronn
42
42
  # value generated by: rake rev
43
43
  # or edit manually; I'm not sure of how rake rev interacts with git
44
44
  # tags -apjanke
45
- REV = '0.9.1'.freeze
45
+ REV = '0.10.0-SNAPSHOT'.freeze
46
46
  VERSION = version
47
47
  end
@@ -74,7 +74,7 @@ module Ronn
74
74
  @reader = block ||
75
75
  lambda do |f|
76
76
  if ['-', nil].include?(f)
77
- STDIN.read
77
+ $stdin.read
78
78
  else
79
79
  File.read(f, encoding: @encoding)
80
80
  end
@@ -208,7 +208,9 @@ module Ronn
208
208
  # tuple of the form: [name, section, description], where missing information
209
209
  # is represented by nil and any element may be missing.
210
210
  def sniff
211
- html = Kramdown::Document.new(data[0, 512], auto_ids: false, smart_quotes: ['apos', 'apos', 'quot', 'quot'], typographic_symbols: { hellip: '...', ndash: '--', mdash: '--' }).to_html
211
+ html = Kramdown::Document.new(data[0, 512], auto_ids: false,
212
+ smart_quotes: ['apos', 'apos', 'quot', 'quot'],
213
+ typographic_symbols: { hellip: '...', ndash: '--', mdash: '--' }).to_html
212
214
  heading, html = html.split("</h1>\n", 2)
213
215
  return [nil, nil, nil] if html.nil?
214
216
 
@@ -310,7 +312,13 @@ module Ronn
310
312
  end
311
313
 
312
314
  def input_html
313
- @input_html ||= strip_heading(Kramdown::Document.new(markdown, auto_ids: false, smart_quotes: ['apos', 'apos', 'quot', 'quot'], typographic_symbols: { hellip: '...', ndash: '--', mdash: '--' }).to_html)
315
+ @input_html ||= strip_heading(Kramdown::Document.new(markdown,
316
+ auto_ids: false,
317
+ input: 'GFM',
318
+ hard_wrap: 'false',
319
+ syntax_highlighter_opts: 'line_numbers: false',
320
+ smart_quotes: ['apos', 'apos', 'quot', 'quot'],
321
+ typographic_symbols: { hellip: '...', ndash: '--', mdash: '--' }).to_html)
314
322
  end
315
323
 
316
324
  def strip_heading(html)
@@ -365,7 +373,7 @@ module Ronn
365
373
 
366
374
  # Convert <WORD> to <var>WORD</var> but only if WORD isn't an HTML tag.
367
375
  def markdown_filter_angle_quotes(markdown)
368
- markdown.gsub(/<([^:.\/]+?)>/) do |match|
376
+ markdown.gsub(/(?<!\\)<([^:.\/]+?)>/) do |match|
369
377
  contents = $1
370
378
  tag, attrs = contents.split(' ', 2)
371
379
  if attrs =~ /\/=/ || html_element?(tag.sub(/^\//, '')) ||
@@ -5,8 +5,7 @@ module Ronn
5
5
  class Index
6
6
  include Enumerable
7
7
 
8
- attr_reader :path
9
- attr_reader :references
8
+ attr_reader :path, :references
10
9
 
11
10
  # Retrieve an Index for <path>, where <path> is a directory or normal
12
11
  # file. The index is loaded from the corresponding index.txt file if
@@ -142,8 +141,7 @@ module Ronn
142
141
  #
143
142
  # The #url method should be used to obtain the href value for HTML.
144
143
  class Reference
145
- attr_reader :name
146
- attr_reader :location
144
+ attr_reader :name, :location
147
145
 
148
146
  def initialize(index, name, location)
149
147
  @index = index
@@ -168,7 +168,7 @@ module Ronn
168
168
  when 'ol'
169
169
  macro 'IP', %W["#{node.parent.children.index(node) + 1}." 4]
170
170
  when 'ul'
171
- macro 'IP', ['"\\[ci]"', '4']
171
+ macro 'IP', ['"\(bu"', '4']
172
172
  else
173
173
  raise "List element found as a child of non-list parent element: #{node.inspect}"
174
174
  end
@@ -316,7 +316,7 @@ module Ronn
316
316
  end
317
317
 
318
318
  HTML_ROFF_ENTITIES = {
319
- '•' => '\[ci]',
319
+ '•' => '\(bu',
320
320
  '&lt;' => '<',
321
321
  '&gt;' => '>',
322
322
  ' ' => '\~', # That's a literal non-breaking space character there
@@ -339,7 +339,7 @@ module Ronn
339
339
  text.gsub!(/&#(\d+);/) { $1.to_i.chr } # dec entities
340
340
  text.gsub!('\\', '\e') # backslash
341
341
  text.gsub!('...', '\|.\|.\|.') # ellipses
342
- text.gsub!(/['.-]/) { |m| "\\#{m}" } # control chars
342
+ text.gsub!(/[.-]/) { |m| "\\#{m}" } # control chars
343
343
  ent.each do |key, val|
344
344
  text.gsub!(key, val)
345
345
  end
@@ -354,10 +354,12 @@ module Ronn
354
354
  # write text to output buffer
355
355
  def write(text)
356
356
  return if text.nil? || text.empty?
357
- # lines cannot start with a '.'. insert zero-width character before.
357
+ # lines cannot start with a '.' or "'". insert zero-width character before.
358
358
  text = text.gsub(/\n\\\./, "\n\\\\&\\.")
359
+ text = text.gsub(/\n'/, "\n\\&\\'")
359
360
  buf_ends_in_newline = @buf.last && @buf.last[-1] == "\n"
360
361
  @buf << '\&' if text[0, 2] == '\.' && buf_ends_in_newline
362
+ @buf << '\&' if text[0, 1] == "'" && buf_ends_in_newline
361
363
  @buf << text
362
364
  end
363
365
 
@@ -7,6 +7,7 @@ module Ronn
7
7
  self.template_extension = 'html'
8
8
 
9
9
  def initialize(document, style_path = ENV['RONN_STYLE'].to_s.split(':'))
10
+ super()
10
11
  @document = document
11
12
  @style_path = style_path + [Template.template_path]
12
13
  end
@@ -1,7 +1,8 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'ronn-ng'
3
- s.version = '0.9.1'
4
- s.date = '2020-04-09'
3
+ s.version = '0.10.0-SNAPSHOT'
4
+ s.date = '2020-10-22'
5
+ s.required_ruby_version = '>= 2.4'
5
6
 
6
7
  s.summary = 'Builds man pages from Markdown'
7
8
  s.description = 'Ronn-NG builds manuals in HTML and Unix man page format from Markdown.'
@@ -59,7 +60,7 @@ Gem::Specification.new do |s|
59
60
  test/basic_document.html
60
61
  test/basic_document.ronn
61
62
  test/circumflexes.ronn
62
- test/code_blocks.7.ronn
63
+ test/code_blocks.ronn
63
64
  test/contest.rb
64
65
  test/custom_title_document.html
65
66
  test/custom_title_document.ronn
@@ -110,14 +111,15 @@ Gem::Specification.new do |s|
110
111
  s.test_files = s.files.select { |path| path =~ /^test\/.*_test.rb/ }
111
112
 
112
113
  s.extra_rdoc_files = %w[LICENSE.txt AUTHORS]
113
- s.add_dependency 'kramdown', '~> 2.1'
114
- s.add_dependency 'mustache', '~> 0.7', '>= 0.7.0'
115
- s.add_dependency 'nokogiri', '~> 1.9', '>= 1.9.0'
116
- s.add_development_dependency 'rack', '~> 2.0', '>= 2.0.6'
117
- s.add_development_dependency 'rake', '~> 12.3', '>= 12.3.0'
118
- s.add_development_dependency 'rubocop', '~> 0.60', '>= 0.57.1'
119
- s.add_development_dependency 'sinatra', '~> 2.0', '>= 2.0.0'
120
- s.add_development_dependency 'test-unit', '~> 3.2', '>= 3.2.7'
114
+ s.add_dependency 'kramdown', '~> 2.1'
115
+ s.add_dependency 'kramdown-parser-gfm', '~> 1.0.1'
116
+ s.add_dependency 'mustache', '~> 1.0'
117
+ s.add_dependency 'nokogiri', '~> 1.9', '>= 1.9.0'
118
+ s.add_development_dependency 'rack', '~> 2.2', '>= 2.2.3'
119
+ s.add_development_dependency 'rake', '~> 12.3', '>= 12.3.3'
120
+ s.add_development_dependency 'rubocop', '~> 0.88', '>= 0.88.0'
121
+ s.add_development_dependency 'sinatra', '~> 2.0', '>= 2.0.8'
122
+ s.add_development_dependency 'test-unit', '~> 3.3', '>= 3.3.6'
121
123
 
122
124
  s.rdoc_options = ['--line-numbers', '--inline-source', '--title', 'Ronn']
123
125
  s.require_paths = %w[lib]
@@ -14,4 +14,14 @@ code block,
14
14
  <p>or when <code>&lt;WORD&gt;</code> is enclosed in backticks.</p>
15
15
 
16
16
  <p>or when <var>WORD</var> has a <dot.> or <colon>.</colon></dot.></p>
17
+
18
+ <h2 id="Escaping-angle-brackets">Escaping angle brackets</h2>
19
+
20
+ <p>You can escape &lt;angle&gt; &lt;brackets&gt; with backslashes, since we're using GitHub Flavored Markdown.</p>
21
+
22
+ <p>Example:</p>
23
+
24
+ <p><code>pxzgrep</code> [<code>-p</code>&lt;n&gt;] [<code>-V</code>] [&lt;xzgrep options&gt;] &lt;pattern&gt; &lt;file1&gt; &lt;file2&gt; [&lt;more files&gt;]</p>
25
+
26
+ <p>(Though really you should just put that in a fenced code block.)</p>
17
27
  </div>
@@ -10,3 +10,13 @@ A <WORD> in angle brackets is converted to <var>WORD</var>,
10
10
  or when `<WORD>` is enclosed in backticks.
11
11
 
12
12
  or when <WORD> has a <dot.> or <foo:colon>.
13
+
14
+ ## Escaping angle brackets
15
+
16
+ You can escape \<angle\> \<brackets\> with backslashes, since we're using GitHub Flavored Markdown.
17
+
18
+ Example:
19
+
20
+ `pxzgrep` [`-p`\<n\>] [`-V`] [\<xzgrep options\>] \<pattern\> \<file1\> \<file2\> [\<more files\>]
21
+
22
+ (Though really you should just put that in a fenced code block.)
@@ -2,9 +2,9 @@
2
2
  .SH "NAME"
3
3
  \fBdots_at_line_start_test\fR
4
4
  .P
5
- There\'s a weird issue where dots at the beginning of a line generate troff warnings due to escaping\.
5
+ There's a weird issue where dots at the beginning of a line generate troff warnings due to escaping\.
6
6
  .P
7
- \&\.\. let\'s see what happens\.
7
+ \&\.\. let's see what happens\.
8
8
  .IP "" 4
9
9
  .nf
10
10
  \&\. A dot on an indented line
@@ -4,4 +4,4 @@
4
4
  .P
5
5
  Ellipses should be replaced\|\.\|\.\|\.
6
6
  .P
7
- \|\.\|\.\|\.also, they shouldn\'t interfere with regular dots at the beginning of a line\.
7
+ \|\.\|\.\|\.also, they shouldn't interfere with regular dots at the beginning of a line\.
@@ -30,4 +30,13 @@
30
30
 
31
31
  <p>Here's a line that uses non-breaking spaces to force the
32
32
  last few words to wrap together.</p>
33
+
34
+ <p>And stuff like this:</p>
35
+
36
+ <p>git bulk [-g] ([-a]|[-w <ws-name>]) <git command> </git></ws-name><br>
37
+ git bulk --addworkspace <ws-name> <ws-root-directory> (--from <url or file>) </url></ws-root-directory></ws-name><br>
38
+ git bulk --removeworkspace &lt;ws-name&gt; <br></p>
39
+
40
+ <p>Should have the <code>&amp;lt;</code>/<code>&amp;gt;</code> entities stay as <code>&amp;lt;</code>/<code>&amp;gt;</code> in HTML, but be
41
+ turned into literal brackets in the ROFF.</p>
33
42
  </div>
@@ -12,29 +12,40 @@ Your output <i>might</i> look like this:
12
12
  .fi
13
13
  .IP "" 0
14
14
  .P
15
- Here\'s some special entities:
16
- .IP "\[ci]" 4
17
- &bull; \[ci]
18
- .IP "\[ci]" 4
15
+ Here's some special entities:
16
+ .IP "\(bu" 4
17
+ &bull; \(bu
18
+ .IP "\(bu" 4
19
19
  &nbsp; \~
20
- .IP "\[ci]" 4
20
+ .IP "\(bu" 4
21
21
  &copy; \(co
22
- .IP "\[ci]" 4
22
+ .IP "\(bu" 4
23
23
  &rdquo; \(rs
24
- .IP "\[ci]" 4
24
+ .IP "\(bu" 4
25
25
  &mdash; \(em
26
- .IP "\[ci]" 4
26
+ .IP "\(bu" 4
27
27
  &reg; \(rg
28
- .IP "\[ci]" 4
28
+ .IP "\(bu" 4
29
29
  &sect; \(sc
30
- .IP "\[ci]" 4
30
+ .IP "\(bu" 4
31
31
  &ge; \(>=
32
- .IP "\[ci]" 4
32
+ .IP "\(bu" 4
33
33
  &le; \(<=
34
- .IP "\[ci]" 4
34
+ .IP "\(bu" 4
35
35
  &ne; \(!=
36
- .IP "\[ci]" 4
36
+ .IP "\(bu" 4
37
37
  &equiv; \(==
38
38
  .IP "" 0
39
39
  .P
40
- Here\'s a line that uses non\-breaking spaces to force the last\~few\~words\~to\~wrap\~together\.
40
+ Here's a line that uses non\-breaking spaces to force the last\~few\~words\~to\~wrap\~together\.
41
+ .P
42
+ And stuff like this:
43
+ .P
44
+ git bulk [\-g] ([\-a]|[\-w
45
+ .br
46
+ git bulk \-\-addworkspace
47
+ .br
48
+ git bulk \-\-removeworkspace <ws\-name>
49
+ .br
50
+ .P
51
+ Should have the \fB&lt;\fR/\fB&gt;\fR entities stay as \fB&lt;\fR/\fB&gt;\fR in HTML, but be turned into literal brackets in the ROFF\.
@@ -23,3 +23,12 @@ Here's some special entities:
23
23
 
24
24
  Here's a line that uses non-breaking spaces to force the
25
25
  last&nbsp;few&nbsp;words&nbsp;to&nbsp;wrap&nbsp;together.
26
+
27
+ And stuff like this:
28
+
29
+ git bulk [-g] ([-a]|[-w &lt;ws-name&gt;]) &lt;git command&gt; <br/>
30
+ git bulk --addworkspace &lt;ws-name&gt; &lt;ws-root-directory&gt; (--from &lt;URL or file&gt;) <br/>
31
+ git bulk --removeworkspace &lt;ws-name&gt; <br/>
32
+
33
+ Should have the `&lt;`/`&gt;` entities stay as `&lt;`/`&gt;` in HTML, but be
34
+ turned into literal brackets in the ROFF.
@@ -37,15 +37,15 @@ Inline markup like _italics_, **bold**, and `code()`\.
37
37
  .SS "Philosophy"
38
38
  Markdown is intended to be as easy\-to\-read and easy\-to\-write as is feasible\.
39
39
  .P
40
- Readability, however, is emphasized above all else\. A Markdown\-formatted document should be publishable as\-is, as plain text, without looking like it\'s been marked up with tags or formatting instructions\. While Markdown\'s syntax has been influenced by several existing text\-to\-HTML filters \-\- including Setext \fIhttp://docutils\.sourceforge\.net/mirror/setext\.html\fR, atx \fIhttp://www\.aaronsw\.com/2002/atx/\fR, Textile \fIhttp://textism\.com/tools/textile/\fR, reStructuredText \fIhttp://docutils\.sourceforge\.net/rst\.html\fR, Grutatext \fIhttp://www\.triptico\.com/software/grutatxt\.html\fR, and EtText \fIhttp://ettext\.taint\.org/doc/\fR \-\- the single biggest source of inspiration for Markdown\'s syntax is the format of plain text email\.
40
+ Readability, however, is emphasized above all else\. A Markdown\-formatted document should be publishable as\-is, as plain text, without looking like it's been marked up with tags or formatting instructions\. While Markdown's syntax has been influenced by several existing text\-to\-HTML filters \-\- including Setext \fIhttp://docutils\.sourceforge\.net/mirror/setext\.html\fR, atx \fIhttp://www\.aaronsw\.com/2002/atx/\fR, Textile \fIhttp://textism\.com/tools/textile/\fR, reStructuredText \fIhttp://docutils\.sourceforge\.net/rst\.html\fR, Grutatext \fIhttp://www\.triptico\.com/software/grutatxt\.html\fR, and EtText \fIhttp://ettext\.taint\.org/doc/\fR \-\- the single biggest source of inspiration for Markdown's syntax is the format of plain text email\.
41
41
  .P
42
- To this end, Markdown\'s syntax is comprised entirely of punctuation characters, which punctuation characters have been carefully chosen so as to look like what they mean\. E\.g\., asterisks around a word actually look like *emphasis*\. Markdown lists look like, well, lists\. Even blockquotes look like quoted passages of text, assuming you\'ve ever used email\.
42
+ To this end, Markdown's syntax is comprised entirely of punctuation characters, which punctuation characters have been carefully chosen so as to look like what they mean\. E\.g\., asterisks around a word actually look like *emphasis*\. Markdown lists look like, well, lists\. Even blockquotes look like quoted passages of text, assuming you've ever used email\.
43
43
  .SS "Inline HTML"
44
- Markdown\'s syntax is intended for one purpose: to be used as a format for \fIwriting\fR for the web\.
44
+ Markdown's syntax is intended for one purpose: to be used as a format for \fIwriting\fR for the web\.
45
45
  .P
46
- Markdown is not a replacement for HTML, or even close to it\. Its syntax is very small, corresponding only to a very small subset of HTML tags\. The idea is \fInot\fR to create a syntax that makes it easier to insert HTML tags\. In my opinion, HTML tags are already easy to insert\. The idea for Markdown is to make it easy to read, write, and edit prose\. HTML is a \fIpublishing\fR format; Markdown is a \fIwriting\fR format\. Thus, Markdown\'s formatting syntax only addresses issues that can be conveyed in plain text\.
46
+ Markdown is not a replacement for HTML, or even close to it\. Its syntax is very small, corresponding only to a very small subset of HTML tags\. The idea is \fInot\fR to create a syntax that makes it easier to insert HTML tags\. In my opinion, HTML tags are already easy to insert\. The idea for Markdown is to make it easy to read, write, and edit prose\. HTML is a \fIpublishing\fR format; Markdown is a \fIwriting\fR format\. Thus, Markdown's formatting syntax only addresses issues that can be conveyed in plain text\.
47
47
  .P
48
- For any markup that is not covered by Markdown\'s syntax, you simply use HTML itself\. There\'s no need to preface it or delimit it to indicate that you\'re switching from Markdown to HTML; you just use the tags\.
48
+ For any markup that is not covered by Markdown's syntax, you simply use HTML itself\. There's no need to preface it or delimit it to indicate that you're switching from Markdown to HTML; you just use the tags\.
49
49
  .P
50
50
  The only restrictions are that block\-level HTML elements \-\- e\.g\. \fB<div>\fR, \fB<table>\fR, \fB<pre>\fR, \fB<p>\fR, etc\. \-\- must be separated from surrounding content by blank lines, and the start and end tags of the block should not be indented with tabs or spaces\. Markdown is smart enough not to add extra (unwanted) \fB<p>\fR tags around HTML block\-level tags\.
51
51
  .P
@@ -64,15 +64,15 @@ This is another regular paragraph\.
64
64
  .fi
65
65
  .IP "" 0
66
66
  .P
67
- Note that Markdown formatting syntax is not processed within block\-level HTML tags\. E\.g\., you can\'t use Markdown\-style \fB*emphasis*\fR inside an HTML block\.
67
+ Note that Markdown formatting syntax is not processed within block\-level HTML tags\. E\.g\., you can't use Markdown\-style \fB*emphasis*\fR inside an HTML block\.
68
68
  .P
69
- Span\-level HTML tags \-\- e\.g\. \fB<span>\fR, \fB<cite>\fR, or \fB<del>\fR \-\- can be used anywhere in a Markdown paragraph, list item, or header\. If you want, you can even use HTML tags instead of Markdown formatting; e\.g\. if you\'d prefer to use HTML \fB<a>\fR or \fB<img>\fR tags instead of Markdown\'s link or image syntax, go right ahead\.
69
+ Span\-level HTML tags \-\- e\.g\. \fB<span>\fR, \fB<cite>\fR, or \fB<del>\fR \-\- can be used anywhere in a Markdown paragraph, list item, or header\. If you want, you can even use HTML tags instead of Markdown formatting; e\.g\. if you'd prefer to use HTML \fB<a>\fR or \fB<img>\fR tags instead of Markdown's link or image syntax, go right ahead\.
70
70
  .P
71
71
  Unlike block\-level HTML tags, Markdown syntax \fIis\fR processed within span\-level tags\.
72
72
  .SS "Automatic Escaping for Special Characters"
73
73
  In HTML, there are two characters that demand special treatment: \fB<\fR and \fB&\fR\. Left angle brackets are used to start tags; ampersands are used to denote HTML entities\. If you want to use them as literal characters, you must escape them as entities, e\.g\. \fB&lt;\fR, and \fB&amp;\fR\.
74
74
  .P
75
- Ampersands in particular are bedeviling for web writers\. If you want to write about \'AT&T\', you need to write \'\fBAT&amp;T\fR\'\. You even need to escape ampersands within URLs\. Thus, if you want to link to:
75
+ Ampersands in particular are bedeviling for web writers\. If you want to write about 'AT&T', you need to write '\fBAT&amp;T\fR'\. You even need to escape ampersands within URLs\. Thus, if you want to link to:
76
76
  .IP "" 4
77
77
  .nf
78
78
  http://images\.google\.com/images?num=30&q=larry+bird
@@ -130,11 +130,11 @@ However, inside Markdown code spans and blocks, angle brackets and ampersands ar
130
130
  .SS "Paragraphs and Line Breaks"
131
131
  A paragraph is simply one or more consecutive lines of text, separated by one or more blank lines\. (A blank line is any line that looks like a blank line \-\- a line containing nothing but spaces or tabs is considered blank\.) Normal paragraphs should not be indented with spaces or tabs\.
132
132
  .P
133
- The implication of the "one or more consecutive lines of text" rule is that Markdown supports "hard\-wrapped" text paragraphs\. This differs significantly from most other text\-to\-HTML formatters (including Movable Type\'s "Convert Line Breaks" option) which translate every line break character in a paragraph into a \fB<br />\fR tag\.
133
+ The implication of the "one or more consecutive lines of text" rule is that Markdown supports "hard\-wrapped" text paragraphs\. This differs significantly from most other text\-to\-HTML formatters (including Movable Type's "Convert Line Breaks" option) which translate every line break character in a paragraph into a \fB<br />\fR tag\.
134
134
  .P
135
135
  When you \fIdo\fR want to insert a \fB<br />\fR break tag using Markdown, you end a line with two or more spaces, then type return\.
136
136
  .P
137
- Yes, this takes a tad more effort to create a \fB<br />\fR, but a simplistic "every line break is a \fB<br />\fR" rule wouldn\'t work for Markdown\. Markdown\'s email\-style \fIblockquoting\fR and multi\-paragraph \fIlist items\fR work best \-\- and look better \-\- when you format them with hard breaks\.
137
+ Yes, this takes a tad more effort to create a \fB<br />\fR, but a simplistic "every line break is a \fB<br />\fR" rule wouldn't work for Markdown\. Markdown's email\-style \fIblockquoting\fR and multi\-paragraph \fIlist items\fR work best \-\- and look better \-\- when you format them with hard breaks\.
138
138
  .SS "Headers"
139
139
  Markdown supports two styles of headers, Setext \fIhttp://docutils\.sourceforge\.net/mirror/setext\.html\fR and atx \fIhttp://www\.aaronsw\.com/2002/atx/\fR\.
140
140
  .P
@@ -149,7 +149,7 @@ This is an H2
149
149
  .fi
150
150
  .IP "" 0
151
151
  .P
152
- Any number of underlining \fB=\fR\'s or \fB\-\fR\'s will work\.
152
+ Any number of underlining \fB=\fR's or \fB\-\fR's will work\.
153
153
  .P
154
154
  Atx\-style headers use 1\-6 hash characters at the start of the line, corresponding to header levels 1\-6\. For example:
155
155
  .IP "" 4
@@ -162,7 +162,7 @@ Atx\-style headers use 1\-6 hash characters at the start of the line, correspond
162
162
  .fi
163
163
  .IP "" 0
164
164
  .P
165
- Optionally, you may "close" atx\-style headers\. This is purely cosmetic \-\- you can use this if you think it looks better\. The closing hashes don\'t even need to match the number of hashes used to open the header\. (The number of opening hashes determines the header level\.) :
165
+ Optionally, you may "close" atx\-style headers\. This is purely cosmetic \-\- you can use this if you think it looks better\. The closing hashes don't even need to match the number of hashes used to open the header\. (The number of opening hashes determines the header level\.) :
166
166
  .IP "" 4
167
167
  .nf
168
168
  # This is an H1 #
@@ -173,7 +173,7 @@ Optionally, you may "close" atx\-style headers\. This is purely cosmetic \-\- yo
173
173
  .fi
174
174
  .IP "" 0
175
175
  .SS "Blockquotes"
176
- Markdown uses email\-style \fB>\fR characters for blockquoting\. If you\'re familiar with quoting passages of text in an email message, then you know how to create a blockquote in Markdown\. It looks best if you hard wrap the text and put a \fB>\fR before every line:
176
+ Markdown uses email\-style \fB>\fR characters for blockquoting\. If you're familiar with quoting passages of text in an email message, then you know how to create a blockquote in Markdown\. It looks best if you hard wrap the text and put a \fB>\fR before every line:
177
177
  .IP "" 4
178
178
  .nf
179
179
  > This is a blockquote with two paragraphs\. Lorem ipsum dolor sit amet,
@@ -216,7 +216,7 @@ Blockquotes can contain other Markdown elements, including headers, lists, and c
216
216
  > 1\. This is the first list item\.
217
217
  > 2\. This is the second list item\.
218
218
  >
219
- > Here\'s some example code:
219
+ > Here's some example code:
220
220
  >
221
221
  > return shell_exec("echo $input | $markdown_script");
222
222
  .fi
@@ -262,7 +262,7 @@ Ordered lists use numbers followed by periods:
262
262
  .fi
263
263
  .IP "" 0
264
264
  .P
265
- It\'s important to note that the actual numbers you use to mark the list have no effect on the HTML output Markdown produces\. The HTML Markdown produces from the above list is:
265
+ It's important to note that the actual numbers you use to mark the list have no effect on the HTML output Markdown produces\. The HTML Markdown produces from the above list is:
266
266
  .IP "" 4
267
267
  .nf
268
268
  <ol>
@@ -291,7 +291,7 @@ or even:
291
291
  .fi
292
292
  .IP "" 0
293
293
  .P
294
- you\'d get the exact same HTML output\. The point is, if you want to, you can use ordinal numbers in your ordered Markdown lists, so that the numbers in your source match the numbers in your published HTML\. But if you want to be lazy, you don\'t have to\.
294
+ you'd get the exact same HTML output\. The point is, if you want to, you can use ordinal numbers in your ordered Markdown lists, so that the numbers in your source match the numbers in your published HTML\. But if you want to be lazy, you don't have to\.
295
295
  .P
296
296
  If you do use lazy list numbering, however, you should still start the list with the number 1\. At some point in the future, Markdown may support starting ordered lists at an arbitrary number\.
297
297
  .P
@@ -308,7 +308,7 @@ To make lists look nice, you can wrap items with hanging indents:
308
308
  .fi
309
309
  .IP "" 0
310
310
  .P
311
- But if you want to be lazy, you don\'t have to:
311
+ But if you want to be lazy, you don't have to:
312
312
  .IP "" 4
313
313
  .nf
314
314
  * Lorem ipsum dolor sit amet, consectetuer adipiscing elit\.
@@ -376,7 +376,7 @@ It looks nice if you indent every line of the subsequent paragraphs, but here ag
376
376
  .nf
377
377
  * This is a list item with two paragraphs\.
378
378
 
379
- This is the second paragraph in the list item\. You\'re
379
+ This is the second paragraph in the list item\. You're
380
380
  only required to indent the first line\. Lorem ipsum dolor
381
381
  sit amet, consectetuer adipiscing elit\.
382
382
 
@@ -384,7 +384,7 @@ sit amet, consectetuer adipiscing elit\.
384
384
  .fi
385
385
  .IP "" 0
386
386
  .P
387
- To put a blockquote within a list item, the blockquote\'s \fB>\fR delimiters need to be indented:
387
+ To put a blockquote within a list item, the blockquote's \fB>\fR delimiters need to be indented:
388
388
  .IP "" 4
389
389
  .nf
390
390
  * A list item with a blockquote:
@@ -403,7 +403,7 @@ To put a code block within a list item, the code block needs to be indented \fIt
403
403
  .fi
404
404
  .IP "" 0
405
405
  .P
406
- It\'s worth noting that it\'s possible to trigger an ordered list by accident, by writing something like this:
406
+ It's worth noting that it's possible to trigger an ordered list by accident, by writing something like this:
407
407
  .IP "" 4
408
408
  .nf
409
409
  1986\. What a great season\.
@@ -482,7 +482,7 @@ will turn into:
482
482
  .fi
483
483
  .IP "" 0
484
484
  .P
485
- Regular Markdown syntax is not processed within code blocks\. E\.g\., asterisks are just literal asterisks within a code block\. This means it\'s also easy to use Markdown to write about Markdown\'s own syntax\.
485
+ Regular Markdown syntax is not processed within code blocks\. E\.g\., asterisks are just literal asterisks within a code block\. This means it's also easy to use Markdown to write about Markdown's own syntax\.
486
486
  .SS "Horizontal Rules"
487
487
  You can produce a horizontal rule tag (\fB<hr />\fR) by placing three or more hyphens, asterisks, or underscores on a line by themselves\. If you wish, you may use spaces between the hyphens or asterisks\. Each of the following lines will produce a horizontal rule:
488
488
  .IP "" 4
@@ -504,7 +504,7 @@ Markdown supports two style of links: \fIinline\fR and \fIreference\fR\.
504
504
  .P
505
505
  In both styles, the link text is delimited by [square brackets]\.
506
506
  .P
507
- To create an inline link, use a set of regular parentheses immediately after the link text\'s closing square bracket\. Inside the parentheses, put the URL where you want the link to point, along with an \fIoptional\fR title for the link, surrounded in quotes\. For example:
507
+ To create an inline link, use a set of regular parentheses immediately after the link text's closing square bracket\. Inside the parentheses, put the URL where you want the link to point, along with an \fIoptional\fR title for the link, surrounded in quotes\. For example:
508
508
  .IP "" 4
509
509
  .nf
510
510
  This is [an example](http://example\.com/ "Title") inline link\.
@@ -524,7 +524,7 @@ title attribute\.</p>
524
524
  .fi
525
525
  .IP "" 0
526
526
  .P
527
- If you\'re referring to a local resource on the same server, you can use relative paths:
527
+ If you're referring to a local resource on the same server, you can use relative paths:
528
528
  .IP "" 4
529
529
  .nf
530
530
  See my [About](/about/) page for details\.
@@ -553,15 +553,15 @@ Then, anywhere in the document, you define your link label like this, on a line
553
553
  .IP "" 0
554
554
  .P
555
555
  That is:
556
- .IP "\[ci]" 4
556
+ .IP "\(bu" 4
557
557
  Square brackets containing the link identifier (optionally indented from the left margin using up to three spaces);
558
- .IP "\[ci]" 4
558
+ .IP "\(bu" 4
559
559
  followed by a colon;
560
- .IP "\[ci]" 4
560
+ .IP "\(bu" 4
561
561
  followed by one or more spaces (or tabs);
562
- .IP "\[ci]" 4
562
+ .IP "\(bu" 4
563
563
  followed by the URL for the link;
564
- .IP "\[ci]" 4
564
+ .IP "\(bu" 4
565
565
  optionally followed by a title attribute for the link, enclosed in double or single quotes, or enclosed in parentheses\.
566
566
  .IP "" 0
567
567
  .P
@@ -569,7 +569,7 @@ The following three link definitions are equivalent:
569
569
  .IP "" 4
570
570
  .nf
571
571
  [foo]: http://example\.com/ "Optional Title Here"
572
- [foo]: http://example\.com/ \'Optional Title Here\'
572
+ [foo]: http://example\.com/ 'Optional Title Here'
573
573
  [foo]: http://example\.com/ (Optional Title Here)
574
574
  .fi
575
575
  .IP "" 0
@@ -631,9 +631,9 @@ And then define the link:
631
631
  .fi
632
632
  .IP "" 0
633
633
  .P
634
- Link definitions can be placed anywhere in your Markdown document\. I tend to put them immediately after each paragraph in which they\'re used, but if you want, you can put them all at the end of your document, sort of like footnotes\.
634
+ Link definitions can be placed anywhere in your Markdown document\. I tend to put them immediately after each paragraph in which they're used, but if you want, you can put them all at the end of your document, sort of like footnotes\.
635
635
  .P
636
- Here\'s an example of reference links in action:
636
+ Here's an example of reference links in action:
637
637
  .IP "" 4
638
638
  .nf
639
639
  I get 10 times more traffic from [Google] [1] than from
@@ -667,7 +667,7 @@ or <a href="http://search\.msn\.com/" title="MSN Search">MSN</a>\.</p>
667
667
  .fi
668
668
  .IP "" 0
669
669
  .P
670
- For comparison, here is the same paragraph written using Markdown\'s inline link style:
670
+ For comparison, here is the same paragraph written using Markdown's inline link style:
671
671
  .IP "" 4
672
672
  .nf
673
673
  I get 10 times more traffic from [Google](http://google\.com/ "Google")
@@ -676,11 +676,11 @@ than from [Yahoo](http://search\.yahoo\.com/ "Yahoo Search") or
676
676
  .fi
677
677
  .IP "" 0
678
678
  .P
679
- The point of reference\-style links is not that they\'re easier to write\. The point is that with reference\-style links, your document source is vastly more readable\. Compare the above examples: using reference\-style links, the paragraph itself is only 81 characters long; with inline\-style links, it\'s 176 characters; and as raw HTML, it\'s 234 characters\. In the raw HTML, there\'s more markup than there is text\.
679
+ The point of reference\-style links is not that they're easier to write\. The point is that with reference\-style links, your document source is vastly more readable\. Compare the above examples: using reference\-style links, the paragraph itself is only 81 characters long; with inline\-style links, it's 176 characters; and as raw HTML, it's 234 characters\. In the raw HTML, there's more markup than there is text\.
680
680
  .P
681
- With Markdown\'s reference\-style links, a source document much more closely resembles the final output, as rendered in a browser\. By allowing you to move the markup\-related metadata out of the paragraph, you can add links without interrupting the narrative flow of your prose\.
681
+ With Markdown's reference\-style links, a source document much more closely resembles the final output, as rendered in a browser\. By allowing you to move the markup\-related metadata out of the paragraph, you can add links without interrupting the narrative flow of your prose\.
682
682
  .SS "Emphasis"
683
- Markdown treats asterisks (\fB*\fR) and underscores (\fB_\fR) as indicators of emphasis\. Text wrapped with one \fB*\fR or \fB_\fR will be wrapped with an HTML \fB<em>\fR tag; double \fB*\fR\'s or \fB_\fR\'s will be wrapped with an HTML \fB<strong>\fR tag\. E\.g\., this input:
683
+ Markdown treats asterisks (\fB*\fR) and underscores (\fB_\fR) as indicators of emphasis\. Text wrapped with one \fB*\fR or \fB_\fR will be wrapped with an HTML \fB<em>\fR tag; double \fB*\fR's or \fB_\fR's will be wrapped with an HTML \fB<strong>\fR tag\. E\.g\., this input:
684
684
  .IP "" 4
685
685
  .nf
686
686
  *single asterisks*
@@ -715,7 +715,7 @@ un*frigging*believable
715
715
  .fi
716
716
  .IP "" 0
717
717
  .P
718
- But if you surround an \fB*\fR or \fB_\fR with spaces, it\'ll be treated as a literal asterisk or underscore\.
718
+ But if you surround an \fB*\fR or \fB_\fR with spaces, it'll be treated as a literal asterisk or underscore\.
719
719
  .P
720
720
  To produce a literal asterisk or underscore at a position where it would otherwise be used as an emphasis delimiter, you can backslash escape it:
721
721
  .IP "" 4
@@ -773,14 +773,14 @@ will produce:
773
773
  With a code span, ampersands and angle brackets are encoded as HTML entities automatically, which makes it easy to include example HTML tags\. Markdown will turn this:
774
774
  .IP "" 4
775
775
  .nf
776
- Please don\'t use any `<blink>` tags\.
776
+ Please don't use any `<blink>` tags\.
777
777
  .fi
778
778
  .IP "" 0
779
779
  .P
780
780
  into:
781
781
  .IP "" 4
782
782
  .nf
783
- <p>Please don\'t use any <code>&lt;blink&gt;</code> tags\.</p>
783
+ <p>Please don't use any <code>&lt;blink&gt;</code> tags\.</p>
784
784
  .fi
785
785
  .IP "" 0
786
786
  .P
@@ -799,7 +799,7 @@ equivalent of <code>&amp;mdash;</code>\.</p>
799
799
  .fi
800
800
  .IP "" 0
801
801
  .SS "Images"
802
- Admittedly, it\'s fairly difficult to devise a "natural" syntax for placing images into a plain text document format\.
802
+ Admittedly, it's fairly difficult to devise a "natural" syntax for placing images into a plain text document format\.
803
803
  .P
804
804
  Markdown uses an image syntax that is intended to resemble the syntax for links, allowing for two styles: \fIinline\fR and \fIreference\fR\.
805
805
  .P
@@ -813,11 +813,11 @@ Inline image syntax looks like this:
813
813
  .IP "" 0
814
814
  .P
815
815
  That is:
816
- .IP "\[ci]" 4
816
+ .IP "\(bu" 4
817
817
  An exclamation mark: \fB!\fR;
818
- .IP "\[ci]" 4
818
+ .IP "\(bu" 4
819
819
  followed by a set of square brackets, containing the \fBalt\fR attribute text for the image;
820
- .IP "\[ci]" 4
820
+ .IP "\(bu" 4
821
821
  followed by a set of parentheses, containing the URL or path to the image, and an optional \fBtitle\fR attribute enclosed in double or single quotes\.
822
822
  .IP "" 0
823
823
  .P
@@ -871,9 +871,9 @@ into something like this:
871
871
  .P
872
872
  which will render in a browser as a clickable link to "address@example\.com"\.
873
873
  .P
874
- (This sort of entity\-encoding trick will indeed fool many, if not most, address\-harvesting bots, but it definitely won\'t fool all of them\. It\'s better than nothing, but an address published in this way will probably eventually start receiving spam\.)
874
+ (This sort of entity\-encoding trick will indeed fool many, if not most, address\-harvesting bots, but it definitely won't fool all of them\. It's better than nothing, but an address published in this way will probably eventually start receiving spam\.)
875
875
  .SS "Backslash Escapes"
876
- Markdown allows you to use backslash escapes to generate literal characters which would otherwise have special meaning in Markdown\'s formatting syntax\. For example, if you wanted to surround a word with literal asterisks (instead of an HTML \fB<em>\fR tag), you can use backslashes before the asterisks, like this:
876
+ Markdown allows you to use backslash escapes to generate literal characters which would otherwise have special meaning in Markdown's formatting syntax\. For example, if you wanted to surround a word with literal asterisks (instead of an HTML \fB<em>\fR tag), you can use backslashes before the asterisks, like this:
877
877
  .IP "" 4
878
878
  .nf
879
879
  \e*literal asterisks\e*
@@ -900,7 +900,7 @@ _ underscore
900
900
  .SH "AUTHOR"
901
901
  Markdown was created by John Gruber\.
902
902
  .P
903
- Manual page by Ryan Tomayko\. It\'s pretty much a direct copy of the Markdown Syntax Reference \fIhttp://daringfireball\.net/projects/markdown/syntax\fR, also by John Gruber\.
903
+ Manual page by Ryan Tomayko\. It's pretty much a direct copy of the Markdown Syntax Reference \fIhttp://daringfireball\.net/projects/markdown/syntax\fR, also by John Gruber\.
904
904
  .SH "SEE ALSO"
905
905
  ronn(5)
906
906
  .br
@@ -1,11 +1,11 @@
1
1
  .TH "NESTED_LIST_WITH_CODE" "" "January 1979" ""
2
- .IP "\[ci]" 4
2
+ .IP "\(bu" 4
3
3
  \fBtoggle_status\fR
4
- .IP "\[ci]" 4
4
+ .IP "\(bu" 4
5
5
  Toggle the display of the status bar\.
6
6
  .IP "" 0
7
7
 
8
- .IP "\[ci]" 4
8
+ .IP "\(bu" 4
9
9
  \fBspawn <executable> <additional args>\fR TODO explain path\-alike expansion
10
10
  .IP "" 0
11
11
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ronn-ng
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.1
4
+ version: 0.10.0.pre.SNAPSHOT
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Janke
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-04-09 00:00:00.000000000 Z
11
+ date: 2020-10-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: kramdown
@@ -25,25 +25,33 @@ dependencies:
25
25
  - !ruby/object:Gem::Version
26
26
  version: '2.1'
27
27
  - !ruby/object:Gem::Dependency
28
- name: mustache
28
+ name: kramdown-parser-gfm
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '0.7'
34
- - - ">="
35
- - !ruby/object:Gem::Version
36
- version: 0.7.0
33
+ version: 1.0.1
37
34
  type: :runtime
38
35
  prerelease: false
39
36
  version_requirements: !ruby/object:Gem::Requirement
40
37
  requirements:
41
38
  - - "~>"
42
39
  - !ruby/object:Gem::Version
43
- version: '0.7'
44
- - - ">="
40
+ version: 1.0.1
41
+ - !ruby/object:Gem::Dependency
42
+ name: mustache
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
45
46
  - !ruby/object:Gem::Version
46
- version: 0.7.0
47
+ version: '1.0'
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '1.0'
47
55
  - !ruby/object:Gem::Dependency
48
56
  name: nokogiri
49
57
  requirement: !ruby/object:Gem::Requirement
@@ -70,20 +78,20 @@ dependencies:
70
78
  requirements:
71
79
  - - "~>"
72
80
  - !ruby/object:Gem::Version
73
- version: '2.0'
81
+ version: '2.2'
74
82
  - - ">="
75
83
  - !ruby/object:Gem::Version
76
- version: 2.0.6
84
+ version: 2.2.3
77
85
  type: :development
78
86
  prerelease: false
79
87
  version_requirements: !ruby/object:Gem::Requirement
80
88
  requirements:
81
89
  - - "~>"
82
90
  - !ruby/object:Gem::Version
83
- version: '2.0'
91
+ version: '2.2'
84
92
  - - ">="
85
93
  - !ruby/object:Gem::Version
86
- version: 2.0.6
94
+ version: 2.2.3
87
95
  - !ruby/object:Gem::Dependency
88
96
  name: rake
89
97
  requirement: !ruby/object:Gem::Requirement
@@ -93,7 +101,7 @@ dependencies:
93
101
  version: '12.3'
94
102
  - - ">="
95
103
  - !ruby/object:Gem::Version
96
- version: 12.3.0
104
+ version: 12.3.3
97
105
  type: :development
98
106
  prerelease: false
99
107
  version_requirements: !ruby/object:Gem::Requirement
@@ -103,27 +111,27 @@ dependencies:
103
111
  version: '12.3'
104
112
  - - ">="
105
113
  - !ruby/object:Gem::Version
106
- version: 12.3.0
114
+ version: 12.3.3
107
115
  - !ruby/object:Gem::Dependency
108
116
  name: rubocop
109
117
  requirement: !ruby/object:Gem::Requirement
110
118
  requirements:
111
119
  - - "~>"
112
120
  - !ruby/object:Gem::Version
113
- version: '0.60'
121
+ version: '0.88'
114
122
  - - ">="
115
123
  - !ruby/object:Gem::Version
116
- version: 0.57.1
124
+ version: 0.88.0
117
125
  type: :development
118
126
  prerelease: false
119
127
  version_requirements: !ruby/object:Gem::Requirement
120
128
  requirements:
121
129
  - - "~>"
122
130
  - !ruby/object:Gem::Version
123
- version: '0.60'
131
+ version: '0.88'
124
132
  - - ">="
125
133
  - !ruby/object:Gem::Version
126
- version: 0.57.1
134
+ version: 0.88.0
127
135
  - !ruby/object:Gem::Dependency
128
136
  name: sinatra
129
137
  requirement: !ruby/object:Gem::Requirement
@@ -133,7 +141,7 @@ dependencies:
133
141
  version: '2.0'
134
142
  - - ">="
135
143
  - !ruby/object:Gem::Version
136
- version: 2.0.0
144
+ version: 2.0.8
137
145
  type: :development
138
146
  prerelease: false
139
147
  version_requirements: !ruby/object:Gem::Requirement
@@ -143,27 +151,27 @@ dependencies:
143
151
  version: '2.0'
144
152
  - - ">="
145
153
  - !ruby/object:Gem::Version
146
- version: 2.0.0
154
+ version: 2.0.8
147
155
  - !ruby/object:Gem::Dependency
148
156
  name: test-unit
149
157
  requirement: !ruby/object:Gem::Requirement
150
158
  requirements:
151
159
  - - "~>"
152
160
  - !ruby/object:Gem::Version
153
- version: '3.2'
161
+ version: '3.3'
154
162
  - - ">="
155
163
  - !ruby/object:Gem::Version
156
- version: 3.2.7
164
+ version: 3.3.6
157
165
  type: :development
158
166
  prerelease: false
159
167
  version_requirements: !ruby/object:Gem::Requirement
160
168
  requirements:
161
169
  - - "~>"
162
170
  - !ruby/object:Gem::Version
163
- version: '3.2'
171
+ version: '3.3'
164
172
  - - ">="
165
173
  - !ruby/object:Gem::Version
166
- version: 3.2.7
174
+ version: 3.3.6
167
175
  description: Ronn-NG builds manuals in HTML and Unix man page format from Markdown.
168
176
  email: floss@apjanke.net
169
177
  executables:
@@ -213,7 +221,7 @@ files:
213
221
  - test/basic_document.html
214
222
  - test/basic_document.ronn
215
223
  - test/circumflexes.ronn
216
- - test/code_blocks.7.ronn
224
+ - test/code_blocks.ronn
217
225
  - test/contest.rb
218
226
  - test/custom_title_document.html
219
227
  - test/custom_title_document.ronn
@@ -264,7 +272,7 @@ metadata:
264
272
  bug_tracker_uri: https://github.com/apjanke/ronn-ng/issues
265
273
  source_code_uri: https://github.com/apjanke/ronn-ng
266
274
  changelog_uri: https://github.com/apjanke/ronn-ng/blob/master/CHANGES
267
- post_install_message:
275
+ post_install_message:
268
276
  rdoc_options:
269
277
  - "--line-numbers"
270
278
  - "--inline-source"
@@ -276,15 +284,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
276
284
  requirements:
277
285
  - - ">="
278
286
  - !ruby/object:Gem::Version
279
- version: '0'
287
+ version: '2.4'
280
288
  required_rubygems_version: !ruby/object:Gem::Requirement
281
289
  requirements:
282
- - - ">="
290
+ - - ">"
283
291
  - !ruby/object:Gem::Version
284
- version: '0'
292
+ version: 1.3.1
285
293
  requirements: []
286
- rubygems_version: 3.1.2
287
- signing_key:
294
+ rubygems_version: 3.1.4
295
+ signing_key:
288
296
  specification_version: 4
289
297
  summary: Builds man pages from Markdown
290
298
  test_files: []