rdoc 3.9.5 → 3.10.pre.1
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.
- data.tar.gz.sig +0 -0
- data/.autotest +6 -3
- data/History.txt +63 -13
- data/LICENSE.rdoc +57 -0
- data/Manifest.txt +60 -6
- data/Rakefile +24 -12
- data/TODO.rdoc +30 -0
- data/bin/rdoc +0 -2
- data/lib/rdoc.rb +55 -2
- data/lib/rdoc/alias.rb +0 -2
- data/lib/rdoc/anon_class.rb +0 -2
- data/lib/rdoc/any_method.rb +0 -3
- data/lib/rdoc/attr.rb +0 -2
- data/lib/rdoc/class_module.rb +40 -7
- data/lib/rdoc/code_object.rb +1 -3
- data/lib/rdoc/code_objects.rb +3 -21
- data/lib/rdoc/comment.rb +225 -0
- data/lib/rdoc/constant.rb +0 -2
- data/lib/rdoc/context.rb +37 -120
- data/lib/rdoc/context/section.rb +114 -0
- data/lib/rdoc/cross_reference.rb +16 -7
- data/lib/rdoc/encoding.rb +0 -2
- data/lib/rdoc/gauntlet.rb +1 -1
- data/lib/rdoc/generator.rb +7 -2
- data/lib/rdoc/generator/darkfish.rb +126 -20
- data/lib/rdoc/generator/json_index.rb +240 -0
- data/lib/rdoc/generator/markup.rb +17 -54
- data/lib/rdoc/generator/ri.rb +0 -3
- data/lib/rdoc/generator/template/darkfish/_footer.rhtml +5 -0
- data/lib/rdoc/generator/template/darkfish/_head.rhtml +16 -0
- data/lib/rdoc/generator/template/darkfish/_sidebar_VCS_info.rhtml +18 -0
- data/lib/rdoc/generator/template/darkfish/_sidebar_classes.rhtml +9 -0
- data/lib/rdoc/generator/template/darkfish/_sidebar_in_files.rhtml +8 -0
- data/lib/rdoc/generator/template/darkfish/_sidebar_includes.rhtml +16 -0
- data/lib/rdoc/generator/template/darkfish/_sidebar_methods.rhtml +12 -0
- data/lib/rdoc/generator/template/darkfish/_sidebar_navigation.rhtml +7 -0
- data/lib/rdoc/generator/template/darkfish/_sidebar_pages.rhtml +12 -0
- data/lib/rdoc/generator/template/darkfish/_sidebar_parent.rhtml +10 -0
- data/lib/rdoc/generator/template/darkfish/_sidebar_search.rhtml +10 -0
- data/lib/rdoc/generator/template/darkfish/_sidebar_sections.rhtml +10 -0
- data/lib/rdoc/generator/template/darkfish/class.rhtml +161 -0
- data/lib/rdoc/generator/template/darkfish/fileinfo.rhtml +32 -0
- data/lib/rdoc/generator/template/darkfish/images/add.png +0 -0
- data/lib/rdoc/generator/template/darkfish/images/delete.png +0 -0
- data/lib/rdoc/generator/template/darkfish/images/tag_blue.png +0 -0
- data/lib/rdoc/generator/template/darkfish/images/transparent.png +0 -0
- data/lib/rdoc/generator/template/darkfish/index.rhtml +16 -61
- data/lib/rdoc/generator/template/darkfish/js/darkfish.js +99 -64
- data/lib/rdoc/generator/template/darkfish/js/jquery.js +15 -29
- data/lib/rdoc/generator/template/darkfish/js/search.js +94 -0
- data/lib/rdoc/generator/template/darkfish/page.rhtml +16 -0
- data/lib/rdoc/generator/template/darkfish/rdoc.css +126 -286
- data/lib/rdoc/generator/template/darkfish/table_of_contents.rhtml +50 -0
- data/lib/rdoc/generator/template/json_index/js/navigation.js +142 -0
- data/lib/rdoc/generator/template/json_index/js/searcher.js +228 -0
- data/lib/rdoc/ghost_method.rb +0 -2
- data/lib/rdoc/include.rb +0 -2
- data/lib/rdoc/markup.rb +204 -43
- data/lib/rdoc/markup/attr_changer.rb +25 -0
- data/lib/rdoc/markup/attr_span.rb +29 -0
- data/lib/rdoc/markup/attribute.rb +51 -0
- data/lib/rdoc/markup/document.rb +22 -1
- data/lib/rdoc/markup/formatter.rb +4 -11
- data/lib/rdoc/markup/formatter_test_case.rb +1 -2
- data/lib/rdoc/markup/heading.rb +44 -0
- data/lib/rdoc/markup/include.rb +42 -0
- data/lib/rdoc/markup/inline.rb +1 -144
- data/lib/rdoc/markup/list.rb +2 -1
- data/lib/rdoc/markup/parser.rb +6 -16
- data/lib/rdoc/markup/pre_process.rb +64 -10
- data/lib/rdoc/markup/raw.rb +1 -1
- data/lib/rdoc/markup/special.rb +40 -0
- data/lib/rdoc/markup/text_formatter_test_case.rb +0 -2
- data/lib/rdoc/markup/to_ansi.rb +0 -2
- data/lib/rdoc/markup/to_bs.rb +0 -2
- data/lib/rdoc/markup/to_html.rb +102 -34
- data/lib/rdoc/markup/to_html_crossref.rb +36 -5
- data/lib/rdoc/markup/to_html_snippet.rb +270 -0
- data/lib/rdoc/markup/to_label.rb +55 -0
- data/lib/rdoc/markup/to_rdoc.rb +0 -3
- data/lib/rdoc/markup/to_table_of_contents.rb +62 -0
- data/lib/rdoc/markup/to_test.rb +0 -3
- data/lib/rdoc/markup/to_tt_only.rb +0 -3
- data/lib/rdoc/markup/verbatim.rb +18 -0
- data/lib/rdoc/meta_method.rb +0 -2
- data/lib/rdoc/method_attr.rb +17 -1
- data/lib/rdoc/normal_class.rb +0 -2
- data/lib/rdoc/normal_module.rb +0 -2
- data/lib/rdoc/options.rb +18 -3
- data/lib/rdoc/parser.rb +74 -42
- data/lib/rdoc/parser/c.rb +79 -118
- data/lib/rdoc/parser/rd.rb +22 -0
- data/lib/rdoc/parser/ruby.rb +86 -54
- data/lib/rdoc/parser/simple.rb +21 -9
- data/lib/rdoc/parser/text.rb +11 -0
- data/lib/rdoc/rd.rb +95 -0
- data/lib/rdoc/rd/block_parser.ry +638 -0
- data/lib/rdoc/rd/inline.rb +71 -0
- data/lib/rdoc/rd/inline_parser.ry +575 -0
- data/lib/rdoc/rdoc.rb +8 -23
- data/lib/rdoc/require.rb +0 -2
- data/lib/rdoc/ri.rb +4 -2
- data/lib/rdoc/ri/driver.rb +2 -6
- data/lib/rdoc/ri/store.rb +0 -1
- data/lib/rdoc/ruby_lex.rb +43 -20
- data/lib/rdoc/ruby_token.rb +44 -2
- data/lib/rdoc/single_class.rb +0 -2
- data/lib/rdoc/stats.rb +0 -5
- data/lib/rdoc/task.rb +2 -6
- data/lib/rdoc/test_case.rb +59 -0
- data/lib/rdoc/text.rb +42 -30
- data/lib/rdoc/token_stream.rb +45 -0
- data/lib/rdoc/tom_doc.rb +232 -0
- data/lib/rdoc/top_level.rb +36 -4
- data/test/test_attribute_manager.rb +26 -29
- data/test/test_rdoc_any_method.rb +2 -26
- data/test/test_rdoc_attr.rb +4 -4
- data/test/test_rdoc_class_module.rb +95 -12
- data/test/test_rdoc_code_object.rb +10 -3
- data/test/test_rdoc_comment.rb +504 -0
- data/test/test_rdoc_context.rb +60 -11
- data/test/test_rdoc_context_section.rb +16 -17
- data/test/test_rdoc_cross_reference.rb +17 -2
- data/test/test_rdoc_encoding.rb +4 -7
- data/test/test_rdoc_generator_darkfish.rb +12 -11
- data/test/test_rdoc_generator_json_index.rb +255 -0
- data/test/test_rdoc_generator_markup.rb +56 -0
- data/test/test_rdoc_generator_ri.rb +8 -11
- data/test/test_rdoc_markup.rb +9 -5
- data/test/test_rdoc_markup_attribute_manager.rb +5 -8
- data/test/test_rdoc_markup_document.rb +34 -6
- data/test/test_rdoc_markup_formatter.rb +11 -13
- data/test/test_rdoc_markup_heading.rb +20 -0
- data/test/test_rdoc_markup_include.rb +19 -0
- data/test/test_rdoc_markup_indented_paragraph.rb +4 -5
- data/test/test_rdoc_markup_paragraph.rb +2 -5
- data/test/test_rdoc_markup_parser.rb +87 -7
- data/test/test_rdoc_markup_pre_process.rb +60 -9
- data/test/test_rdoc_markup_raw.rb +4 -6
- data/test/test_rdoc_markup_to_ansi.rb +1 -4
- data/test/test_rdoc_markup_to_bs.rb +1 -4
- data/test/test_rdoc_markup_to_html.rb +170 -31
- data/test/test_rdoc_markup_to_html_crossref.rb +89 -11
- data/test/test_rdoc_markup_to_html_snippet.rb +668 -0
- data/test/test_rdoc_markup_to_label.rb +50 -0
- data/test/test_rdoc_markup_to_rdoc.rb +1 -4
- data/test/test_rdoc_markup_to_table_of_contents.rb +90 -0
- data/test/test_rdoc_markup_to_tt_only.rb +1 -4
- data/test/test_rdoc_markup_verbatim.rb +16 -0
- data/test/test_rdoc_method_attr.rb +16 -1
- data/test/test_rdoc_options.rb +17 -7
- data/test/test_rdoc_parser.rb +75 -6
- data/test/test_rdoc_parser_c.rb +56 -104
- data/test/test_rdoc_parser_rd.rb +52 -0
- data/test/test_rdoc_parser_ruby.rb +264 -323
- data/test/test_rdoc_parser_simple.rb +33 -17
- data/test/test_rdoc_rd.rb +30 -0
- data/test/test_rdoc_rd_block_parser.rb +527 -0
- data/test/test_rdoc_rd_inline.rb +63 -0
- data/test/test_rdoc_rd_inline_parser.rb +173 -0
- data/test/test_rdoc_rdoc.rb +7 -9
- data/test/test_rdoc_ri_driver.rb +10 -15
- data/test/test_rdoc_ri_paths.rb +6 -6
- data/test/test_rdoc_ri_store.rb +6 -13
- data/test/test_rdoc_ruby_lex.rb +53 -5
- data/test/test_rdoc_rubygems_hook.rb +2 -1
- data/test/test_rdoc_stats.rb +83 -103
- data/test/test_rdoc_task.rb +5 -4
- data/test/test_rdoc_text.rb +156 -11
- data/test/test_rdoc_token_stream.rb +42 -0
- data/test/test_rdoc_tom_doc.rb +458 -0
- data/test/test_rdoc_top_level.rb +49 -2
- data/test/xref_test_case.rb +4 -8
- metadata +217 -111
- metadata.gz.sig +0 -0
- checksums.yaml +0 -7
- checksums.yaml.gz.sig +0 -0
- data/CVE-2013-0256.rdoc +0 -49
- data/LICENSE.txt +0 -57
- data/lib/rdoc/generator/template/darkfish/classpage.rhtml +0 -321
- data/lib/rdoc/generator/template/darkfish/filepage.rhtml +0 -124
- data/lib/rdoc/generator/template/darkfish/js/quicksearch.js +0 -114
- data/lib/rdoc/generator/template/darkfish/js/thickbox-compressed.js +0 -10
data/test/test_rdoc_top_level.rb
CHANGED
@@ -1,5 +1,3 @@
|
|
1
|
-
require 'rubygems'
|
2
|
-
require 'minitest/autorun'
|
3
1
|
require File.expand_path '../xref_test_case', __FILE__
|
4
2
|
|
5
3
|
class TestRDocTopLevel < XrefTestCase
|
@@ -8,6 +6,7 @@ class TestRDocTopLevel < XrefTestCase
|
|
8
6
|
super
|
9
7
|
|
10
8
|
@top_level = RDoc::TopLevel.new 'path/top_level.rb'
|
9
|
+
@top_level.parser = RDoc::Parser::Ruby
|
11
10
|
end
|
12
11
|
|
13
12
|
def test_class_all_classes_and_modules
|
@@ -236,5 +235,53 @@ class TestRDocTopLevel < XrefTestCase
|
|
236
235
|
assert_equal 'top_level.rb', @top_level.name
|
237
236
|
end
|
238
237
|
|
238
|
+
def test_page_name
|
239
|
+
assert_equal 'top_level', @top_level.page_name
|
240
|
+
|
241
|
+
tl = RDoc::TopLevel.new 'README.ja.rdoc'
|
242
|
+
|
243
|
+
assert_equal 'README.ja', tl.page_name
|
244
|
+
|
245
|
+
tl = RDoc::TopLevel.new 'Rakefile'
|
246
|
+
|
247
|
+
assert_equal 'Rakefile', tl.page_name
|
248
|
+
end
|
249
|
+
|
250
|
+
def test_search_record
|
251
|
+
assert_nil @xref_data.search_record
|
252
|
+
end
|
253
|
+
|
254
|
+
def test_search_record_page
|
255
|
+
page = RDoc::TopLevel.new 'README.txt'
|
256
|
+
page.parser = RDoc::Parser::Simple
|
257
|
+
page.comment = 'This is a comment.'
|
258
|
+
|
259
|
+
expected = [
|
260
|
+
'README',
|
261
|
+
'',
|
262
|
+
'README',
|
263
|
+
'',
|
264
|
+
'README_txt.html',
|
265
|
+
'',
|
266
|
+
"<p>This is a comment.\n",
|
267
|
+
]
|
268
|
+
|
269
|
+
assert_equal expected, page.search_record
|
270
|
+
end
|
271
|
+
|
272
|
+
def test_text_eh
|
273
|
+
refute @xref_data.text?
|
274
|
+
|
275
|
+
rd = RDoc::TopLevel.new 'rd_format.rd'
|
276
|
+
rd.parser = RDoc::Parser::RD
|
277
|
+
|
278
|
+
assert rd.text?
|
279
|
+
|
280
|
+
simple = RDoc::TopLevel.new 'simple.txt'
|
281
|
+
simple.parser = RDoc::Parser::Simple
|
282
|
+
|
283
|
+
assert simple.text?
|
284
|
+
end
|
285
|
+
|
239
286
|
end
|
240
287
|
|
data/test/xref_test_case.rb
CHANGED
@@ -1,21 +1,16 @@
|
|
1
1
|
ENV['RDOC_TEST'] = 'yes'
|
2
2
|
|
3
|
-
require 'rubygems'
|
4
|
-
require 'minitest/autorun'
|
5
3
|
require 'rdoc'
|
6
|
-
require 'rdoc/stats'
|
7
|
-
require 'rdoc/options'
|
8
|
-
require 'rdoc/code_objects'
|
9
|
-
require 'rdoc/parser/ruby'
|
10
4
|
require File.expand_path '../xref_data', __FILE__
|
11
5
|
|
12
|
-
class XrefTestCase <
|
6
|
+
class XrefTestCase < RDoc::TestCase
|
13
7
|
|
14
8
|
def setup
|
15
|
-
|
9
|
+
super
|
16
10
|
|
17
11
|
@file_name = 'xref_data.rb'
|
18
12
|
@xref_data = RDoc::TopLevel.new @file_name
|
13
|
+
@top_level = @xref_data
|
19
14
|
|
20
15
|
@options = RDoc::Options.new
|
21
16
|
@options.quiet = true
|
@@ -31,6 +26,7 @@ class XrefTestCase < MiniTest::Unit::TestCase
|
|
31
26
|
def generator.class_dir() nil end
|
32
27
|
def generator.file_dir() nil end
|
33
28
|
rdoc = RDoc::RDoc.new
|
29
|
+
rdoc.options = @options
|
34
30
|
RDoc::RDoc.current = rdoc
|
35
31
|
rdoc.generator = generator
|
36
32
|
|
metadata
CHANGED
@@ -1,21 +1,28 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: rdoc
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
hash: 1923831867
|
5
|
+
prerelease:
|
6
|
+
segments:
|
7
|
+
- 3
|
8
|
+
- 10
|
9
|
+
- pre
|
10
|
+
- 1
|
11
|
+
version: 3.10.pre.1
|
5
12
|
platform: ruby
|
6
|
-
authors:
|
13
|
+
authors:
|
7
14
|
- Eric Hodel
|
8
15
|
- Dave Thomas
|
9
16
|
- Phil Hagelberg
|
10
17
|
- Tony Strauss
|
11
18
|
autorequire:
|
12
19
|
bindir: bin
|
13
|
-
cert_chain:
|
20
|
+
cert_chain:
|
14
21
|
- |
|
15
22
|
-----BEGIN CERTIFICATE-----
|
16
|
-
|
23
|
+
MIIDNjCCAh6gAwIBAgIBADANBgkqhkiG9w0BAQUFADBBMRAwDgYDVQQDDAdkcmJy
|
17
24
|
YWluMRgwFgYKCZImiZPyLGQBGRYIc2VnbWVudDcxEzARBgoJkiaJk/IsZAEZFgNu
|
18
|
-
|
25
|
+
ZXQwHhcNMDcxMjIxMDIwNDE0WhcNMDgxMjIwMDIwNDE0WjBBMRAwDgYDVQQDDAdk
|
19
26
|
cmJyYWluMRgwFgYKCZImiZPyLGQBGRYIc2VnbWVudDcxEzARBgoJkiaJk/IsZAEZ
|
20
27
|
FgNuZXQwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCbbgLrGLGIDE76
|
21
28
|
LV/cvxdEzCuYuS3oG9PrSZnuDweySUfdp/so0cDq+j8bqy6OzZSw07gdjwFMSd6J
|
@@ -23,122 +30,138 @@ cert_chain:
|
|
23
30
|
Gj/okWrQl0NjYOYBpDi+9PPmaH2RmLJu0dB/NylsDnW5j6yN1BEI8MfJRR+HRKZY
|
24
31
|
mUtgzBwF1V4KIZQ8EuL6I/nHVu07i6IkrpAgxpXUfdJQJi0oZAqXurAV3yTxkFwd
|
25
32
|
g62YrrW26mDe+pZBzR6bpLE+PmXCzz7UxUq3AE0gPHbiMXie3EFE0oxnsU3lIduh
|
26
|
-
|
27
|
-
BBS5k4Z75VSpdM0AclG2UvzFA/
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
U81zGHMUBOvz/VGT6wJwYJ3emS2nfA2NOHFfgA==
|
33
|
+
sCANiQ8BAgMBAAGjOTA3MAkGA1UdEwQCMAAwCwYDVR0PBAQDAgSwMB0GA1UdDgQW
|
34
|
+
BBS5k4Z75VSpdM0AclG2UvzFA/VW5DANBgkqhkiG9w0BAQUFAAOCAQEAHagT4lfX
|
35
|
+
kP/hDaiwGct7XPuVGbrOsKRVD59FF5kETBxEc9UQ1clKWngf8JoVuEoKD774dW19
|
36
|
+
bU0GOVWO+J6FMmT/Cp7nuFJ79egMf/gy4gfUfQMuvfcr6DvZUPIs9P/TlK59iMYF
|
37
|
+
DIOQ3DxdF3rMzztNUCizN4taVscEsjCcgW6WkUJnGdqlu3OHWpQxZBJkBTjPCoc6
|
38
|
+
UW6on70SFPmAy/5Cq0OJNGEWBfgD9q7rrs/X8GGwUWqXb85RXnUVi/P8Up75E0ag
|
39
|
+
14jEc90kN+C7oI/AGCBN0j6JnEtYIEJZibjjDJTSMWlUKKkj30kq7hlUC2CepJ4v
|
40
|
+
x52qPcexcYZR7w==
|
35
41
|
-----END CERTIFICATE-----
|
36
|
-
|
37
|
-
|
38
|
-
|
42
|
+
|
43
|
+
date: 2011-09-27 00:00:00 Z
|
44
|
+
dependencies:
|
45
|
+
- !ruby/object:Gem::Dependency
|
46
|
+
name: json
|
47
|
+
prerelease: false
|
48
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
49
|
+
none: false
|
50
|
+
requirements:
|
51
|
+
- - ~>
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
hash: 7
|
54
|
+
segments:
|
55
|
+
- 1
|
56
|
+
- 4
|
57
|
+
version: "1.4"
|
58
|
+
type: :runtime
|
59
|
+
version_requirements: *id001
|
60
|
+
- !ruby/object:Gem::Dependency
|
39
61
|
name: minitest
|
40
|
-
requirement: !ruby/object:Gem::Requirement
|
41
|
-
requirements:
|
42
|
-
- - "~>"
|
43
|
-
- !ruby/object:Gem::Version
|
44
|
-
version: '4.3'
|
45
|
-
type: :development
|
46
62
|
prerelease: false
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
- !ruby/object:Gem::Version
|
58
|
-
version: '3.10'
|
63
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
64
|
+
none: false
|
65
|
+
requirements:
|
66
|
+
- - ~>
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
hash: 15
|
69
|
+
segments:
|
70
|
+
- 2
|
71
|
+
- 6
|
72
|
+
version: "2.6"
|
59
73
|
type: :development
|
74
|
+
version_requirements: *id002
|
75
|
+
- !ruby/object:Gem::Dependency
|
76
|
+
name: racc
|
60
77
|
prerelease: false
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
- !ruby/object:Gem::Version
|
72
|
-
version: '3'
|
78
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
79
|
+
none: false
|
80
|
+
requirements:
|
81
|
+
- - ~>
|
82
|
+
- !ruby/object:Gem::Version
|
83
|
+
hash: 7
|
84
|
+
segments:
|
85
|
+
- 1
|
86
|
+
- 4
|
87
|
+
version: "1.4"
|
73
88
|
type: :development
|
89
|
+
version_requirements: *id003
|
90
|
+
- !ruby/object:Gem::Dependency
|
91
|
+
name: minitest
|
74
92
|
prerelease: false
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
- - "~>"
|
85
|
-
- !ruby/object:Gem::Version
|
86
|
-
version: '4'
|
93
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
94
|
+
none: false
|
95
|
+
requirements:
|
96
|
+
- - ~>
|
97
|
+
- !ruby/object:Gem::Version
|
98
|
+
hash: 7
|
99
|
+
segments:
|
100
|
+
- 2
|
101
|
+
version: "2"
|
87
102
|
type: :development
|
103
|
+
version_requirements: *id004
|
104
|
+
- !ruby/object:Gem::Dependency
|
105
|
+
name: ZenTest
|
88
106
|
prerelease: false
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
- - "~>"
|
99
|
-
- !ruby/object:Gem::Version
|
100
|
-
version: '3.3'
|
107
|
+
requirement: &id005 !ruby/object:Gem::Requirement
|
108
|
+
none: false
|
109
|
+
requirements:
|
110
|
+
- - ~>
|
111
|
+
- !ruby/object:Gem::Version
|
112
|
+
hash: 11
|
113
|
+
segments:
|
114
|
+
- 4
|
115
|
+
version: "4"
|
101
116
|
type: :development
|
117
|
+
version_requirements: *id005
|
118
|
+
- !ruby/object:Gem::Dependency
|
119
|
+
name: hoe
|
102
120
|
prerelease: false
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
121
|
+
requirement: &id006 !ruby/object:Gem::Requirement
|
122
|
+
none: false
|
123
|
+
requirements:
|
124
|
+
- - ~>
|
125
|
+
- !ruby/object:Gem::Version
|
126
|
+
hash: 27
|
127
|
+
segments:
|
128
|
+
- 2
|
129
|
+
- 12
|
130
|
+
version: "2.12"
|
131
|
+
type: :development
|
132
|
+
version_requirements: *id006
|
108
133
|
description: |-
|
109
134
|
RDoc produces HTML and command-line documentation for Ruby projects. RDoc
|
110
135
|
includes the +rdoc+ and +ri+ tools for generating and displaying online
|
111
136
|
documentation.
|
112
|
-
|
137
|
+
|
113
138
|
See RDoc for a description of RDoc's markup and basic use.
|
114
|
-
email:
|
139
|
+
email:
|
115
140
|
- drbrain@segment7.net
|
116
|
-
-
|
141
|
+
- ""
|
117
142
|
- technomancy@gmail.com
|
118
143
|
- tony.strauss@designingpatterns.com
|
119
|
-
executables:
|
144
|
+
executables:
|
120
145
|
- rdoc
|
121
146
|
- ri
|
122
147
|
extensions: []
|
123
|
-
|
124
|
-
|
148
|
+
|
149
|
+
extra_rdoc_files:
|
125
150
|
- History.txt
|
126
|
-
- LICENSE.txt
|
127
151
|
- Manifest.txt
|
128
152
|
- README.txt
|
129
153
|
- RI.txt
|
130
|
-
- bin/rdoc
|
131
154
|
- Rakefile
|
132
|
-
files:
|
133
|
-
-
|
134
|
-
-
|
135
|
-
- CVE-2013-0256.rdoc
|
155
|
+
files:
|
156
|
+
- .autotest
|
157
|
+
- .document
|
136
158
|
- History.txt
|
137
|
-
- LICENSE.
|
159
|
+
- LICENSE.rdoc
|
138
160
|
- Manifest.txt
|
139
161
|
- README.txt
|
140
162
|
- RI.txt
|
141
163
|
- Rakefile
|
164
|
+
- TODO.rdoc
|
142
165
|
- bin/rdoc
|
143
166
|
- bin/ri
|
144
167
|
- lib/rdoc.rb
|
@@ -149,19 +172,35 @@ files:
|
|
149
172
|
- lib/rdoc/class_module.rb
|
150
173
|
- lib/rdoc/code_object.rb
|
151
174
|
- lib/rdoc/code_objects.rb
|
175
|
+
- lib/rdoc/comment.rb
|
152
176
|
- lib/rdoc/constant.rb
|
153
177
|
- lib/rdoc/context.rb
|
178
|
+
- lib/rdoc/context/section.rb
|
154
179
|
- lib/rdoc/cross_reference.rb
|
155
180
|
- lib/rdoc/encoding.rb
|
156
181
|
- lib/rdoc/erbio.rb
|
157
182
|
- lib/rdoc/gauntlet.rb
|
158
183
|
- lib/rdoc/generator.rb
|
159
184
|
- lib/rdoc/generator/darkfish.rb
|
185
|
+
- lib/rdoc/generator/json_index.rb
|
160
186
|
- lib/rdoc/generator/markup.rb
|
161
187
|
- lib/rdoc/generator/ri.rb
|
162
188
|
- lib/rdoc/generator/template/darkfish/.document
|
163
|
-
- lib/rdoc/generator/template/darkfish/
|
164
|
-
- lib/rdoc/generator/template/darkfish/
|
189
|
+
- lib/rdoc/generator/template/darkfish/_footer.rhtml
|
190
|
+
- lib/rdoc/generator/template/darkfish/_head.rhtml
|
191
|
+
- lib/rdoc/generator/template/darkfish/_sidebar_VCS_info.rhtml
|
192
|
+
- lib/rdoc/generator/template/darkfish/_sidebar_classes.rhtml
|
193
|
+
- lib/rdoc/generator/template/darkfish/_sidebar_in_files.rhtml
|
194
|
+
- lib/rdoc/generator/template/darkfish/_sidebar_includes.rhtml
|
195
|
+
- lib/rdoc/generator/template/darkfish/_sidebar_methods.rhtml
|
196
|
+
- lib/rdoc/generator/template/darkfish/_sidebar_navigation.rhtml
|
197
|
+
- lib/rdoc/generator/template/darkfish/_sidebar_pages.rhtml
|
198
|
+
- lib/rdoc/generator/template/darkfish/_sidebar_parent.rhtml
|
199
|
+
- lib/rdoc/generator/template/darkfish/_sidebar_search.rhtml
|
200
|
+
- lib/rdoc/generator/template/darkfish/_sidebar_sections.rhtml
|
201
|
+
- lib/rdoc/generator/template/darkfish/class.rhtml
|
202
|
+
- lib/rdoc/generator/template/darkfish/fileinfo.rhtml
|
203
|
+
- lib/rdoc/generator/template/darkfish/images/add.png
|
165
204
|
- lib/rdoc/generator/template/darkfish/images/brick.png
|
166
205
|
- lib/rdoc/generator/template/darkfish/images/brick_link.png
|
167
206
|
- lib/rdoc/generator/template/darkfish/images/bug.png
|
@@ -169,6 +208,7 @@ files:
|
|
169
208
|
- lib/rdoc/generator/template/darkfish/images/bullet_toggle_minus.png
|
170
209
|
- lib/rdoc/generator/template/darkfish/images/bullet_toggle_plus.png
|
171
210
|
- lib/rdoc/generator/template/darkfish/images/date.png
|
211
|
+
- lib/rdoc/generator/template/darkfish/images/delete.png
|
172
212
|
- lib/rdoc/generator/template/darkfish/images/find.png
|
173
213
|
- lib/rdoc/generator/template/darkfish/images/loadingAnimation.gif
|
174
214
|
- lib/rdoc/generator/template/darkfish/images/macFFBgHack.png
|
@@ -178,26 +218,35 @@ files:
|
|
178
218
|
- lib/rdoc/generator/template/darkfish/images/page_white_width.png
|
179
219
|
- lib/rdoc/generator/template/darkfish/images/plugin.png
|
180
220
|
- lib/rdoc/generator/template/darkfish/images/ruby.png
|
221
|
+
- lib/rdoc/generator/template/darkfish/images/tag_blue.png
|
181
222
|
- lib/rdoc/generator/template/darkfish/images/tag_green.png
|
223
|
+
- lib/rdoc/generator/template/darkfish/images/transparent.png
|
182
224
|
- lib/rdoc/generator/template/darkfish/images/wrench.png
|
183
225
|
- lib/rdoc/generator/template/darkfish/images/wrench_orange.png
|
184
226
|
- lib/rdoc/generator/template/darkfish/images/zoom.png
|
185
227
|
- lib/rdoc/generator/template/darkfish/index.rhtml
|
186
228
|
- lib/rdoc/generator/template/darkfish/js/darkfish.js
|
187
229
|
- lib/rdoc/generator/template/darkfish/js/jquery.js
|
188
|
-
- lib/rdoc/generator/template/darkfish/js/
|
189
|
-
- lib/rdoc/generator/template/darkfish/
|
230
|
+
- lib/rdoc/generator/template/darkfish/js/search.js
|
231
|
+
- lib/rdoc/generator/template/darkfish/page.rhtml
|
190
232
|
- lib/rdoc/generator/template/darkfish/rdoc.css
|
233
|
+
- lib/rdoc/generator/template/darkfish/table_of_contents.rhtml
|
234
|
+
- lib/rdoc/generator/template/json_index/js/navigation.js
|
235
|
+
- lib/rdoc/generator/template/json_index/js/searcher.js
|
191
236
|
- lib/rdoc/ghost_method.rb
|
192
237
|
- lib/rdoc/include.rb
|
193
238
|
- lib/rdoc/known_classes.rb
|
194
239
|
- lib/rdoc/markup.rb
|
240
|
+
- lib/rdoc/markup/attr_changer.rb
|
241
|
+
- lib/rdoc/markup/attr_span.rb
|
242
|
+
- lib/rdoc/markup/attribute.rb
|
195
243
|
- lib/rdoc/markup/attribute_manager.rb
|
196
244
|
- lib/rdoc/markup/blank_line.rb
|
197
245
|
- lib/rdoc/markup/document.rb
|
198
246
|
- lib/rdoc/markup/formatter.rb
|
199
247
|
- lib/rdoc/markup/formatter_test_case.rb
|
200
248
|
- lib/rdoc/markup/heading.rb
|
249
|
+
- lib/rdoc/markup/include.rb
|
201
250
|
- lib/rdoc/markup/indented_paragraph.rb
|
202
251
|
- lib/rdoc/markup/inline.rb
|
203
252
|
- lib/rdoc/markup/list.rb
|
@@ -207,12 +256,16 @@ files:
|
|
207
256
|
- lib/rdoc/markup/pre_process.rb
|
208
257
|
- lib/rdoc/markup/raw.rb
|
209
258
|
- lib/rdoc/markup/rule.rb
|
259
|
+
- lib/rdoc/markup/special.rb
|
210
260
|
- lib/rdoc/markup/text_formatter_test_case.rb
|
211
261
|
- lib/rdoc/markup/to_ansi.rb
|
212
262
|
- lib/rdoc/markup/to_bs.rb
|
213
263
|
- lib/rdoc/markup/to_html.rb
|
214
264
|
- lib/rdoc/markup/to_html_crossref.rb
|
265
|
+
- lib/rdoc/markup/to_html_snippet.rb
|
266
|
+
- lib/rdoc/markup/to_label.rb
|
215
267
|
- lib/rdoc/markup/to_rdoc.rb
|
268
|
+
- lib/rdoc/markup/to_table_of_contents.rb
|
216
269
|
- lib/rdoc/markup/to_test.rb
|
217
270
|
- lib/rdoc/markup/to_tt_only.rb
|
218
271
|
- lib/rdoc/markup/verbatim.rb
|
@@ -223,9 +276,15 @@ files:
|
|
223
276
|
- lib/rdoc/options.rb
|
224
277
|
- lib/rdoc/parser.rb
|
225
278
|
- lib/rdoc/parser/c.rb
|
279
|
+
- lib/rdoc/parser/rd.rb
|
226
280
|
- lib/rdoc/parser/ruby.rb
|
227
281
|
- lib/rdoc/parser/ruby_tools.rb
|
228
282
|
- lib/rdoc/parser/simple.rb
|
283
|
+
- lib/rdoc/parser/text.rb
|
284
|
+
- lib/rdoc/rd.rb
|
285
|
+
- lib/rdoc/rd/block_parser.ry
|
286
|
+
- lib/rdoc/rd/inline.rb
|
287
|
+
- lib/rdoc/rd/inline_parser.ry
|
229
288
|
- lib/rdoc/rdoc.rb
|
230
289
|
- lib/rdoc/require.rb
|
231
290
|
- lib/rdoc/ri.rb
|
@@ -242,8 +301,10 @@ files:
|
|
242
301
|
- lib/rdoc/stats/quiet.rb
|
243
302
|
- lib/rdoc/stats/verbose.rb
|
244
303
|
- lib/rdoc/task.rb
|
304
|
+
- lib/rdoc/test_case.rb
|
245
305
|
- lib/rdoc/text.rb
|
246
306
|
- lib/rdoc/token_stream.rb
|
307
|
+
- lib/rdoc/tom_doc.rb
|
247
308
|
- lib/rdoc/top_level.rb
|
248
309
|
- test/README
|
249
310
|
- test/binary.dat
|
@@ -258,18 +319,23 @@ files:
|
|
258
319
|
- test/test_rdoc_attr.rb
|
259
320
|
- test/test_rdoc_class_module.rb
|
260
321
|
- test/test_rdoc_code_object.rb
|
322
|
+
- test/test_rdoc_comment.rb
|
261
323
|
- test/test_rdoc_constant.rb
|
262
324
|
- test/test_rdoc_context.rb
|
263
325
|
- test/test_rdoc_context_section.rb
|
264
326
|
- test/test_rdoc_cross_reference.rb
|
265
327
|
- test/test_rdoc_encoding.rb
|
266
328
|
- test/test_rdoc_generator_darkfish.rb
|
329
|
+
- test/test_rdoc_generator_json_index.rb
|
330
|
+
- test/test_rdoc_generator_markup.rb
|
267
331
|
- test/test_rdoc_generator_ri.rb
|
268
332
|
- test/test_rdoc_include.rb
|
269
333
|
- test/test_rdoc_markup.rb
|
270
334
|
- test/test_rdoc_markup_attribute_manager.rb
|
271
335
|
- test/test_rdoc_markup_document.rb
|
272
336
|
- test/test_rdoc_markup_formatter.rb
|
337
|
+
- test/test_rdoc_markup_heading.rb
|
338
|
+
- test/test_rdoc_markup_include.rb
|
273
339
|
- test/test_rdoc_markup_indented_paragraph.rb
|
274
340
|
- test/test_rdoc_markup_paragraph.rb
|
275
341
|
- test/test_rdoc_markup_parser.rb
|
@@ -279,16 +345,25 @@ files:
|
|
279
345
|
- test/test_rdoc_markup_to_bs.rb
|
280
346
|
- test/test_rdoc_markup_to_html.rb
|
281
347
|
- test/test_rdoc_markup_to_html_crossref.rb
|
348
|
+
- test/test_rdoc_markup_to_html_snippet.rb
|
349
|
+
- test/test_rdoc_markup_to_label.rb
|
282
350
|
- test/test_rdoc_markup_to_rdoc.rb
|
351
|
+
- test/test_rdoc_markup_to_table_of_contents.rb
|
283
352
|
- test/test_rdoc_markup_to_tt_only.rb
|
353
|
+
- test/test_rdoc_markup_verbatim.rb
|
284
354
|
- test/test_rdoc_method_attr.rb
|
285
355
|
- test/test_rdoc_normal_class.rb
|
286
356
|
- test/test_rdoc_normal_module.rb
|
287
357
|
- test/test_rdoc_options.rb
|
288
358
|
- test/test_rdoc_parser.rb
|
289
359
|
- test/test_rdoc_parser_c.rb
|
360
|
+
- test/test_rdoc_parser_rd.rb
|
290
361
|
- test/test_rdoc_parser_ruby.rb
|
291
362
|
- test/test_rdoc_parser_simple.rb
|
363
|
+
- test/test_rdoc_rd.rb
|
364
|
+
- test/test_rdoc_rd_block_parser.rb
|
365
|
+
- test/test_rdoc_rd_inline.rb
|
366
|
+
- test/test_rdoc_rd_inline_parser.rb
|
292
367
|
- test/test_rdoc_rdoc.rb
|
293
368
|
- test/test_rdoc_require.rb
|
294
369
|
- test/test_rdoc_ri_driver.rb
|
@@ -300,60 +375,80 @@ files:
|
|
300
375
|
- test/test_rdoc_stats.rb
|
301
376
|
- test/test_rdoc_task.rb
|
302
377
|
- test/test_rdoc_text.rb
|
378
|
+
- test/test_rdoc_token_stream.rb
|
379
|
+
- test/test_rdoc_tom_doc.rb
|
303
380
|
- test/test_rdoc_top_level.rb
|
304
381
|
- test/xref_data.rb
|
305
382
|
- test/xref_test_case.rb
|
306
|
-
-
|
383
|
+
- .gemtest
|
307
384
|
homepage: http://docs.seattlerb.org/rdoc
|
308
385
|
licenses: []
|
309
|
-
|
386
|
+
|
310
387
|
post_install_message: |
|
311
388
|
Depending on your version of ruby, you may need to install ruby rdoc/ri data:
|
312
|
-
|
389
|
+
|
313
390
|
<= 1.8.6 : unsupported
|
314
391
|
= 1.8.7 : gem install rdoc-data; rdoc-data --install
|
315
392
|
= 1.9.1 : gem install rdoc-data; rdoc-data --install
|
316
393
|
>= 1.9.2 : nothing to do! Yay!
|
317
|
-
|
318
|
-
|
394
|
+
|
395
|
+
rdoc_options:
|
396
|
+
- --main
|
319
397
|
- README.txt
|
320
|
-
require_paths:
|
398
|
+
require_paths:
|
321
399
|
- lib
|
322
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
323
|
-
|
400
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
401
|
+
none: false
|
402
|
+
requirements:
|
324
403
|
- - ">="
|
325
|
-
- !ruby/object:Gem::Version
|
404
|
+
- !ruby/object:Gem::Version
|
405
|
+
hash: 57
|
406
|
+
segments:
|
407
|
+
- 1
|
408
|
+
- 8
|
409
|
+
- 7
|
326
410
|
version: 1.8.7
|
327
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
328
|
-
|
411
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
412
|
+
none: false
|
413
|
+
requirements:
|
329
414
|
- - ">="
|
330
|
-
- !ruby/object:Gem::Version
|
331
|
-
|
415
|
+
- !ruby/object:Gem::Version
|
416
|
+
hash: 9
|
417
|
+
segments:
|
418
|
+
- 1
|
419
|
+
- 3
|
420
|
+
version: "1.3"
|
332
421
|
requirements: []
|
422
|
+
|
333
423
|
rubyforge_project: rdoc
|
334
|
-
rubygems_version:
|
424
|
+
rubygems_version: 1.8.10
|
335
425
|
signing_key:
|
336
|
-
specification_version:
|
426
|
+
specification_version: 3
|
337
427
|
summary: RDoc produces HTML and command-line documentation for Ruby projects
|
338
|
-
test_files:
|
428
|
+
test_files:
|
339
429
|
- test/test_attribute_manager.rb
|
340
430
|
- test/test_rdoc_alias.rb
|
341
431
|
- test/test_rdoc_any_method.rb
|
342
432
|
- test/test_rdoc_attr.rb
|
343
433
|
- test/test_rdoc_class_module.rb
|
344
434
|
- test/test_rdoc_code_object.rb
|
435
|
+
- test/test_rdoc_comment.rb
|
345
436
|
- test/test_rdoc_constant.rb
|
346
437
|
- test/test_rdoc_context.rb
|
347
438
|
- test/test_rdoc_context_section.rb
|
348
439
|
- test/test_rdoc_cross_reference.rb
|
349
440
|
- test/test_rdoc_encoding.rb
|
350
441
|
- test/test_rdoc_generator_darkfish.rb
|
442
|
+
- test/test_rdoc_generator_json_index.rb
|
443
|
+
- test/test_rdoc_generator_markup.rb
|
351
444
|
- test/test_rdoc_generator_ri.rb
|
352
445
|
- test/test_rdoc_include.rb
|
353
446
|
- test/test_rdoc_markup.rb
|
354
447
|
- test/test_rdoc_markup_attribute_manager.rb
|
355
448
|
- test/test_rdoc_markup_document.rb
|
356
449
|
- test/test_rdoc_markup_formatter.rb
|
450
|
+
- test/test_rdoc_markup_heading.rb
|
451
|
+
- test/test_rdoc_markup_include.rb
|
357
452
|
- test/test_rdoc_markup_indented_paragraph.rb
|
358
453
|
- test/test_rdoc_markup_paragraph.rb
|
359
454
|
- test/test_rdoc_markup_parser.rb
|
@@ -363,16 +458,25 @@ test_files:
|
|
363
458
|
- test/test_rdoc_markup_to_bs.rb
|
364
459
|
- test/test_rdoc_markup_to_html.rb
|
365
460
|
- test/test_rdoc_markup_to_html_crossref.rb
|
461
|
+
- test/test_rdoc_markup_to_html_snippet.rb
|
462
|
+
- test/test_rdoc_markup_to_label.rb
|
366
463
|
- test/test_rdoc_markup_to_rdoc.rb
|
464
|
+
- test/test_rdoc_markup_to_table_of_contents.rb
|
367
465
|
- test/test_rdoc_markup_to_tt_only.rb
|
466
|
+
- test/test_rdoc_markup_verbatim.rb
|
368
467
|
- test/test_rdoc_method_attr.rb
|
369
468
|
- test/test_rdoc_normal_class.rb
|
370
469
|
- test/test_rdoc_normal_module.rb
|
371
470
|
- test/test_rdoc_options.rb
|
372
471
|
- test/test_rdoc_parser.rb
|
373
472
|
- test/test_rdoc_parser_c.rb
|
473
|
+
- test/test_rdoc_parser_rd.rb
|
374
474
|
- test/test_rdoc_parser_ruby.rb
|
375
475
|
- test/test_rdoc_parser_simple.rb
|
476
|
+
- test/test_rdoc_rd.rb
|
477
|
+
- test/test_rdoc_rd_block_parser.rb
|
478
|
+
- test/test_rdoc_rd_inline.rb
|
479
|
+
- test/test_rdoc_rd_inline_parser.rb
|
376
480
|
- test/test_rdoc_rdoc.rb
|
377
481
|
- test/test_rdoc_require.rb
|
378
482
|
- test/test_rdoc_ri_driver.rb
|
@@ -384,4 +488,6 @@ test_files:
|
|
384
488
|
- test/test_rdoc_stats.rb
|
385
489
|
- test/test_rdoc_task.rb
|
386
490
|
- test/test_rdoc_text.rb
|
491
|
+
- test/test_rdoc_token_stream.rb
|
492
|
+
- test/test_rdoc_tom_doc.rb
|
387
493
|
- test/test_rdoc_top_level.rb
|