summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNobuyoshi Nakada <[email protected]>2021-05-17 19:33:12 +0900
committerNobuyoshi Nakada <[email protected]>2021-05-21 15:53:34 +0900
commit59b327aa58d3f514030b0afb767f11ab6ca0a76d (patch)
tree33eddfa96ac3c705e4f4c691aae36c599d9081b4
parentf18a0b7654d471101b207e7fe553e12a25398e45 (diff)
[ruby/rdoc] Drop support for Ruby 2.4
https://github.com/ruby/rdoc/commit/f480b970cc
-rw-r--r--lib/rdoc/rdoc.gemspec2
-rw-r--r--test/rdoc/test_rdoc_rdoc.rb2
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