rdoc 6.4.0 → 6.5.0
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.
Potentially problematic release.
This version of rdoc might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/CONTRIBUTING.rdoc +1 -2
- data/LEGAL.rdoc +1 -1
- data/exe/rdoc +0 -1
- data/lib/rdoc/any_method.rb +2 -2
- data/lib/rdoc/code_objects.rb +1 -2
- data/lib/rdoc/context/section.rb +2 -0
- data/lib/rdoc/context.rb +1 -3
- data/lib/rdoc/cross_reference.rb +17 -1
- data/lib/rdoc/generator/markup.rb +1 -1
- data/lib/rdoc/generator/template/darkfish/_head.rhtml +10 -10
- data/lib/rdoc/generator/template/darkfish/_sidebar_classes.rhtml +27 -3
- data/lib/rdoc/generator/template/darkfish/_sidebar_pages.rhtml +22 -2
- data/lib/rdoc/generator/template/darkfish/_sidebar_table_of_contents.rhtml +25 -4
- data/lib/rdoc/generator/template/darkfish/class.rhtml +22 -20
- data/lib/rdoc/generator/template/darkfish/css/rdoc.css +24 -1
- data/lib/rdoc/generator/template/darkfish/index.rhtml +1 -1
- data/lib/rdoc/generator/template/darkfish/js/darkfish.js +1 -1
- data/lib/rdoc/generator/template/darkfish/js/search.js +1 -1
- data/lib/rdoc/generator/template/darkfish/table_of_contents.rhtml +2 -2
- data/lib/rdoc/generator.rb +5 -5
- data/lib/rdoc/i18n.rb +1 -1
- data/lib/rdoc/known_classes.rb +5 -4
- data/lib/rdoc/markdown/literals.rb +24 -8
- data/lib/rdoc/markdown.kpeg +25 -18
- data/lib/rdoc/markdown.rb +323 -226
- data/lib/rdoc/markup/attribute_manager.rb +29 -35
- data/lib/rdoc/markup/parser.rb +12 -6
- data/lib/rdoc/markup/to_html.rb +18 -14
- data/lib/rdoc/markup/to_label.rb +1 -1
- data/lib/rdoc/markup/to_rdoc.rb +3 -20
- data/lib/rdoc/markup.rb +35 -667
- data/lib/rdoc/method_attr.rb +1 -1
- data/lib/rdoc/normal_class.rb +1 -1
- data/lib/rdoc/normal_module.rb +1 -1
- data/lib/rdoc/options.rb +33 -18
- data/lib/rdoc/parser/c.rb +89 -101
- data/lib/rdoc/parser/ruby.rb +25 -10
- data/lib/rdoc/parser.rb +19 -2
- data/lib/rdoc/rd/block_parser.rb +13 -9
- data/lib/rdoc/rd/block_parser.ry +12 -8
- data/lib/rdoc/rd/inline_parser.rb +1 -1
- data/lib/rdoc/rd.rb +3 -4
- data/lib/rdoc/rdoc.rb +17 -3
- data/lib/rdoc/ri/driver.rb +11 -78
- data/lib/rdoc/ri.rb +4 -5
- data/lib/rdoc/rubygems_hook.rb +1 -1
- data/lib/rdoc/servlet.rb +1 -1
- data/lib/rdoc/single_class.rb +5 -0
- data/lib/rdoc/stats.rb +3 -4
- data/lib/rdoc/store.rb +4 -4
- data/lib/rdoc/task.rb +3 -3
- data/lib/rdoc/version.rb +3 -1
- data/lib/rdoc.rb +46 -46
- metadata +4 -9
- data/Gemfile +0 -12
- data/Rakefile +0 -107
- data/bin/console +0 -7
- data/bin/setup +0 -6
- data/rdoc.gemspec +0 -249
data/rdoc.gemspec
DELETED
@@ -1,249 +0,0 @@
|
|
1
|
-
begin
|
2
|
-
require_relative "lib/rdoc/version"
|
3
|
-
rescue LoadError
|
4
|
-
# for Ruby repository
|
5
|
-
require_relative "version"
|
6
|
-
end
|
7
|
-
|
8
|
-
Gem::Specification.new do |s|
|
9
|
-
s.name = "rdoc"
|
10
|
-
s.version = RDoc::VERSION
|
11
|
-
|
12
|
-
s.authors = [
|
13
|
-
"Eric Hodel",
|
14
|
-
"Dave Thomas",
|
15
|
-
"Phil Hagelberg",
|
16
|
-
"Tony Strauss",
|
17
|
-
"Zachary Scott",
|
18
|
-
"Hiroshi SHIBATA",
|
19
|
-
"ITOYANAGI Sakura"
|
20
|
-
]
|
21
|
-
s.email = ["drbrain@segment7.net", "", "", "", "mail@zzak.io", "hsbt@ruby-lang.org", "aycabta@gmail.com"]
|
22
|
-
|
23
|
-
s.summary = "RDoc produces HTML and command-line documentation for Ruby projects"
|
24
|
-
s.description = <<-DESCRIPTION
|
25
|
-
RDoc produces HTML and command-line documentation for Ruby projects.
|
26
|
-
RDoc includes the +rdoc+ and +ri+ tools for generating and displaying documentation from the command-line.
|
27
|
-
DESCRIPTION
|
28
|
-
s.homepage = "https://ruby.github.io/rdoc"
|
29
|
-
s.licenses = ["Ruby"]
|
30
|
-
|
31
|
-
s.bindir = "exe"
|
32
|
-
s.executables = ["rdoc", "ri"]
|
33
|
-
s.require_paths = ["lib"]
|
34
|
-
# for ruby core repository. It was generated by
|
35
|
-
# `git ls-files -z`.split("\x0").each {|f| puts " #{f.dump}," unless f.start_with?(*%W[test/ spec/ features/ .]) }
|
36
|
-
s.files = [
|
37
|
-
"CONTRIBUTING.rdoc",
|
38
|
-
"CVE-2013-0256.rdoc",
|
39
|
-
"ExampleMarkdown.md",
|
40
|
-
"ExampleRDoc.rdoc",
|
41
|
-
"Gemfile",
|
42
|
-
"History.rdoc",
|
43
|
-
"LEGAL.rdoc",
|
44
|
-
"LICENSE.rdoc",
|
45
|
-
"README.rdoc",
|
46
|
-
"RI.rdoc",
|
47
|
-
"Rakefile",
|
48
|
-
"TODO.rdoc",
|
49
|
-
"bin/console",
|
50
|
-
"bin/setup",
|
51
|
-
"exe/rdoc",
|
52
|
-
"exe/ri",
|
53
|
-
"lib/rdoc.rb",
|
54
|
-
"lib/rdoc/alias.rb",
|
55
|
-
"lib/rdoc/anon_class.rb",
|
56
|
-
"lib/rdoc/any_method.rb",
|
57
|
-
"lib/rdoc/attr.rb",
|
58
|
-
"lib/rdoc/class_module.rb",
|
59
|
-
"lib/rdoc/code_object.rb",
|
60
|
-
"lib/rdoc/code_objects.rb",
|
61
|
-
"lib/rdoc/comment.rb",
|
62
|
-
"lib/rdoc/constant.rb",
|
63
|
-
"lib/rdoc/context.rb",
|
64
|
-
"lib/rdoc/context/section.rb",
|
65
|
-
"lib/rdoc/cross_reference.rb",
|
66
|
-
"lib/rdoc/encoding.rb",
|
67
|
-
"lib/rdoc/erb_partial.rb",
|
68
|
-
"lib/rdoc/erbio.rb",
|
69
|
-
"lib/rdoc/extend.rb",
|
70
|
-
"lib/rdoc/generator.rb",
|
71
|
-
"lib/rdoc/generator/darkfish.rb",
|
72
|
-
"lib/rdoc/generator/json_index.rb",
|
73
|
-
"lib/rdoc/generator/markup.rb",
|
74
|
-
"lib/rdoc/generator/pot.rb",
|
75
|
-
"lib/rdoc/generator/pot/message_extractor.rb",
|
76
|
-
"lib/rdoc/generator/pot/po.rb",
|
77
|
-
"lib/rdoc/generator/pot/po_entry.rb",
|
78
|
-
"lib/rdoc/generator/ri.rb",
|
79
|
-
"lib/rdoc/generator/template/darkfish/.document",
|
80
|
-
"lib/rdoc/generator/template/darkfish/_footer.rhtml",
|
81
|
-
"lib/rdoc/generator/template/darkfish/_head.rhtml",
|
82
|
-
"lib/rdoc/generator/template/darkfish/_sidebar_VCS_info.rhtml",
|
83
|
-
"lib/rdoc/generator/template/darkfish/_sidebar_classes.rhtml",
|
84
|
-
"lib/rdoc/generator/template/darkfish/_sidebar_extends.rhtml",
|
85
|
-
"lib/rdoc/generator/template/darkfish/_sidebar_in_files.rhtml",
|
86
|
-
"lib/rdoc/generator/template/darkfish/_sidebar_includes.rhtml",
|
87
|
-
"lib/rdoc/generator/template/darkfish/_sidebar_installed.rhtml",
|
88
|
-
"lib/rdoc/generator/template/darkfish/_sidebar_methods.rhtml",
|
89
|
-
"lib/rdoc/generator/template/darkfish/_sidebar_navigation.rhtml",
|
90
|
-
"lib/rdoc/generator/template/darkfish/_sidebar_pages.rhtml",
|
91
|
-
"lib/rdoc/generator/template/darkfish/_sidebar_parent.rhtml",
|
92
|
-
"lib/rdoc/generator/template/darkfish/_sidebar_search.rhtml",
|
93
|
-
"lib/rdoc/generator/template/darkfish/_sidebar_sections.rhtml",
|
94
|
-
"lib/rdoc/generator/template/darkfish/_sidebar_table_of_contents.rhtml",
|
95
|
-
"lib/rdoc/generator/template/darkfish/class.rhtml",
|
96
|
-
"lib/rdoc/generator/template/darkfish/css/fonts.css",
|
97
|
-
"lib/rdoc/generator/template/darkfish/css/rdoc.css",
|
98
|
-
"lib/rdoc/generator/template/darkfish/fonts/Lato-Light.ttf",
|
99
|
-
"lib/rdoc/generator/template/darkfish/fonts/Lato-LightItalic.ttf",
|
100
|
-
"lib/rdoc/generator/template/darkfish/fonts/Lato-Regular.ttf",
|
101
|
-
"lib/rdoc/generator/template/darkfish/fonts/Lato-RegularItalic.ttf",
|
102
|
-
"lib/rdoc/generator/template/darkfish/fonts/SourceCodePro-Bold.ttf",
|
103
|
-
"lib/rdoc/generator/template/darkfish/fonts/SourceCodePro-Regular.ttf",
|
104
|
-
"lib/rdoc/generator/template/darkfish/images/add.png",
|
105
|
-
"lib/rdoc/generator/template/darkfish/images/arrow_up.png",
|
106
|
-
"lib/rdoc/generator/template/darkfish/images/brick.png",
|
107
|
-
"lib/rdoc/generator/template/darkfish/images/brick_link.png",
|
108
|
-
"lib/rdoc/generator/template/darkfish/images/bug.png",
|
109
|
-
"lib/rdoc/generator/template/darkfish/images/bullet_black.png",
|
110
|
-
"lib/rdoc/generator/template/darkfish/images/bullet_toggle_minus.png",
|
111
|
-
"lib/rdoc/generator/template/darkfish/images/bullet_toggle_plus.png",
|
112
|
-
"lib/rdoc/generator/template/darkfish/images/date.png",
|
113
|
-
"lib/rdoc/generator/template/darkfish/images/delete.png",
|
114
|
-
"lib/rdoc/generator/template/darkfish/images/find.png",
|
115
|
-
"lib/rdoc/generator/template/darkfish/images/loadingAnimation.gif",
|
116
|
-
"lib/rdoc/generator/template/darkfish/images/macFFBgHack.png",
|
117
|
-
"lib/rdoc/generator/template/darkfish/images/package.png",
|
118
|
-
"lib/rdoc/generator/template/darkfish/images/page_green.png",
|
119
|
-
"lib/rdoc/generator/template/darkfish/images/page_white_text.png",
|
120
|
-
"lib/rdoc/generator/template/darkfish/images/page_white_width.png",
|
121
|
-
"lib/rdoc/generator/template/darkfish/images/plugin.png",
|
122
|
-
"lib/rdoc/generator/template/darkfish/images/ruby.png",
|
123
|
-
"lib/rdoc/generator/template/darkfish/images/tag_blue.png",
|
124
|
-
"lib/rdoc/generator/template/darkfish/images/tag_green.png",
|
125
|
-
"lib/rdoc/generator/template/darkfish/images/transparent.png",
|
126
|
-
"lib/rdoc/generator/template/darkfish/images/wrench.png",
|
127
|
-
"lib/rdoc/generator/template/darkfish/images/wrench_orange.png",
|
128
|
-
"lib/rdoc/generator/template/darkfish/images/zoom.png",
|
129
|
-
"lib/rdoc/generator/template/darkfish/index.rhtml",
|
130
|
-
"lib/rdoc/generator/template/darkfish/js/darkfish.js",
|
131
|
-
"lib/rdoc/generator/template/darkfish/js/search.js",
|
132
|
-
"lib/rdoc/generator/template/darkfish/page.rhtml",
|
133
|
-
"lib/rdoc/generator/template/darkfish/servlet_not_found.rhtml",
|
134
|
-
"lib/rdoc/generator/template/darkfish/servlet_root.rhtml",
|
135
|
-
"lib/rdoc/generator/template/darkfish/table_of_contents.rhtml",
|
136
|
-
"lib/rdoc/generator/template/json_index/.document",
|
137
|
-
"lib/rdoc/generator/template/json_index/js/navigation.js",
|
138
|
-
"lib/rdoc/generator/template/json_index/js/searcher.js",
|
139
|
-
"lib/rdoc/ghost_method.rb",
|
140
|
-
"lib/rdoc/i18n.rb",
|
141
|
-
"lib/rdoc/i18n/locale.rb",
|
142
|
-
"lib/rdoc/i18n/text.rb",
|
143
|
-
"lib/rdoc/include.rb",
|
144
|
-
"lib/rdoc/known_classes.rb",
|
145
|
-
"lib/rdoc/markdown.kpeg",
|
146
|
-
"lib/rdoc/markdown/entities.rb",
|
147
|
-
"lib/rdoc/markdown/literals.kpeg",
|
148
|
-
"lib/rdoc/markup.rb",
|
149
|
-
"lib/rdoc/markup/attr_changer.rb",
|
150
|
-
"lib/rdoc/markup/attr_span.rb",
|
151
|
-
"lib/rdoc/markup/attribute_manager.rb",
|
152
|
-
"lib/rdoc/markup/attributes.rb",
|
153
|
-
"lib/rdoc/markup/blank_line.rb",
|
154
|
-
"lib/rdoc/markup/block_quote.rb",
|
155
|
-
"lib/rdoc/markup/document.rb",
|
156
|
-
"lib/rdoc/markup/formatter.rb",
|
157
|
-
"lib/rdoc/markup/hard_break.rb",
|
158
|
-
"lib/rdoc/markup/heading.rb",
|
159
|
-
"lib/rdoc/markup/include.rb",
|
160
|
-
"lib/rdoc/markup/indented_paragraph.rb",
|
161
|
-
"lib/rdoc/markup/list.rb",
|
162
|
-
"lib/rdoc/markup/list_item.rb",
|
163
|
-
"lib/rdoc/markup/paragraph.rb",
|
164
|
-
"lib/rdoc/markup/parser.rb",
|
165
|
-
"lib/rdoc/markup/pre_process.rb",
|
166
|
-
"lib/rdoc/markup/raw.rb",
|
167
|
-
"lib/rdoc/markup/regexp_handling.rb",
|
168
|
-
"lib/rdoc/markup/rule.rb",
|
169
|
-
"lib/rdoc/markup/table.rb",
|
170
|
-
"lib/rdoc/markup/to_ansi.rb",
|
171
|
-
"lib/rdoc/markup/to_bs.rb",
|
172
|
-
"lib/rdoc/markup/to_html.rb",
|
173
|
-
"lib/rdoc/markup/to_html_crossref.rb",
|
174
|
-
"lib/rdoc/markup/to_html_snippet.rb",
|
175
|
-
"lib/rdoc/markup/to_joined_paragraph.rb",
|
176
|
-
"lib/rdoc/markup/to_label.rb",
|
177
|
-
"lib/rdoc/markup/to_markdown.rb",
|
178
|
-
"lib/rdoc/markup/to_rdoc.rb",
|
179
|
-
"lib/rdoc/markup/to_table_of_contents.rb",
|
180
|
-
"lib/rdoc/markup/to_test.rb",
|
181
|
-
"lib/rdoc/markup/to_tt_only.rb",
|
182
|
-
"lib/rdoc/markup/verbatim.rb",
|
183
|
-
"lib/rdoc/meta_method.rb",
|
184
|
-
"lib/rdoc/method_attr.rb",
|
185
|
-
"lib/rdoc/mixin.rb",
|
186
|
-
"lib/rdoc/normal_class.rb",
|
187
|
-
"lib/rdoc/normal_module.rb",
|
188
|
-
"lib/rdoc/options.rb",
|
189
|
-
"lib/rdoc/parser.rb",
|
190
|
-
"lib/rdoc/parser/c.rb",
|
191
|
-
"lib/rdoc/parser/changelog.rb",
|
192
|
-
"lib/rdoc/parser/markdown.rb",
|
193
|
-
"lib/rdoc/parser/rd.rb",
|
194
|
-
"lib/rdoc/parser/ripper_state_lex.rb",
|
195
|
-
"lib/rdoc/parser/ruby.rb",
|
196
|
-
"lib/rdoc/parser/ruby_tools.rb",
|
197
|
-
"lib/rdoc/parser/simple.rb",
|
198
|
-
"lib/rdoc/parser/text.rb",
|
199
|
-
"lib/rdoc/rd.rb",
|
200
|
-
"lib/rdoc/rd/block_parser.ry",
|
201
|
-
"lib/rdoc/rd/inline.rb",
|
202
|
-
"lib/rdoc/rd/inline_parser.ry",
|
203
|
-
"lib/rdoc/rdoc.rb",
|
204
|
-
"lib/rdoc/require.rb",
|
205
|
-
"lib/rdoc/ri.rb",
|
206
|
-
"lib/rdoc/ri/driver.rb",
|
207
|
-
"lib/rdoc/ri/formatter.rb",
|
208
|
-
"lib/rdoc/ri/paths.rb",
|
209
|
-
"lib/rdoc/ri/store.rb",
|
210
|
-
"lib/rdoc/ri/task.rb",
|
211
|
-
"lib/rdoc/rubygems_hook.rb",
|
212
|
-
"lib/rdoc/servlet.rb",
|
213
|
-
"lib/rdoc/single_class.rb",
|
214
|
-
"lib/rdoc/stats.rb",
|
215
|
-
"lib/rdoc/stats/normal.rb",
|
216
|
-
"lib/rdoc/stats/quiet.rb",
|
217
|
-
"lib/rdoc/stats/verbose.rb",
|
218
|
-
"lib/rdoc/store.rb",
|
219
|
-
"lib/rdoc/task.rb",
|
220
|
-
"lib/rdoc/text.rb",
|
221
|
-
"lib/rdoc/token_stream.rb",
|
222
|
-
"lib/rdoc/tom_doc.rb",
|
223
|
-
"lib/rdoc/top_level.rb",
|
224
|
-
"lib/rdoc/version.rb",
|
225
|
-
"man/ri.1",
|
226
|
-
"rdoc.gemspec",
|
227
|
-
]
|
228
|
-
# files from .gitignore
|
229
|
-
s.files << "lib/rdoc/rd/block_parser.rb" << "lib/rdoc/rd/inline_parser.rb" << "lib/rdoc/markdown.rb" << "lib/rdoc/markdown/literals.rb"
|
230
|
-
|
231
|
-
s.rdoc_options = ["--main", "README.rdoc"]
|
232
|
-
s.extra_rdoc_files += %w[
|
233
|
-
CVE-2013-0256.rdoc
|
234
|
-
CONTRIBUTING.rdoc
|
235
|
-
ExampleMarkdown.md
|
236
|
-
ExampleRDoc.rdoc
|
237
|
-
History.rdoc
|
238
|
-
LEGAL.rdoc
|
239
|
-
LICENSE.rdoc
|
240
|
-
README.rdoc
|
241
|
-
RI.rdoc
|
242
|
-
TODO.rdoc
|
243
|
-
]
|
244
|
-
|
245
|
-
s.required_ruby_version = Gem::Requirement.new(">= 2.5.0")
|
246
|
-
s.required_rubygems_version = Gem::Requirement.new(">= 2.2")
|
247
|
-
|
248
|
-
s.add_dependency 'psych', '>= 4.0.0'
|
249
|
-
end
|