rdoc 5.0.0 → 6.3.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.

Files changed (158) hide show
  1. checksums.yaml +5 -5
  2. data/CONTRIBUTING.rdoc +4 -4
  3. data/Gemfile +9 -0
  4. data/History.rdoc +12 -2
  5. data/README.rdoc +5 -6
  6. data/Rakefile +35 -65
  7. data/lib/rdoc/alias.rb +1 -1
  8. data/lib/rdoc/anon_class.rb +1 -1
  9. data/lib/rdoc/any_method.rb +59 -15
  10. data/lib/rdoc/attr.rb +1 -1
  11. data/lib/rdoc/class_module.rb +5 -3
  12. data/lib/rdoc/code_object.rb +2 -9
  13. data/lib/rdoc/code_objects.rb +1 -1
  14. data/lib/rdoc/comment.rb +32 -11
  15. data/lib/rdoc/constant.rb +3 -3
  16. data/lib/rdoc/context/section.rb +1 -14
  17. data/lib/rdoc/context.rb +74 -21
  18. data/lib/rdoc/cross_reference.rb +33 -15
  19. data/lib/rdoc/encoding.rb +58 -30
  20. data/lib/rdoc/erb_partial.rb +2 -2
  21. data/lib/rdoc/erbio.rb +8 -4
  22. data/lib/rdoc/extend.rb +1 -1
  23. data/lib/rdoc/generator/darkfish.rb +60 -29
  24. data/lib/rdoc/generator/json_index.rb +7 -4
  25. data/lib/rdoc/generator/markup.rb +3 -13
  26. data/lib/rdoc/generator/pot/message_extractor.rb +1 -1
  27. data/lib/rdoc/generator/pot/po.rb +3 -3
  28. data/lib/rdoc/generator/pot/po_entry.rb +11 -11
  29. data/lib/rdoc/generator/pot.rb +4 -4
  30. data/lib/rdoc/generator/ri.rb +1 -1
  31. data/lib/rdoc/generator/template/darkfish/_footer.rhtml +2 -2
  32. data/lib/rdoc/generator/template/darkfish/_head.rhtml +9 -7
  33. data/lib/rdoc/generator/template/darkfish/_sidebar_VCS_info.rhtml +2 -2
  34. data/lib/rdoc/generator/template/darkfish/_sidebar_classes.rhtml +2 -2
  35. data/lib/rdoc/generator/template/darkfish/_sidebar_extends.rhtml +7 -7
  36. data/lib/rdoc/generator/template/darkfish/_sidebar_in_files.rhtml +2 -2
  37. data/lib/rdoc/generator/template/darkfish/_sidebar_includes.rhtml +7 -7
  38. data/lib/rdoc/generator/template/darkfish/_sidebar_installed.rhtml +6 -6
  39. data/lib/rdoc/generator/template/darkfish/_sidebar_methods.rhtml +5 -5
  40. data/lib/rdoc/generator/template/darkfish/_sidebar_pages.rhtml +5 -5
  41. data/lib/rdoc/generator/template/darkfish/_sidebar_parent.rhtml +5 -5
  42. data/lib/rdoc/generator/template/darkfish/_sidebar_sections.rhtml +4 -4
  43. data/lib/rdoc/generator/template/darkfish/_sidebar_table_of_contents.rhtml +4 -4
  44. data/lib/rdoc/generator/template/darkfish/class.rhtml +45 -47
  45. data/lib/rdoc/generator/template/darkfish/css/rdoc.css +55 -6
  46. data/lib/rdoc/generator/template/darkfish/index.rhtml +3 -4
  47. data/lib/rdoc/generator/template/darkfish/js/darkfish.js +22 -99
  48. data/lib/rdoc/generator/template/darkfish/js/search.js +32 -31
  49. data/lib/rdoc/generator/template/darkfish/servlet_root.rhtml +15 -16
  50. data/lib/rdoc/generator/template/darkfish/table_of_contents.rhtml +16 -16
  51. data/lib/rdoc/generator/template/json_index/js/navigation.js +4 -41
  52. data/lib/rdoc/generator/template/json_index/js/searcher.js +6 -6
  53. data/lib/rdoc/generator.rb +1 -1
  54. data/lib/rdoc/ghost_method.rb +1 -1
  55. data/lib/rdoc/i18n/locale.rb +2 -2
  56. data/lib/rdoc/i18n/text.rb +5 -5
  57. data/lib/rdoc/i18n.rb +3 -3
  58. data/lib/rdoc/include.rb +1 -1
  59. data/lib/rdoc/known_classes.rb +1 -1
  60. data/lib/rdoc/markdown/entities.rb +1 -1
  61. data/lib/rdoc/markdown/literals.kpeg +1 -0
  62. data/lib/rdoc/markdown/literals.rb +19 -7
  63. data/lib/rdoc/markdown.kpeg +92 -44
  64. data/lib/rdoc/markdown.rb +1171 -610
  65. data/lib/rdoc/markup/attr_changer.rb +1 -1
  66. data/lib/rdoc/markup/attr_span.rb +9 -3
  67. data/lib/rdoc/markup/attribute_manager.rb +115 -50
  68. data/lib/rdoc/markup/attributes.rb +7 -7
  69. data/lib/rdoc/markup/blank_line.rb +1 -1
  70. data/lib/rdoc/markup/block_quote.rb +1 -1
  71. data/lib/rdoc/markup/document.rb +1 -1
  72. data/lib/rdoc/markup/formatter.rb +25 -24
  73. data/lib/rdoc/markup/hard_break.rb +1 -1
  74. data/lib/rdoc/markup/heading.rb +4 -4
  75. data/lib/rdoc/markup/include.rb +1 -1
  76. data/lib/rdoc/markup/indented_paragraph.rb +1 -1
  77. data/lib/rdoc/markup/list.rb +1 -1
  78. data/lib/rdoc/markup/list_item.rb +1 -1
  79. data/lib/rdoc/markup/paragraph.rb +1 -1
  80. data/lib/rdoc/markup/parser.rb +79 -47
  81. data/lib/rdoc/markup/pre_process.rb +11 -6
  82. data/lib/rdoc/markup/raw.rb +1 -1
  83. data/lib/rdoc/markup/regexp_handling.rb +41 -0
  84. data/lib/rdoc/markup/rule.rb +1 -1
  85. data/lib/rdoc/markup/to_ansi.rb +1 -1
  86. data/lib/rdoc/markup/to_bs.rb +4 -4
  87. data/lib/rdoc/markup/to_html.rb +71 -26
  88. data/lib/rdoc/markup/to_html_crossref.rb +41 -26
  89. data/lib/rdoc/markup/to_html_snippet.rb +10 -10
  90. data/lib/rdoc/markup/to_joined_paragraph.rb +7 -32
  91. data/lib/rdoc/markup/to_label.rb +10 -10
  92. data/lib/rdoc/markup/to_markdown.rb +9 -9
  93. data/lib/rdoc/markup/to_rdoc.rb +35 -7
  94. data/lib/rdoc/markup/to_table_of_contents.rb +2 -1
  95. data/lib/rdoc/markup/to_test.rb +1 -1
  96. data/lib/rdoc/markup/to_tt_only.rb +3 -3
  97. data/lib/rdoc/markup/verbatim.rb +1 -1
  98. data/lib/rdoc/markup.rb +14 -17
  99. data/lib/rdoc/meta_method.rb +1 -1
  100. data/lib/rdoc/method_attr.rb +2 -2
  101. data/lib/rdoc/mixin.rb +1 -1
  102. data/lib/rdoc/normal_class.rb +3 -3
  103. data/lib/rdoc/normal_module.rb +1 -1
  104. data/lib/rdoc/options.rb +79 -21
  105. data/lib/rdoc/parser/c.rb +147 -194
  106. data/lib/rdoc/parser/changelog.rb +150 -19
  107. data/lib/rdoc/parser/markdown.rb +1 -1
  108. data/lib/rdoc/parser/rd.rb +1 -1
  109. data/lib/rdoc/parser/ripper_state_lex.rb +590 -0
  110. data/lib/rdoc/parser/ruby.rb +634 -465
  111. data/lib/rdoc/parser/ruby_tools.rb +33 -34
  112. data/lib/rdoc/parser/simple.rb +3 -3
  113. data/lib/rdoc/parser/text.rb +1 -1
  114. data/lib/rdoc/parser.rb +12 -35
  115. data/lib/rdoc/rd/block_parser.rb +109 -108
  116. data/lib/rdoc/rd/block_parser.ry +3 -3
  117. data/lib/rdoc/rd/inline.rb +5 -5
  118. data/lib/rdoc/rd/inline_parser.rb +186 -185
  119. data/lib/rdoc/rd/inline_parser.ry +1 -1
  120. data/lib/rdoc/rd.rb +1 -1
  121. data/lib/rdoc/rdoc.rb +54 -41
  122. data/lib/rdoc/require.rb +1 -1
  123. data/lib/rdoc/ri/driver.rb +132 -42
  124. data/lib/rdoc/ri/formatter.rb +1 -1
  125. data/lib/rdoc/ri/paths.rb +4 -18
  126. data/lib/rdoc/ri/store.rb +1 -1
  127. data/lib/rdoc/ri/task.rb +2 -2
  128. data/lib/rdoc/ri.rb +1 -1
  129. data/lib/rdoc/rubygems_hook.rb +3 -3
  130. data/lib/rdoc/servlet.rb +21 -12
  131. data/lib/rdoc/single_class.rb +1 -1
  132. data/lib/rdoc/stats/normal.rb +24 -18
  133. data/lib/rdoc/stats/quiet.rb +1 -1
  134. data/lib/rdoc/stats/verbose.rb +1 -1
  135. data/lib/rdoc/stats.rb +1 -1
  136. data/lib/rdoc/store.rb +38 -27
  137. data/lib/rdoc/task.rb +2 -2
  138. data/lib/rdoc/text.rb +16 -21
  139. data/lib/rdoc/token_stream.rb +56 -33
  140. data/lib/rdoc/tom_doc.rb +17 -12
  141. data/lib/rdoc/top_level.rb +9 -3
  142. data/lib/rdoc/version.rb +8 -0
  143. data/lib/rdoc.rb +24 -10
  144. data/man/ri.1 +247 -0
  145. data/rdoc.gemspec +206 -15
  146. metadata +15 -64
  147. data/.document +0 -5
  148. data/.gitignore +0 -13
  149. data/.travis.yml +0 -23
  150. data/lib/gauntlet_rdoc.rb +0 -82
  151. data/lib/rdoc/generator/template/darkfish/js/jquery.js +0 -4
  152. data/lib/rdoc/markup/formatter_test_case.rb +0 -764
  153. data/lib/rdoc/markup/inline.rb +0 -2
  154. data/lib/rdoc/markup/special.rb +0 -41
  155. data/lib/rdoc/markup/text_formatter_test_case.rb +0 -115
  156. data/lib/rdoc/ruby_lex.rb +0 -1367
  157. data/lib/rdoc/ruby_token.rb +0 -461
  158. data/lib/rdoc/test_case.rb +0 -204
