rdoc 6.0.0.beta3 → 6.0.0.beta4

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 (121) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +1 -0
  3. data/.travis.yml +1 -1
  4. data/Rakefile +5 -2
  5. data/lib/rdoc.rb +2 -3
  6. data/lib/rdoc/alias.rb +1 -1
  7. data/lib/rdoc/anon_class.rb +1 -1
  8. data/lib/rdoc/any_method.rb +7 -7
  9. data/lib/rdoc/attr.rb +1 -1
  10. data/lib/rdoc/class_module.rb +4 -2
  11. data/lib/rdoc/code_object.rb +2 -2
  12. data/lib/rdoc/code_objects.rb +1 -1
  13. data/lib/rdoc/comment.rb +20 -10
  14. data/lib/rdoc/constant.rb +1 -1
  15. data/lib/rdoc/context.rb +3 -3
  16. data/lib/rdoc/context/section.rb +2 -2
  17. data/lib/rdoc/cross_reference.rb +1 -1
  18. data/lib/rdoc/encoding.rb +40 -18
  19. data/lib/rdoc/erb_partial.rb +1 -1
  20. data/lib/rdoc/erbio.rb +1 -1
  21. data/lib/rdoc/extend.rb +1 -1
  22. data/lib/rdoc/generator.rb +1 -1
  23. data/lib/rdoc/generator/darkfish.rb +48 -21
  24. data/lib/rdoc/generator/json_index.rb +2 -2
  25. data/lib/rdoc/generator/markup.rb +1 -1
  26. data/lib/rdoc/generator/pot.rb +1 -1
  27. data/lib/rdoc/generator/pot/message_extractor.rb +1 -1
  28. data/lib/rdoc/generator/pot/po.rb +3 -3
  29. data/lib/rdoc/generator/pot/po_entry.rb +11 -11
  30. data/lib/rdoc/generator/ri.rb +1 -1
  31. data/lib/rdoc/ghost_method.rb +1 -1
  32. data/lib/rdoc/i18n.rb +1 -1
  33. data/lib/rdoc/i18n/locale.rb +1 -1
  34. data/lib/rdoc/i18n/text.rb +5 -5
  35. data/lib/rdoc/include.rb +1 -1
  36. data/lib/rdoc/known_classes.rb +1 -1
  37. data/lib/rdoc/markdown.kpeg +71 -41
  38. data/lib/rdoc/markdown/entities.rb +1 -1
  39. data/lib/rdoc/markdown/literals.kpeg +1 -0
  40. data/lib/rdoc/markdown/literals.rb +18 -7
  41. data/lib/rdoc/markup.rb +1 -1
  42. data/lib/rdoc/markup/attr_changer.rb +1 -1
  43. data/lib/rdoc/markup/attr_span.rb +1 -1
  44. data/lib/rdoc/markup/attribute_manager.rb +2 -2
  45. data/lib/rdoc/markup/attributes.rb +1 -1
  46. data/lib/rdoc/markup/blank_line.rb +1 -1
  47. data/lib/rdoc/markup/block_quote.rb +1 -1
  48. data/lib/rdoc/markup/document.rb +1 -1
  49. data/lib/rdoc/markup/formatter.rb +1 -1
  50. data/lib/rdoc/markup/formatter_test_case.rb +1 -1
  51. data/lib/rdoc/markup/hard_break.rb +1 -1
  52. data/lib/rdoc/markup/heading.rb +1 -1
  53. data/lib/rdoc/markup/include.rb +1 -1
  54. data/lib/rdoc/markup/indented_paragraph.rb +1 -1
  55. data/lib/rdoc/markup/inline.rb +1 -1
  56. data/lib/rdoc/markup/list.rb +1 -1
  57. data/lib/rdoc/markup/list_item.rb +1 -1
  58. data/lib/rdoc/markup/paragraph.rb +1 -1
  59. data/lib/rdoc/markup/parser.rb +3 -3
  60. data/lib/rdoc/markup/pre_process.rb +9 -5
  61. data/lib/rdoc/markup/raw.rb +1 -1
  62. data/lib/rdoc/markup/rule.rb +1 -1
  63. data/lib/rdoc/markup/special.rb +1 -1
  64. data/lib/rdoc/markup/text_formatter_test_case.rb +1 -1
  65. data/lib/rdoc/markup/to_ansi.rb +1 -1
  66. data/lib/rdoc/markup/to_bs.rb +1 -1
  67. data/lib/rdoc/markup/to_html.rb +1 -1
  68. data/lib/rdoc/markup/to_html_crossref.rb +1 -1
  69. data/lib/rdoc/markup/to_html_snippet.rb +1 -1
  70. data/lib/rdoc/markup/to_joined_paragraph.rb +6 -32
  71. data/lib/rdoc/markup/to_label.rb +1 -1
  72. data/lib/rdoc/markup/to_markdown.rb +1 -1
  73. data/lib/rdoc/markup/to_rdoc.rb +1 -1
  74. data/lib/rdoc/markup/to_table_of_contents.rb +1 -1
  75. data/lib/rdoc/markup/to_test.rb +1 -1
  76. data/lib/rdoc/markup/to_tt_only.rb +1 -1
  77. data/lib/rdoc/markup/verbatim.rb +1 -1
  78. data/lib/rdoc/meta_method.rb +1 -1
  79. data/lib/rdoc/method_attr.rb +2 -2
  80. data/lib/rdoc/mixin.rb +1 -1
  81. data/lib/rdoc/normal_class.rb +3 -3
  82. data/lib/rdoc/normal_module.rb +1 -1
  83. data/lib/rdoc/options.rb +6 -6
  84. data/lib/rdoc/parser.rb +1 -1
  85. data/lib/rdoc/parser/c.rb +6 -6
  86. data/lib/rdoc/parser/changelog.rb +5 -5
  87. data/lib/rdoc/parser/markdown.rb +1 -1
  88. data/lib/rdoc/parser/rd.rb +1 -1
  89. data/lib/rdoc/parser/ripper_state_lex.rb +26 -8
  90. data/lib/rdoc/parser/ruby.rb +36 -42
  91. data/lib/rdoc/parser/ruby_tools.rb +2 -3
  92. data/lib/rdoc/parser/simple.rb +3 -3
  93. data/lib/rdoc/parser/text.rb +1 -1
  94. data/lib/rdoc/rd.rb +1 -1
  95. data/lib/rdoc/rd/block_parser.ry +2 -2
  96. data/lib/rdoc/rd/inline.rb +5 -5
  97. data/lib/rdoc/rd/inline_parser.ry +1 -1
  98. data/lib/rdoc/rdoc.rb +12 -7
  99. data/lib/rdoc/require.rb +1 -1
  100. data/lib/rdoc/ri.rb +1 -1
  101. data/lib/rdoc/ri/driver.rb +1 -1
  102. data/lib/rdoc/ri/formatter.rb +1 -1
  103. data/lib/rdoc/ri/paths.rb +1 -1
  104. data/lib/rdoc/ri/store.rb +1 -1
  105. data/lib/rdoc/ri/task.rb +1 -1
  106. data/lib/rdoc/rubygems_hook.rb +1 -1
  107. data/lib/rdoc/servlet.rb +2 -2
  108. data/lib/rdoc/single_class.rb +1 -1
  109. data/lib/rdoc/stats.rb +1 -1
  110. data/lib/rdoc/stats/normal.rb +2 -2
  111. data/lib/rdoc/stats/quiet.rb +1 -1
  112. data/lib/rdoc/stats/verbose.rb +1 -1
  113. data/lib/rdoc/store.rb +1 -1
  114. data/lib/rdoc/task.rb +1 -1
  115. data/lib/rdoc/test_case.rb +3 -4
  116. data/lib/rdoc/text.rb +7 -7
  117. data/lib/rdoc/token_stream.rb +15 -7
  118. data/lib/rdoc/tom_doc.rb +2 -2
  119. data/lib/rdoc/top_level.rb +1 -1
  120. data/rdoc.gemspec +3 -3
  121. metadata +3 -3
