rdoc 3.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.

Files changed (247) hide show
  1. checksums.yaml +7 -0
  2. data/CONTRIBUTING.rdoc +220 -0
  3. data/CVE-2013-0256.rdoc +49 -0
  4. data/ExampleMarkdown.md +37 -0
  5. data/ExampleRDoc.rdoc +208 -0
  6. data/Gemfile +12 -0
  7. data/History.rdoc +1666 -0
  8. data/LEGAL.rdoc +50 -0
  9. data/LICENSE.rdoc +57 -0
  10. data/README.rdoc +129 -0
  11. data/RI.rdoc +57 -0
  12. data/Rakefile +84 -81
  13. data/TODO.rdoc +59 -0
  14. data/bin/console +7 -0
  15. data/bin/setup +6 -0
  16. data/{bin → exe}/rdoc +11 -2
  17. data/exe/ri +12 -0
  18. data/lib/rdoc/alias.rb +1 -2
  19. data/lib/rdoc/anon_class.rb +3 -2
  20. data/lib/rdoc/any_method.rb +234 -40
  21. data/lib/rdoc/attr.rb +79 -11
  22. data/lib/rdoc/class_module.rb +443 -71
  23. data/lib/rdoc/code_object.rb +216 -20
  24. data/lib/rdoc/code_objects.rb +4 -21
  25. data/lib/rdoc/comment.rb +250 -0
  26. data/lib/rdoc/constant.rb +110 -9
  27. data/lib/rdoc/context/section.rb +232 -0
  28. data/lib/rdoc/context.rb +392 -172
  29. data/lib/rdoc/cross_reference.rb +202 -0
  30. data/lib/rdoc/encoding.rb +83 -28
  31. data/lib/rdoc/erb_partial.rb +19 -0
  32. data/lib/rdoc/erbio.rb +8 -3
  33. data/lib/rdoc/extend.rb +10 -0
  34. data/lib/rdoc/generator/darkfish.rb +507 -84
  35. data/lib/rdoc/generator/json_index.rb +300 -0
  36. data/lib/rdoc/generator/markup.rb +27 -74
  37. data/lib/rdoc/generator/pot/message_extractor.rb +68 -0
  38. data/lib/rdoc/generator/pot/po.rb +84 -0
  39. data/lib/rdoc/generator/pot/po_entry.rb +141 -0
  40. data/lib/rdoc/generator/pot.rb +98 -0
  41. data/lib/rdoc/generator/ri.rb +8 -62
  42. data/lib/rdoc/generator/template/darkfish/_footer.rhtml +5 -0
  43. data/lib/rdoc/generator/template/darkfish/_head.rhtml +22 -0
  44. data/lib/rdoc/generator/template/darkfish/_sidebar_VCS_info.rhtml +19 -0
  45. data/lib/rdoc/generator/template/darkfish/_sidebar_classes.rhtml +9 -0
  46. data/lib/rdoc/generator/template/darkfish/_sidebar_extends.rhtml +15 -0
  47. data/lib/rdoc/generator/template/darkfish/_sidebar_in_files.rhtml +9 -0
  48. data/lib/rdoc/generator/template/darkfish/_sidebar_includes.rhtml +15 -0
  49. data/lib/rdoc/generator/template/darkfish/_sidebar_installed.rhtml +15 -0
  50. data/lib/rdoc/generator/template/darkfish/_sidebar_methods.rhtml +12 -0
  51. data/lib/rdoc/generator/template/darkfish/_sidebar_navigation.rhtml +11 -0
  52. data/lib/rdoc/generator/template/darkfish/_sidebar_pages.rhtml +12 -0
  53. data/lib/rdoc/generator/template/darkfish/_sidebar_parent.rhtml +11 -0
  54. data/lib/rdoc/generator/template/darkfish/_sidebar_search.rhtml +14 -0
  55. data/lib/rdoc/generator/template/darkfish/_sidebar_sections.rhtml +11 -0
  56. data/lib/rdoc/generator/template/darkfish/_sidebar_table_of_contents.rhtml +18 -0
  57. data/lib/rdoc/generator/template/darkfish/class.rhtml +172 -0
  58. data/lib/rdoc/generator/template/darkfish/css/fonts.css +167 -0
  59. data/lib/rdoc/generator/template/darkfish/css/rdoc.css +639 -0
  60. data/lib/rdoc/generator/template/darkfish/fonts/Lato-Light.ttf +0 -0
  61. data/lib/rdoc/generator/template/darkfish/fonts/Lato-LightItalic.ttf +0 -0
  62. data/lib/rdoc/generator/template/darkfish/fonts/Lato-Regular.ttf +0 -0
  63. data/lib/rdoc/generator/template/darkfish/fonts/Lato-RegularItalic.ttf +0 -0
  64. data/lib/rdoc/generator/template/darkfish/fonts/SourceCodePro-Bold.ttf +0 -0
  65. data/lib/rdoc/generator/template/darkfish/fonts/SourceCodePro-Regular.ttf +0 -0
  66. data/lib/rdoc/generator/template/darkfish/images/add.png +0 -0
  67. data/lib/rdoc/generator/template/darkfish/images/arrow_up.png +0 -0
  68. data/lib/rdoc/generator/template/darkfish/images/delete.png +0 -0
  69. data/lib/rdoc/generator/template/darkfish/images/tag_blue.png +0 -0
  70. data/lib/rdoc/generator/template/darkfish/images/transparent.png +0 -0
  71. data/lib/rdoc/generator/template/darkfish/index.rhtml +18 -60
  72. data/lib/rdoc/generator/template/darkfish/js/darkfish.js +51 -83
  73. data/lib/rdoc/generator/template/darkfish/js/search.js +110 -0
  74. data/lib/rdoc/generator/template/darkfish/page.rhtml +18 -0
  75. data/lib/rdoc/generator/template/darkfish/servlet_not_found.rhtml +18 -0
  76. data/lib/rdoc/generator/template/darkfish/servlet_root.rhtml +62 -0
  77. data/lib/rdoc/generator/template/darkfish/table_of_contents.rhtml +58 -0
  78. data/lib/rdoc/generator/template/json_index/.document +1 -0
  79. data/lib/rdoc/generator/template/json_index/js/navigation.js +105 -0
  80. data/lib/rdoc/generator/template/json_index/js/searcher.js +229 -0
  81. data/lib/rdoc/generator.rb +24 -13
  82. data/lib/rdoc/ghost_method.rb +1 -2
  83. data/lib/rdoc/i18n/locale.rb +102 -0
  84. data/lib/rdoc/i18n/text.rb +126 -0
  85. data/lib/rdoc/i18n.rb +10 -0
  86. data/lib/rdoc/include.rb +5 -95
  87. data/lib/rdoc/known_classes.rb +5 -2
  88. data/lib/rdoc/markdown/entities.rb +2132 -0
  89. data/lib/rdoc/markdown/literals.kpeg +23 -0
  90. data/lib/rdoc/markdown/literals.rb +416 -0
  91. data/lib/rdoc/markdown.kpeg +1237 -0
  92. data/lib/rdoc/markdown.rb +16684 -0
  93. data/lib/rdoc/markup/attr_changer.rb +23 -0
  94. data/lib/rdoc/markup/attr_span.rb +36 -0
  95. data/lib/rdoc/markup/attribute_manager.rb +135 -62
  96. data/lib/rdoc/markup/attributes.rb +71 -0
  97. data/lib/rdoc/markup/blank_line.rb +1 -0
  98. data/lib/rdoc/markup/block_quote.rb +15 -0
  99. data/lib/rdoc/markup/document.rb +96 -9
  100. data/lib/rdoc/markup/formatter.rb +138 -25
  101. data/lib/rdoc/markup/hard_break.rb +32 -0
  102. data/lib/rdoc/markup/heading.rb +61 -2
  103. data/lib/rdoc/markup/include.rb +43 -0
  104. data/lib/rdoc/markup/indented_paragraph.rb +48 -0
  105. data/lib/rdoc/markup/list.rb +25 -4
  106. data/lib/rdoc/markup/list_item.rb +18 -4
  107. data/lib/rdoc/markup/paragraph.rb +15 -0
  108. data/lib/rdoc/markup/parser.rb +180 -88
  109. data/lib/rdoc/markup/pre_process.rb +183 -38
  110. data/lib/rdoc/markup/raw.rb +6 -5
  111. data/lib/rdoc/markup/regexp_handling.rb +41 -0
  112. data/lib/rdoc/markup/rule.rb +1 -0
  113. data/lib/rdoc/markup/table.rb +47 -0
  114. data/lib/rdoc/markup/to_ansi.rb +17 -7
  115. data/lib/rdoc/markup/to_bs.rb +5 -8
  116. data/lib/rdoc/markup/to_html.rb +238 -137
  117. data/lib/rdoc/markup/to_html_crossref.rb +125 -152
  118. data/lib/rdoc/markup/to_html_snippet.rb +285 -0
  119. data/lib/rdoc/markup/to_joined_paragraph.rb +47 -0
  120. data/lib/rdoc/markup/to_label.rb +75 -0
  121. data/lib/rdoc/markup/to_markdown.rb +192 -0
  122. data/lib/rdoc/markup/to_rdoc.rb +85 -15
  123. data/lib/rdoc/markup/to_table_of_contents.rb +89 -0
  124. data/lib/rdoc/markup/to_test.rb +2 -4
  125. data/lib/rdoc/markup/to_tt_only.rb +121 -0
  126. data/lib/rdoc/markup/verbatim.rb +39 -0
  127. data/lib/rdoc/markup.rb +388 -110
  128. data/lib/rdoc/meta_method.rb +1 -2
  129. data/lib/rdoc/method_attr.rb +87 -21
  130. data/lib/rdoc/mixin.rb +121 -0
  131. data/lib/rdoc/normal_class.rb +39 -10
  132. data/lib/rdoc/normal_module.rb +22 -7
  133. data/lib/rdoc/options.rb +613 -73
  134. data/lib/rdoc/parser/c.rb +621 -287
  135. data/lib/rdoc/parser/changelog.rb +335 -0
  136. data/lib/rdoc/parser/markdown.rb +24 -0
  137. data/lib/rdoc/parser/rd.rb +23 -0
  138. data/lib/rdoc/parser/ripper_state_lex.rb +590 -0
  139. data/lib/rdoc/parser/ruby.rb +1368 -762
  140. data/lib/rdoc/parser/ruby_tools.rb +42 -35
  141. data/lib/rdoc/parser/simple.rb +23 -11
  142. data/lib/rdoc/parser/text.rb +12 -0
  143. data/lib/rdoc/parser.rb +162 -89
  144. data/lib/rdoc/rd/block_parser.rb +1056 -0
  145. data/lib/rdoc/rd/block_parser.ry +639 -0
  146. data/lib/rdoc/rd/inline.rb +72 -0
  147. data/lib/rdoc/rd/inline_parser.rb +1208 -0
  148. data/lib/rdoc/rd/inline_parser.ry +593 -0
  149. data/lib/rdoc/rd.rb +100 -0
  150. data/lib/rdoc/rdoc.rb +208 -115
  151. data/lib/rdoc/require.rb +1 -2
  152. data/lib/rdoc/ri/driver.rb +734 -239
  153. data/lib/rdoc/ri/formatter.rb +1 -0
  154. data/lib/rdoc/ri/paths.rb +91 -48
  155. data/lib/rdoc/ri/store.rb +3 -261
  156. data/lib/rdoc/ri/task.rb +71 -0
  157. data/lib/rdoc/ri.rb +5 -2
  158. data/lib/rdoc/rubygems_hook.rb +246 -0
  159. data/lib/rdoc/servlet.rb +451 -0
  160. data/lib/rdoc/single_class.rb +14 -2
  161. data/lib/rdoc/stats/normal.rb +19 -12
  162. data/lib/rdoc/stats/quiet.rb +1 -0
  163. data/lib/rdoc/stats/verbose.rb +1 -0
  164. data/lib/rdoc/stats.rb +262 -104
  165. data/lib/rdoc/store.rb +979 -0
  166. data/lib/rdoc/task.rb +84 -44
  167. data/lib/rdoc/text.rb +117 -72
  168. data/lib/rdoc/token_stream.rb +73 -4
  169. data/lib/rdoc/tom_doc.rb +263 -0
  170. data/lib/rdoc/top_level.rb +111 -261
  171. data/lib/rdoc/version.rb +8 -0
  172. data/lib/rdoc.rb +127 -64
  173. data/man/ri.1 +247 -0
  174. data/rdoc.gemspec +249 -0
  175. metadata +171 -291
  176. data/.autotest +0 -16
  177. data/.document +0 -5
  178. data/History.txt +0 -594
  179. data/LICENSE.txt +0 -57
  180. data/Manifest.txt +0 -158
  181. data/README.txt +0 -45
  182. data/RI.txt +0 -58
  183. data/bin/ri +0 -5
  184. data/lib/rdoc/gauntlet.rb +0 -52
  185. data/lib/rdoc/generator/template/darkfish/classpage.rhtml +0 -296
  186. data/lib/rdoc/generator/template/darkfish/filepage.rhtml +0 -124
  187. data/lib/rdoc/generator/template/darkfish/js/jquery.js +0 -32
  188. data/lib/rdoc/generator/template/darkfish/js/quicksearch.js +0 -114
  189. data/lib/rdoc/generator/template/darkfish/js/thickbox-compressed.js +0 -10
  190. data/lib/rdoc/generator/template/darkfish/rdoc.css +0 -706
  191. data/lib/rdoc/markup/formatter_test_case.rb +0 -689
  192. data/lib/rdoc/markup/inline.rb +0 -137
  193. data/lib/rdoc/markup/text_formatter_test_case.rb +0 -116
  194. data/lib/rdoc/ruby_lex.rb +0 -1291
  195. data/lib/rdoc/ruby_token.rb +0 -416
  196. data/test/README +0 -1
  197. data/test/binary.dat +0 -0
  198. data/test/hidden.zip.txt +0 -1
  199. data/test/test.ja.rdoc +0 -10
  200. data/test/test.ja.txt +0 -8
  201. data/test/test.txt +0 -1
  202. data/test/test_attribute_manager.rb +0 -120
  203. data/test/test_rdoc_alias.rb +0 -13
  204. data/test/test_rdoc_any_method.rb +0 -126
  205. data/test/test_rdoc_attr.rb +0 -61
  206. data/test/test_rdoc_class_module.rb +0 -233
  207. data/test/test_rdoc_code_object.rb +0 -165
  208. data/test/test_rdoc_constant.rb +0 -15
  209. data/test/test_rdoc_context.rb +0 -370
  210. data/test/test_rdoc_encoding.rb +0 -166
  211. data/test/test_rdoc_generator_darkfish.rb +0 -119
  212. data/test/test_rdoc_generator_ri.rb +0 -76
  213. data/test/test_rdoc_include.rb +0 -96
  214. data/test/test_rdoc_markup.rb +0 -37
  215. data/test/test_rdoc_markup_attribute_manager.rb +0 -240
  216. data/test/test_rdoc_markup_document.rb +0 -51
  217. data/test/test_rdoc_markup_paragraph.rb +0 -9
  218. data/test/test_rdoc_markup_parser.rb +0 -1395
  219. data/test/test_rdoc_markup_pre_process.rb +0 -185
  220. data/test/test_rdoc_markup_raw.rb +0 -27
  221. data/test/test_rdoc_markup_to_ansi.rb +0 -328
  222. data/test/test_rdoc_markup_to_bs.rb +0 -341
  223. data/test/test_rdoc_markup_to_html.rb +0 -335
  224. data/test/test_rdoc_markup_to_html_crossref.rb +0 -169
  225. data/test/test_rdoc_markup_to_rdoc.rb +0 -327
  226. data/test/test_rdoc_method_attr.rb +0 -122
  227. data/test/test_rdoc_normal_class.rb +0 -17
  228. data/test/test_rdoc_normal_module.rb +0 -31
  229. data/test/test_rdoc_options.rb +0 -342
  230. data/test/test_rdoc_parser.rb +0 -83
  231. data/test/test_rdoc_parser_c.rb +0 -912
  232. data/test/test_rdoc_parser_ruby.rb +0 -1754
  233. data/test/test_rdoc_parser_simple.rb +0 -99
  234. data/test/test_rdoc_rdoc.rb +0 -164
  235. data/test/test_rdoc_require.rb +0 -25
  236. data/test/test_rdoc_ri_driver.rb +0 -846
  237. data/test/test_rdoc_ri_paths.rb +0 -43
  238. data/test/test_rdoc_ri_store.rb +0 -352
  239. data/test/test_rdoc_ruby_lex.rb +0 -23
  240. data/test/test_rdoc_stats.rb +0 -38
  241. data/test/test_rdoc_task.rb +0 -92
  242. data/test/test_rdoc_text.rb +0 -251
  243. data/test/test_rdoc_top_level.rb +0 -120
  244. data/test/xref_data.rb +0 -62
  245. data/test/xref_test_case.rb +0 -61
  246. data.tar.gz.sig +0 -3
  247. metadata.gz.sig +0 -0
data/rdoc.gemspec ADDED
@@ -0,0 +1,249 @@
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.4.0")
246
+ s.required_rubygems_version = Gem::Requirement.new(">= 2.2")
247
+
248
+ s.add_development_dependency("gettext")
249
+ end