data/rdoc.gemspec CHANGED
@@ -1,6 +1,9 @@
1
- # -*- encoding: utf-8 -*-
2
- $:.unshift File.expand_path("../lib", __FILE__)
3
- require 'rdoc'
1
+ begin
2
+ require_relative "lib/rdoc/version"
3
+ rescue LoadError
4
+ # for Ruby repository
5
+ require_relative "version"
6
+ end
4
7
 
5
8
  Gem::Specification.new do |s|
6
9
  s.name = "rdoc"
@@ -12,25 +15,217 @@ Gem::Specification.new do |s|
12
15
  "Phil Hagelberg",
13
16
  "Tony Strauss",
14
17
  "Zachary Scott",
15
- "Hiroshi SHIBATA"
18
+ "Hiroshi SHIBATA",
19
+ "ITOYANAGI Sakura"
16
20
  ]
17
- s.email = ["drbrain@segment7.net", "", "", "", "mail@zzak.io", "hsbt@ruby-lang.org"]
21
+ s.email = ["drbrain@segment7.net", "", "", "", "mail@zzak.io", "hsbt@ruby-lang.org", "aycabta@gmail.com"]
18
22
 
19
23
  s.summary = "RDoc produces HTML and command-line documentation for Ruby projects"
20
24
  s.description = <<-DESCRIPTION
