rdoc 3.9.1 → 3.9.2
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 +7 -1
- data/lib/rdoc.rb +1 -1
- data/lib/rdoc/markup/to_html.rb +1 -1
- data/test/test_rdoc_markup_to_html_crossref.rb +6 -0
- metadata +8 -6
- metadata.gz.sig +1 -1
data.tar.gz.sig
CHANGED
Binary file
|
data/History.txt
CHANGED
@@ -1,4 +1,10 @@
|
|
1
|
-
=== 3.9.
|
1
|
+
=== 3.9.2 / 2011-08-11
|
2
|
+
|
3
|
+
* Bug fix
|
4
|
+
* Loosened TIDYLINK regexp to allow any content in the link section like:
|
5
|
+
<tt>{foo}[rdoc-ref:SomeClass]</tt>
|
6
|
+
|
7
|
+
=== 3.9.1 / 2011-07-31
|
2
8
|
|
3
9
|
* Bug fixes
|
4
10
|
* Fix RDoc::Markup parser for a header followed by a non-text token. Issue
|
data/lib/rdoc.rb
CHANGED
data/lib/rdoc/markup/to_html.rb
CHANGED
@@ -74,7 +74,7 @@ class RDoc::Markup::ToHtml < RDoc::Markup::Formatter
|
|
74
74
|
@markup.add_special(/((link:|https?:|mailto:|ftp:|www\.)\S+\w)/, :HYPERLINK)
|
75
75
|
|
76
76
|
# and links of the form <text>[<url>]
|
77
|
-
@markup.add_special(/(((\{.*?\})|\b\S+?)\[\S
|
77
|
+
@markup.add_special(/(((\{.*?\})|\b\S+?)\[\S+?\])/, :TIDYLINK)
|
78
78
|
|
79
79
|
init_tags
|
80
80
|
end
|
@@ -25,6 +25,12 @@ class TestRDocMarkupToHtmlCrossref < XrefTestCase
|
|
25
25
|
assert_equal "\n<p><a href=\"C1.html\">C1</a></p>\n", result
|
26
26
|
end
|
27
27
|
|
28
|
+
def test_convert_TIDYLINK_rdoc_ref
|
29
|
+
result = @to.convert '{foo}[rdoc-ref:C1]'
|
30
|
+
|
31
|
+
assert_equal "\n<p><a href=\"C1.html\">foo</a></p>\n", result
|
32
|
+
end
|
33
|
+
|
28
34
|
def test_gen_url
|
29
35
|
assert_equal '<a href="C1.html">Some class</a>',
|
30
36
|
@to.gen_url('rdoc-ref:C1', 'Some class')
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rdoc
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 39
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 3
|
8
8
|
- 9
|
9
|
-
-
|
10
|
-
version: 3.9.
|
9
|
+
- 2
|
10
|
+
version: 3.9.2
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Eric Hodel
|
@@ -39,7 +39,7 @@ cert_chain:
|
|
39
39
|
x52qPcexcYZR7w==
|
40
40
|
-----END CERTIFICATE-----
|
41
41
|
|
42
|
-
date: 2011-
|
42
|
+
date: 2011-08-11 00:00:00 Z
|
43
43
|
dependencies:
|
44
44
|
- !ruby/object:Gem::Dependency
|
45
45
|
name: minitest
|
@@ -313,6 +313,8 @@ files:
|
|
313
313
|
homepage: http://docs.seattlerb.org/rdoc
|
314
314
|
licenses: []
|
315
315
|
|
316
|
+
metadata: {}
|
317
|
+
|
316
318
|
post_install_message: |
|
317
319
|
Depending on your version of ruby, you may need to install ruby rdoc/ri data:
|
318
320
|
|
@@ -350,9 +352,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
350
352
|
requirements: []
|
351
353
|
|
352
354
|
rubyforge_project: rdoc
|
353
|
-
rubygems_version: 1.8.
|
355
|
+
rubygems_version: 1.8.6
|
354
356
|
signing_key:
|
355
|
-
specification_version:
|
357
|
+
specification_version: 4
|
356
358
|
summary: RDoc produces HTML and command-line documentation for Ruby projects
|
357
359
|
test_files:
|
358
360
|
- test/test_attribute_manager.rb
|
metadata.gz.sig
CHANGED
@@ -1 +1 @@
|
|
1
|
-
�
|
1
|
+
Fo�o)�ey��:������]�X�Gx��^gSD�,s�:�b:=�y�8I��G�~X��1x����䳤y�rl��dž�~ V�7�wk(|L:"�^�暗�~�C�[PDa;K���~}D��� U�����?��=j��Fo;���4�L������Pl�oRZ�O��Ѕh}��Aދ5��Y�T����h;x������]����E���D}$a��(y�O�/m���X?�+�}|��|�!4���V�lIFzx
|