rdoc 3.8 → 3.9
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/History.txt +21 -1
- data/Manifest.txt +2 -0
- data/Rakefile +18 -4
- data/bin/rdoc +7 -0
- data/bin/ri +7 -0
- data/lib/rdoc.rb +1 -1
- data/lib/rdoc/class_module.rb +3 -0
- data/lib/rdoc/code_object.rb +43 -0
- data/lib/rdoc/context.rb +5 -2
- data/lib/rdoc/cross_reference.rb +173 -0
- data/lib/rdoc/generator/darkfish.rb +1 -1
- data/lib/rdoc/generator/template/darkfish/classpage.rhtml +2 -0
- data/lib/rdoc/markup.rb +32 -30
- data/lib/rdoc/markup/document.rb +13 -3
- data/lib/rdoc/markup/formatter.rb +4 -0
- data/lib/rdoc/markup/parser.rb +12 -6
- data/lib/rdoc/markup/pre_process.rb +103 -34
- data/lib/rdoc/markup/to_html.rb +7 -6
- data/lib/rdoc/markup/to_html_crossref.rb +62 -146
- data/lib/rdoc/parser.rb +5 -0
- data/lib/rdoc/parser/c.rb +4 -8
- data/lib/rdoc/parser/ruby.rb +18 -36
- data/lib/rdoc/parser/ruby_tools.rb +2 -0
- data/lib/rdoc/ri/driver.rb +23 -10
- data/test/test_rdoc_code_object.rb +59 -3
- data/test/test_rdoc_cross_reference.rb +154 -0
- data/test/test_rdoc_generator_darkfish.rb +6 -0
- data/test/test_rdoc_markup_document.rb +18 -0
- data/test/test_rdoc_markup_parser.rb +38 -0
- data/test/test_rdoc_markup_pre_process.rb +269 -71
- data/test/test_rdoc_markup_to_html.rb +8 -0
- data/test/test_rdoc_markup_to_html_crossref.rb +44 -117
- data/test/test_rdoc_parser_ruby.rb +40 -55
- data/test/test_rdoc_ri_driver.rb +122 -37
- data/test/xref_test_case.rb +5 -0
- metadata +15 -5
- metadata.gz.sig +0 -0
data/test/xref_test_case.rb
CHANGED
@@ -43,6 +43,11 @@ class XrefTestCase < MiniTest::Unit::TestCase
|
|
43
43
|
@c2_b = @c2.method_list.first
|
44
44
|
|
45
45
|
@c2_c3 = @xref_data.find_module_named 'C2::C3'
|
46
|
+
@c2_c3_m = @c2_c3.method_list.first # C2::C3#m
|
47
|
+
|
48
|
+
@c2_c3_h1 = @xref_data.find_module_named 'C2::C3::H1'
|
49
|
+
@c2_c3_h1_meh = @c2_c3_h1.method_list.first # C2::C3::H1#m?
|
50
|
+
|
46
51
|
@c3 = @xref_data.find_module_named 'C3'
|
47
52
|
@c4 = @xref_data.find_module_named 'C4'
|
48
53
|
@c4_c4 = @xref_data.find_module_named 'C4::C4'
|
metadata
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rdoc
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 21
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 3
|
8
|
-
-
|
9
|
-
version: "3.
|
8
|
+
- 9
|
9
|
+
version: "3.9"
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Eric Hodel
|
@@ -38,7 +38,7 @@ cert_chain:
|
|
38
38
|
x52qPcexcYZR7w==
|
39
39
|
-----END CERTIFICATE-----
|
40
40
|
|
41
|
-
date: 2011-
|
41
|
+
date: 2011-07-30 00:00:00 Z
|
42
42
|
dependencies:
|
43
43
|
- !ruby/object:Gem::Dependency
|
44
44
|
name: minitest
|
@@ -157,6 +157,7 @@ files:
|
|
157
157
|
- lib/rdoc/code_objects.rb
|
158
158
|
- lib/rdoc/constant.rb
|
159
159
|
- lib/rdoc/context.rb
|
160
|
+
- lib/rdoc/cross_reference.rb
|
160
161
|
- lib/rdoc/encoding.rb
|
161
162
|
- lib/rdoc/erbio.rb
|
162
163
|
- lib/rdoc/gauntlet.rb
|
@@ -266,6 +267,7 @@ files:
|
|
266
267
|
- test/test_rdoc_constant.rb
|
267
268
|
- test/test_rdoc_context.rb
|
268
269
|
- test/test_rdoc_context_section.rb
|
270
|
+
- test/test_rdoc_cross_reference.rb
|
269
271
|
- test/test_rdoc_encoding.rb
|
270
272
|
- test/test_rdoc_generator_darkfish.rb
|
271
273
|
- test/test_rdoc_generator_ri.rb
|
@@ -310,7 +312,14 @@ files:
|
|
310
312
|
homepage: http://docs.seattlerb.org/rdoc
|
311
313
|
licenses: []
|
312
314
|
|
313
|
-
post_install_message:
|
315
|
+
post_install_message: |
|
316
|
+
Depending on your version of ruby, you may need to install ruby rdoc/ri data:
|
317
|
+
|
318
|
+
<= 1.8.6 : unsupported
|
319
|
+
= 1.8.7 : gem install rdoc-data; rdoc-data --install
|
320
|
+
= 1.9.1 : gem install rdoc-data; rdoc-data --install
|
321
|
+
>= 1.9.2 : nothing to do! Yay!
|
322
|
+
|
314
323
|
rdoc_options:
|
315
324
|
- --main
|
316
325
|
- README.txt
|
@@ -354,6 +363,7 @@ test_files:
|
|
354
363
|
- test/test_rdoc_constant.rb
|
355
364
|
- test/test_rdoc_context.rb
|
356
365
|
- test/test_rdoc_context_section.rb
|
366
|
+
- test/test_rdoc_cross_reference.rb
|
357
367
|
- test/test_rdoc_encoding.rb
|
358
368
|
- test/test_rdoc_generator_darkfish.rb
|
359
369
|
- test/test_rdoc_generator_ri.rb
|
metadata.gz.sig
CHANGED
Binary file
|