diff options
author | Hiroshi SHIBATA <[email protected]> | 2022-08-09 11:16:07 +0900 |
---|---|---|
committer | Hiroshi SHIBATA <[email protected]> | 2022-08-09 12:05:19 +0900 |
commit | 44264b4fee1e208e759710c39271186ff9856b40 () | |
tree | 939a9810293c86553e7b600bce9fb426776f6000 /lib/rubygems/basic_specification.rb | |
parent | f8936b3341376948112e31f9e9b0cb3ad6e91e7c (diff) |
Merge rubygems/bundler HEAD.
Pick from https://.com/rubygems/rubygems/commit/dfbb5a38114640e0d8d616861607f3de73ee0199
Notes: Merged: https://.com/ruby/ruby/pull/6224
-rw-r--r-- | lib/rubygems/basic_specification.rb | 4 |
1 files changed, 2 insertions, 2 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}" end return false @@ -131,7 +131,7 @@ class Gem::BasicSpecification # default Ruby platform. def full_name - if platform == Gem::Platform::RUBY or platform.nil? "#{name}-#{version}".dup.tap(&Gem::UNTAINT) else "#{name}-#{version}-#{platform}".dup.tap(&Gem::UNTAINT) |