diff options
author | David RodrÃguez <[email protected]> | 2024-09-12 18:50:09 +0200 |
---|---|---|
committer | Hiroshi SHIBATA <[email protected]> | 2024-09-17 14:39:04 +0900 |
commit | 7e0934d33e7ce09f9d2f50eb3f31708c0d852817 (patch) | |
tree | bf0c8646d7b0d1c35dfe3e99c474ab2b309a9443 | |
parent | 70111fcc45b22b691aca2b522cb8eb30bf9fc34c (diff) |
[rubygems/rubygems] Consistently access install options through symbol keys
https://github.com/rubygems/rubygems/commit/7ddf1dc70a
-rw-r--r-- | lib/bundler/installer.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/bundler/installer.rb b/lib/bundler/installer.rb index 485782d1b4..8868fc772f 100644 --- a/lib/bundler/installer.rb +++ b/lib/bundler/installer.rb @@ -194,7 +194,7 @@ module Bundler # that said, it's a rare situation (other than rake), and parallel # installation is SO MUCH FASTER. so we let people opt in. def install(options) - force = options["force"] + force = options[:force] jobs = installation_parallelization(options) install_in_parallel jobs, options[:standalone], force end @@ -233,9 +233,9 @@ module Bundler # returns whether or not a re-resolve was needed def resolve_if_needed(options) - @definition.prefer_local! if options["prefer-local"] + @definition.prefer_local! if options[:"prefer-local"] - if options["local"] || (@definition.no_resolve_needed? && [email protected]_specs?) + if options[:local] || (@definition.no_resolve_needed? && [email protected]_specs?) @definition.resolve_with_cache! false else |