ronn-ng 0.8.1.beta.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 +4 -4
- data/CHANGES +29 -2
- data/INSTALLING.md +2 -2
- data/LICENSE.txt +1 -1
- data/README.md +2 -3
- data/Rakefile +4 -4
- data/bin/ronn +23 -11
- data/lib/ronn.rb +3 -8
- data/lib/ronn/document.rb +23 -12
- data/lib/ronn/index.rb +2 -4
- data/lib/ronn/roff.rb +14 -8
- data/lib/ronn/template.rb +1 -0
- data/man/ronn-format.7 +4 -4
- data/man/ronn.1 +9 -5
- data/man/ronn.1.ronn +10 -7
- data/ronn-ng.gemspec +13 -13
- data/test/angle_bracket_syntax.html +11 -1
- data/test/angle_bracket_syntax.ronn +10 -0
- data/test/{code_blocks.7.ronn → code_blocks.ronn} +0 -0
- data/test/definition_list_syntax.html +2 -2
- data/test/definition_list_syntax.roff +1 -1
- data/test/dots_at_line_start_test.roff +3 -3
- data/test/ellipses.roff +2 -2
- data/test/entity_encoding_test.html +20 -12
- data/test/entity_encoding_test.roff +26 -15
- data/test/entity_encoding_test.ronn +9 -0
- data/test/markdown_syntax.html +8 -10
- data/test/markdown_syntax.roff +49 -49
- data/test/middle_paragraph.roff +1 -1
- data/test/missing_spaces.roff +1 -1
- data/test/nested_list_with_code.html +6 -7
- data/test/nested_list_with_code.roff +4 -4
- data/test/ordered_list.html +8 -10
- data/test/ordered_list.roff +1 -1
- data/test/pre_block_with_quotes.roff +1 -1
- data/test/section_reference_links.roff +2 -2
- data/test/test_ronn.rb +1 -1
- data/test/underline_spacing_test.roff +1 -1
- metadata +60 -59
- data/test/url_formatting.ronn +0 -3
data/test/middle_paragraph.roff
CHANGED
data/test/missing_spaces.roff
CHANGED
@@ -2,14 +2,13 @@
|
|
2
2
|
|
3
3
|
<h1 id="a-1-">a(1)</h1>
|
4
4
|
<ul>
|
5
|
-
<li>
|
5
|
+
<li>
|
6
6
|
<code>toggle_status</code>
|
7
|
-
|
8
|
-
<
|
9
|
-
|
10
|
-
</
|
11
|
-
|
12
|
-
<li>
|
7
|
+
<ul>
|
8
|
+
<li>Toggle the display of the status bar.</li>
|
9
|
+
</ul>
|
10
|
+
</li>
|
11
|
+
<li>
|
13
12
|
<code>spawn <executable> <additional args></code> TODO explain path-alike expansion</li>
|
14
13
|
</ul>
|
15
14
|
</div>
|
@@ -1,11 +1,11 @@
|
|
1
|
-
.TH "NESTED_LIST_WITH_CODE" "" "January 1979" ""
|
2
|
-
.IP "\
|
1
|
+
.TH "NESTED_LIST_WITH_CODE" "" "January 1979" ""
|
2
|
+
.IP "\(bu" 4
|
3
3
|
\fBtoggle_status\fR
|
4
|
-
.IP "\
|
4
|
+
.IP "\(bu" 4
|
5
5
|
Toggle the display of the status bar\.
|
6
6
|
.IP "" 0
|
7
7
|
|
8
|
-
.IP "\
|
8
|
+
.IP "\(bu" 4
|
9
9
|
\fBspawn <executable> <additional args>\fR TODO explain path\-alike expansion
|
10
10
|
.IP "" 0
|
11
11
|
|
data/test/ordered_list.html
CHANGED
@@ -6,25 +6,23 @@
|
|
6
6
|
<h3 id="One-item-list">One-item list</h3>
|
7
7
|
|
8
8
|
<ol>
|
9
|
-
<li>Hello, world!</li>
|
9
|
+
<li>Hello, world!</li>
|
10
10
|
</ol>
|
11
11
|
|
12
|
-
|
13
12
|
<h3 id="Three-item-list">Three-item list</h3>
|
14
13
|
|
15
14
|
<ol>
|
16
|
-
<li>Hello, world!</li>
|
17
|
-
<li>Item 2</li>
|
18
|
-
<li>Item 3</li>
|
15
|
+
<li>Hello, world!</li>
|
16
|
+
<li>Item 2</li>
|
17
|
+
<li>Item 3</li>
|
19
18
|
</ol>
|
20
19
|
|
21
|
-
|
22
20
|
<h3 id="Four-item-list-with-all-1s">Four-item list with all 1s</h3>
|
23
21
|
|
24
22
|
<ol>
|
25
|
-
<li>Item 1</li>
|
26
|
-
<li>Item 2</li>
|
27
|
-
<li>Item 3</li>
|
28
|
-
<li>Item 4</li>
|
23
|
+
<li>Item 1</li>
|
24
|
+
<li>Item 2</li>
|
25
|
+
<li>Item 3</li>
|
26
|
+
<li>Item 4</li>
|
29
27
|
</ol>
|
30
28
|
</div>
|
data/test/ordered_list.roff
CHANGED
@@ -1,7 +1,7 @@
|
|
1
|
-
.TH "SECTION_REFERENCE_LINKS" "1" "January 1979" ""
|
1
|
+
.TH "SECTION_REFERENCE_LINKS" "1" "January 1979" ""
|
2
2
|
.SH "NAME"
|
3
3
|
\fBsection_reference_links\fR \- linking to sections
|
4
4
|
.SH "SECTION 1"
|
5
5
|
See the following section\.
|
6
6
|
.SH "SECTION 2"
|
7
|
-
See \
|
7
|
+
See \fISECTION 1\fR or \fIto put it another way\fR or even \fIlike this\fR
|
data/test/test_ronn.rb
CHANGED
@@ -20,7 +20,7 @@ class RonnTest < Test::Unit::TestCase
|
|
20
20
|
assert_equal 5, lines.size
|
21
21
|
assert_equal %(.\\" generated with Ronn-NG/v#{Ronn.version}), lines.shift
|
22
22
|
assert_equal %(.\\" http://github.com/apjanke/ronn-ng/tree/#{Ronn.revision}), lines.shift
|
23
|
-
assert_equal %(.TH "HELLO" "1" "November 2009" ""
|
23
|
+
assert_equal %(.TH "HELLO" "1" "November 2009" ""), lines.shift
|
24
24
|
assert_equal %(.SH "NAME"), lines.shift
|
25
25
|
assert_equal %(\\fBhello\\fR \\- hello world), lines.shift
|
26
26
|
assert_equal 0, lines.size
|
metadata
CHANGED
@@ -1,175 +1,177 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ronn-ng
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
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:
|
11
|
+
date: 2020-10-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
-
name:
|
14
|
+
name: kramdown
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - ">="
|
18
|
-
- !ruby/object:Gem::Version
|
19
|
-
version: 0.7.0
|
20
17
|
- - "~>"
|
21
18
|
- !ruby/object:Gem::Version
|
22
|
-
version: '
|
19
|
+
version: '2.1'
|
23
20
|
type: :runtime
|
24
21
|
prerelease: false
|
25
22
|
version_requirements: !ruby/object:Gem::Requirement
|
26
23
|
requirements:
|
27
|
-
- - ">="
|
28
|
-
- !ruby/object:Gem::Version
|
29
|
-
version: 0.7.0
|
30
24
|
- - "~>"
|
31
25
|
- !ruby/object:Gem::Version
|
32
|
-
version: '
|
26
|
+
version: '2.1'
|
33
27
|
- !ruby/object:Gem::Dependency
|
34
|
-
name:
|
28
|
+
name: kramdown-parser-gfm
|
35
29
|
requirement: !ruby/object:Gem::Requirement
|
36
30
|
requirements:
|
37
|
-
- - ">="
|
38
|
-
- !ruby/object:Gem::Version
|
39
|
-
version: 1.9.0
|
40
31
|
- - "~>"
|
41
32
|
- !ruby/object:Gem::Version
|
42
|
-
version:
|
33
|
+
version: 1.0.1
|
43
34
|
type: :runtime
|
44
35
|
prerelease: false
|
45
36
|
version_requirements: !ruby/object:Gem::Requirement
|
46
37
|
requirements:
|
47
|
-
- - "
|
38
|
+
- - "~>"
|
48
39
|
- !ruby/object:Gem::Version
|
49
|
-
version: 1.
|
40
|
+
version: 1.0.1
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: mustache
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
50
45
|
- - "~>"
|
51
46
|
- !ruby/object:Gem::Version
|
52
|
-
version: '1.
|
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'
|
53
55
|
- !ruby/object:Gem::Dependency
|
54
|
-
name:
|
56
|
+
name: nokogiri
|
55
57
|
requirement: !ruby/object:Gem::Requirement
|
56
58
|
requirements:
|
57
59
|
- - "~>"
|
58
60
|
- !ruby/object:Gem::Version
|
59
|
-
version: '
|
61
|
+
version: '1.9'
|
60
62
|
- - ">="
|
61
63
|
- !ruby/object:Gem::Version
|
62
|
-
version:
|
64
|
+
version: 1.9.0
|
63
65
|
type: :runtime
|
64
66
|
prerelease: false
|
65
67
|
version_requirements: !ruby/object:Gem::Requirement
|
66
68
|
requirements:
|
67
69
|
- - "~>"
|
68
70
|
- !ruby/object:Gem::Version
|
69
|
-
version: '
|
71
|
+
version: '1.9'
|
70
72
|
- - ">="
|
71
73
|
- !ruby/object:Gem::Version
|
72
|
-
version:
|
74
|
+
version: 1.9.0
|
73
75
|
- !ruby/object:Gem::Dependency
|
74
76
|
name: rack
|
75
77
|
requirement: !ruby/object:Gem::Requirement
|
76
78
|
requirements:
|
77
79
|
- - "~>"
|
78
80
|
- !ruby/object:Gem::Version
|
79
|
-
version: '2.
|
81
|
+
version: '2.2'
|
80
82
|
- - ">="
|
81
83
|
- !ruby/object:Gem::Version
|
82
|
-
version: 2.
|
84
|
+
version: 2.2.3
|
83
85
|
type: :development
|
84
86
|
prerelease: false
|
85
87
|
version_requirements: !ruby/object:Gem::Requirement
|
86
88
|
requirements:
|
87
89
|
- - "~>"
|
88
90
|
- !ruby/object:Gem::Version
|
89
|
-
version: '2.
|
91
|
+
version: '2.2'
|
90
92
|
- - ">="
|
91
93
|
- !ruby/object:Gem::Version
|
92
|
-
version: 2.
|
94
|
+
version: 2.2.3
|
93
95
|
- !ruby/object:Gem::Dependency
|
94
96
|
name: rake
|
95
97
|
requirement: !ruby/object:Gem::Requirement
|
96
98
|
requirements:
|
97
|
-
- - ">="
|
98
|
-
- !ruby/object:Gem::Version
|
99
|
-
version: 12.3.0
|
100
99
|
- - "~>"
|
101
100
|
- !ruby/object:Gem::Version
|
102
101
|
version: '12.3'
|
102
|
+
- - ">="
|
103
|
+
- !ruby/object:Gem::Version
|
104
|
+
version: 12.3.3
|
103
105
|
type: :development
|
104
106
|
prerelease: false
|
105
107
|
version_requirements: !ruby/object:Gem::Requirement
|
106
108
|
requirements:
|
107
|
-
- - ">="
|
108
|
-
- !ruby/object:Gem::Version
|
109
|
-
version: 12.3.0
|
110
109
|
- - "~>"
|
111
110
|
- !ruby/object:Gem::Version
|
112
111
|
version: '12.3'
|
112
|
+
- - ">="
|
113
|
+
- !ruby/object:Gem::Version
|
114
|
+
version: 12.3.3
|
113
115
|
- !ruby/object:Gem::Dependency
|
114
116
|
name: rubocop
|
115
117
|
requirement: !ruby/object:Gem::Requirement
|
116
118
|
requirements:
|
117
|
-
- - ">="
|
118
|
-
- !ruby/object:Gem::Version
|
119
|
-
version: 0.57.1
|
120
119
|
- - "~>"
|
121
120
|
- !ruby/object:Gem::Version
|
122
|
-
version: '0.
|
121
|
+
version: '0.88'
|
122
|
+
- - ">="
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: 0.88.0
|
123
125
|
type: :development
|
124
126
|
prerelease: false
|
125
127
|
version_requirements: !ruby/object:Gem::Requirement
|
126
128
|
requirements:
|
127
|
-
- - ">="
|
128
|
-
- !ruby/object:Gem::Version
|
129
|
-
version: 0.57.1
|
130
129
|
- - "~>"
|
131
130
|
- !ruby/object:Gem::Version
|
132
|
-
version: '0.
|
131
|
+
version: '0.88'
|
132
|
+
- - ">="
|
133
|
+
- !ruby/object:Gem::Version
|
134
|
+
version: 0.88.0
|
133
135
|
- !ruby/object:Gem::Dependency
|
134
136
|
name: sinatra
|
135
137
|
requirement: !ruby/object:Gem::Requirement
|
136
138
|
requirements:
|
137
|
-
- - ">="
|
138
|
-
- !ruby/object:Gem::Version
|
139
|
-
version: 2.0.0
|
140
139
|
- - "~>"
|
141
140
|
- !ruby/object:Gem::Version
|
142
141
|
version: '2.0'
|
142
|
+
- - ">="
|
143
|
+
- !ruby/object:Gem::Version
|
144
|
+
version: 2.0.8
|
143
145
|
type: :development
|
144
146
|
prerelease: false
|
145
147
|
version_requirements: !ruby/object:Gem::Requirement
|
146
148
|
requirements:
|
147
|
-
- - ">="
|
148
|
-
- !ruby/object:Gem::Version
|
149
|
-
version: 2.0.0
|
150
149
|
- - "~>"
|
151
150
|
- !ruby/object:Gem::Version
|
152
151
|
version: '2.0'
|
152
|
+
- - ">="
|
153
|
+
- !ruby/object:Gem::Version
|
154
|
+
version: 2.0.8
|
153
155
|
- !ruby/object:Gem::Dependency
|
154
156
|
name: test-unit
|
155
157
|
requirement: !ruby/object:Gem::Requirement
|
156
158
|
requirements:
|
157
159
|
- - "~>"
|
158
160
|
- !ruby/object:Gem::Version
|
159
|
-
version: '3.
|
161
|
+
version: '3.3'
|
160
162
|
- - ">="
|
161
163
|
- !ruby/object:Gem::Version
|
162
|
-
version: 3.
|
164
|
+
version: 3.3.6
|
163
165
|
type: :development
|
164
166
|
prerelease: false
|
165
167
|
version_requirements: !ruby/object:Gem::Requirement
|
166
168
|
requirements:
|
167
169
|
- - "~>"
|
168
170
|
- !ruby/object:Gem::Version
|
169
|
-
version: '3.
|
171
|
+
version: '3.3'
|
170
172
|
- - ">="
|
171
173
|
- !ruby/object:Gem::Version
|
172
|
-
version: 3.
|
174
|
+
version: 3.3.6
|
173
175
|
description: Ronn-NG builds manuals in HTML and Unix man page format from Markdown.
|
174
176
|
email: floss@apjanke.net
|
175
177
|
executables:
|
@@ -219,7 +221,7 @@ files:
|
|
219
221
|
- test/basic_document.html
|
220
222
|
- test/basic_document.ronn
|
221
223
|
- test/circumflexes.ronn
|
222
|
-
- test/code_blocks.
|
224
|
+
- test/code_blocks.ronn
|
223
225
|
- test/contest.rb
|
224
226
|
- test/custom_title_document.html
|
225
227
|
- test/custom_title_document.ronn
|
@@ -263,7 +265,6 @@ files:
|
|
263
265
|
- test/titleless_document.ronn
|
264
266
|
- test/underline_spacing_test.roff
|
265
267
|
- test/underline_spacing_test.ronn
|
266
|
-
- test/url_formatting.ronn
|
267
268
|
homepage: https://github.com/apjanke/ronn-ng
|
268
269
|
licenses:
|
269
270
|
- MIT
|
@@ -271,7 +272,7 @@ metadata:
|
|
271
272
|
bug_tracker_uri: https://github.com/apjanke/ronn-ng/issues
|
272
273
|
source_code_uri: https://github.com/apjanke/ronn-ng
|
273
274
|
changelog_uri: https://github.com/apjanke/ronn-ng/blob/master/CHANGES
|
274
|
-
post_install_message:
|
275
|
+
post_install_message:
|
275
276
|
rdoc_options:
|
276
277
|
- "--line-numbers"
|
277
278
|
- "--inline-source"
|
@@ -283,15 +284,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
283
284
|
requirements:
|
284
285
|
- - ">="
|
285
286
|
- !ruby/object:Gem::Version
|
286
|
-
version: '
|
287
|
+
version: '2.4'
|
287
288
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
288
289
|
requirements:
|
289
290
|
- - ">"
|
290
291
|
- !ruby/object:Gem::Version
|
291
292
|
version: 1.3.1
|
292
293
|
requirements: []
|
293
|
-
rubygems_version: 3.
|
294
|
-
signing_key:
|
294
|
+
rubygems_version: 3.1.4
|
295
|
+
signing_key:
|
295
296
|
specification_version: 4
|
296
297
|
summary: Builds man pages from Markdown
|
297
298
|
test_files: []
|
data/test/url_formatting.ronn
DELETED