21
25
  RDoc produces HTML and command-line documentation for Ruby projects.
22
26
  RDoc includes the +rdoc+ and +ri+ tools for generating and displaying documentation from the command-line.
23
27
  DESCRIPTION
24
- s.homepage = "https://rdoc.github.io/rdoc"
28
+ s.homepage = "https://ruby.github.io/rdoc"
25
29
  s.licenses = ["Ruby"]
26
30
 
27
31
  s.bindir = "exe"
28
32
  s.executables = ["rdoc", "ri"]
29
33
  s.require_paths = ["lib"]
30
- # for ruby core repository. It was generated by `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
31
- s.files = [".document", ".gitignore", ".travis.yml", "CONTRIBUTING.rdoc", "CVE-2013-0256.rdoc", "ExampleMarkdown.md", "ExampleRDoc.rdoc", "Gemfile", "History.rdoc", "LEGAL.rdoc", "LICENSE.rdoc", "README.rdoc", "RI.rdoc", "Rakefile", "TODO.rdoc", "bin/console", "bin/setup", "exe/rdoc", "exe/ri", "lib/gauntlet_rdoc.rb", "lib/rdoc.rb", "lib/rdoc/alias.rb", "lib/rdoc/anon_class.rb", "lib/rdoc/any_method.rb", "lib/rdoc/attr.rb", "lib/rdoc/class_module.rb", "lib/rdoc/code_object.rb", "lib/rdoc/code_objects.rb", "lib/rdoc/comment.rb", "lib/rdoc/constant.rb", "lib/rdoc/context.rb", "lib/rdoc/context/section.rb", "lib/rdoc/cross_reference.rb", "lib/rdoc/encoding.rb", "lib/rdoc/erb_partial.rb", "lib/rdoc/erbio.rb", "lib/rdoc/extend.rb", "lib/rdoc/generator.rb", "lib/rdoc/generator/darkfish.rb", "lib/rdoc/generator/json_index.rb", "lib/rdoc/generator/markup.rb", "lib/rdoc/generator/pot.rb", "lib/rdoc/generator/pot/message_extractor.rb", "lib/rdoc/generator/pot/po.rb", "lib/rdoc/generator/pot/po_entry.rb", "lib/rdoc/generator/ri.rb", "lib/rdoc/generator/template/darkfish/.document", "lib/rdoc/generator/template/darkfish/_footer.rhtml", "lib/rdoc/generator/template/darkfish/_head.rhtml","lib/rdoc/generator/template/darkfish/_sidebar_VCS_info.rhtml", "lib/rdoc/generator/template/darkfish/_sidebar_classes.rhtml", "lib/rdoc/generator/template/darkfish/_sidebar_extends.rhtml", "lib/rdoc/generator/template/darkfish/_sidebar_in_files.rhtml", "lib/rdoc/generator/template/darkfish/_sidebar_includes.rhtml", "lib/rdoc/generator/template/darkfish/_sidebar_installed.rhtml", "lib/rdoc/generator/template/darkfish/_sidebar_methods.rhtml", "lib/rdoc/generator/template/darkfish/_sidebar_navigation.rhtml", "lib/rdoc/generator/template/darkfish/_sidebar_pages.rhtml", "lib/rdoc/generator/template/darkfish/_sidebar_parent.rhtml", "lib/rdoc/generator/template/darkfish/_sidebar_search.rhtml", "lib/rdoc/generator/template/darkfish/_sidebar_sections.rhtml", "lib/rdoc/generator/template/darkfish/_sidebar_table_of_contents.rhtml", "lib/rdoc/generator/template/darkfish/class.rhtml", "lib/rdoc/generator/template/darkfish/css/fonts.css", "lib/rdoc/generator/template/darkfish/css/rdoc.css", "lib/rdoc/generator/template/darkfish/fonts/Lato-Light.ttf", "lib/rdoc/generator/template/darkfish/fonts/Lato-LightItalic.ttf", "lib/rdoc/generator/template/darkfish/fonts/Lato-Regular.ttf", "lib/rdoc/generator/template/darkfish/fonts/Lato-RegularItalic.ttf", "lib/rdoc/generator/template/darkfish/fonts/SourceCodePro-Bold.ttf", "lib/rdoc/generator/template/darkfish/fonts/SourceCodePro-Regular.ttf", "lib/rdoc/generator/template/darkfish/images/add.png", "lib/rdoc/generator/template/darkfish/images/arrow_up.png", "lib/rdoc/generator/template/darkfish/images/brick.png", "lib/rdoc/generator/template/darkfish/images/brick_link.png", "lib/rdoc/generator/template/darkfish/images/bug.png", "lib/rdoc/generator/template/darkfish/images/bullet_black.png", "lib/rdoc/generator/template/darkfish/images/bullet_toggle_minus.png", "lib/rdoc/generator/template/darkfish/images/bullet_toggle_plus.png", "lib/rdoc/generator/template/darkfish/images/date.png", "lib/rdoc/generator/template/darkfish/images/delete.png", "lib/rdoc/generator/template/darkfish/images/find.png", "lib/rdoc/generator/template/darkfish/images/loadingAnimation.gif", "lib/rdoc/generator/template/darkfish/images/macFFBgHack.png", "lib/rdoc/generator/template/darkfish/images/package.png", "lib/rdoc/generator/template/darkfish/images/page_green.png", "lib/rdoc/generator/template/darkfish/images/page_white_text.png", "lib/rdoc/generator/template/darkfish/images/page_white_width.png", "lib/rdoc/generator/template/darkfish/images/plugin.png", "lib/rdoc/generator/template/darkfish/images/ruby.png", "lib/rdoc/generator/template/darkfish/images/tag_blue.png", "lib/rdoc/generator/template/darkfish/images/tag_green.png", "lib/rdoc/generator/template/darkfish/images/transparent.png", "lib/rdoc/generator/template/darkfish/images/wrench.png", "lib/rdoc/generator/template/darkfish/images/wrench_orange.png", "lib/rdoc/generator/template/darkfish/images/zoom.png", "lib/rdoc/generator/template/darkfish/index.rhtml", "lib/rdoc/generator/template/darkfish/js/darkfish.js", "lib/rdoc/generator/template/darkfish/js/jquery.js", "lib/rdoc/generator/template/darkfish/js/search.js", "lib/rdoc/generator/template/darkfish/page.rhtml", "lib/rdoc/generator/template/darkfish/servlet_not_found.rhtml", "lib/rdoc/generator/template/darkfish/servlet_root.rhtml", "lib/rdoc/generator/template/darkfish/table_of_contents.rhtml", "lib/rdoc/generator/template/json_index/.document", "lib/rdoc/generator/template/json_index/js/navigation.js", "lib/rdoc/generator/template/json_index/js/searcher.js", "lib/rdoc/ghost_method.rb", "lib/rdoc/i18n.rb", "lib/rdoc/i18n/locale.rb", "lib/rdoc/i18n/text.rb", "lib/rdoc/include.rb", "lib/rdoc/known_classes.rb", "lib/rdoc/markdown.kpeg", "lib/rdoc/markdown/entities.rb", "lib/rdoc/markdown/literals.kpeg", "lib/rdoc/markdown/literals.rb", "lib/rdoc/markup.rb", "lib/rdoc/markup/attr_changer.rb", "lib/rdoc/markup/attr_span.rb", "lib/rdoc/markup/attribute_manager.rb", "lib/rdoc/markup/attributes.rb", "lib/rdoc/markup/blank_line.rb", "lib/rdoc/markup/block_quote.rb", "lib/rdoc/markup/document.rb", "lib/rdoc/markup/formatter.rb", "lib/rdoc/markup/formatter_test_case.rb", "lib/rdoc/markup/hard_break.rb", "lib/rdoc/markup/heading.rb", "lib/rdoc/markup/include.rb", "lib/rdoc/markup/indented_paragraph.rb", "lib/rdoc/markup/inline.rb", "lib/rdoc/markup/list.rb", "lib/rdoc/markup/list_item.rb", "lib/rdoc/markup/paragraph.rb", "lib/rdoc/markup/parser.rb", "lib/rdoc/markup/pre_process.rb", "lib/rdoc/markup/raw.rb", "lib/rdoc/markup/rule.rb", "lib/rdoc/markup/special.rb", "lib/rdoc/markup/text_formatter_test_case.rb", "lib/rdoc/markup/to_ansi.rb", "lib/rdoc/markup/to_bs.rb", "lib/rdoc/markup/to_html.rb", "lib/rdoc/markup/to_html_crossref.rb", "lib/rdoc/markup/to_html_snippet.rb", "lib/rdoc/markup/to_joined_paragraph.rb", "lib/rdoc/markup/to_label.rb", "lib/rdoc/markup/to_markdown.rb", "lib/rdoc/markup/to_rdoc.rb", "lib/rdoc/markup/to_table_of_contents.rb", "lib/rdoc/markup/to_test.rb", "lib/rdoc/markup/to_tt_only.rb", "lib/rdoc/markup/verbatim.rb", "lib/rdoc/meta_method.rb", "lib/rdoc/method_attr.rb", "lib/rdoc/mixin.rb", "lib/rdoc/normal_class.rb", "lib/rdoc/normal_module.rb", "lib/rdoc/options.rb", "lib/rdoc/parser.rb", "lib/rdoc/parser/c.rb", "lib/rdoc/parser/changelog.rb", "lib/rdoc/parser/markdown.rb", "lib/rdoc/parser/rd.rb", "lib/rdoc/parser/ruby.rb", "lib/rdoc/parser/ruby_tools.rb", "lib/rdoc/parser/simple.rb", "lib/rdoc/parser/text.rb", "lib/rdoc/rd.rb", "lib/rdoc/rd/block_parser.ry", "lib/rdoc/rd/inline.rb", "lib/rdoc/rd/inline_parser.ry", "lib/rdoc/rdoc.rb", "lib/rdoc/require.rb", "lib/rdoc/ri.rb", "lib/rdoc/ri/driver.rb", "lib/rdoc/ri/formatter.rb", "lib/rdoc/ri/paths.rb", "lib/rdoc/ri/store.rb", "lib/rdoc/ri/task.rb", "lib/rdoc/ruby_lex.rb", "lib/rdoc/ruby_token.rb", "lib/rdoc/rubygems_hook.rb", "lib/rdoc/servlet.rb", "lib/rdoc/single_class.rb", "lib/rdoc/stats.rb", "lib/rdoc/stats/normal.rb", "lib/rdoc/stats/quiet.rb", "lib/rdoc/stats/verbose.rb", "lib/rdoc/store.rb", "lib/rdoc/task.rb", "lib/rdoc/test_case.rb", "lib/rdoc/text.rb", "lib/rdoc/token_stream.rb", "lib/rdoc/tom_doc.rb", "lib/rdoc/top_level.rb", "rdoc.gemspec"]
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
+ "man/ri.1",
54
+ "lib/rdoc.rb",
55
+ "lib/rdoc/alias.rb",
56
+ "lib/rdoc/anon_class.rb",
57
+ "lib/rdoc/any_method.rb",
58
+ "lib/rdoc/attr.rb",
59
+ "lib/rdoc/class_module.rb",
60
+ "lib/rdoc/code_object.rb",
61
+ "lib/rdoc/code_objects.rb",
62
+ "lib/rdoc/comment.rb",
63
+ "lib/rdoc/constant.rb",
64
+ "lib/rdoc/context.rb",
65
+ "lib/rdoc/context/section.rb",
66
+ "lib/rdoc/cross_reference.rb",
67
+ "lib/rdoc/encoding.rb",
68
+ "lib/rdoc/erb_partial.rb",
69
+ "lib/rdoc/erbio.rb",
70
+ "lib/rdoc/extend.rb",
71
+ "lib/rdoc/generator.rb",
72
+ "lib/rdoc/generator/darkfish.rb",
73
+ "lib/rdoc/generator/json_index.rb",
74
+ "lib/rdoc/generator/markup.rb",
75
+ "lib/rdoc/generator/pot.rb",
76
+ "lib/rdoc/generator/pot/message_extractor.rb",
77
+ "lib/rdoc/generator/pot/po.rb",
78
+ "lib/rdoc/generator/pot/po_entry.rb",
79
+ "lib/rdoc/generator/ri.rb",
80
+ "lib/rdoc/generator/template/darkfish/.document",
81
+ "lib/rdoc/generator/template/darkfish/_footer.rhtml",
82
+ "lib/rdoc/generator/template/darkfish/_head.rhtml",
83
+ "lib/rdoc/generator/template/darkfish/_sidebar_VCS_info.rhtml",
84
+ "lib/rdoc/generator/template/darkfish/_sidebar_classes.rhtml",
85
+ "lib/rdoc/generator/template/darkfish/_sidebar_extends.rhtml",
86
+ "lib/rdoc/generator/template/darkfish/_sidebar_in_files.rhtml",
87
+ "lib/rdoc/generator/template/darkfish/_sidebar_includes.rhtml",
88
+ "lib/rdoc/generator/template/darkfish/_sidebar_installed.rhtml",
89
+ "lib/rdoc/generator/template/darkfish/_sidebar_methods.rhtml",
90
+ "lib/rdoc/generator/template/darkfish/_sidebar_navigation.rhtml",
91
+ "lib/rdoc/generator/template/darkfish/_sidebar_pages.rhtml",
92
+ "lib/rdoc/generator/template/darkfish/_sidebar_parent.rhtml",
93
+ "lib/rdoc/generator/template/darkfish/_sidebar_search.rhtml",
94
+ "lib/rdoc/generator/template/darkfish/_sidebar_sections.rhtml",
95
+ "lib/rdoc/generator/template/darkfish/_sidebar_table_of_contents.rhtml",
96
+ "lib/rdoc/generator/template/darkfish/class.rhtml",
97
+ "lib/rdoc/generator/template/darkfish/css/fonts.css",
98
+ "lib/rdoc/generator/template/darkfish/css/rdoc.css",
99
+ "lib/rdoc/generator/template/darkfish/fonts/Lato-Light.ttf",
100
+ "lib/rdoc/generator/template/darkfish/fonts/Lato-LightItalic.ttf",
101
+ "lib/rdoc/generator/template/darkfish/fonts/Lato-Regular.ttf",
102
+ "lib/rdoc/generator/template/darkfish/fonts/Lato-RegularItalic.ttf",
103
+ "lib/rdoc/generator/template/darkfish/fonts/SourceCodePro-Bold.ttf",
104
+ "lib/rdoc/generator/template/darkfish/fonts/SourceCodePro-Regular.ttf",
105
+ "lib/rdoc/generator/template/darkfish/images/add.png",
106
+ "lib/rdoc/generator/template/darkfish/images/arrow_up.png",
107
+ "lib/rdoc/generator/template/darkfish/images/brick.png",
108
+ "lib/rdoc/generator/template/darkfish/images/brick_link.png",
109
+ "lib/rdoc/generator/template/darkfish/images/bug.png",
110
+ "lib/rdoc/generator/template/darkfish/images/bullet_black.png",
111
+ "lib/rdoc/generator/template/darkfish/images/bullet_toggle_minus.png",
112
+ "lib/rdoc/generator/template/darkfish/images/bullet_toggle_plus.png",
113
+ "lib/rdoc/generator/template/darkfish/images/date.png",
114
+ "lib/rdoc/generator/template/darkfish/images/delete.png",
115
+ "lib/rdoc/generator/template/darkfish/images/find.png",
116
+ "lib/rdoc/generator/template/darkfish/images/loadingAnimation.gif",
117
+ "lib/rdoc/generator/template/darkfish/images/macFFBgHack.png",
118
+ "lib/rdoc/generator/template/darkfish/images/package.png",
119
+ "lib/rdoc/generator/template/darkfish/images/page_green.png",
120
+ "lib/rdoc/generator/template/darkfish/images/page_white_text.png",
121
+ "lib/rdoc/generator/template/darkfish/images/page_white_width.png",
122
+ "lib/rdoc/generator/template/darkfish/images/plugin.png",
123
+ "lib/rdoc/generator/template/darkfish/images/ruby.png",
124
+ "lib/rdoc/generator/template/darkfish/images/tag_blue.png",
125
+ "lib/rdoc/generator/template/darkfish/images/tag_green.png",
126
+ "lib/rdoc/generator/template/darkfish/images/transparent.png",
127
+ "lib/rdoc/generator/template/darkfish/images/wrench.png",
128
+ "lib/rdoc/generator/template/darkfish/images/wrench_orange.png",
129
+ "lib/rdoc/generator/template/darkfish/images/zoom.png",
130
+ "lib/rdoc/generator/template/darkfish/index.rhtml",
131
+ "lib/rdoc/generator/template/darkfish/js/darkfish.js",
132
+ "lib/rdoc/generator/template/darkfish/js/search.js",
133
+ "lib/rdoc/generator/template/darkfish/page.rhtml",
134
+ "lib/rdoc/generator/template/darkfish/servlet_not_found.rhtml",
135
+ "lib/rdoc/generator/template/darkfish/servlet_root.rhtml",
136
+ "lib/rdoc/generator/template/darkfish/table_of_contents.rhtml",
137
+ "lib/rdoc/generator/template/json_index/.document",
138
+ "lib/rdoc/generator/template/json_index/js/navigation.js",
139
+ "lib/rdoc/generator/template/json_index/js/searcher.js",
140
+ "lib/rdoc/ghost_method.rb",
141
+ "lib/rdoc/i18n.rb",
142
+ "lib/rdoc/i18n/locale.rb",
143
+ "lib/rdoc/i18n/text.rb",
144
+ "lib/rdoc/include.rb",
145
+ "lib/rdoc/known_classes.rb",
146
+ "lib/rdoc/markdown.kpeg",
147
+ "lib/rdoc/markdown/entities.rb",
148
+ "lib/rdoc/markdown/literals.kpeg",
149
+ "lib/rdoc/markup.rb",
150
+ "lib/rdoc/markup/attr_changer.rb",
151
+ "lib/rdoc/markup/attr_span.rb",
152
+ "lib/rdoc/markup/attribute_manager.rb",
153
+ "lib/rdoc/markup/attributes.rb",
154
+ "lib/rdoc/markup/blank_line.rb",
155
+ "lib/rdoc/markup/block_quote.rb",
156
+ "lib/rdoc/markup/document.rb",
157
+ "lib/rdoc/markup/formatter.rb",
158
+ "lib/rdoc/markup/hard_break.rb",
159
+ "lib/rdoc/markup/heading.rb",
160
+ "lib/rdoc/markup/include.rb",
161
+ "lib/rdoc/markup/indented_paragraph.rb",
162
+ "lib/rdoc/markup/list.rb",
163
+ "lib/rdoc/markup/list_item.rb",
164
+ "lib/rdoc/markup/paragraph.rb",
165
+ "lib/rdoc/markup/parser.rb",
166
+ "lib/rdoc/markup/pre_process.rb",
167
+ "lib/rdoc/markup/raw.rb",
168
+ "lib/rdoc/markup/regexp_handling.rb",
169
+ "lib/rdoc/markup/rule.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
+ "rdoc.gemspec",
226
+ ]
32
227
  # files from .gitignore