@@ -1,4 +1,4 @@
1
- # frozen_string_literal: false
1
+ # frozen_string_literal: true
2
2
  ##
3
3
  # Parse a non-source file. We basically take the whole thing as one big
4
4
  # comment.
@@ -19,7 +19,7 @@ class RDoc::Parser::Simple < RDoc::Parser
19
19
 
20
20
  preprocess = RDoc::Markup::PreProcess.new @file_name, @options.rdoc_include
21
21
 
22
- preprocess.handle @content, @top_level
22
+ @content = preprocess.handle @content, @top_level
23
23
  end
24
24
 
25
25
  ##
@@ -52,7 +52,7 @@ class RDoc::Parser::Simple < RDoc::Parser
52
52
  def remove_private_comment comment
53
53
  # Workaround for gsub encoding for Ruby 1.9.2 and earlier
54
54
  empty = ''
55
- empty.force_encoding comment.encoding
55
+ empty = RDoc::Encoding.change_encoding empty, comment.encoding
56
56
 
57
57
  comment = comment.gsub(%r%^--\n.*?^\+\+\n?%m, empty)
58
58
  comment.sub(%r%^--\n.*%m, empty)
@@ -1,4 +1,4 @@
1
- # frozen_string_literal: false
1
+ # frozen_string_literal: true
2
2
  ##
