1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/lib
David Rodríguez f8f3f11ed5 [rubygems/rubygems] Fix only_update_to_newer_versions regression
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
2020-06-18 19:14:15 +09:00
..
benchmark Add workaround for test-bundler failure 2020-03-12 19:17:08 +09:00
bundler [rubygems/rubygems] Fix only_update_to_newer_versions regression 2020-06-18 19:14:15 +09:00
cgi Add workaround for test-bundler failure 2020-03-12 19:17:08 +09:00
csv
delegate [ruby/delegate] Fixed superclass missmatch 2020-06-11 12:24:57 +09:00
did_you_mean Remove experimental feaures and related code completely 2020-06-06 14:13:19 -04:00
drb
forwardable
getoptlong Add workaround for test-bundler failure 2020-03-12 19:17:08 +09:00
irb [ruby/irb] Version 1.2.4 2020-05-17 19:26:53 +09:00
logger
matrix [ruby/matrix] Drop to Ruby 2.4 and 2.5 2020-06-11 13:48:17 +09:00
net Drop to Ruby 2.4 2020-06-11 13:06:59 +09:00
observer Add workaround for test-bundler failure 2020-03-12 19:17:08 +09:00
open3 Add workaround for test-bundler failure 2020-03-12 19:17:08 +09:00
optparse
ostruct
pstore Add workaround for test-bundler failure 2020-03-12 19:17:08 +09:00
racc Fixed typos in racc 2020-04-27 15:28:06 +09:00
rdoc [ruby/rdoc] Add frozen string literal support 2020-05-24 23:47:24 +09:00
reline [ruby/reline] Remove unnecessary TODO commnet 2020-05-17 19:26:53 +09:00
rinda
rubygems Remove unnecessary explicit rake activation 2020-06-17 21:16:56 +09:00
singleton Add workaround for test-bundler failure 2020-03-12 19:17:08 +09:00
timeout Add workaround for test-bundler failure 2020-03-12 19:17:08 +09:00
tracer
unicode_normalize
uri [ruby/uri] Check if DN exists 2020-05-05 23:29:39 +09:00
weakref [ruby/weakref] Update TODO on README 2020-04-08 18:33:00 +09:00
webrick Use filesystem encoding in do_GET of filehandler 2020-06-15 11:25:33 +09:00
yaml Add workaround for test-bundler failure 2020-03-12 19:17:08 +09:00
.document Bundler is not documented in RDoc, but something different 2020-04-07 13:01:19 +09:00
abbrev.rb
base64.rb
benchmark.rb
bundler.rb Update the bundler version with master branch 2020-05-13 07:54:37 +09:00
cgi.rb
csv.rb
debug.rb
delegate.rb Support obj.clone(freeze: true) for freezing clone 2020-03-22 09:30:07 -07:00
did_you_mean.rb Sync did_you_mean 2020-06-06 13:02:08 -04:00
drb.rb
English.gemspec Update the version of published gemspec. 2020-04-08 14:21:14 +09:00
English.rb
erb.rb
fileutils.gemspec
fileutils.rb Revert "[ruby/fileutils] Make verbose output go to stdout instead of stderr" 2020-06-12 19:02:50 +09:00
find.rb
forwardable.rb
getoptlong.rb
ipaddr.gemspec
ipaddr.rb
irb.rb [DOC] get rid of parsing as TIDYLINK unintentionally 2020-04-07 13:59:38 +09:00
logger.rb [ruby/logger] Mention File::Null in Logger#new document 2020-06-11 14:22:32 +09:00
matrix.rb [ruby/matrix] Add Matrix#adjoint [#14] 2020-05-01 03:25:15 -04:00
mkmf.rb Added tooldir variable 2020-04-05 09:26:57 +09:00
mutex_m.gemspec
mutex_m.rb
observer.rb
open-uri.rb [DOC] get rid of parsing as TIDYLINK unintentionally 2020-04-07 13:59:38 +09:00
open3.rb lib/open3.rb: make sure that pipes are closed 2020-05-27 00:20:14 +09:00
optionparser.rb
optparse.rb
ostruct.rb
pp.rb
prettyprint.rb Fix articles. 2020-04-11 02:32:23 +09:00
prime.gemspec Update the latest gemspec of prime. 2020-04-08 14:33:22 +09:00
prime.rb
pstore.rb
racc.rb
rdoc.rb Skip the initialization of XDG_DATA_HOME with Permission denied 2020-04-23 21:11:21 +09:00
readline.gemspec
readline.rb
reline.rb Reline callbacks can take nil 2020-05-14 12:27:33 +09:00
resolv-replace.rb
resolv.rb Convert ip addresses to canonical form in Resolv::DNS::Requester::UnconnectedUDP#sender 2020-05-29 15:59:27 -07:00
rubygems.rb Add Gem.disable_system_update_message to disable gem update --system if needed. 2020-06-15 21:20:37 +09:00
securerandom.rb
set.rb Make mutating the result of SortedSet#to_a not affect the set 2020-06-11 14:02:00 -07:00
shellwords.rb Fix the ArgumentError message in shellsplit 2020-06-16 23:23:13 +09:00
singleton.rb [ruby/singleton] Remove unnecessaray space 2020-06-09 10:07:10 +09:00
tempfile.gemspec The current tempfile.rb is only works with Ruby 2.5+ 2020-04-08 15:20:44 +09:00
tempfile.rb
time.rb Time.xmlschema: Clarify error and docs 2020-05-23 09:43:05 +09:00
timeout.rb
tmpdir.gemspec Add workaround for test-bundler failure 2020-03-12 19:17:08 +09:00
tmpdir.rb Correctly remove temporary directory if path yielded is mutated 2020-05-29 07:06:46 -07:00
tracer.rb
tsort.rb
un.rb
uri.rb [ruby/uri] Remove RCS keywords 2020-03-26 18:06:14 +09:00
weakref.rb
webrick.rb
yaml.rb