[rubygems/rubygems] RUBY_REVISION is also provided by supported platforms

71a237aeec
This commit is contained in:
Hiroshi SHIBATA 2023-03-16 15:09:24 +09:00 committed by git
parent ea1dcb3e23
commit 3dc4bc313f
3 changed files with 8 additions and 8 deletions

View file

@ -282,7 +282,7 @@ class Gem::Request
ua << " Ruby/#{ruby_version} (#{RUBY_RELEASE_DATE}"
if RUBY_PATCHLEVEL >= 0
ua << " patchlevel #{RUBY_PATCHLEVEL}"
elsif defined?(RUBY_REVISION)
else
ua << " revision #{RUBY_REVISION}"
end
ua << ")"