ruby/lib
David Rodríguez c65d7b4bea When running `bundle lock --update <name>`, checkout locked revision of unrelated git sources directly
Since Bundler 2.4, we will try to checkout any branch specified in the
Gemfile, while until Bundler 2.3 we would directly checkout the locked
revision.

This should not make any difference in most situations, but in some edge
cases, like if the branch specified in the `Gemfile` has been renamed,
but the locked revision still exist, it causes an error now while before
it would update the lockfile without issues.

I debated which behavior was best, since I was not sure. But my
conclusion is that if the situation does not require expiring the
lockfile source in favor of the Gemfile source, we should use the locked
revision directly and proceed happily. So I restored Bundler 2.3
behavior.

I think this is consistent with how yanked gems are handled, for example.

Of course, if explicitly updating the git source itself, or all gems, we
will still get any errors like missing branches related to the git source.
2023-03-17 18:50:55 +09:00
..
benchmark [ruby/benchmark] Bump version to 0.2.1 2022-12-05 05:15:02 +00:00
bundler When running `bundle lock --update <name>`, checkout locked revision of unrelated git sources directly 2023-03-17 18:50:55 +09:00
cgi [ruby/cgi] blade is hosted under ruby-lang.org now 2023-01-23 03:41:54 +00:00
csv [ruby/csv] Remove unused @double_quote_character from Parser 2023-02-21 19:31:28 +09:00
delegate [ruby/delegate] gemspec: Drop unused executables directives 2021-10-22 19:48:22 +09:00
did_you_mean [ruby/did_you_mean] Bump version to 1.6.3 2022-12-19 14:59:59 +09:00
drb [ruby/drb] Bump version to 2.1.1 2022-12-05 05:59:33 +00:00
erb [ruby/erb] Version 4.0.2 2022-11-29 04:58:29 +00:00
error_highlight [ruby/error_highlight] Identify which node in `Foo::Bar::Baz` causes a NameError 2023-01-13 08:25:09 +00:00
forwardable [ruby/forwardable] Move `:stopdoc:` directive 2022-03-14 14:44:46 +09:00
getoptlong [ruby/getoptlong] gemspec: Drop executables directives 2021-07-28 13:32:32 +09:00
irb [ruby/irb] Replace METHOD_IS_A with === 2023-03-13 18:11:58 +00:00
logger [ruby/logger] Add Logger#with_level{...} for block-scoped log level. 2023-02-10 01:08:49 +00:00
net [ruby/net-http] Enhanced RDoc for Net::HTTP 2023-03-08 19:47:49 +00:00
observer
open3 [ruby/open3] Bump version to 0.1.2 2022-12-14 05:49:14 +00:00
optparse [ruby/optparse] Add rdoc options 2022-01-12 21:16:01 +09:00
ostruct [ruby/ostruct] Drop unused directives from gemspec (https://github.com/ruby/ostruct/pull/39) 2022-03-07 20:08:29 +09:00
pstore
racc Generate parser-text.rb with bcdc058e50 2023-01-12 07:54:39 +09:00
random [DOC] Improve Random::Formatter docs 2022-12-11 18:49:56 +02:00
rdoc Regenerate parsers with racc-1.6.2 2023-03-03 13:46:04 +09:00
reline [ruby/reline] Fix completion with multiline 2023-03-04 05:56:00 +00:00
rinda [ruby/rinda] Bump up rinda version to 0.1.1 2021-10-21 21:02:37 +09:00
ruby_vm/rjit RJIT: Simplify how Capstone is used in tests 2023-03-13 20:42:19 -07:00
rubygems util/rubocop -A --only Style/MultipleComparison 2023-03-17 18:50:55 +09:00
set [ruby/set] Set#merge does not take keyword arguments as a Hash 2023-02-24 11:48:08 +00:00
singleton
syntax_suggest [ruby/syntax_suggest] Hide internal document and detail of `Kernel` monkey patching 2023-01-27 11:31:10 +09:00
timeout [ruby/timeout] gemspec: Drop unused directives "executables" 2022-07-14 16:21:25 +09:00
unicode_normalize update Unicode normalization tables to version 15.0.0 2022-12-06 10:11:33 +09:00
uri [ruby/uri] Replace RubyDoc.info links with Ruby.GitHub.io 2023-03-01 23:42:50 +00:00
weakref
yaml Merge yaml-0.2.1 2022-12-09 16:36:22 +09:00
English.gemspec [ruby/English] Bump version to 0.7.2 2022-12-14 07:53:51 +00:00
English.rb [ruby/English] Replace HTML5 deprecated tag <tt> with <code> 2023-02-06 05:20:34 +00:00
abbrev.gemspec [ruby/abbrev] Bump version to 0.1.1 2022-12-14 07:38:37 +00:00
abbrev.rb
base64.gemspec [ruby/base64] Bump up base64 version to 0.1.1 2021-10-14 20:41:15 +09:00
base64.rb [ruby/base64] Avoid unnecessary string duplication 2021-09-27 15:23:25 +09:00
benchmark.rb [ruby/benchmark] Add comment about terminating newline in captions; fix test method name. 2021-04-22 11:51:37 +09:00
bundler.rb Normalize git sources 2023-03-17 18:50:55 +09:00
cgi.rb [ruby/cgi] Bump up 0.3.6 2022-11-28 04:40:26 +00:00
csv.rb [ruby/csv] Use https links instead of http 2023-02-21 19:31:29 +09:00
delegate.rb [ruby/delegate] Bump version to 0.3.0 2022-12-05 05:47:54 +00:00
did_you_mean.rb [ruby/did_you_mean] Keep the deprecated API for another year in case this could break 'bundle install' 2023-01-07 08:47:05 +00:00
drb.rb
erb.gemspec Apply the accidental commits again before Ruby 3.2. 2022-12-26 12:07:42 +09:00
erb.rb [ruby/erb] Split erb.rb into files for each module under ERB 2022-11-24 23:40:53 +00:00
error_highlight.rb Rename error_squiggle to error_highlight 2021-06-29 23:45:49 +09:00
fileutils.gemspec [ruby/fileutils] Drop support for dead old versions 2021-01-17 12:20:55 +09:00
fileutils.rb s/mjit/rjit/ 2023-03-06 23:44:01 -08:00
find.gemspec [ruby/find] Bump up find version to 0.1.1 2021-10-14 20:26:15 +09:00
find.rb [ruby/find] Add Errno::EINVAL to list of ignored errors 2021-07-27 21:20:31 +09:00
forwardable.rb [ruby/forwardable] Bump version to 1.3.3 2022-12-05 06:15:38 +00:00
getoptlong.rb [ruby/getoptlong] Bump version to 0.2.0 2022-12-05 06:19:25 +00:00
ipaddr.gemspec Support directory layout of ruby/ruby repository 2022-02-10 17:18:05 +09:00
ipaddr.rb [ruby/ipaddr] Bump version to 1.2.5 2022-12-05 06:32:03 +00:00
irb.rb [ruby/irb] Handle long inspect and control character in prompt 2023-03-02 13:53:44 +00:00
logger.rb [ruby/logger] Add Logger#with_level{...} for block-scoped log level. 2023-02-10 01:08:49 +00:00
mkmf.rb mkmf.rb: Refine message from `pkg_config` 2023-01-09 21:44:15 +09:00
mutex_m.gemspec [ruby/mutex_m] Drop to support Ruby 2.4 2023-01-12 05:38:31 +00:00
mutex_m.rb [ruby/mutex_m] Avoid anonymous eval 2023-01-12 05:41:59 +00:00
observer.rb Update library versions of the default gems. 2020-12-22 21:45:28 +09:00
open-uri.gemspec [ruby/open-uri] Bump version to 0.3.0 2022-12-05 07:14:06 +00:00
open-uri.rb Add :ssl_min_version and :ssl_max_version options 2022-10-12 10:36:51 +09:00
open3.rb [ruby/open3] Update to match JRuby 9.4 2021-12-09 19:28:54 +09:00
optionparser.rb
optparse.rb [ruby/optparse] Add symbolize_names to getopts 2022-12-26 15:09:21 +09:00
ostruct.rb [ruby/ostruct] v0.5.5 2022-04-01 00:18:36 +09:00
pp.gemspec [ruby/pp] Bump version to 0.4.0 2022-12-05 07:35:19 +00:00
pp.rb [ruby/pp] [Feature #19045] Add support Data#pretty_print 2022-10-14 21:31:24 +09:00
prettyprint.gemspec [ruby/prettyprint] Bump up prettyprint version to 0.1.1 2021-10-21 21:05:39 +09:00
prettyprint.rb
pstore.rb [ruby/pstore] Remove (newly unneeded) remarks about aliases 2023-02-19 23:07:33 +00:00
racc.rb
rdoc.rb [ruby/rdoc] Relative loading for easier development (https://github.com/ruby/rdoc/pull/821) 2022-02-12 15:06:06 +09:00
readline.gemspec [ruby/readline] Bump version to 0.0.3 2021-12-24 17:54:09 +09:00
readline.rb [ruby/readline] Suppress constant redefinition warning 2021-11-29 18:50:27 +09:00
reline.rb [ruby/reline] Fix the cause of test_yamatanooroti randomly failing 2023-02-27 08:44:02 +00:00
resolv-replace.gemspec [ruby/resolv-replace] Bump version to 0.1.1 2022-12-14 17:42:15 +09:00
resolv-replace.rb
resolv.gemspec [ruby/resolv] Bump version to 0.2.2 2022-12-05 07:49:03 +00:00
resolv.rb [ruby/resolv] Support more characters in link local addresses 2022-01-12 10:49:57 +09:00
ruby2_keywords.gemspec Adjust the release version of ruby2_keywords 2021-07-16 13:50:15 +09:00
rubygems.rb util/rubocop -A --only Style/RedundantSelf 2023-03-17 18:50:55 +09:00
securerandom.gemspec [ruby/securerandom] Bump version to 0.2.2 2022-12-14 08:48:38 +00:00
securerandom.rb lib/securerandom.rb: Fix the check of availability of Random.urandom 2022-02-16 16:32:28 +09:00
set.rb [ruby/set] Set#merge does not take keyword arguments as a Hash 2023-02-24 11:48:08 +00:00
shellwords.gemspec
shellwords.rb
singleton.rb Update library versions of the default gems. 2020-12-22 21:45:28 +09:00
syntax_suggest.rb Sync SyntaxSuggest 2022-08-19 10:02:24 +09:00
tempfile.gemspec [ruby/tempfile] Bump version to 0.1.3 2022-12-14 05:35:48 +00:00
tempfile.rb [ruby/tempfile] Fix inconsistency in doc of Tempfile.create 2023-02-27 02:29:06 +00:00
time.gemspec [ruby/time] Bump version to 0.2.1 2022-12-14 16:07:44 +09:00
time.rb fix typo in Time#xmlschema documentation 2022-07-29 19:10:10 +09:00
timeout.rb [ruby/timeout] bump up 0.3.2 2023-02-16 00:57:08 +00:00
tmpdir.gemspec [ruby/tmpdir] Bump version to 0.1.3 2022-12-05 08:15:11 +00:00
tmpdir.rb [ruby/tmpdir] Ignore empty environment variables 2022-10-25 07:54:40 +00:00
tsort.gemspec [ruby/tsort] Bump version to 0.1.1 2022-12-05 08:16:29 +00:00
tsort.rb [ruby/tsort] Small tweaks for easier vendoring 2022-04-18 09:40:07 +09:00
un.gemspec [ruby/un] Bump version to 0.2.1 2022-12-05 08:18:33 +00:00
un.rb [ruby/un] wait_writable: close opened file 2022-11-30 10:09:17 +00:00
uri.rb [ruby/uri] Feat: Support WSS 2022-04-22 11:59:54 +09:00
weakref.rb [ruby/weakref] Bump version to 0.1.2 2022-12-14 06:16:29 +00:00
yaml.rb [ruby/yaml] Add JRuby-specific warning when psych fails 2022-01-27 17:16:05 +09:00