nronn 0.10.1.pre3 → 0.10.2

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.
Files changed (75) hide show
  1. checksums.yaml +4 -4
  2. data/AUTHORS +1 -0
  3. data/CHANGES +8 -14
  4. data/README.md +14 -10
  5. data/Rakefile +1 -1
  6. data/lib/ronn/template/default.html +1 -1
  7. data/lib/ronn.rb +4 -6
  8. data/man/index.html +8 -8
  9. data/man/ronn-format.7 +3 -3
  10. data/man/ronn.1 +4 -4
  11. data/man/ronn.1.ronn +1 -1
  12. data/nronn.gemspec +5 -68
  13. metadata +13 -78
  14. data/Gemfile +0 -2
  15. data/Gemfile.lock +0 -72
  16. data/test/angle_bracket_syntax.html +0 -27
  17. data/test/angle_bracket_syntax.roff +0 -24
  18. data/test/angle_bracket_syntax.ronn +0 -22
  19. data/test/backticks.html +0 -14
  20. data/test/backticks.ronn +0 -10
  21. data/test/basic_document.html +0 -8
  22. data/test/basic_document.ronn +0 -4
  23. data/test/circumflexes.ronn +0 -1
  24. data/test/code_blocks.html +0 -38
  25. data/test/code_blocks.roff +0 -38
  26. data/test/code_blocks.ronn +0 -41
  27. data/test/code_blocks_regression +0 -19
  28. data/test/code_blocks_regression.html +0 -38
  29. data/test/code_blocks_regression.ronn +0 -40
  30. data/test/contest.rb +0 -70
  31. data/test/custom_title_document.html +0 -6
  32. data/test/custom_title_document.ronn +0 -5
  33. data/test/definition_list_syntax.html +0 -25
  34. data/test/definition_list_syntax.roff +0 -19
  35. data/test/definition_list_syntax.ronn +0 -18
  36. data/test/dots_at_line_start_test.roff +0 -19
  37. data/test/dots_at_line_start_test.ronn +0 -12
  38. data/test/ellipses.roff +0 -7
  39. data/test/ellipses.ronn +0 -7
  40. data/test/entity_encoding_test.html +0 -42
  41. data/test/entity_encoding_test.roff +0 -51
  42. data/test/entity_encoding_test.ronn +0 -34
  43. data/test/index.txt +0 -8
  44. data/test/markdown_syntax.html +0 -954
  45. data/test/markdown_syntax.roff +0 -907
  46. data/test/markdown_syntax.ronn +0 -881
  47. data/test/middle_paragraph.html +0 -14
  48. data/test/middle_paragraph.roff +0 -9
  49. data/test/middle_paragraph.ronn +0 -10
  50. data/test/missing_spaces.roff +0 -7
  51. data/test/missing_spaces.ronn +0 -2
  52. data/test/nested_list.ronn +0 -19
  53. data/test/nested_list_with_code.html +0 -14
  54. data/test/nested_list_with_code.roff +0 -11
  55. data/test/nested_list_with_code.ronn +0 -6
  56. data/test/ordered_list.html +0 -28
  57. data/test/ordered_list.roff +0 -25
  58. data/test/ordered_list.ronn +0 -21
  59. data/test/page.with.periods.in.name.5.ronn +0 -4
  60. data/test/pre_block_with_quotes.roff +0 -8
  61. data/test/pre_block_with_quotes.ronn +0 -6
  62. data/test/section_reference_links.html +0 -16
  63. data/test/section_reference_links.roff +0 -7
  64. data/test/section_reference_links.ronn +0 -12
  65. data/test/single_quotes.html +0 -11
  66. data/test/single_quotes.roff +0 -5
  67. data/test/single_quotes.ronn +0 -9
  68. data/test/tables.ronn +0 -24
  69. data/test/test_ronn.rb +0 -124
  70. data/test/test_ronn_document.rb +0 -186
  71. data/test/test_ronn_index.rb +0 -73
  72. data/test/titleless_document.html +0 -9
  73. data/test/titleless_document.ronn +0 -3
  74. data/test/underline_spacing_test.roff +0 -13
  75. data/test/underline_spacing_test.ronn +0 -11
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bdae66be2cb43d41963585a95e7b34048f0ce843f830a8b4d4e2a9a4e4534d9d
4
- data.tar.gz: 00f9da2669cc62da4949bb56f0fadebf613c32acfa58db53a13fa1e341da77be
3
+ metadata.gz: 10207260cfb69ddf503e6c8aaae47d3d4f2a3413d5ee28db89704cac68d04793
4
+ data.tar.gz: b6170cb5d930a2e6630961d18bdae4285f8eb444680e7d25e44a51b0795e19f3
5
5
  SHA512:
6
- metadata.gz: e5e0dd8ea1de1595bf2e6c7f5d598cd74456010c39c2ff74dc1ae5f87d9299804e3a982f9e9ce8855851774019e31adeb3cbc601e72833f00838aeaa00b71f22
7
- data.tar.gz: 788e59c0e074108d152613794af4f9e203e49f99f899a3084ddc78004c638d441d3e285694cb57099037c8e4bdb4b129c0b5a19d9788fc0efd3ccd8042779dc1
6
+ metadata.gz: e70b2e9da702b71f83be7684eefd8f071198b663fdf6c4286b93844f86f4bd68d99cefea29f5370a6a8b00900cbc03e8916fb46bece95ae49f97a4a4830bd275
7
+ data.tar.gz: 8ce9ecefcf266655233c78a6e5317e2971d19199a54da9aacd836b77d0de49d5959be61ac24f096f8d5140cdc49721412a50cb42ed18bee9f5ddd59ee868011d
data/AUTHORS CHANGED
@@ -6,3 +6,4 @@ Chris Wanstrath <https://github.com/defunkt>
6
6
  Suraj N. Kurapati <https://github.com/sunaku>
7
7
  Hallison Batista <https://github.com/hallison>
8
8
  Andrew Janke <https://github.com/apjanke>
9
+ Takuya Noguchi <https://github.com/tnir>
data/CHANGES CHANGED
@@ -1,20 +1,14 @@
1
- Ronn-NG CHANGES
2
- ===============
1
+ nRonn CHANGES
2
+ =============
3
3
 
