mirror of
https://github.com/ruby/ruby.git
synced 2025-09-21 19:44:01 +02:00
Merge RubyGems-3.3.14 and Bundler-2.3.14
This commit is contained in:
parent
ffd3d83ea8
commit
d7862a5de4
76 changed files with 245 additions and 153 deletions
|
@ -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,
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue