mirror of
https://github.com/ruby/ruby.git
synced 2025-09-21 11:33:58 +02:00
Merge RubyGems-3.3.20 and Bundler-2.3.20
This commit is contained in:
parent
44c926f3a9
commit
522b75f1b6
135 changed files with 1131 additions and 613 deletions
|
@ -77,7 +77,7 @@ class Gem::BasicSpecification
|
|||
|
||||
if Gem::Platform::RUBY == platform || Gem::Platform.local === platform
|
||||
warn "Ignoring #{full_name} because its extensions are not built. " +
|
||||
"Try: gem pristine #{name} --version #{version}"
|
||||
"Try: gem pristine #{name} --version #{version}"
|
||||
end
|
||||
|
||||
return false
|
||||
|
@ -131,7 +131,7 @@ class Gem::BasicSpecification
|
|||
# default Ruby platform.
|
||||
|
||||
def full_name
|
||||
if platform == Gem::Platform::RUBY or platform.nil?
|
||||
if platform == Gem::Platform::RUBY || platform.nil?
|
||||
"#{name}-#{version}".dup.tap(&Gem::UNTAINT)
|
||||
else
|
||||
"#{name}-#{version}-#{platform}".dup.tap(&Gem::UNTAINT)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue