1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

[rubygems/rubygems] Normalize parameter name

The other sources use `options` which reads better.

https://github.com/rubygems/rubygems/commit/a672f9d602
This commit is contained in:
David Rodríguez 2022-05-11 14:17:10 +02:00 committed by git
parent 2d1032075a
commit 4962e5c417

View file

@ -135,9 +135,9 @@ module Bundler
end
end
def install(spec, opts = {})
force = opts[:force]
ensure_builtin_gems_cached = opts[:ensure_builtin_gems_cached]
def install(spec, options = {})
force = options[:force]
ensure_builtin_gems_cached = options[:ensure_builtin_gems_cached]
if ensure_builtin_gems_cached && spec.default_gem?
if !cached_path(spec)
@ -198,7 +198,7 @@ module Bundler
:ignore_dependencies => true,
:wrappers => true,
:env_shebang => true,
:build_args => opts[:build_args],
:build_args => options[:build_args],
:bundler_expected_checksum => spec.respond_to?(:checksum) && spec.checksum,
:bundler_extension_cache_path => extension_cache_path(spec)
).install