Merge RubyGems-3.3.14 and Bundler-2.3.14

This commit is contained in:
Hiroshi SHIBATA 2022-07-13 14:36:57 +09:00 committed by nagachika
parent ffd3d83ea8
commit d7862a5de4
76 changed files with 245 additions and 153 deletions

View file

@ -113,7 +113,7 @@ extensions will be restored.
end.flatten
end
specs = specs.select{|spec| RUBY_ENGINE == spec.platform || Gem::Platform.local === spec.platform || spec.platform == Gem::Platform::RUBY }
specs = specs.select {|spec| RUBY_ENGINE == spec.platform || Gem::Platform.local === spec.platform || spec.platform == Gem::Platform::RUBY }
if specs.to_a.empty?
raise Gem::Exception,

View file

@ -475,7 +475,7 @@ By default, this RubyGems will install gem as:
def files_in(dir)
Dir.chdir dir do
Dir.glob(File.join('**', '*'), File::FNM_DOTMATCH).
select{|f| !File.directory?(f) }
select {|f| !File.directory?(f) }
end
end

View file

@ -129,7 +129,7 @@ Specific fields in the specification can be extracted in YAML format:
platform = get_platform_from_requirements(options)
if platform
specs = specs.select{|s| s.platform.to_s == platform }
specs = specs.select {|s| s.platform.to_s == platform }
end
unless options[:all]