3
3
  # Indicates this parser is text and doesn't contain code constructs.
4
4
  #
@@ -1,4 +1,4 @@
1
- # frozen_string_literal: false
1
+ # frozen_string_literal: true
2
2
  ##
3
3
  # RDoc::RD implements the RD format from the rdtool gem.
4
4
  #
@@ -420,7 +420,7 @@ def next_token # :nodoc:
420
420
  if @in_verbatim
421
421
  [:STRINGLINE, line]
422
422
  else
423
- @indent_stack.push("\s" << newIndent)
423
+ @indent_stack.push("\s" + newIndent)
424
424
  [:ITEMLISTLINE, rest]
425
425
  end
426
426
  end
@@ -432,7 +432,7 @@ def next_token # :nodoc:
432
432
  if @in_verbatim
433
433
  [:STRINGLINE, line]
434
434
  else
435
- @indent_stack.push("\s" * mark.size << newIndent)
435
+ @indent_stack.push("\s" * mark.size + newIndent)
436
436
  [:ENUMLISTLINE, rest]
437
437
  end
438
438
  end
@@ -1,4 +1,4 @@
1
- # frozen_string_literal: false
1
+ # frozen_string_literal: true
2
2
  ##
3
3
  # Inline keeps track of markup and labels to create proper links.
4
4
 
@@ -50,11 +50,11 @@ class RDoc::RD::Inline
50
50
  def append more
51
51
  case more
52
52
  when String then
53
- @reference << more
54
- @rdoc << more
53
+ @reference += more
54
+ @rdoc += more
55
55
  when RDoc::RD::Inline then
56
- @reference << more.reference
57
- @rdoc << more.rdoc
56
+ @reference += more.reference
57
+ @rdoc += more.rdoc
58
58
  else
59
59
  raise "unknown thingy #{more}"
60
60
  end
@@ -436,7 +436,7 @@ end
436
436
  def parse inline
437
437
  @inline = inline
438
438
  @src = StringScanner.new inline
439
- @pre = ""
439
+ @pre = "".dup
440
440
  @yydebug = true
441
441
  do_parse.to_s
442
442
  end
@@ -1,4 +1,4 @@
1
- # frozen_string_literal: false
1
+ # frozen_string_literal: true
2
2
  require 'rdoc'
3
3
 
4
4
  require 'find'
@@ -521,13 +521,18 @@ The internal error was:
521
521
  # by the RDoc options
522
522
 
523
523
  def generate
524
- Dir.chdir @options.op_dir do
525
- unless @options.quiet then
526
- $stderr.puts "\nGenerating #{@generator.class.name.sub(/^.*::/, '')} format into #{Dir.pwd}..."
527
- end
528
-
524
+ if @options.dry_run then
525
+ # do nothing
529
526
  @generator.generate
530
- update_output_dir '.', @start_time, @last_modified
527
+ else
528
+ Dir.chdir @options.op_dir do
529
+ unless @options.quiet then
530
+ $stderr.puts "\nGenerating #{@generator.class.name.sub(/^.*::/, '')} format into #{Dir.pwd}..."
531
+ end
532
+
533
+ @generator.generate
534
+ update_output_dir '.', @start_time, @last_modified
535
+ end
531
536
  end
532
537
  end
533
538
 
@@ -1,4 +1,4 @@
1
- # frozen_string_literal: false
1
+ # frozen_string_literal: true
2
2
  ##
3
3
  # A file loaded by \#require
4
4
 