33
- s.files << "lib/rdoc/rd/block_parser.rb" << "lib/rdoc/rd/inline_parser.rb" << "lib/rdoc/markdown.rb"
228
+ s.files << "lib/rdoc/rd/block_parser.rb" << "lib/rdoc/rd/inline_parser.rb" << "lib/rdoc/markdown.rb" << "lib/rdoc/markdown/literals.rb"
34
229
 
35
230
  s.rdoc_options = ["--main", "README.rdoc"]
36
231
  s.extra_rdoc_files += %w[
@@ -46,12 +241,8 @@ RDoc includes the +rdoc+ and +ri+ tools for generating and displaying documentat
46
241
  TODO.rdoc
47
242
  ]
48
243
 
49
- s.required_ruby_version = Gem::Requirement.new(">= 1.9.3")
50
- s.rubygems_version = "2.5.2"
244
+ s.required_ruby_version = Gem::Requirement.new(">= 2.4.0")
51
245
  s.required_rubygems_version = Gem::Requirement.new(">= 2.2")
52
246
 
53
- s.add_development_dependency("rake")
54
- s.add_development_dependency("racc", "> 1.4.10")
55
- s.add_development_dependency("kpeg")
56
- s.add_development_dependency("minitest", "~> 4")
247
+ s.add_development_dependency("gettext")
57
248
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rdoc
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.0.0
4
+ version: 6.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric Hodel
@@ -10,13 +10,14 @@ authors:
10
10
  - Tony Strauss
