1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/test/rdoc
Nobuyoshi Nakada a298bdf860
[ruby/rdoc] Dir.children is 2.5+
RDoc seems still supporting outdated 2.4.

https://github.com/ruby/rdoc/runs/2565344070?check_suite_focus=true#step:5:64
```
Error: test_remove_unparseable_CVE_2021_31799(TestRDocRDoc): NoMethodError: undefined method `children' for Dir:Class
/home/runner/work/rdoc/rdoc/test/rdoc/test_rdoc_rdoc.rb:467:in `block in test_remove_unparseable_CVE_2021_31799'
     464:       end
     465:
     466:       assert_equal file_list, @rdoc.remove_unparseable(file_list)
  => 467:       assert_equal file_list, Dir.children('.')
     468:     end
     469:   end
     470:
```

https://github.com/ruby/rdoc/commit/5a4a64dc0f
2021-05-21 15:53:34 +09:00
..
MarkdownTest_1.0.3
support
binary.dat
helper.rb
hidden.zip.txt
README
test.ja.largedoc
test.ja.rdoc
test.ja.txt
test.txt
test_rdoc_alias.rb
test_rdoc_any_method.rb
test_rdoc_attr.rb
test_rdoc_class_module.rb
test_rdoc_code_object.rb
test_rdoc_comment.rb
test_rdoc_constant.rb
test_rdoc_context.rb
test_rdoc_context_section.rb
test_rdoc_cross_reference.rb
test_rdoc_encoding.rb
test_rdoc_extend.rb
test_rdoc_generator_darkfish.rb
test_rdoc_generator_json_index.rb
test_rdoc_generator_markup.rb
test_rdoc_generator_pot.rb
test_rdoc_generator_pot_po.rb
test_rdoc_generator_pot_po_entry.rb
test_rdoc_generator_ri.rb
test_rdoc_i18n_locale.rb
test_rdoc_i18n_text.rb
test_rdoc_include.rb
test_rdoc_markdown.rb [ruby/rdoc] Fixed CodeFence without blank lines 2021-03-16 15:47:27 +09:00
test_rdoc_markdown_test.rb
test_rdoc_markup.rb
test_rdoc_markup_attribute_manager.rb [ruby/rdoc] Treat emphasis tags as excluding other notations 2021-04-03 01:21:50 +09:00
test_rdoc_markup_attributes.rb
test_rdoc_markup_document.rb
test_rdoc_markup_formatter.rb
test_rdoc_markup_hard_break.rb
test_rdoc_markup_heading.rb
test_rdoc_markup_include.rb
test_rdoc_markup_indented_paragraph.rb
test_rdoc_markup_paragraph.rb
test_rdoc_markup_parser.rb
test_rdoc_markup_pre_process.rb
test_rdoc_markup_raw.rb
test_rdoc_markup_to_ansi.rb
test_rdoc_markup_to_bs.rb
test_rdoc_markup_to_html.rb [ruby/rdoc] Links to document texts without "rdoc-ref:" prefix 2021-04-03 01:22:09 +09:00
test_rdoc_markup_to_html_crossref.rb
test_rdoc_markup_to_html_snippet.rb
test_rdoc_markup_to_joined_paragraph.rb
test_rdoc_markup_to_label.rb
test_rdoc_markup_to_markdown.rb
test_rdoc_markup_to_rdoc.rb
test_rdoc_markup_to_table_of_contents.rb
test_rdoc_markup_to_tt_only.rb
test_rdoc_markup_verbatim.rb
test_rdoc_method_attr.rb
test_rdoc_normal_class.rb
test_rdoc_normal_module.rb
test_rdoc_options.rb lib/rdoc/rdoc.rb: Allow only RDoc::Options in .rdoc_options 2021-05-17 12:53:42 +09:00
test_rdoc_parser.rb Revert changes to rdoc & rubygems regarding Tempfile.open(&block) 2020-08-29 12:49:20 +02:00
test_rdoc_parser_c.rb
test_rdoc_parser_changelog.rb [ruby/rdoc] Support iso-strict format in git-log 2021-01-25 18:33:33 +09:00
test_rdoc_parser_markdown.rb
test_rdoc_parser_rd.rb
test_rdoc_parser_ruby.rb
test_rdoc_parser_simple.rb
test_rdoc_rd.rb
test_rdoc_rd_block_parser.rb Revert changes to rdoc & rubygems regarding Tempfile.open(&block) 2020-08-29 12:49:20 +02:00
test_rdoc_rd_inline.rb
test_rdoc_rd_inline_parser.rb
test_rdoc_rdoc.rb [ruby/rdoc] Dir.children is 2.5+ 2021-05-21 15:53:34 +09:00
test_rdoc_require.rb
test_rdoc_ri_driver.rb
test_rdoc_ri_paths.rb
test_rdoc_rubygems_hook.rb Use assert_raise instead of assert_raises 2021-05-12 17:24:43 +09:00
test_rdoc_servlet.rb [ruby/rdoc] Guard for WEBrick 2020-12-21 16:21:46 +09:00
test_rdoc_single_class.rb
test_rdoc_stats.rb
test_rdoc_store.rb [ruby/rdoc] Support full filename to make a link for a text file 2020-09-18 14:57:57 +09:00
test_rdoc_task.rb
test_rdoc_text.rb
test_rdoc_token_stream.rb
test_rdoc_tom_doc.rb
test_rdoc_top_level.rb [ruby/rdoc] Clarify that dots in URL are replaced 2021-04-03 01:22:00 +09:00
xref_data.rb
xref_test_case.rb

you don't have to