4
- Version 0.10.1 (in progress)
5
- ----------------------------
4
+ This file was deprecated.
6
5
 
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
- * Elide HTML comments when producing roff output (<https://github.com/apjanke/ronn-ng/issues/65>)
11
- * Bump to mustache 1.x
12
- * Remove non-portable `more -i` option (<https://github.com/apjanke/ronn-ng/issues/71>)
6
+ See https://github.com/n-ronn/nronn/releases for the latest release notes.
13
7
 
14
- Version 0.10.0 (never)
15
- ---------------------------
8
+ The following is just for reference.
16
9
 
17
- Doesn't exist due to a RubyGems publishing mistake
10
+ Ronn-NG CHANGES
11
+ ===============
18
12
 
19
13
  Version 0.9.1 (2020 Apr 09)
20
14
  ---------------------------
@@ -70,7 +64,7 @@ Version 0.7.0 (2010 June 21)
70
64
  based on a set of name -> URL mappings defined in an index.txt file. The index
71
65
  may also define links to things that aren't manuals for use in markdown
72
66
  reference-style links. See the ronn(1) manual on LINK INDEXES for more
73
- inforation: <http://rtomayko.github.com/ronn/ronn.1.html#LINK-INDEXES>
67
+ inforation: <http://rtomayko.github.io/ronn/ronn.1.html#LINK-INDEXES>
74
68
  (rtomayko)
75
69
 
76
70
  * ROFF: Fixed a bug where multiple dot characters (.) at the beginning of a
data/README.md CHANGED
@@ -1,5 +1,7 @@
1
1
  # nRonn
2
2
 
3
+ [![Ruby](https://github.com/n-ronn/nronn/actions/workflows/build.yml/badge.svg)](https://github.com/n-ronn/nronn/actions/workflows/build.yml?query=branch%3Amain)
4
+
3
5
  nRonn is a new, currently-maintained fork of the defunct [original Ronn
4
6
  project](https://github.com/rtomayko/ronn).
5
7
 
@@ -14,15 +16,15 @@ detail.
14
16
  The `*.ronn` files found in the [`man/`][1] directory show off a wide range of
15
17
  ronn capabilities:
16
18
 
17
- * [ronn(1)](http://rtomayko.github.com/ronn/ronn.1) command -
18
- [source file](https://github.com/n-ronn/nronn/blob/master/man/ronn.1.ronn),
19
- [roff output](https://github.com/n-ronn/nronn/blob/master/man/ronn.1)
19
+ * [ronn(1)](https://n-ronn.github.io/nronn/ronn.1.html) command -
20
+ [source file](https://github.com/n-ronn/nronn/blob/main/man/ronn.1.ronn),
21
+ [roff output](https://github.com/n-ronn/nronn/blob/main/man/ronn.1)
20
22
 
21
- * [ronn-format(7)](http://rtomayko.github.com/ronn/ronn-format.7) -
22
- [source file](https://github.com/n-ronn/nronn/blob/master/man/ronn-format.7.ronn),
23
- [roff output](https://github.com/n-ronn/nronn/blob/master/man/ronn-format.7)
23
+ * [ronn-format(7)](https://n-ronn.github.io/nronn/ronn-format.7.html) -
24
+ [source file](https://github.com/n-ronn/nronn/blob/main/man/ronn-format.7.ronn),
25
+ [roff output](https://github.com/n-ronn/nronn/blob/main/man/ronn-format.7)
24
26
 
25
- [1]: https://github.com/n-ronn/nronn/tree/master/man
27
+ [1]: https://github.com/n-ronn/nronn/tree/main/man
26
28
 
27
29
  As an alternative, you might want to check out [pandoc](http://johnmacfarlane.net/pandoc/) which can also convert markdown into roff manual pages.
28
30
 
@@ -71,7 +73,7 @@ View roff output with man(1):
71
73
  $ man man/ronn.5
72
74
  ```
73
75
 
74
- The [ronn(1)](http://rtomayko.github.com/ronn/ronn.1) manual page includes
76
+ The [ronn(1)](https://n-ronn.github.io/nronn/ronn.1.html) manual page includes
75
77
  comprehensive documentation on `ronn` command line options.
76
78
 
77
79
  ## Background
@@ -126,6 +128,8 @@ MIT License.
126
128
 
127
129
  See [LICENSE.txt](LICENSE.txt) for detail.
128
130
 
129
- ## Build Status
131
+ ## JRuby support
132
+
133
+ JRuby is not supported yet:
130
134
 
131
- TODO
135
+ [![JRuby](https://github.com/n-ronn/nronn/actions/workflows/jruby.yml/badge.svg)](https://github.com/n-ronn/nronn/actions/workflows/jruby.yml)
data/Rakefile CHANGED
@@ -69,7 +69,7 @@ end
69
69
  task :rev do
70
70
  rev = ENV['REV'] || `git describe --tags`.chomp
71
71
  data = File.read('lib/ronn.rb')
72
- data.gsub!(/^( *)REV *=.*/, "\\1REV = '#{rev}'")
72
+ data.gsub!(/^( *)REV *=.*/, "\\1REV = '#{rev.sub(/\Av/, '')}'.freeze")
73
73
  File.open('lib/ronn.rb', 'wb') { |fd| fd.write(data) }
74
74
  puts "revision: #{rev}"
75
75
  puts "version: #{`ruby -Ilib -rronn -e 'puts Ronn::VERSION'`}"
@@ -1,7 +1,7 @@
1
1
  <!DOCTYPE html>
2
2
  <html>
3
3
  <head>
4
- <meta http-equiv='content-type' content='text/html;charset=utf8'>
4
+ <meta http-equiv='content-type' content='text/html;charset=utf-8'>
5
5
  <meta name='generator' content='{{ generator }}'>
6
6
  <title>{{ title }}</title>
7
7
  {{{ stylesheet_tags }}}
data/lib/ronn.rb CHANGED
@@ -22,15 +22,15 @@ module Ronn
22
22
 
23
23
  # A semantic version number based on the git revision. The third element
24
24
  # of the version is incremented by the commit offset, such that version
25
- # 0.6.6-5-gdacd74b => 0.6.11
25
+ # v0.6.6-5-gdacd74b => 0.6.11
26
26
  def self.version
27
- ver = revision[/^[0-9.-]+/].split(/[.-]/).map(&:to_i)
27
+ ver = revision.sub(/\Av/, '')[/^[0-9.-]+/].split(/[.-]/).map(&:to_i)
28
28
  ver[2] += ver.pop while ver.size > 3
29
29
  ver.join('.')
30
30
  end
31
31
 
32
32
  # The string revision as reported by: git-describe --tags. This is just the
33
- # tag name when a tag references the HEAD commit (e.g. 0.6.25). When the HEAD
33
+ # tag name when a tag references the HEAD commit (e.g. v0.6.25). When the HEAD
34
34
  # commit is not tagged, this is a "<tag>-<offset>-<sha1>" string:
35
35
  # <tag> - closest tag name
36
36
  # <offset> - number of commits ahead of <tag>
@@ -40,8 +40,6 @@ module Ronn
40
40
  end
41
41
 
42
42
  # value generated by: rake rev
43
- # or edit manually; I'm not sure of how rake rev interacts with git
44
- # tags -apjanke
45
- REV = '0.10.1.pre1'.freeze
43
+ REV = '0.10.2'.freeze
46
44
  VERSION = version
47
45
  end
data/man/index.html CHANGED
@@ -1,7 +1,7 @@
1
1
  <!DOCTYPE html>
2
2
  <html>
3
3
  <head>
4
- <title>Ronn</title>
4
+ <title>nRonn: n.Ronn</title>
5
5
  <style>
6
6
  body {
7
7
  font-size:24px;
@@ -41,16 +41,16 @@
41
41
  </head>
42
42
  <body>
43
43
  <div id='index'>
44
- <h1>Ronn</h1>
44
+ <h1>nRonn: next generation of Ronn</h1>
45
45
  <h3>Builds manuals</h3>
46
46
 
47
47
  <h4>Auxiliary</h4>
48
48
  <p class='aux'>
49
- <a href='http://github.com/apjanke/ronn-ng#readme'>README</a>,
50
- <a href='http://github.com/apjanke/ronn-ng/blob/master/INSTALLING#files'>INSTALLING</a>,
51
- <a href='http://github.com/apjanke/ronn-ng/blob/master/CHANGES#files'>CHANGES</a>,
52
- <a href='http://github.com/apjanke/ronn-ng/blob/master/COPYING#files'>COPYING</a>,
53
- <a href='http://github.com/apjanke/ronn-ng/blob/master/AUTHORS#files'>AUTHORS</a>
49
+ <a href='https://github.com/n-ronn/nronn#readme'>README</a>,
50
+ <a href='https://github.com/n-ronn/nronn/blob/main/INSTALLING.md#files'>INSTALLING</a>,
51
+ <a href='https://github.com/n-ronn/nronn/releases'>CHANGES</a>,
52
+ <a href='https://github.com/n-ronn/nronn/blob/main/LICENSE.txt#files'>COPYING</a>,
53
+ <a href='https://github.com/n-ronn/nronn/blob/main/AUTHORS#files'>AUTHORS</a>
54
54
  </p>
55
55
 
56
56
  <h4>Manuals</h4>
@@ -72,7 +72,7 @@
72
72
  <a class='man-ref' href="http://mustache.github.com/mustache.5.html">mustache(5)</a>
73
73
  </p>
74
74
 
75
- <p class='copy'>Copyright &copy; 2010 Ryan Tomayko, &copy; 2018 Andrew Janke</p>
75
+ <p class='copy'>Copyright &copy; 2010 Ryan Tomayko, 2018 Andrew Janke, 2022 Takuya Noguchi</p>
76
76
  </div>
77
77
  </body>
78
78
  </html>
data/man/ronn-format.7 CHANGED
@@ -1,6 +1,6 @@
1
- .\" generated with nRonn/v0.10.1
2
- .\" https://github.com/n-ronn/nronn/tree/0.10.1.pre1
3
- .TH "RONN\-FORMAT" "7" "August 2022" "nRonn 0.10.1.pre1" "Ronn Manual"
1
+ .\" generated with nRonn/v0.10.2
2
+ .\" https://github.com/n-ronn/nronn/tree/0.10.2
3
+ .TH "RONN\-FORMAT" "7" "August 2022" "nRonn 0.10.2" "Ronn Manual"
4
4
  .SH "NAME"
5
5
  \fBronn\-format\fR \- manual authoring format based on Markdown
6
6
  .SH "SYNOPSIS"
data/man/ronn.1 CHANGED
@@ -1,6 +1,6 @@
1
- .\" generated with nRonn/v0.10.1
2
- .\" https://github.com/n-ronn/nronn/tree/0.10.1.pre1
3
- .TH "RONN" "1" "August 2022" "nRonn 0.10.1.pre1" "Ronn Manual"
1
+ .\" generated with nRonn/v0.10.2
2
+ .\" https://github.com/n-ronn/nronn/tree/0.10.2
3
+ .TH "RONN" "1" "August 2022" "nRonn 0.10.2" "Ronn Manual"
4
4
  .SH "NAME"
5
5
  \fBronn\fR \- convert markdown files to manpages
6
6
  .SH "SYNOPSIS"
@@ -149,7 +149,7 @@ The heading and footing, respectively\.
149
149
  \fB\.man\-title\fR
150
150
  The main \fB<h1>\fR element\. Hidden by default unless the manual has no \fIname\fR or \fIsection\fR attributes\.
151
151
  .P
152
- See the builtin style sources \fIhttps://github\.com/n\-ronn/nronn/tree/master/lib/ronn/template\fR for examples\.
152
+ See the builtin style sources \fIhttps://github\.com/n\-ronn/nronn/tree/main/lib/ronn/template\fR for examples\.
153
153
  .SH "EXAMPLES"
154
154
  Build roff and HTML output files and view the roff manpage using man(1):
155
155
  .IP "" 4
data/man/ronn.1.ronn CHANGED
@@ -237,7 +237,7 @@ allow targeting all generated elements:
237
237
 
238
238
  See the [builtin style sources][builtin] for examples.
239
239
 
240
- [builtin]: https://github.com/n-ronn/nronn/tree/master/lib/ronn/template
240
+ [builtin]: https://github.com/n-ronn/nronn/tree/main/lib/ronn/template
241
241
  "Builtin Stylesheet .css files"
242
242
 
243
243
  ## EXAMPLES
data/nronn.gemspec CHANGED
@@ -1,12 +1,11 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'nronn'
3
- s.version = '0.10.1.pre3'
4
- s.date = '2022-08-01'
3
+ s.version = '0.10.2'
5
4
  s.required_ruby_version = '>= 2.4'
6
5
 
7
6
  s.summary = 'Builds man pages from Markdown'
8
- s.description = 'nronn builds manuals in HTML and Unix man page format from Markdown.'
9
- s.homepage = 'https://github.com/n-ronn/ronn'
7
+ s.description = 'Advanced ronn: nRonn. nRonn builds manuals in HTML and Unix man page format from Markdown. Ruby 2.7/3.0/3.1/3.2-dev are fully supported. You can use Nokogiri instead of deprecated hpricot. If you do not want to use pandoc, you should use nronn.'
8
+ s.homepage = 'https://github.com/n-ronn/nronn'
10
9
  s.license = 'MIT'
11
10
 
12
11
  s.authors = ['Takuya Noguchi']
@@ -15,15 +14,13 @@ Gem::Specification.new do |s|
15
14
  s.metadata = {
16
15
  'bug_tracker_uri' => 'https://github.com/n-ronn/nronn/issues',
17
16
  'source_code_uri' => 'https://github.com/n-ronn/nronn',
18
- 'changelog_uri' => 'https://github.com/n-ronn/nronn/blob/master/CHANGES'
17
+ 'changelog_uri' => 'https://github.com/n-ronn/nronn/releases'
19
18
  }
20
19
 
21
20
  # = MANIFEST =
22
21
  s.files = %w[
23
22
  AUTHORS
24
23
  CHANGES
25
- Gemfile
26
- Gemfile.lock
27
24
  INSTALLING.md
28
25
  LICENSE.txt
29
26
  README.md
@@ -54,66 +51,6 @@ Gem::Specification.new do |s|
54
51
  man/ronn.1
55
52
  man/ronn.1.ronn
56
53
  nronn.gemspec
57
- test/angle_bracket_syntax.html
58
- test/angle_bracket_syntax.roff
59
- test/angle_bracket_syntax.ronn
60
- test/backticks.html
61
- test/backticks.ronn
62
- test/basic_document.html
63
- test/basic_document.ronn
64
- test/circumflexes.ronn
65
- test/code_blocks.html
66
- test/code_blocks.roff
67
- test/code_blocks.ronn
68
- test/code_blocks_regression
69
- test/code_blocks_regression.html
70
- test/code_blocks_regression.ronn
71
- test/contest.rb
72
- test/custom_title_document.html
73
- test/custom_title_document.ronn
74
- test/definition_list_syntax.html
75
- test/definition_list_syntax.roff
76
- test/definition_list_syntax.ronn
77
- test/dots_at_line_start_test.roff
78
- test/dots_at_line_start_test.ronn
79
- test/ellipses.roff
80
- test/ellipses.ronn
81
- test/entity_encoding_test.html
82
- test/entity_encoding_test.roff
83
- test/entity_encoding_test.ronn
84
- test/index.txt
85
- test/markdown_syntax.html
86
- test/markdown_syntax.roff
87
- test/markdown_syntax.ronn
88
- test/middle_paragraph.html
89
- test/middle_paragraph.roff
90
- test/middle_paragraph.ronn
91
- test/missing_spaces.roff
92
- test/missing_spaces.ronn
93
- test/nested_list.ronn
94
- test/nested_list_with_code.html
95
- test/nested_list_with_code.roff
96
- test/nested_list_with_code.ronn
97
- test/ordered_list.html
98
- test/ordered_list.roff
99
- test/ordered_list.ronn
100
- test/page.with.periods.in.name.5.ronn
101
- test/pre_block_with_quotes.roff
102
- test/pre_block_with_quotes.ronn
103
- test/section_reference_links.html
104
- test/section_reference_links.roff
105
- test/section_reference_links.ronn
106
- test/single_quotes.html
107
- test/single_quotes.roff
108
- test/single_quotes.ronn
109
- test/tables.ronn
110
- test/test_ronn.rb
111
- test/test_ronn_document.rb
112
- test/test_ronn_index.rb
113
- test/titleless_document.html
114
- test/titleless_document.ronn
115
- test/underline_spacing_test.roff
116
- test/underline_spacing_test.ronn
117
54
  ]
118
55
  # = MANIFEST =
119
56
 
@@ -127,7 +64,7 @@ Gem::Specification.new do |s|
127
64
  s.add_dependency 'nokogiri', '~> 1.10', '>= 1.10.10'
128
65
  s.add_development_dependency 'rack', '~> 2.2', '>= 2.2.3'
129
66
  s.add_development_dependency 'rake', '~> 12.3', '>= 12.3.3'
130
- s.add_development_dependency 'rubocop', '~> 0.88', '>= 0.88.0'
67
+ s.add_development_dependency 'rubocop', '~> 1.12.1'
131
68
  s.add_development_dependency 'sinatra', '~> 2.0', '>= 2.0.8'
132
69
  s.add_development_dependency 'test-unit', '~> 3.3', '>= 3.3.6'
133
70
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nronn
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.1.pre3
4
+ version: 0.10.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Takuya Noguchi
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-08-01 00:00:00.000000000 Z
11
+ date: 2022-08-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: kramdown
@@ -118,20 +118,14 @@ dependencies:
118
118
  requirements:
119
119
  - - "~>"
120
120
  - !ruby/object:Gem::Version
121
- version: '0.88'
122
- - - ">="
123
- - !ruby/object:Gem::Version
124
- version: 0.88.0
121
+ version: 1.12.1
125
122
  type: :development
126
123
  prerelease: false
127
124
  version_requirements: !ruby/object:Gem::Requirement
128
125
  requirements:
129
126
  - - "~>"
130
127
  - !ruby/object:Gem::Version
131
- version: '0.88'
132
- - - ">="
133
- - !ruby/object:Gem::Version
134
- version: 0.88.0
128
+ version: 1.12.1
135
129
  - !ruby/object:Gem::Dependency
136
130
  name: sinatra
137
131
  requirement: !ruby/object:Gem::Requirement
@@ -172,7 +166,10 @@ dependencies:
172
166
  - - ">="
173
167
  - !ruby/object:Gem::Version
174
168
  version: 3.3.6
175
- description: nronn builds manuals in HTML and Unix man page format from Markdown.
169
+ description: 'Advanced ronn: nRonn. nRonn builds manuals in HTML and Unix man page
170
+ format from Markdown. Ruby 2.7/3.0/3.1/3.2-dev are fully supported. You can use
171
+ Nokogiri instead of deprecated hpricot. If you do not want to use pandoc, you should
172
+ use nronn.'
176
173
  email:
177
174
  - ''
178
175
  executables:
@@ -184,8 +181,6 @@ extra_rdoc_files:
184
181
  files:
185
182
  - AUTHORS
186
183
  - CHANGES
187
- - Gemfile
188
- - Gemfile.lock
189
184
  - INSTALLING.md
190
185
  - LICENSE.txt
191
186
  - README.md
@@ -216,73 +211,13 @@ files:
216
211
  - man/ronn.1
217
212
  - man/ronn.1.ronn
218
213
  - nronn.gemspec
219
- - test/angle_bracket_syntax.html
220
- - test/angle_bracket_syntax.roff
221
- - test/angle_bracket_syntax.ronn
222
- - test/backticks.html
223
- - test/backticks.ronn
224
- - test/basic_document.html
225
- - test/basic_document.ronn
226
- - test/circumflexes.ronn
227
- - test/code_blocks.html
228
- - test/code_blocks.roff
229
- - test/code_blocks.ronn
230
- - test/code_blocks_regression
231
- - test/code_blocks_regression.html
232
- - test/code_blocks_regression.ronn
233
- - test/contest.rb
234
- - test/custom_title_document.html
235
- - test/custom_title_document.ronn
236
- - test/definition_list_syntax.html
237
- - test/definition_list_syntax.roff
238
- - test/definition_list_syntax.ronn
239
- - test/dots_at_line_start_test.roff
240
- - test/dots_at_line_start_test.ronn
241
- - test/ellipses.roff
242
- - test/ellipses.ronn
243
- - test/entity_encoding_test.html
244
- - test/entity_encoding_test.roff
245
- - test/entity_encoding_test.ronn
246
- - test/index.txt
247
- - test/markdown_syntax.html
248
- - test/markdown_syntax.roff
249
- - test/markdown_syntax.ronn
250
- - test/middle_paragraph.html
251
- - test/middle_paragraph.roff
252
- - test/middle_paragraph.ronn
253
- - test/missing_spaces.roff
254
- - test/missing_spaces.ronn
255
- - test/nested_list.ronn
256
- - test/nested_list_with_code.html
257
- - test/nested_list_with_code.roff
258
- - test/nested_list_with_code.ronn
259
- - test/ordered_list.html
260
- - test/ordered_list.roff
261
- - test/ordered_list.ronn
262
- - test/page.with.periods.in.name.5.ronn
263
- - test/pre_block_with_quotes.roff
264
- - test/pre_block_with_quotes.ronn
265
- - test/section_reference_links.html
266
- - test/section_reference_links.roff
267
- - test/section_reference_links.ronn
268
- - test/single_quotes.html
269
- - test/single_quotes.roff
270
- - test/single_quotes.ronn
271
- - test/tables.ronn
272
- - test/test_ronn.rb
273
- - test/test_ronn_document.rb
274
- - test/test_ronn_index.rb
275
- - test/titleless_document.html
276
- - test/titleless_document.ronn
277
- - test/underline_spacing_test.roff
278
- - test/underline_spacing_test.ronn
279
- homepage: https://github.com/n-ronn/ronn
214
+ homepage: https://github.com/n-ronn/nronn
280
215
  licenses:
281
216
  - MIT
282
217
  metadata:
283
218
  bug_tracker_uri: https://github.com/n-ronn/nronn/issues
284
219
  source_code_uri: https://github.com/n-ronn/nronn
285
- changelog_uri: https://github.com/n-ronn/nronn/blob/master/CHANGES
220
+ changelog_uri: https://github.com/n-ronn/nronn/releases
286
221
  post_install_message:
287
222
  rdoc_options:
288
223
  - "--line-numbers"
@@ -298,11 +233,11 @@ required_ruby_version: !ruby/object:Gem::Requirement
298
233
  version: '2.4'
299
234
  required_rubygems_version: !ruby/object:Gem::Requirement
300
235
  requirements:
301
- - - ">"
236
+ - - ">="
302
237
  - !ruby/object:Gem::Version
303
- version: 1.3.1
238
+ version: '0'
304
239
  requirements: []
305
- rubygems_version: 3.3.19
240
+ rubygems_version: 3.3.7
306
241
  signing_key:
307
242
  specification_version: 4
308
243
  summary: Builds man pages from Markdown
data/Gemfile DELETED
@@ -1,2 +0,0 @@
1
- source 'https://rubygems.org'
2
- gemspec
data/Gemfile.lock DELETED
@@ -1,72 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- nronn (0.10.1.pre2)
5
- kramdown (~> 2.1)
6
- kramdown-parser-gfm (~> 1.0.1)
7
- mustache (~> 1.0)
8
- nokogiri (~> 1.10, >= 1.10.10)
9
-
10
- GEM
11
- remote: https://rubygems.org/
12
- specs:
13
- ast (2.4.1)
14
- kramdown (2.4.0)
15
- rexml
16
- kramdown-parser-gfm (1.0.1)
17
- kramdown (~> 2.0)
18
- mini_portile2 (2.8.0)
19
- mustache (1.1.1)
20
- mustermann (1.1.1)
21
- ruby2_keywords (~> 0.0.1)
22
- nokogiri (1.13.8)
23
- mini_portile2 (~> 2.8.0)
24
- racc (~> 1.4)
25
- parallel (1.20.1)
26
- parser (2.7.2.0)
27
- ast (~> 2.4.1)
28
- power_assert (1.2.0)
29
- racc (1.6.0)
30
- rack (2.2.3)
31
- rack-protection (2.1.0)
32
- rack
33
- rainbow (3.0.0)
34
- rake (12.3.3)
35
- regexp_parser (2.0.1)
36
- rexml (3.2.5)
37
- rubocop (0.93.1)
38
- parallel (~> 1.10)
39
- parser (>= 2.7.1.5)
40
- rainbow (>= 2.2.2, < 4.0)
41
- regexp_parser (>= 1.8)
42
- rexml
43
- rubocop-ast (>= 0.6.0)
44
- ruby-progressbar (~> 1.7)
45
- unicode-display_width (>= 1.4.0, < 2.0)
46
- rubocop-ast (1.3.0)
47
- parser (>= 2.7.1.5)
48
- ruby-progressbar (1.10.1)
49
- ruby2_keywords (0.0.2)
50
- sinatra (2.1.0)
51
- mustermann (~> 1.0)
52
- rack (~> 2.2)
53
- rack-protection (= 2.1.0)
54
- tilt (~> 2.0)
55
- test-unit (3.3.7)
56
- power_assert
57
- tilt (2.0.10)
58
- unicode-display_width (1.7.0)
59
-
60
- PLATFORMS
61
- ruby
62
-
63
- DEPENDENCIES
64
- nronn!
65
- rack (~> 2.2, >= 2.2.3)
66
- rake (~> 12.3, >= 12.3.3)
67
- rubocop (~> 0.88, >= 0.88.0)
68
- sinatra (~> 2.0, >= 2.0.8)
69
- test-unit (~> 3.3, >= 3.3.6)
70
-
71
- BUNDLED WITH
72
- 2.1.4
@@ -1,27 +0,0 @@
1
- <div class='mp'>
2
-
3
- <h2 id="NAME">NAME</h2>
4
- <p class="man-name">
5
- <code>angle_bracket_syntax</code> - <span class="man-whatis">angle bracket syntax test</span>
6
- </p>
7
- <p>A <var>WORD</var> in angle brackets is converted to <var>WORD</var>,</p>
8
-
9
- <pre><code>except when &lt;WORD&gt; is
10
- part of a preformatted
11
- code block,
12
- </code></pre>
13
-
14
- <p>or when <code>&lt;WORD&gt;</code> is enclosed in backticks.</p>
15
-
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>
27
- </div>
@@ -1,24 +0,0 @@
1
- .TH "ANGLE_BRACKET_SYNTAX" "5" "January 1979" ""
2
- .SH "NAME"
3
- \fBangle_bracket_syntax\fR \- angle bracket syntax test
4
- .P
5
- A \fIWORD\fR in angle brackets is converted to \fIWORD\fR,
6
- .IP "" 4
7
- .nf
8
- except when <WORD> is
9
- part of a preformatted
10
- code block,
11
- .fi
12
- .IP "" 0
13
- .P
14
- or when \fB<WORD>\fR is enclosed in backticks\.
15
- .P
16
- or when \fIWORD\fR has a
17
- .SH "Escaping angle brackets"
18
- You can escape <angle> <brackets> with backslashes, since we're using GitHub Flavored Markdown\.
19
- .P
20
- Example:
21
- .P
22
- \fBpxzgrep\fR [\fB\-p\fR<n>] [\fB\-V\fR] [<xzgrep options>] <pattern> <file1> <file2> [<more files>]
23
- .P
24
- (Though really you should just put that in a fenced code block\.)
@@ -1,22 +0,0 @@
1
- angle_bracket_syntax(5) -- angle bracket syntax test
2
- ====================================================
3
-
4
- A <WORD> in angle brackets is converted to <var>WORD</var>,
5
-
6
- except when <WORD> is
7
- part of a preformatted
8
- code block,
9
-
10
- or when `<WORD>` is enclosed in backticks.
11
-
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.)