11
11
  - Zachary Scott
12
12
  - Hiroshi SHIBATA
13
- autorequire:
13
+ - ITOYANAGI Sakura
14
+ autorequire:
14
15
  bindir: exe
15
16
  cert_chain: []
16
- date: 2016-11-05 00:00:00.000000000 Z
17
+ date: 2021-05-02 00:00:00.000000000 Z
17
18
  dependencies:
18
19
  - !ruby/object:Gem::Dependency
19
- name: rake
20
+ name: gettext
20
21
  requirement: !ruby/object:Gem::Requirement
21
22
  requirements:
22
23
  - - ">="
@@ -29,48 +30,6 @@ dependencies:
29
30
  - - ">="
30
31
  - !ruby/object:Gem::Version
31
32
  version: '0'
32
- - !ruby/object:Gem::Dependency
33
- name: racc
34
- requirement: !ruby/object:Gem::Requirement
35
- requirements:
36
- - - ">"
37
- - !ruby/object:Gem::Version
38
- version: 1.4.10
39
- type: :development
40
- prerelease: false
41
- version_requirements: !ruby/object:Gem::Requirement
42
- requirements:
43
- - - ">"
44
- - !ruby/object:Gem::Version
45
- version: 1.4.10
46
- - !ruby/object:Gem::Dependency
47
- name: kpeg
48
- requirement: !ruby/object:Gem::Requirement
49
- requirements:
50
- - - ">="
51
- - !ruby/object:Gem::Version
52
- version: '0'
53
- type: :development
54
- prerelease: false
55
- version_requirements: !ruby/object:Gem::Requirement
56
- requirements:
57
- - - ">="
58
- - !ruby/object:Gem::Version
59
- version: '0'
60
- - !ruby/object:Gem::Dependency
61
- name: minitest
62
- requirement: !ruby/object:Gem::Requirement
63
- requirements:
64
- - - "~>"
65
- - !ruby/object:Gem::Version
66
- version: '4'
67
- type: :development
68
- prerelease: false
69
- version_requirements: !ruby/object:Gem::Requirement
70
- requirements:
71
- - - "~>"
72
- - !ruby/object:Gem::Version
73
- version: '4'
74
33
  description: |
