Skip to content

Commit f480b97

Browse files
committed
Drop support for Ruby 2.4
1 parent db3cea8 commit f480b97

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

.github/workflows/ubuntu.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
runs-on: ubuntu-latest
88
strategy:
99
matrix:
10-
ruby: [ 'jruby-9.2.17.0', 'head', '3.0', '2.7', '2.6', '2.5', '2.4' ]
10+
ruby: [ 'jruby-9.2.17.0', 'head', '3.0', '2.7', '2.6', '2.5' ]
1111
steps:
1212
- uses: actions/checkout@v2
1313
- name: Set up Ruby

.github/workflows/windows.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
runs-on: windows-latest
88
strategy:
99
matrix:
10-
ruby: [ 'head', '3.0', '2.7', '2.6', '2.5', '2.4' ]
10+
ruby: [ 'head', '3.0', '2.7', '2.6', '2.5' ]
1111
steps:
1212
- uses: actions/checkout@v2
1313
- name: Set up Ruby

rdoc.gemspec

+1-1
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ RDoc includes the +rdoc+ and +ri+ tools for generating and displaying documentat
242242
TODO.rdoc
243243
]
244244

245-
s.required_ruby_version = Gem::Requirement.new(">= 2.4.0")
245+
s.required_ruby_version = Gem::Requirement.new(">= 2.5.0")
246246
s.required_rubygems_version = Gem::Requirement.new(">= 2.2")
247247

248248
s.add_development_dependency("gettext")

test/rdoc/test_rdoc_rdoc.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -464,7 +464,7 @@ def test_remove_unparseable_CVE_2021_31799
464464
end
465465

466466
assert_equal file_list, @rdoc.remove_unparseable(file_list)
467-
assert_equal file_list, Dir.entries('.') - %w[. ..]
467+
assert_equal file_list, Dir.children('.')
468468
end
469469
end
470470

0 commit comments

Comments
 (0)