@@ -1,4 +1,4 @@
1
- # frozen_string_literal: false
1
+ # frozen_string_literal: true
2
2
  require 'rdoc'
3
3
 
4
4
  ##
@@ -1,4 +1,4 @@
1
- # frozen_string_literal: false
1
+ # frozen_string_literal: true
2
2
  require 'abbrev'
3
3
  require 'optparse'
4
4
 
@@ -1,4 +1,4 @@
1
- # frozen_string_literal: false
1
+ # frozen_string_literal: true
2
2
  ##
3
3
  # For RubyGems backwards compatibility
4
4
 
@@ -1,4 +1,4 @@
1
- # frozen_string_literal: false
1
+ # frozen_string_literal: true
2
2
  require 'rdoc/ri'
3
3
 
4
4
  ##
@@ -1,4 +1,4 @@
1
- # frozen_string_literal: false
1
+ # frozen_string_literal: true
2
2
  module RDoc::RI
3
3
 
4
4
  Store = RDoc::Store # :nodoc:
@@ -1,4 +1,4 @@
1
- # frozen_string_literal: false
1
+ # frozen_string_literal: true
2
2
  begin
3
3
  gem 'rdoc'
4
4
  rescue Gem::LoadError
@@ -1,4 +1,4 @@
1
- # frozen_string_literal: false
1
+ # frozen_string_literal: true
2
2
  require 'rubygems/user_interaction'
3
3
  require 'fileutils'
4
4
  require 'rdoc'
@@ -1,4 +1,4 @@
1
- # frozen_string_literal: false
1
+ # frozen_string_literal: true
2
2
  require 'rdoc'
3
3
  require 'time'
4
4
  require 'json'
@@ -111,7 +111,7 @@ class RDoc::Servlet < WEBrick::HTTPServlet::AbstractServlet
111
111
  # GET request entry point. Fills in +res+ for the path, etc. in +req+.
112
112
 
113
113
  def do_GET req, res