75
34
  RDoc produces HTML and command-line documentation for Ruby projects.
76
35
  RDoc includes the +rdoc+ and +ri+ tools for generating and displaying documentation from the command-line.
@@ -81,6 +40,7 @@ email:
81
40
  - ''
82
41
  - mail@zzak.io
83
42
  - hsbt@ruby-lang.org
43
+ - aycabta@gmail.com
84
44
  executables:
85
45
  - rdoc
86
46
  - ri
@@ -97,9 +57,6 @@ extra_rdoc_files:
97
57
  - RI.rdoc
98
58
  - TODO.rdoc
99
59
  files:
100
- - ".document"
101
- - ".gitignore"
102
- - ".travis.yml"
103
60
  - CONTRIBUTING.rdoc
104
61
  - CVE-2013-0256.rdoc
105
62
  - ExampleMarkdown.md
@@ -116,7 +73,6 @@ files:
116
73
  - bin/setup
117
74
  - exe/rdoc
118
75
  - exe/ri
119
- - lib/gauntlet_rdoc.rb
120
76
  - lib/rdoc.rb
121
77
  - lib/rdoc/alias.rb
122
78
  - lib/rdoc/anon_class.rb
@@ -195,7 +151,6 @@ files:
195
151
  - lib/rdoc/generator/template/darkfish/images/zoom.png
