summaryrefslogtreecommitdiff
path: root/lib/rubygems
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2020-08-07 09:02:40 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2020-09-28 14:54:22 +0900
commitab5e9516b796e132da910664a7fba4e69336e323 (patch)
tree55e61e565b5f143663df6926567937c20361c8f7 /lib/rubygems
parentc6bdf750499491d12c947de546c164a854dd0703 (diff)
[rubygems/rubygems] Added Ruby version for oldest supported version of rubygems
https://github.com/rubygems/rubygems/commit/dd87d70f51
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/3599
Diffstat (limited to 'lib/rubygems')
-rw-r--r--lib/rubygems/commands/update_command.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/rubygems/commands/update_command.rb b/lib/rubygems/commands/update_command.rb
index a822f095bf..64e0b4a7a0 100644
--- a/lib/rubygems/commands/update_command.rb
+++ b/lib/rubygems/commands/update_command.rb
@@ -322,6 +322,7 @@ command to remove old versions.
private
def oldest_supported_version
+ # for Ruby 2.3
@oldest_supported_version ||= Gem::Version.new("2.5.2")
end
end