114
- req.path.sub!(/^#{Regexp.escape @mount_path}/o, '') if @mount_path
114
+ req.path = req.path.sub(/^#{Regexp.escape @mount_path}/o, '') if @mount_path
115
115
 
116
116
  case req.path
117
117
  when '/' then
@@ -1,4 +1,4 @@
1
- # frozen_string_literal: false
1
+ # frozen_string_literal: true
2
2
  ##
3
3
  # A singleton class
4
4
 
@@ -1,4 +1,4 @@
1
- # frozen_string_literal: false
1
+ # frozen_string_literal: true
2
2
  ##
3
3
  # RDoc statistics collector which prints a summary and report of a project's
4
4
  # documentation totals.
@@ -1,4 +1,4 @@
1
- # frozen_string_literal: false
1
+ # frozen_string_literal: true
2
2
  begin
3
3
  require 'io/console/size'
4
4
  rescue LoadError
@@ -42,7 +42,7 @@ class RDoc::Stats::Normal < RDoc::Stats::Quiet
42
42
  if $stdout.tty?
43
43
  # Clean the line with whitespaces so that leftover output from the
44
44
  # previous line doesn't show up.
45
- $stdout.print("\r" << (" " * @last_width) << ("\b" * @last_width) << "\r") if @last_width && @last_width > 0
45
+ $stdout.print("\r" + (" " * @last_width) + ("\b" * @last_width) + "\r") if @last_width && @last_width > 0
46
46
  @last_width = line.size
47
47
  $stdout.print("#{line}\r")
48
48
  else
@@ -1,4 +1,4 @@
1
- # frozen_string_literal: false
1
+ # frozen_string_literal: true
2
2
  ##
3
3
  # Stats printer that prints nothing
4
4
 
@@ -1,4 +1,4 @@
1
- # frozen_string_literal: false
1
+ # frozen_string_literal: true
2
2
  ##
3
3
  # Stats printer that prints everything documented, including the documented
4
4
  # status
@@ -1,4 +1,4 @@
1
- # frozen_string_literal: false
1
+ # frozen_string_literal: true
2
2
  require 'fileutils'
3
3
 
4
4
  ##
@@ -1,4 +1,4 @@
1
- # frozen_string_literal: false
1
+ # frozen_string_literal: true
2
2
  #--
3
3
  # Copyright (c) 2003, 2004 Jim Weirich, 2009 Eric Hodel
4
4
  #
@@ -1,4 +1,4 @@
1
- # frozen_string_literal: false
1
+ # frozen_string_literal: true
2
2
  begin
3
3
  gem 'minitest', '~> 4.0' unless defined?(Test::Unit)
4
4
  rescue NoMethodError, Gem::LoadError
@@ -139,9 +139,8 @@ class RDoc::TestCase < MiniTest::Unit::TestCase
139
139
  # Enables pretty-print output
140
140
 
141
141
  def mu_pp obj # :nodoc:
142
- s = ''
143
- s = PP.pp obj, s
144
- s = s.force_encoding Encoding.default_external
142
+ s = obj.pretty_inspect
143
+ s = RDoc::Encoding.change_encoding s, Encoding.default_external
145
144
  s.chomp
146
145
  end
147
146
 
@@ -1,4 +1,4 @@
1
- # frozen_string_literal: false
1
+ # frozen_string_literal: true
2
2
 
3
3
  ##
4
4
  # For RDoc::Text#to_html
@@ -60,7 +60,7 @@ module RDoc::Text
60
60
  text.each_line do |line|
61
61
  nil while line.gsub!(/(?:\G|\r)((?:.{8})*?)([^\t\r\n]{0,7})\t/) do
62
62
  r = "#{$1}#{$2}#{' ' * (8 - $2.size)}"
63
- r.force_encoding text.encoding
63
+ r = RDoc::Encoding.change_encoding r, text.encoding
64
64
  r
65
65
  end
66
66
 
@@ -82,7 +82,7 @@ module RDoc::Text
82
82
  end
83
83
 
84
84
  empty = ''
85
- empty.force_encoding text.encoding
85
+ empty = RDoc::Encoding.change_encoding empty, text.encoding
86
86
 
87
87
  text.gsub(/^ {0,#{indent}}/, empty)
88
88
  end
@@ -149,7 +149,7 @@ module RDoc::Text
149
149
  return text if text =~ /^(?>\s*)[^\#]/
150
150
 
151
151
  empty = ''
152
- empty.force_encoding text.encoding
152
+ empty = RDoc::Encoding.change_encoding empty, text.encoding
153
153
 
154
154
  text.gsub(/^\s*(#+)/) { $1.tr '#', ' ' }.gsub(/^\s+$/, empty)
155
155
  end
@@ -172,14 +172,14 @@ module RDoc::Text
172
172
  text = text.gsub %r%Document-method:\s+[\w:.#=!?]+%, ''
173
173
 
174
174
  space = ' '
175
- space.force_encoding encoding if encoding
175
+ space = RDoc::Encoding.change_encoding space, encoding if encoding
176
176
 
177
177
  text.sub! %r%/\*+% do space * $&.length end
178
178
  text.sub! %r%\*+/% do space * $&.length end
179
179
  text.gsub! %r%^[ \t]*\*%m do space * $&.length end
180
180
 
181
181
  empty = ''
182
- empty.force_encoding encoding if encoding
182
+ empty = RDoc::Encoding.change_encoding empty, encoding if encoding
183
183
  text.gsub(/^\s+$/, empty)
184
184
  end
185
185
 
@@ -188,7 +188,7 @@ module RDoc::Text
188
188
  # trademark symbols in +text+ to properly encoded characters.
189
189
 
190
190
  def to_html text
191
- html = ''.encode text.encoding
191
+ html = (''.encode text.encoding).dup
192
192
 
193
193
  encoded = RDoc::Text::TO_HTML_CHARACTERS[text.encoding]
194
194
 
@@ -1,4 +1,4 @@
1
- # frozen_string_literal: false
1
+ # frozen_string_literal: true
2
2
  ##
3
3
  # A TokenStream is a list of tokens, gathered during the parse of some entity
4
4
  # (say a method). Entities populate these streams by being registered with the
@@ -14,6 +14,8 @@ module RDoc::TokenStream
14
14
  # with the given class names. Other token types are not wrapped in spans.
15
15
 
16
16
  def self.to_html token_stream
17
+ starting_title = false
18
+
17
19
  token_stream.map do |t|
18
20
  next unless t
19
21
 
@@ -23,12 +25,8 @@ module RDoc::TokenStream
23
25
  when :on_ivar then 'ruby-ivar'
24
26
  when :on_cvar then 'ruby-identifier'
25
27
  when :on_gvar then 'ruby-identifier'
26
- when '=' != t[:text] && :on_op then
27
- if RDoc::RipperStateLex::EXPR_ARG == t[:state] then
28
- 'ruby-identifier'
29
- else
30
- 'ruby-operator'
31
- end
28
+ when '=' != t[:text] && :on_op
29
+ then 'ruby-operator'
32
30
  when :on_tlambda then 'ruby-operator'
33
31
  when :on_ident then 'ruby-identifier'
34
32
  when :on_label then 'ruby-value'
@@ -53,6 +51,16 @@ module RDoc::TokenStream
53
51
  else
54
52
  text = t[:text]
55
53
  end
54
+
55
+ if :on_ident == t[:kind] && starting_title
56
+ starting_title = false
57
+ style = 'ruby-identifier ruby-title'
58
+ end
59
+
60
+ if :on_kw == t[:kind] and 'def' == t[:text]
61
+ starting_title = true
62
+ end
63
+
56
64
  text = CGI.escapeHTML text
57
65
 
58
66
  if style then
@@ -1,4 +1,4 @@
1
- # frozen_string_literal: false
1
+ # frozen_string_literal: true
2
2
  # :markup: tomdoc
3
3
 
4
4
  # A parser for TomDoc based on TomDoc 1.0.0-rc1 (02adef9b5a)
@@ -222,7 +222,7 @@ class RDoc::TomDoc < RDoc::Markup::Parser
222
222
  # Returns self.
223
223
 
224
224
  def tokenize text
225
- text.sub!(/\A(Public|Internal|Deprecated):\s+/, '')
225
+ text = text.sub(/\A(Public|Internal|Deprecated):\s+/, '')
226
226
 
227
227
  setup_scanner text
228
228
 
@@ -1,4 +1,4 @@
1
- # frozen_string_literal: false
1
+ # frozen_string_literal: true
2
2
  ##
3
3
  # A TopLevel context is a representation of the contents of a single file
4
4
 
@@ -8,7 +8,7 @@ end
8
8
  Gem::Specification.new do |s|
9
9
  s.name = "rdoc"
10
10
  s.version = RDoc::VERSION
11
- s.date = "2017-10-10"
11
+ s.date = "2017-11-27"
12
12
 
13
13
  s.authors = [
14
14
  "Eric Hodel",
@@ -33,9 +33,9 @@ RDoc includes the +rdoc+ and +ri+ tools for generating and displaying documentat
33
33
  s.executables = ["rdoc", "ri"]
34
34
  s.require_paths = ["lib"]
35
35
  # for ruby core repository. It was generated by `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
36
- 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", "appveyor.yml", "bin/console", "bin/setup", "exe/rdoc", "exe/ri", "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/ripper_state_lex.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/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"]
36
+ 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", "appveyor.yml", "bin/console", "bin/setup", "exe/rdoc", "exe/ri", "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/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/ripper_state_lex.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/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"]
37
37
  # files from .gitignore
38
- s.files << "lib/rdoc/rd/block_parser.rb" << "lib/rdoc/rd/inline_parser.rb" << "lib/rdoc/markdown.rb"
38
+ s.files << "lib/rdoc/rd/block_parser.rb" << "lib/rdoc/rd/inline_parser.rb" << "lib/rdoc/markdown.rb" << "lib/rdoc/markdown/literals.rb"
39
39
 
40
40
  s.rdoc_options = ["--main", "README.rdoc"]
41
41
  s.extra_rdoc_files += %w[
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: 6.0.0.beta3
4
+ version: 6.0.0.beta4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric Hodel
@@ -14,7 +14,7 @@ authors:
14
14
  autorequire:
15
15
  bindir: exe
16
16
  cert_chain: []
17
- date: 2017-10-10 00:00:00.000000000 Z
17
+ date: 2017-11-27 00:00:00.000000000 Z
18
18
  dependencies:
19
19
  - !ruby/object:Gem::Dependency
20
20
  name: rake
@@ -335,7 +335,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
335
335
  version: '2.2'
336
336
  requirements: []
337
337
  rubyforge_project:
338
- rubygems_version: 2.6.13
338
+ rubygems_version: 2.7.2
339
339
  signing_key:
340
340
  specification_version: 4
341
341
  summary: RDoc produces HTML and command-line documentation for Ruby projects