[前][次][番号順一覧][スレッド一覧]

ruby-changes:66285

From: Nobuyoshi <ko1@a...>
Date: Fri, 21 May 2021 15:55:38 +0900 (JST)
Subject: [ruby-changes:66285] 59b327aa58 (master): [ruby/rdoc] Drop support for Ruby 2.4

https://git.ruby-lang.org/ruby.git/commit/?id=59b327aa58

From 59b327aa58d3f514030b0afb767f11ab6ca0a76d Mon Sep 17 00:00:00 2001
From: Nobuyoshi Nakada <nobu@r...>
Date: Mon, 17 May 2021 19:33:12 +0900
Subject: [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 7725e40..42befef 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 https://github.com/ruby/ruby/blob/trunk/lib/rdoc/rdoc.gemspec#L242
     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 22e9bb2..7b84bb6 100644
--- a/test/rdoc/test_rdoc_rdoc.rb
+++ b/test/rdoc/test_rdoc_rdoc.rb
@@ -464,7 +464,7 @@ class TestRDocRDoc < RDoc::TestCase https://github.com/ruby/ruby/blob/trunk/test/rdoc/test_rdoc_rdoc.rb#L464
       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
 
-- 
cgit v1.1


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]