mirror of
https://github.com/ruby/ruby.git
synced 2025-08-26 06:25:31 +02:00
[rubygems/rubygems] RUBY_REVISION is also provided by supported platforms
71a237aeec
This commit is contained in:
parent
ea1dcb3e23
commit
3dc4bc313f
3 changed files with 8 additions and 8 deletions
|
@ -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 << ")"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue