mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
f8f3f11ed5
The `only_update_to_newer_versions` feature flag will enable some new behaviour in bundler 3 (or maybe earlier if we decide to consider it a bug fix) that prevents `bundle update` from unexpectedly downgrading direct dependencies. This seems reasonable, but the current implementation is adding additional requirements for all locked dependencies, not only from the ones in the `Gemfile`. That causes some situations where the `Gemfile` is edited and will resolve to older versions to start failing. This commit fixes the problem by making sure extra requirements are added exclusively for direct dependencies in the `Gemfile`, not for all direct dependencies in the lock file. https://github.com/rubygems/rubygems/commit/128b4596e1 |
||
---|---|---|
.. | ||
cli | ||
compact_index_client | ||
fetcher | ||
installer | ||
plugin | ||
resolver | ||
settings | ||
source | ||
templates | ||
ui | ||
vendor | ||
build_metadata.rb | ||
bundler.gemspec | ||
capistrano.rb | ||
cli.rb | ||
compact_index_client.rb | ||
constants.rb | ||
current_ruby.rb | ||
definition.rb | ||
dep_proxy.rb | ||
dependency.rb | ||
deployment.rb | ||
deprecate.rb | ||
dsl.rb | ||
endpoint_specification.rb | ||
env.rb | ||
environment_preserver.rb | ||
errors.rb | ||
feature_flag.rb | ||
fetcher.rb | ||
friendly_errors.rb | ||
gem_helper.rb | ||
gem_helpers.rb | ||
gem_tasks.rb | ||
gem_version_promoter.rb | ||
gemdeps.rb | ||
graph.rb | ||
index.rb | ||
injector.rb | ||
inline.rb | ||
installer.rb | ||
lazy_specification.rb | ||
lockfile_generator.rb | ||
lockfile_parser.rb | ||
match_platform.rb | ||
mirror.rb | ||
plugin.rb | ||
process_lock.rb | ||
psyched_yaml.rb | ||
remote_specification.rb | ||
resolver.rb | ||
retry.rb | ||
ruby_dsl.rb | ||
ruby_version.rb | ||
rubygems_ext.rb | ||
rubygems_gem_installer.rb | ||
rubygems_integration.rb | ||
runtime.rb | ||
settings.rb | ||
setup.rb | ||
shared_helpers.rb | ||
similarity_detector.rb | ||
source.rb | ||
source_list.rb | ||
spec_set.rb | ||
stub_specification.rb | ||
ui.rb | ||
uri_credentials_filter.rb | ||
vendored_fileutils.rb | ||
vendored_molinillo.rb | ||
vendored_persistent.rb | ||
vendored_thor.rb | ||
vendored_uri.rb | ||
version.rb | ||
version_ranges.rb | ||
vlad.rb | ||
worker.rb | ||
yaml_serializer.rb |