From 59b327aa58d3f514030b0afb767f11ab6ca0a76d Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Mon, 17 May 2021 19:33:12 +0900 Subject: [PATCH] [ruby/rdoc] Drop support for Ruby 2.4 https://github.com/ruby/rdoc/commit/f480b970cc --- lib/rdoc/rdoc.gemspec | 2 +- test/rdoc/test_rdoc_rdoc.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/rdoc/rdoc.gemspec b/lib/rdoc/rdoc.gemspec index 7725e40b22..42befef5a3 100644 --- a/lib/rdoc/rdoc.gemspec +++ b/lib/rdoc/rdoc.gemspec @@ -242,7 +242,7 @@ RDoc includes the +rdoc+ and +ri+ tools for generating and displaying documentat TODO.rdoc ] - s.required_ruby_version = Gem::Requirement.new(">= 2.4.0") + s.required_ruby_version = Gem::Requirement.new(">= 2.5.0") s.required_rubygems_version = Gem::Requirement.new(">= 2.2") s.add_development_dependency("gettext") diff --git a/test/rdoc/test_rdoc_rdoc.rb b/test/rdoc/test_rdoc_rdoc.rb index 22e9bb2b8a..7b84bb698a 100644 --- a/test/rdoc/test_rdoc_rdoc.rb +++ b/test/rdoc/test_rdoc_rdoc.rb @@ -464,7 +464,7 @@ class TestRDocRDoc < RDoc::TestCase end assert_equal file_list, @rdoc.remove_unparseable(file_list) - assert_equal file_list, Dir.entries('.') - %w[. ..] + assert_equal file_list, Dir.children('.') end end