196
152
  - lib/rdoc/generator/template/darkfish/index.rhtml
197
153
  - lib/rdoc/generator/template/darkfish/js/darkfish.js
198
- - lib/rdoc/generator/template/darkfish/js/jquery.js
199
154
  - lib/rdoc/generator/template/darkfish/js/search.js
200
155
  - lib/rdoc/generator/template/darkfish/page.rhtml
201
156
  - lib/rdoc/generator/template/darkfish/servlet_not_found.rhtml
@@ -224,21 +179,18 @@ files:
224
179
  - lib/rdoc/markup/block_quote.rb
225
180
  - lib/rdoc/markup/document.rb
226
181
  - lib/rdoc/markup/formatter.rb
227
- - lib/rdoc/markup/formatter_test_case.rb
228
182
  - lib/rdoc/markup/hard_break.rb
229
183
  - lib/rdoc/markup/heading.rb
230
184
  - lib/rdoc/markup/include.rb
231
185
  - lib/rdoc/markup/indented_paragraph.rb
232
- - lib/rdoc/markup/inline.rb
233
186
  - lib/rdoc/markup/list.rb
234
187
  - lib/rdoc/markup/list_item.rb
235
188
  - lib/rdoc/markup/paragraph.rb
236
189
  - lib/rdoc/markup/parser.rb
