rdoc 6.1.2.1 → 6.3.3
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of rdoc might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/Gemfile +9 -0
- data/README.rdoc +0 -1
- data/Rakefile +28 -18
- data/lib/rdoc/any_method.rb +52 -7
- data/lib/rdoc/class_module.rb +1 -1
- data/lib/rdoc/comment.rb +12 -1
- data/lib/rdoc/context/section.rb +0 -13
- data/lib/rdoc/context.rb +10 -2
- data/lib/rdoc/cross_reference.rb +4 -4
- data/lib/rdoc/erb_partial.rb +1 -1
- data/lib/rdoc/erbio.rb +2 -2
- data/lib/rdoc/generator/darkfish.rb +9 -9
- data/lib/rdoc/generator/pot.rb +3 -3
- data/lib/rdoc/generator/template/darkfish/_head.rhtml +4 -5
- data/lib/rdoc/generator/template/darkfish/_sidebar_VCS_info.rhtml +2 -2
- data/lib/rdoc/generator/template/darkfish/_sidebar_classes.rhtml +2 -2
- data/lib/rdoc/generator/template/darkfish/_sidebar_extends.rhtml +7 -7
- data/lib/rdoc/generator/template/darkfish/_sidebar_in_files.rhtml +2 -2
- data/lib/rdoc/generator/template/darkfish/_sidebar_includes.rhtml +7 -7
- data/lib/rdoc/generator/template/darkfish/_sidebar_installed.rhtml +6 -6
- data/lib/rdoc/generator/template/darkfish/_sidebar_methods.rhtml +5 -5
- data/lib/rdoc/generator/template/darkfish/_sidebar_pages.rhtml +5 -5
- data/lib/rdoc/generator/template/darkfish/_sidebar_parent.rhtml +5 -5
- data/lib/rdoc/generator/template/darkfish/_sidebar_sections.rhtml +4 -4
- data/lib/rdoc/generator/template/darkfish/_sidebar_table_of_contents.rhtml +4 -4
- data/lib/rdoc/generator/template/darkfish/class.rhtml +44 -44
- data/lib/rdoc/generator/template/darkfish/css/rdoc.css +33 -5
- data/lib/rdoc/generator/template/darkfish/index.rhtml +3 -4
- data/lib/rdoc/generator/template/darkfish/servlet_root.rhtml +15 -16
- data/lib/rdoc/generator/template/darkfish/table_of_contents.rhtml +16 -16
- data/lib/rdoc/i18n.rb +1 -1
- data/lib/rdoc/markdown/literals.rb +7 -8
- data/lib/rdoc/markdown.kpeg +20 -2
- data/lib/rdoc/markdown.rb +458 -61
- data/lib/rdoc/markup/attr_span.rb +8 -2
- data/lib/rdoc/markup/attribute_manager.rb +93 -28
- data/lib/rdoc/markup/formatter.rb +1 -1
- data/lib/rdoc/markup/parser.rb +58 -42
- data/lib/rdoc/markup/pre_process.rb +1 -1
- data/lib/rdoc/markup/table.rb +47 -0
- data/lib/rdoc/markup/to_html.rb +46 -6
- data/lib/rdoc/markup/to_html_crossref.rb +18 -6
- data/lib/rdoc/markup/to_joined_paragraph.rb +1 -0
- data/lib/rdoc/markup/to_rdoc.rb +28 -0
- data/lib/rdoc/markup/to_table_of_contents.rb +1 -0
- data/lib/rdoc/markup.rb +1 -2
- data/lib/rdoc/options.rb +56 -6
- data/lib/rdoc/parser/c.rb +139 -183
- data/lib/rdoc/parser/changelog.rb +145 -14
- data/lib/rdoc/parser/ripper_state_lex.rb +2 -1
- data/lib/rdoc/parser/ruby.rb +18 -8
- data/lib/rdoc/parser.rb +7 -7
- data/lib/rdoc/rdoc.rb +34 -21
- data/lib/rdoc/ri/driver.rb +9 -5
- data/lib/rdoc/ri/paths.rb +3 -17
- data/lib/rdoc/ri/task.rb +1 -1
- data/lib/rdoc/rubygems_hook.rb +2 -2
- data/lib/rdoc/servlet.rb +16 -8
- data/lib/rdoc/store.rb +6 -14
- data/lib/rdoc/task.rb +1 -1
- data/lib/rdoc/text.rb +8 -2
- data/lib/rdoc/token_stream.rb +8 -3
- data/lib/rdoc/tom_doc.rb +6 -7
- data/lib/rdoc/version.rb +1 -1
- data/lib/rdoc.rb +21 -0
- data/man/ri.1 +247 -0
- data/rdoc.gemspec +196 -9
- metadata +7 -67
- data/.document +0 -5
- data/.gitignore +0 -14
- data/.travis.yml +0 -21
- data/appveyor.yml +0 -36
- data/lib/rdoc/markup/formatter_test_case.rb +0 -764
- data/lib/rdoc/markup/text_formatter_test_case.rb +0 -115
data/lib/rdoc/task.rb
CHANGED
@@ -128,7 +128,7 @@ class RDoc::Task < Rake::TaskLib
|
|
128
128
|
attr_accessor :template
|
129
129
|
|
130
130
|
##
|
131
|
-
# Name of format generator (<tt>--format
|
131
|
+
# Name of format generator (<tt>--format</tt>) used by rdoc. (defaults to
|
132
132
|
# rdoc's default)
|
133
133
|
|
134
134
|
attr_accessor :generator
|
data/lib/rdoc/text.rb
CHANGED
@@ -10,6 +10,8 @@ require 'strscan'
|
|
10
10
|
|
11
11
|
module RDoc::Text
|
12
12
|
|
13
|
+
attr_accessor :language
|
14
|
+
|
13
15
|
##
|
14
16
|
# Maps markup formats to classes that can parse them. If the format is
|
15
17
|
# unknown, "rdoc" format is used.
|
@@ -111,8 +113,12 @@ module RDoc::Text
|
|
111
113
|
def normalize_comment text
|
112
114
|
return text if text.empty?
|
113
115
|
|
114
|
-
|
115
|
-
|
116
|
+
case language
|
117
|
+
when :ruby
|
118
|
+
text = strip_hashes text
|
119
|
+
when :c
|
120
|
+
text = strip_stars text
|
121
|
+
end
|
116
122
|
text = expand_tabs text
|
117
123
|
text = flush_left text
|
118
124
|
text = strip_newlines text
|
data/lib/rdoc/token_stream.rb
CHANGED
@@ -74,11 +74,16 @@ module RDoc::TokenStream
|
|
74
74
|
##
|
75
75
|
# Adds +tokens+ to the collected tokens
|
76
76
|
|
77
|
-
def add_tokens(
|
78
|
-
|
77
|
+
def add_tokens(tokens)
|
78
|
+
@token_stream.concat(tokens)
|
79
79
|
end
|
80
80
|
|
81
|
-
|
81
|
+
##
|
82
|
+
# Adds one +token+ to the collected tokens
|
83
|
+
|
84
|
+
def add_token(token)
|
85
|
+
@token_stream.push(token)
|
86
|
+
end
|
82
87
|
|
83
88
|
##
|
84
89
|
# Starts collecting tokens
|
data/lib/rdoc/tom_doc.rb
CHANGED
@@ -242,19 +242,18 @@ class RDoc::TomDoc < RDoc::Markup::Parser
|
|
242
242
|
|
243
243
|
@tokens << case
|
244
244
|
when @s.scan(/\r?\n/) then
|
245
|
-
token = [:NEWLINE, @s.matched, *
|
246
|
-
@
|
247
|
-
@line += 1
|
245
|
+
token = [:NEWLINE, @s.matched, *pos]
|
246
|
+
@s.newline!
|
248
247
|
token
|
249
248
|
when @s.scan(/(Examples|Signature)$/) then
|
250
|
-
@tokens << [:HEADER, 3, *
|
249
|
+
@tokens << [:HEADER, 3, *pos]
|
251
250
|
|
252
|
-
[:TEXT, @s[1], *
|
251
|
+
[:TEXT, @s[1], *pos]
|
253
252
|
when @s.scan(/([:\w][\w\[\]]*)[ ]+- /) then
|
254
|
-
[:NOTE, @s[1], *
|
253
|
+
[:NOTE, @s[1], *pos]
|
255
254
|
else
|
256
255
|
@s.scan(/.*/)
|
257
|
-
[:TEXT, @s.matched.sub(/\r$/, ''), *
|
256
|
+
[:TEXT, @s.matched.sub(/\r$/, ''), *pos]
|
258
257
|
end
|
259
258
|
end
|
260
259
|
|
data/lib/rdoc/version.rb
CHANGED
data/lib/rdoc.rb
CHANGED
@@ -120,6 +120,27 @@ module RDoc
|
|
120
120
|
end
|
121
121
|
end
|
122
122
|
|
123
|
+
def self.home
|
124
|
+
rdoc_dir = begin
|
125
|
+
File.expand_path('~/.rdoc')
|
126
|
+
rescue ArgumentError
|
127
|
+
end
|
128
|
+
|
129
|
+
if File.directory?(rdoc_dir)
|
130
|
+
rdoc_dir
|
131
|
+
else
|
132
|
+
begin
|
133
|
+
# XDG
|
134
|
+
xdg_data_home = ENV["XDG_DATA_HOME"] || File.join(File.expand_path("~"), '.local', 'share')
|
135
|
+
unless File.exist?(xdg_data_home)
|
136
|
+
FileUtils.mkdir_p xdg_data_home
|
137
|
+
end
|
138
|
+
File.join xdg_data_home, "rdoc"
|
139
|
+
rescue Errno::EACCES
|
140
|
+
end
|
141
|
+
end
|
142
|
+
end
|
143
|
+
|
123
144
|
autoload :RDoc, 'rdoc/rdoc'
|
124
145
|
|
125
146
|
autoload :CrossReference, 'rdoc/cross_reference'
|
data/man/ri.1
ADDED
@@ -0,0 +1,247 @@
|
|
1
|
+
.\"Ruby is copyrighted by Yukihiro Matsumoto <matz@netlab.jp>.
|
2
|
+
.Dd April 20, 2017
|
3
|
+
.Dt RI \&1 "Ruby Programmer's Reference Guide"
|
4
|
+
.Os UNIX
|
5
|
+
.Sh NAME
|
6
|
+
.Nm ri
|
7
|
+
.Nd Ruby API reference front end
|
8
|
+
.Sh SYNOPSIS
|
9
|
+
.Nm
|
10
|
+
.Op Fl ahilTv
|
11
|
+
.Op Fl d Ar DIRNAME
|
12
|
+
.Op Fl f Ar FORMAT
|
13
|
+
.Op Fl w Ar WIDTH
|
14
|
+
.Op Fl - Ns Oo Cm no- Oc Ns Cm pager
|
15
|
+
.Op Fl -server Ns Oo = Ns Ar PORT Oc
|
16
|
+
.Op Fl - Ns Oo Cm no- Oc Ns Cm list-doc-dirs
|
17
|
+
.Op Fl -no-standard-docs
|
18
|
+
.Op Fl - Ns Oo Cm no- Oc Ns Bro Cm system Ns | Ns Cm site Ns | Ns Cm gems Ns | Ns Cm home Brc
|
19
|
+
.Op Fl - Ns Oo Cm no- Oc Ns Cm profile
|
20
|
+
.Op Fl -dump Ns = Ns Ar CACHE
|
21
|
+
.Op Ar name ...
|
22
|
+
.Sh DESCRIPTION
|
23
|
+
.Nm
|
24
|
+
is a command-line front end for the Ruby API reference.
|
25
|
+
You can search and read the API reference for classes and methods with
|
26
|
+
.Nm .
|
27
|
+
.Pp
|
28
|
+
.Nm
|
29
|
+
is a part of Ruby.
|
30
|
+
.Pp
|
31
|
+
.Ar name
|
32
|
+
can be:
|
33
|
+
.Bl -diag -offset indent
|
34
|
+
.It Class | Module | Module::Class
|
35
|
+
.Pp
|
36
|
+
.It Class::method | Class#method | Class.method | method
|
37
|
+
.Pp
|
38
|
+
.It gem_name: | gem_name:README | gem_name:History
|
39
|
+
.El
|
40
|
+
.Pp
|
41
|
+
All class names may be abbreviated to their minimum unambiguous form.
|
42
|
+
If a name is ambiguous, all valid options will be listed.
|
43
|
+
.Pp
|
44
|
+
A
|
45
|
+
.Ql \&.
|
46
|
+
matches either class or instance methods, while #method
|
47
|
+
matches only instance and ::method matches only class methods.
|
48
|
+
.Pp
|
49
|
+
README and other files may be displayed by prefixing them with the gem name
|
50
|
+
they're contained in. If the gem name is followed by a
|
51
|
+
.Ql \&:
|
52
|
+
all files in the gem will be shown.
|
53
|
+
The file name extension may be omitted where it is unambiguous.
|
54
|
+
.Pp
|
55
|
+
For example:
|
56
|
+
.Bd -literal -offset indent
|
57
|
+
ri Fil
|
58
|
+
ri File
|
59
|
+
ri File.new
|
60
|
+
ri zip
|
61
|
+
ri rdoc:README
|
62
|
+
.Ed
|
63
|
+
.Pp
|
64
|
+
Note that shell quoting or escaping may be required for method names
|
65
|
+
containing punctuation:
|
66
|
+
.Bd -literal -offset indent
|
67
|
+
ri 'Array.[]'
|
68
|
+
ri compact\e!
|
69
|
+
.Ed
|
70
|
+
.Pp
|
71
|
+
To see the default directories
|
72
|
+
.Nm
|
73
|
+
will search, run:
|
74
|
+
.Bd -literal -offset indent
|
75
|
+
ri --list-doc-dirs
|
76
|
+
.Ed
|
77
|
+
.Pp
|
78
|
+
Specifying the
|
79
|
+
.Fl -system , Fl -site , Fl -home , Fl -gems ,
|
80
|
+
or
|
81
|
+
.Fl -doc-dir
|
82
|
+
options will limit
|
83
|
+
.Nm
|
84
|
+
to searching only the specified directories.
|
85
|
+
.Pp
|
86
|
+
.Nm
|
87
|
+
options may be set in the
|
88
|
+
.Ev RI
|
89
|
+
environment variable.
|
90
|
+
.Pp
|
91
|
+
The
|
92
|
+
.Nm
|
93
|
+
pager can be set with the
|
94
|
+
.Ev RI_PAGER
|
95
|
+
environment variable or the
|
96
|
+
.Ev PAGER
|
97
|
+
environment variable.
|
98
|
+
.Pp
|
99
|
+
.Sh OPTIONS
|
100
|
+
.Bl -tag -width "1234567890123" -compact
|
101
|
+
.Pp
|
102
|
+
.It Fl i
|
103
|
+
.It Fl - Ns Oo Cm no- Oc Ns Cm interactive
|
104
|
+
In interactive mode you can repeatedly
|
105
|
+
look up methods with autocomplete.
|
106
|
+
.Pp
|
107
|
+
.It Fl a
|
108
|
+
.It Fl - Ns Oo Cm no- Oc Ns Cm all
|
109
|
+
Show all documentation for a class or module.
|
110
|
+
.Pp
|
111
|
+
.It Fl l
|
112
|
+
.It Fl - Ns Oo Cm no- Oc Ns Cm list
|
113
|
+
List classes
|
114
|
+
.Nm
|
115
|
+
knows about.
|
116
|
+
.Pp
|
117
|
+
.It Fl - Ns Oo Cm no- Oc Ns Cm pager
|
118
|
+
Send output to a pager,
|
119
|
+
rather than directly to stdout.
|
120
|
+
.Pp
|
121
|
+
.It Fl T
|
122
|
+
Synonym for
|
123
|
+
.Fl -no-pager .
|
124
|
+
.Pp
|
125
|
+
.It Fl w Ar WIDTH
|
126
|
+
.It Fl -width Ns = Ns Ar WIDTH
|
127
|
+
Set the width of the output.
|
128
|
+
.Pp
|
129
|
+
.It Fl -server Ns Oo = Ns Ar PORT Oc
|
130
|
+
Run RDoc server on the given port.
|
131
|
+
The default port is\~8214.
|
132
|
+
.Pp
|
133
|
+
.It Fl f Ar FORMAT
|
134
|
+
.It Fl -format Ns = Ns Ar FORMAT
|
135
|
+
Use the selected formatter.
|
136
|
+
The default formatter is
|
137
|
+
.Li bs
|
138
|
+
for paged output and
|
139
|
+
.Li ansi
|
140
|
+
otherwise.
|
141
|
+
Valid formatters are:
|
142
|
+
.Li ansi , Li bs , Li markdown , Li rdoc .
|
143
|
+
.Pp
|
144
|
+
.It Fl h
|
145
|
+
.It Fl -help
|
146
|
+
Show help and exit.
|
147
|
+
.Pp
|
148
|
+
.It Fl v
|
149
|
+
.It Fl -version
|
150
|
+
Output version information and exit.
|
151
|
+
.El
|
152
|
+
.Pp
|
153
|
+
Data source options:
|
154
|
+
.Bl -tag -width "1234567890123" -compact
|
155
|
+
.Pp
|
156
|
+
.It Fl - Ns Oo Cm no- Oc Ns Cm list-doc-dirs
|
157
|
+
List the directories from which
|
158
|
+
.Nm
|
159
|
+
will source documentation on stdout and exit.
|
160
|
+
.Pp
|
161
|
+
.It Fl d Ar DIRNAME
|
162
|
+
.It Fl -doc-dir Ns = Ns Ar DIRNAME
|
163
|
+
List of directories from which to source
|
164
|
+
documentation in addition to the standard
|
165
|
+
directories. May be repeated.
|
166
|
+
.Pp
|
167
|
+
.It Fl -no-standard-docs
|
168
|
+
Do not include documentation from the Ruby standard library,
|
169
|
+
.Pa site_lib ,
|
170
|
+
installed gems, or
|
171
|
+
.Pa ~/.rdoc .
|
172
|
+
Use with
|
173
|
+
.Fl -doc-dir .
|
174
|
+
.Pp
|
175
|
+
.It Fl - Ns Oo Cm no- Oc Ns Cm system
|
176
|
+
Include documentation from Ruby's standard library. Defaults to true.
|
177
|
+
.Pp
|
178
|
+
.It Fl - Ns Oo Cm no- Oc Ns Cm site
|
179
|
+
Include documentation from libraries installed in
|
180
|
+
.Pa site_lib .
|
181
|
+
Defaults to true.
|
182
|
+
.Pp
|
183
|
+
.It Fl - Ns Oo Cm no- Oc Ns Cm gems
|
184
|
+
Include documentation from RubyGems. Defaults to true.
|
185
|
+
.Pp
|
186
|
+
.It Fl - Ns Oo Cm no- Oc Ns Cm home
|
187
|
+
Include documentation stored in
|
188
|
+
.Pa ~/.rdoc .
|
189
|
+
Defaults to true.
|
190
|
+
.El
|
191
|
+
.Pp
|
192
|
+
Debug options:
|
193
|
+
.Bl -tag -width "1234567890123" -compact
|
194
|
+
.Pp
|
195
|
+
.It Fl - Ns Oo Cm no- Oc Ns Cm profile
|
196
|
+
Run with the Ruby profiler.
|
197
|
+
.Pp
|
198
|
+
.It Fl -dump Ns = Ns Ar CACHE
|
199
|
+
Dump data from an ri cache or data file.
|
200
|
+
.El
|
201
|
+
.Pp
|
202
|
+
.Sh ENVIRONMENT
|
203
|
+
.Bl -tag -width "USERPROFILE" -compact
|
204
|
+
.Pp
|
205
|
+
.It Ev RI
|
206
|
+
Options to prepend to those specified on the command-line.
|
207
|
+
.Pp
|
208
|
+
.It Ev RI_PAGER
|
209
|
+
.It Ev PAGER
|
210
|
+
Pager program to use for displaying.
|
211
|
+
.Pp
|
212
|
+
.It Ev HOME
|
213
|
+
.It Ev USERPROFILE
|
214
|
+
.It Ev HOMEPATH
|
215
|
+
Path to the user's home directory.
|
216
|
+
.El
|
217
|
+
.Pp
|
218
|
+
.Sh FILES
|
219
|
+
.Bl -tag -width "USERPROFILE" -compact
|
220
|
+
.Pp
|
221
|
+
.It Pa ~/.rdoc
|
222
|
+
Path for ri data in the user's home directory.
|
223
|
+
.Pp
|
224
|
+
.El
|
225
|
+
.Pp
|
226
|
+
.Sh SEE ALSO
|
227
|
+
.Xr ruby 1 ,
|
228
|
+
.Xr rdoc 1 ,
|
229
|
+
.Xr gem 1
|
230
|
+
.Pp
|
231
|
+
.Sh REPORTING BUGS
|
232
|
+
.Bl -bullet
|
233
|
+
.It
|
234
|
+
Security vulnerabilities should be reported via an email to
|
235
|
+
.Mt security@ruby-lang.org .
|
236
|
+
Reported problems will be published after being fixed.
|
237
|
+
.Pp
|
238
|
+
.It
|
239
|
+
Other bugs and feature requests can be reported via the
|
240
|
+
Ruby Issue Tracking System
|
241
|
+
.Pq Lk https://bugs.ruby-lang.org/ .
|
242
|
+
Do not report security vulnerabilities
|
243
|
+
via this system because it publishes the vulnerabilities immediately.
|
244
|
+
.El
|
245
|
+
.Sh AUTHORS
|
246
|
+
Written by
|
247
|
+
.An Dave Thomas Aq dave@pragmaticprogrammer.com .
|
data/rdoc.gemspec
CHANGED
@@ -31,8 +31,200 @@ RDoc includes the +rdoc+ and +ri+ tools for generating and displaying documentat
|
|
31
31
|
s.bindir = "exe"
|
32
32
|
s.executables = ["rdoc", "ri"]
|
33
33
|
s.require_paths = ["lib"]
|
34
|
-
# for ruby core repository. It was generated by
|
35
|
-
|
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
|
+
]
|
36
228
|
# files from .gitignore
|
37
229
|
s.files << "lib/rdoc/rd/block_parser.rb" << "lib/rdoc/rd/inline_parser.rb" << "lib/rdoc/markdown.rb" << "lib/rdoc/markdown/literals.rb"
|
38
230
|
|
@@ -50,13 +242,8 @@ RDoc includes the +rdoc+ and +ri+ tools for generating and displaying documentat
|
|
50
242
|
TODO.rdoc
|
51
243
|
]
|
52
244
|
|
53
|
-
s.required_ruby_version = Gem::Requirement.new(">= 2.
|
54
|
-
s.rubygems_version = "2.5.2"
|
245
|
+
s.required_ruby_version = Gem::Requirement.new(">= 2.4.0")
|
55
246
|
s.required_rubygems_version = Gem::Requirement.new(">= 2.2")
|
56
247
|
|
57
|
-
s.add_development_dependency("
|
58
|
-
s.add_development_dependency("racc", "> 1.4.10")
|
59
|
-
s.add_development_dependency("kpeg")
|
60
|
-
s.add_development_dependency("minitest", "~> 5")
|
61
|
-
s.add_development_dependency("rubocop")
|
248
|
+
s.add_development_dependency("gettext")
|
62
249
|
end
|