rdoc 6.4.1.1 → 6.5.0
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.
- checksums.yaml +4 -4
- data/CONTRIBUTING.rdoc +1 -2
- data/LEGAL.rdoc +1 -1
- data/exe/rdoc +0 -1
- data/lib/rdoc/any_method.rb +2 -2
- data/lib/rdoc/code_objects.rb +1 -2
- data/lib/rdoc/context/section.rb +2 -0
- data/lib/rdoc/context.rb +1 -3
- data/lib/rdoc/cross_reference.rb +17 -1
- data/lib/rdoc/generator/markup.rb +1 -1
- data/lib/rdoc/generator/template/darkfish/_head.rhtml +10 -10
- data/lib/rdoc/generator/template/darkfish/_sidebar_classes.rhtml +27 -3
- data/lib/rdoc/generator/template/darkfish/_sidebar_pages.rhtml +22 -2
- data/lib/rdoc/generator/template/darkfish/_sidebar_table_of_contents.rhtml +25 -4
- data/lib/rdoc/generator/template/darkfish/class.rhtml +22 -20
- data/lib/rdoc/generator/template/darkfish/css/rdoc.css +24 -1
- data/lib/rdoc/generator/template/darkfish/index.rhtml +1 -1
- data/lib/rdoc/generator/template/darkfish/js/darkfish.js +1 -1
- data/lib/rdoc/generator/template/darkfish/js/search.js +1 -1
- data/lib/rdoc/generator/template/darkfish/table_of_contents.rhtml +2 -2
- data/lib/rdoc/generator.rb +5 -5
- data/lib/rdoc/i18n.rb +1 -1
- data/lib/rdoc/known_classes.rb +5 -4
- data/lib/rdoc/markdown/literals.rb +43 -66
- data/lib/rdoc/markdown.kpeg +25 -18
- data/lib/rdoc/markdown.rb +252 -194
- data/lib/rdoc/markup/attribute_manager.rb +29 -35
- data/lib/rdoc/markup/parser.rb +12 -6
- data/lib/rdoc/markup/to_html.rb +18 -14
- data/lib/rdoc/markup/to_label.rb +1 -1
- data/lib/rdoc/markup/to_rdoc.rb +3 -20
- data/lib/rdoc/markup.rb +35 -667
- data/lib/rdoc/method_attr.rb +1 -1
- data/lib/rdoc/normal_class.rb +1 -1
- data/lib/rdoc/normal_module.rb +1 -1
- data/lib/rdoc/options.rb +33 -18
- data/lib/rdoc/parser/c.rb +89 -101
- data/lib/rdoc/parser/ruby.rb +25 -10
- data/lib/rdoc/parser.rb +19 -2
- data/lib/rdoc/rd/block_parser.rb +14 -12
- data/lib/rdoc/rd/block_parser.ry +12 -8
- data/lib/rdoc/rd/inline_parser.rb +2 -4
- data/lib/rdoc/rd.rb +3 -4
- data/lib/rdoc/rdoc.rb +17 -3
- data/lib/rdoc/ri/driver.rb +11 -78
- data/lib/rdoc/ri.rb +4 -5
- data/lib/rdoc/rubygems_hook.rb +1 -1
- data/lib/rdoc/servlet.rb +1 -1
- data/lib/rdoc/single_class.rb +5 -0
- data/lib/rdoc/stats.rb +3 -4
- data/lib/rdoc/store.rb +19 -26
- data/lib/rdoc/task.rb +3 -3
- data/lib/rdoc/version.rb +3 -1
- data/lib/rdoc.rb +46 -46
- metadata +7 -9
- data/Gemfile +0 -12
- data/Rakefile +0 -107
- data/bin/console +0 -7
- data/bin/setup +0 -6
- data/rdoc.gemspec +0 -249
@@ -1,8 +1,8 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
#
|
3
3
|
# DO NOT MODIFY!!!!
|
4
|
-
# This file is automatically generated by Racc 1.
|
5
|
-
# from Racc grammar file "
|
4
|
+
# This file is automatically generated by Racc 1.6.0
|
5
|
+
# from Racc grammar file "".
|
6
6
|
#
|
7
7
|
|
8
8
|
require 'racc/parser.rb'
|
@@ -652,7 +652,6 @@ Racc_arg = [
|
|
652
652
|
racc_shift_n,
|
653
653
|
racc_reduce_n,
|
654
654
|
racc_use_result_var ]
|
655
|
-
Ractor.make_shareable(Racc_arg) if defined?(Ractor)
|
656
655
|
|
657
656
|
Racc_token_to_s_table = [
|
658
657
|
"$end",
|
@@ -724,7 +723,6 @@ Racc_token_to_s_table = [
|
|
724
723
|
"normal_strings",
|
725
724
|
"verb_string",
|
726
725
|
"verb_normal_string" ]
|
727
|
-
Ractor.make_shareable(Racc_token_to_s_table) if defined?(Ractor)
|
728
726
|
|
729
727
|
Racc_debug_parser = false
|
730
728
|
|
data/lib/rdoc/rd.rb
CHANGED
@@ -92,9 +92,8 @@ class RDoc::RD
|
|
92
92
|
document
|
93
93
|
end
|
94
94
|
|
95
|
-
autoload :BlockParser,
|
96
|
-
autoload :InlineParser,
|
97
|
-
autoload :Inline,
|
95
|
+
autoload :BlockParser, "#{__dir__}/rd/block_parser"
|
96
|
+
autoload :InlineParser, "#{__dir__}/rd/inline_parser"
|
97
|
+
autoload :Inline, "#{__dir__}/rd/inline"
|
98
98
|
|
99
99
|
end
|
100
|
-
|
data/lib/rdoc/rdoc.rb
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
|
-
|
2
|
+
require_relative '../rdoc'
|
3
3
|
|
4
4
|
require 'find'
|
5
5
|
require 'fileutils'
|
@@ -35,6 +35,17 @@ class RDoc::RDoc
|
|
35
35
|
|
36
36
|
GENERATORS = {}
|
37
37
|
|
38
|
+
##
|
39
|
+
# List of directory names always skipped
|
40
|
+
|
41
|
+
UNCONDITIONALLY_SKIPPED_DIRECTORIES = %w[CVS .svn .git].freeze
|
42
|
+
|
43
|
+
##
|
44
|
+
# List of directory names skipped if test suites should be skipped
|
45
|
+
|
46
|
+
TEST_SUITE_DIRECTORY_NAMES = %w[spec test].freeze
|
47
|
+
|
48
|
+
|
38
49
|
##
|
39
50
|
# Generator instance used for creating output
|
40
51
|
|
@@ -280,7 +291,10 @@ option)
|
|
280
291
|
file_list[rel_file_name] = mtime
|
281
292
|
end
|
282
293
|
when "directory" then
|
283
|
-
next if rel_file_name
|
294
|
+
next if UNCONDITIONALLY_SKIPPED_DIRECTORIES.include?(rel_file_name)
|
295
|
+
|
296
|
+
basename = File.basename(rel_file_name)
|
297
|
+
next if options.skip_tests && TEST_SUITE_DIRECTORY_NAMES.include?(basename)
|
284
298
|
|
285
299
|
created_rid = File.join rel_file_name, "created.rid"
|
286
300
|
next if File.file? created_rid
|
@@ -440,11 +454,11 @@ The internal error was:
|
|
440
454
|
|
441
455
|
if RDoc::Options === options then
|
442
456
|
@options = options
|
443
|
-
@options.finish
|
444
457
|
else
|
445
458
|
@options = RDoc::Options.load_options
|
446
459
|
@options.parse options
|
447
460
|
end
|
461
|
+
@options.finish
|
448
462
|
|
449
463
|
if @options.pipe then
|
450
464
|
handle_pipe
|
data/lib/rdoc/ri/driver.rb
CHANGED
@@ -1,23 +1,10 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
|
-
require 'abbrev'
|
3
2
|
require 'optparse'
|
4
3
|
|
5
|
-
|
6
|
-
require 'readline'
|
7
|
-
rescue LoadError
|
8
|
-
end
|
9
|
-
|
10
|
-
begin
|
11
|
-
require 'win32console'
|
12
|
-
rescue LoadError
|
13
|
-
end
|
14
|
-
|
15
|
-
require 'rdoc'
|
16
|
-
|
17
|
-
##
|
18
|
-
# For RubyGems backwards compatibility
|
4
|
+
require_relative '../../rdoc'
|
19
5
|
|
20
|
-
require_relative 'formatter'
|
6
|
+
require_relative 'formatter' # For RubyGems backwards compatibility
|
7
|
+
# TODO: Fix weird documentation with `require_relative`
|
21
8
|
|
22
9
|
##
|
23
10
|
# The RI driver implements the command-line ri tool.
|
@@ -433,9 +420,6 @@ or the PAGER environment variable.
|
|
433
420
|
@use_stdout = options[:use_stdout]
|
434
421
|
@show_all = options[:show_all]
|
435
422
|
@width = options[:width]
|
436
|
-
|
437
|
-
# pager process for jruby
|
438
|
-
@jruby_pager_process = nil
|
439
423
|
end
|
440
424
|
|
441
425
|
##
|
@@ -1051,36 +1035,6 @@ or the PAGER environment variable.
|
|
1051
1035
|
self
|
1052
1036
|
end
|
1053
1037
|
|
1054
|
-
##
|
1055
|
-
# Finds the given +pager+ for jruby. Returns an IO if +pager+ was found.
|
1056
|
-
#
|
1057
|
-
# Returns false if +pager+ does not exist.
|
1058
|
-
#
|
1059
|
-
# Returns nil if the jruby JVM doesn't support ProcessBuilder redirection
|
1060
|
-
# (1.6 and older).
|
1061
|
-
|
1062
|
-
def find_pager_jruby pager
|
1063
|
-
require 'java'
|
1064
|
-
require 'shellwords'
|
1065
|
-
|
1066
|
-
return nil unless java.lang.ProcessBuilder.constants.include? :Redirect
|
1067
|
-
|
1068
|
-
pager = Shellwords.split pager
|
1069
|
-
|
1070
|
-
pb = java.lang.ProcessBuilder.new(*pager)
|
1071
|
-
pb = pb.redirect_output java.lang.ProcessBuilder::Redirect::INHERIT
|
1072
|
-
|
1073
|
-
@jruby_pager_process = pb.start
|
1074
|
-
|
1075
|
-
input = @jruby_pager_process.output_stream
|
1076
|
-
|
1077
|
-
io = input.to_io
|
1078
|
-
io.sync = true
|
1079
|
-
io
|
1080
|
-
rescue java.io.IOException
|
1081
|
-
false
|
1082
|
-
end
|
1083
|
-
|
1084
1038
|
##
|
1085
1039
|
# Finds a store that matches +name+ which can be the name of a gem, "ruby",
|
1086
1040
|
# "home" or "site".
|
@@ -1120,6 +1074,10 @@ or the PAGER environment variable.
|
|
1120
1074
|
def interactive
|
1121
1075
|
puts "\nEnter the method name you want to look up."
|
1122
1076
|
|
1077
|
+
begin
|
1078
|
+
require 'readline'
|
1079
|
+
rescue LoadError
|
1080
|
+
end
|
1123
1081
|
if defined? Readline then
|
1124
1082
|
Readline.completion_proc = method :complete
|
1125
1083
|
puts "You can use tab to autocomplete."
|
@@ -1148,17 +1106,6 @@ or the PAGER environment variable.
|
|
1148
1106
|
exit
|
1149
1107
|
end
|
1150
1108
|
|
1151
|
-
##
|
1152
|
-
# Is +file+ in ENV['PATH']?
|
1153
|
-
|
1154
|
-
def in_path? file
|
1155
|
-
return true if file =~ %r%\A/% and File.exist? file
|
1156
|
-
|
1157
|
-
ENV['PATH'].split(File::PATH_SEPARATOR).any? do |path|
|
1158
|
-
File.exist? File.join(path, file)
|
1159
|
-
end
|
1160
|
-
end
|
1161
|
-
|
1162
1109
|
##
|
1163
1110
|
# Lists classes known to ri starting with +names+. If +names+ is empty all
|
1164
1111
|
# known classes are shown.
|
@@ -1353,7 +1300,6 @@ or the PAGER environment variable.
|
|
1353
1300
|
yield pager
|
1354
1301
|
ensure
|
1355
1302
|
pager.close
|
1356
|
-
@jruby_pager_process.wait_for if @jruby_pager_process
|
1357
1303
|
end
|
1358
1304
|
else
|
1359
1305
|
yield $stdout
|
@@ -1521,27 +1467,14 @@ or the PAGER environment variable.
|
|
1521
1467
|
def setup_pager
|
1522
1468
|
return if @use_stdout
|
1523
1469
|
|
1524
|
-
jruby = RUBY_ENGINE == 'jruby'
|
1525
|
-
|
1526
1470
|
pagers = [ENV['RI_PAGER'], ENV['PAGER'], 'pager', 'less', 'more']
|
1527
1471
|
|
1472
|
+
require 'shellwords'
|
1528
1473
|
pagers.compact.uniq.each do |pager|
|
1529
|
-
|
1530
|
-
|
1531
|
-
pager_cmd = pager.split(' ').first
|
1532
|
-
|
1533
|
-
next unless in_path? pager_cmd
|
1534
|
-
|
1535
|
-
if jruby then
|
1536
|
-
case io = find_pager_jruby(pager)
|
1537
|
-
when nil then break
|
1538
|
-
when false then next
|
1539
|
-
else io
|
1540
|
-
end
|
1541
|
-
else
|
1542
|
-
io = IO.popen(pager, 'w') rescue next
|
1543
|
-
end
|
1474
|
+
pager = Shellwords.split(pager)
|
1475
|
+
next if pager.empty?
|
1544
1476
|
|
1477
|
+
io = IO.popen(pager, 'w') rescue next
|
1545
1478
|
next if $? and $?.pid == io.pid and $?.exited? # pager didn't work
|
1546
1479
|
|
1547
1480
|
@paging = true
|
data/lib/rdoc/ri.rb
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
|
-
|
2
|
+
require_relative '../rdoc'
|
3
3
|
|
4
4
|
##
|
5
5
|
# Namespace for the ri command line tool's implementation.
|
@@ -13,9 +13,8 @@ module RDoc::RI
|
|
13
13
|
|
14
14
|
class Error < RDoc::Error; end
|
15
15
|
|
16
|
-
autoload :Driver,
|
17
|
-
autoload :Paths,
|
18
|
-
autoload :Store,
|
16
|
+
autoload :Driver, "#{__dir__}/ri/driver"
|
17
|
+
autoload :Paths, "#{__dir__}/ri/paths"
|
18
|
+
autoload :Store, "#{__dir__}/ri/store"
|
19
19
|
|
20
20
|
end
|
21
|
-
|
data/lib/rdoc/rubygems_hook.rb
CHANGED
data/lib/rdoc/servlet.rb
CHANGED
data/lib/rdoc/single_class.rb
CHANGED
data/lib/rdoc/stats.rb
CHANGED
@@ -454,9 +454,8 @@ class RDoc::Stats
|
|
454
454
|
[params.length, undoc]
|
455
455
|
end
|
456
456
|
|
457
|
-
autoload :Quiet,
|
458
|
-
autoload :Normal,
|
459
|
-
autoload :Verbose,
|
457
|
+
autoload :Quiet, "#{__dir__}/stats/quiet"
|
458
|
+
autoload :Normal, "#{__dir__}/stats/normal"
|
459
|
+
autoload :Verbose, "#{__dir__}/stats/verbose"
|
460
460
|
|
461
461
|
end
|
462
|
-
|
data/lib/rdoc/store.rb
CHANGED
@@ -556,7 +556,9 @@ class RDoc::Store
|
|
556
556
|
def load_cache
|
557
557
|
#orig_enc = @encoding
|
558
558
|
|
559
|
-
|
559
|
+
File.open cache_path, 'rb' do |io|
|
560
|
+
@cache = Marshal.load io
|
561
|
+
end
|
560
562
|
|
561
563
|
load_enc = @cache[:encoding]
|
562
564
|
|
@@ -613,7 +615,9 @@ class RDoc::Store
|
|
613
615
|
def load_class_data klass_name
|
614
616
|
file = class_file klass_name
|
615
617
|
|
616
|
-
|
618
|
+
File.open file, 'rb' do |io|
|
619
|
+
Marshal.load io
|
620
|
+
end
|
617
621
|
rescue Errno::ENOENT => e
|
618
622
|
error = MissingFileError.new(self, file, klass_name)
|
619
623
|
error.set_backtrace e.backtrace
|
@@ -626,10 +630,14 @@ class RDoc::Store
|
|
626
630
|
def load_method klass_name, method_name
|
627
631
|
file = method_file klass_name, method_name
|
628
632
|
|
629
|
-
|
630
|
-
|
631
|
-
|
632
|
-
|
633
|
+
File.open file, 'rb' do |io|
|
634
|
+
obj = Marshal.load io
|
635
|
+
obj.store = self
|
636
|
+
obj.parent =
|
637
|
+
find_class_or_module(klass_name) || load_class(klass_name) unless
|
638
|
+
obj.parent
|
639
|
+
obj
|
640
|
+
end
|
633
641
|
rescue Errno::ENOENT => e
|
634
642
|
error = MissingFileError.new(self, file, klass_name + method_name)
|
635
643
|
error.set_backtrace e.backtrace
|
@@ -642,9 +650,11 @@ class RDoc::Store
|
|
642
650
|
def load_page page_name
|
643
651
|
file = page_file page_name
|
644
652
|
|
645
|
-
|
646
|
-
|
647
|
-
|
653
|
+
File.open file, 'rb' do |io|
|
654
|
+
obj = Marshal.load io
|
655
|
+
obj.store = self
|
656
|
+
obj
|
657
|
+
end
|
648
658
|
rescue Errno::ENOENT => e
|
649
659
|
error = MissingFileError.new(self, file, page_name)
|
650
660
|
error.set_backtrace e.backtrace
|
@@ -966,21 +976,4 @@ class RDoc::Store
|
|
966
976
|
@unique_modules
|
967
977
|
end
|
968
978
|
|
969
|
-
private
|
970
|
-
def marshal_load(file)
|
971
|
-
File.open(file, 'rb') {|io| Marshal.load(io, MarshalFilter)}
|
972
|
-
end
|
973
|
-
|
974
|
-
MarshalFilter = proc do |obj|
|
975
|
-
case obj
|
976
|
-
when true, false, nil, Array, Class, Encoding, Hash, Integer, String, Symbol, RDoc::Text
|
977
|
-
else
|
978
|
-
unless obj.class.name.start_with?("RDoc::")
|
979
|
-
raise TypeError, "not permitted class: #{obj.class.name}"
|
980
|
-
end
|
981
|
-
end
|
982
|
-
obj
|
983
|
-
end
|
984
|
-
private_constant :MarshalFilter
|
985
|
-
|
986
979
|
end
|
data/lib/rdoc/task.rb
CHANGED
@@ -32,7 +32,7 @@ begin
|
|
32
32
|
rescue Gem::LoadError
|
33
33
|
end unless defined?(Rake)
|
34
34
|
|
35
|
-
|
35
|
+
require_relative '../rdoc'
|
36
36
|
require 'rake'
|
37
37
|
require 'rake/tasklib'
|
38
38
|
|
@@ -71,7 +71,7 @@ require 'rake/tasklib'
|
|
71
71
|
# require 'rdoc/task'
|
72
72
|
#
|
73
73
|
# RDoc::Task.new :rdoc_dev do |rdoc|
|
74
|
-
# rdoc.main = "README.
|
74
|
+
# rdoc.main = "README.rdoc"
|
75
75
|
# rdoc.rdoc_files.include("README.rdoc", "lib/**/*.rb")
|
76
76
|
# rdoc.options << "--all"
|
77
77
|
# end
|
@@ -323,7 +323,7 @@ module Rake
|
|
323
323
|
##
|
324
324
|
# For backwards compatibility
|
325
325
|
|
326
|
-
RDocTask = RDoc::Task
|
326
|
+
RDocTask = RDoc::Task # :nodoc:
|
327
327
|
|
328
328
|
end
|
329
329
|
# :startdoc:
|
data/lib/rdoc/version.rb
CHANGED
data/lib/rdoc.rb
CHANGED
@@ -62,7 +62,7 @@ module RDoc
|
|
62
62
|
|
63
63
|
class Error < RuntimeError; end
|
64
64
|
|
65
|
-
|
65
|
+
require_relative 'rdoc/version'
|
66
66
|
|
67
67
|
##
|
68
68
|
# Method visibilities
|
@@ -141,61 +141,61 @@ module RDoc
|
|
141
141
|
end
|
142
142
|
end
|
143
143
|
|
144
|
-
autoload :RDoc,
|
144
|
+
autoload :RDoc, "#{__dir__}/rdoc/rdoc"
|
145
145
|
|
146
|
-
autoload :CrossReference,
|
147
|
-
autoload :ERBIO,
|
148
|
-
autoload :ERBPartial,
|
149
|
-
autoload :Encoding,
|
150
|
-
autoload :Generator,
|
151
|
-
autoload :Options,
|
152
|
-
autoload :Parser,
|
153
|
-
autoload :Servlet,
|
154
|
-
autoload :RI,
|
155
|
-
autoload :Stats,
|
156
|
-
autoload :Store,
|
157
|
-
autoload :Task,
|
158
|
-
autoload :Text,
|
146
|
+
autoload :CrossReference, "#{__dir__}/rdoc/cross_reference"
|
147
|
+
autoload :ERBIO, "#{__dir__}/rdoc/erbio"
|
148
|
+
autoload :ERBPartial, "#{__dir__}/rdoc/erb_partial"
|
149
|
+
autoload :Encoding, "#{__dir__}/rdoc/encoding"
|
150
|
+
autoload :Generator, "#{__dir__}/rdoc/generator"
|
151
|
+
autoload :Options, "#{__dir__}/rdoc/options"
|
152
|
+
autoload :Parser, "#{__dir__}/rdoc/parser"
|
153
|
+
autoload :Servlet, "#{__dir__}/rdoc/servlet"
|
154
|
+
autoload :RI, "#{__dir__}/rdoc/ri"
|
155
|
+
autoload :Stats, "#{__dir__}/rdoc/stats"
|
156
|
+
autoload :Store, "#{__dir__}/rdoc/store"
|
157
|
+
autoload :Task, "#{__dir__}/rdoc/task"
|
158
|
+
autoload :Text, "#{__dir__}/rdoc/text"
|
159
159
|
|
160
|
-
autoload :Markdown,
|
161
|
-
autoload :Markup,
|
162
|
-
autoload :RD,
|
163
|
-
autoload :TomDoc,
|
160
|
+
autoload :Markdown, "#{__dir__}/rdoc/markdown"
|
161
|
+
autoload :Markup, "#{__dir__}/rdoc/markup"
|
162
|
+
autoload :RD, "#{__dir__}/rdoc/rd"
|
163
|
+
autoload :TomDoc, "#{__dir__}/rdoc/tom_doc"
|
164
164
|
|
165
|
-
autoload :KNOWN_CLASSES,
|
165
|
+
autoload :KNOWN_CLASSES, "#{__dir__}/rdoc/known_classes"
|
166
166
|
|
167
|
-
autoload :TokenStream,
|
167
|
+
autoload :TokenStream, "#{__dir__}/rdoc/token_stream"
|
168
168
|
|
169
|
-
autoload :Comment,
|
169
|
+
autoload :Comment, "#{__dir__}/rdoc/comment"
|
170
170
|
|
171
|
-
|
171
|
+
require_relative 'rdoc/i18n'
|
172
172
|
|
173
173
|
# code objects
|
174
174
|
#
|
175
175
|
# We represent the various high-level code constructs that appear in Ruby
|
176
176
|
# programs: classes, modules, methods, and so on.
|
177
|
-
autoload :CodeObject,
|
178
|
-
|
179
|
-
autoload :Context,
|
180
|
-
autoload :TopLevel,
|
181
|
-
|
182
|
-
autoload :AnonClass,
|
183
|
-
autoload :ClassModule,
|
184
|
-
autoload :NormalClass,
|
185
|
-
autoload :NormalModule,
|
186
|
-
autoload :SingleClass,
|
187
|
-
|
188
|
-
autoload :Alias,
|
189
|
-
autoload :AnyMethod,
|
190
|
-
autoload :MethodAttr,
|
191
|
-
autoload :GhostMethod,
|
192
|
-
autoload :MetaMethod,
|
193
|
-
autoload :Attr,
|
194
|
-
|
195
|
-
autoload :Constant,
|
196
|
-
autoload :Mixin,
|
197
|
-
autoload :Include,
|
198
|
-
autoload :Extend,
|
199
|
-
autoload :Require,
|
177
|
+
autoload :CodeObject, "#{__dir__}/rdoc/code_object"
|
178
|
+
|
179
|
+
autoload :Context, "#{__dir__}/rdoc/context"
|
180
|
+
autoload :TopLevel, "#{__dir__}/rdoc/top_level"
|
181
|
+
|
182
|
+
autoload :AnonClass, "#{__dir__}/rdoc/anon_class"
|
183
|
+
autoload :ClassModule, "#{__dir__}/rdoc/class_module"
|
184
|
+
autoload :NormalClass, "#{__dir__}/rdoc/normal_class"
|
185
|
+
autoload :NormalModule, "#{__dir__}/rdoc/normal_module"
|
186
|
+
autoload :SingleClass, "#{__dir__}/rdoc/single_class"
|
187
|
+
|
188
|
+
autoload :Alias, "#{__dir__}/rdoc/alias"
|
189
|
+
autoload :AnyMethod, "#{__dir__}/rdoc/any_method"
|
190
|
+
autoload :MethodAttr, "#{__dir__}/rdoc/method_attr"
|
191
|
+
autoload :GhostMethod, "#{__dir__}/rdoc/ghost_method"
|
192
|
+
autoload :MetaMethod, "#{__dir__}/rdoc/meta_method"
|
193
|
+
autoload :Attr, "#{__dir__}/rdoc/attr"
|
194
|
+
|
195
|
+
autoload :Constant, "#{__dir__}/rdoc/constant"
|
196
|
+
autoload :Mixin, "#{__dir__}/rdoc/mixin"
|
197
|
+
autoload :Include, "#{__dir__}/rdoc/include"
|
198
|
+
autoload :Extend, "#{__dir__}/rdoc/extend"
|
199
|
+
autoload :Require, "#{__dir__}/rdoc/require"
|
200
200
|
|
201
201
|
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: 6.
|
4
|
+
version: 6.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Eric Hodel
|
@@ -11,9 +11,10 @@ authors:
|
|
11
11
|
- Zachary Scott
|
12
12
|
- Hiroshi SHIBATA
|
13
13
|
- ITOYANAGI Sakura
|
14
|
+
autorequire:
|
14
15
|
bindir: exe
|
15
16
|
cert_chain: []
|
16
|
-
date:
|
17
|
+
date: 2022-12-05 00:00:00.000000000 Z
|
17
18
|
dependencies:
|
18
19
|
- !ruby/object:Gem::Dependency
|
19
20
|
name: psych
|
@@ -45,8 +46,8 @@ executables:
|
|
45
46
|
- ri
|
46
47
|
extensions: []
|
47
48
|
extra_rdoc_files:
|
48
|
-
- CVE-2013-0256.rdoc
|
49
49
|
- CONTRIBUTING.rdoc
|
50
|
+
- CVE-2013-0256.rdoc
|
50
51
|
- ExampleMarkdown.md
|
51
52
|
- ExampleRDoc.rdoc
|
52
53
|
- History.rdoc
|
@@ -60,16 +61,12 @@ files:
|
|
60
61
|
- CVE-2013-0256.rdoc
|
61
62
|
- ExampleMarkdown.md
|
62
63
|
- ExampleRDoc.rdoc
|
63
|
-
- Gemfile
|
64
64
|
- History.rdoc
|
65
65
|
- LEGAL.rdoc
|
66
66
|
- LICENSE.rdoc
|
67
67
|
- README.rdoc
|
68
68
|
- RI.rdoc
|
69
|
-
- Rakefile
|
70
69
|
- TODO.rdoc
|
71
|
-
- bin/console
|
72
|
-
- bin/setup
|
73
70
|
- exe/rdoc
|
74
71
|
- exe/ri
|
75
72
|
- lib/rdoc.rb
|
@@ -249,11 +246,11 @@ files:
|
|
249
246
|
- lib/rdoc/top_level.rb
|
250
247
|
- lib/rdoc/version.rb
|
251
248
|
- man/ri.1
|
252
|
-
- rdoc.gemspec
|
253
249
|
homepage: https://ruby.github.io/rdoc
|
254
250
|
licenses:
|
255
251
|
- Ruby
|
256
252
|
metadata: {}
|
253
|
+
post_install_message:
|
257
254
|
rdoc_options:
|
258
255
|
- "--main"
|
259
256
|
- README.rdoc
|
@@ -270,7 +267,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
270
267
|
- !ruby/object:Gem::Version
|
271
268
|
version: '2.2'
|
272
269
|
requirements: []
|
273
|
-
rubygems_version: 3.
|
270
|
+
rubygems_version: 3.4.0.dev
|
271
|
+
signing_key:
|
274
272
|
specification_version: 4
|
275
273
|
summary: RDoc produces HTML and command-line documentation for Ruby projects
|
276
274
|
test_files: []
|