237
190
  - lib/rdoc/markup/pre_process.rb
238
191
  - lib/rdoc/markup/raw.rb
192
+ - lib/rdoc/markup/regexp_handling.rb
239
193
  - lib/rdoc/markup/rule.rb
240
- - lib/rdoc/markup/special.rb
241
- - lib/rdoc/markup/text_formatter_test_case.rb
242
194
  - lib/rdoc/markup/to_ansi.rb
243
195
  - lib/rdoc/markup/to_bs.rb
244
196
  - lib/rdoc/markup/to_html.rb
@@ -263,6 +215,7 @@ files:
263
215
  - lib/rdoc/parser/changelog.rb
264
216
  - lib/rdoc/parser/markdown.rb
265
217
  - lib/rdoc/parser/rd.rb
218
+ - lib/rdoc/parser/ripper_state_lex.rb
266
219
  - lib/rdoc/parser/ruby.rb
267
220
  - lib/rdoc/parser/ruby_tools.rb
268
221
  - lib/rdoc/parser/simple.rb
@@ -281,8 +234,6 @@ files:
281
234
  - lib/rdoc/ri/paths.rb
282
235
  - lib/rdoc/ri/store.rb
283
236
  - lib/rdoc/ri/task.rb
284
- - lib/rdoc/ruby_lex.rb
285
- - lib/rdoc/ruby_token.rb
286
237
  - lib/rdoc/rubygems_hook.rb
287
238
  - lib/rdoc/servlet.rb
288
239
  - lib/rdoc/single_class.rb
@@ -292,17 +243,18 @@ files:
292
243
  - lib/rdoc/stats/verbose.rb
293
244
  - lib/rdoc/store.rb
294
245
  - lib/rdoc/task.rb
295
- - lib/rdoc/test_case.rb
296
246
  - lib/rdoc/text.rb
297
247
  - lib/rdoc/token_stream.rb
298
248
  - lib/rdoc/tom_doc.rb
299
249
  - lib/rdoc/top_level.rb
250
+ - lib/rdoc/version.rb
251
+ - man/ri.1
300
252
  - rdoc.gemspec
301
- homepage: https://rdoc.github.io/rdoc
253
+ homepage: https://ruby.github.io/rdoc
302
254
  licenses:
303
255
  - Ruby
304
256
  metadata: {}
305
- post_install_message:
257
+ post_install_message:
306
258
  rdoc_options:
307
259
  - "--main"
308
260
  - README.rdoc
@@ -312,16 +264,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
312
264
  requirements:
313
265
  - - ">="
314
266
  - !ruby/object:Gem::Version
315
- version: 1.9.3
267
+ version: 2.4.0
316
268
  required_rubygems_version: !ruby/object:Gem::Requirement
317
269
  requirements:
318
270
  - - ">="
319
271
  - !ruby/object:Gem::Version
320
272
  version: '2.2'
321
273
  requirements: []
322
- rubyforge_project:
323
- rubygems_version: 2.6.8
324
- signing_key:
274
+ rubygems_version: 3.2.15
275
+ signing_key:
325
276
  specification_version: 4
326
277
  summary: RDoc produces HTML and command-line documentation for Ruby projects
327
278
  test_files: []
data/.document DELETED
@@ -1,5 +0,0 @@
1
- History.txt
2
- LICENSE.txt
3
- README.txt
4
- RI.txt
5
- lib
data/.gitignore DELETED
@@ -1,13 +0,0 @@
1
- *.rbc
2
- *.swp
3
- .DS_Store
4
- /.rdoc
5
- /.rvmrc
6
- /TAGS
7
- /html
8
- /lib/rdoc/rd/block_parser.rb
9
- /lib/rdoc/rd/inline_parser.rb
10
- /lib/rdoc/markdown.rb
11
- /pkg
12
- /tmp
13
- Gemfile.lock