<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ruby.git/spec/bundler/commands/update_spec.rb, branch v4.0.3</title>
<subtitle>The Ruby Programming Language</subtitle>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/'/>
<entry>
<title>[ruby/rubygems] Improve error messages and handling in tests</title>
<updated>2025-11-20T22:02:28+00:00</updated>
<author>
<name>eileencodes</name>
<email>eileencodes@gmail.com</email>
</author>
<published>2025-11-19T17:08:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=cb9c7a6a0a451fc158055145d0bce4891b62e32f'/>
<id>cb9c7a6a0a451fc158055145d0bce4891b62e32f</id>
<content type='text'>
This is a first pass to improve the way errors are handled and raised in
bundler's tests. The goal is to clean up tests and modernize them -
these were some obvious areas that could be cleaned up.

- Instead of raising "ZOMG" in the load error tests, it now tests for
the actual error and gem raising.
- Improve error messages where applicable.
- All errors raise a specific error class, rather than falling back to a
default and just setting a message.
- Removed arguments and `bundle_dir` option from `TheBundle` class as it wasn't
actually used so therefore we don't need to raise an error for extra
arguments.
- Removed error from `BundlerBuilder`, as it won't work if it's not
`bundler`, also it never uses `name`. The only reaon `name` is passed
in is because of metaprogramming on loading the right builder. I
think that should eventually be refactored.
- Replaced and removed `update_repo3` and `update_repo4` in favor of
just `build_repo3` and `build_repo4`. Rather than tell someone writing
tests to use a different method, automatically use the right method.

https://github.com/ruby/rubygems/commit/68c39c8451
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is a first pass to improve the way errors are handled and raised in
bundler's tests. The goal is to clean up tests and modernize them -
these were some obvious areas that could be cleaned up.

- Instead of raising "ZOMG" in the load error tests, it now tests for
the actual error and gem raising.
- Improve error messages where applicable.
- All errors raise a specific error class, rather than falling back to a
default and just setting a message.
- Removed arguments and `bundle_dir` option from `TheBundle` class as it wasn't
actually used so therefore we don't need to raise an error for extra
arguments.
- Removed error from `BundlerBuilder`, as it won't work if it's not
`bundler`, also it never uses `name`. The only reaon `name` is passed
in is because of metaprogramming on loading the right builder. I
think that should eventually be refactored.
- Replaced and removed `update_repo3` and `update_repo4` in favor of
just `build_repo3` and `build_repo4`. Rather than tell someone writing
tests to use a different method, automatically use the right method.

https://github.com/ruby/rubygems/commit/68c39c8451
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/rubygems] fix tests</title>
<updated>2025-11-18T10:38:28+00:00</updated>
<author>
<name>Austin Pray</name>
<email>austin@austinpray.com</email>
</author>
<published>2020-08-02T02:53:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=55afec32ff255b74ee7490177ed7ae0f4b5bde29'/>
<id>55afec32ff255b74ee7490177ed7ae0f4b5bde29</id>
<content type='text'>
https://github.com/ruby/rubygems/commit/1dc669a0ab
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/rubygems/commit/1dc669a0ab
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/rubygems] Fix triple spacing when generating lockfile</title>
<updated>2025-11-14T00:19:56+00:00</updated>
<author>
<name>Jimmy Lin</name>
<email>jmlntw@gmail.com</email>
</author>
<published>2021-09-05T11:38:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=5924765b897dd419bcaf81f34cdfcb49c838af7e'/>
<id>5924765b897dd419bcaf81f34cdfcb49c838af7e</id>
<content type='text'>
https://github.com/ruby/rubygems/commit/d3baf4110e
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/rubygems/commit/d3baf4110e
</pre>
</div>
</content>
</entry>
<entry>
<title>[rubygems/rubygems] Bump up to test version for 4.0.0.dev</title>
<updated>2025-10-14T08:30:06+00:00</updated>
<author>
<name>Hiroshi SHIBATA</name>
<email>hsbt@ruby-lang.org</email>
</author>
<published>2025-10-14T06:58:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=366e9c55f5b16c9f1dacccf5b54163e5ea42ebd2'/>
<id>366e9c55f5b16c9f1dacccf5b54163e5ea42ebd2</id>
<content type='text'>
https://github.com/rubygems/rubygems/commit/9d70887185
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/rubygems/rubygems/commit/9d70887185
</pre>
</div>
</content>
</entry>
<entry>
<title>[rubygems/rubygems] Completely remove multisources support</title>
<updated>2025-09-16T08:17:32+00:00</updated>
<author>
<name>David Rodríguez</name>
<email>2887858+deivid-rodriguez@users.noreply.github.com</email>
</author>
<published>2025-09-09T17:18:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=6adcc5596884619e386d5412e94ef4443868b94f'/>
<id>6adcc5596884619e386d5412e94ef4443868b94f</id>
<content type='text'>
https://github.com/rubygems/rubygems/commit/8f9d6c54a1
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/rubygems/rubygems/commit/8f9d6c54a1
</pre>
</div>
</content>
</entry>
<entry>
<title>[rubygems/rubygems] Remove deprecated usages of `bundle install --deployment` during specs</title>
<updated>2025-09-11T02:54:49+00:00</updated>
<author>
<name>David Rodríguez</name>
<email>2887858+deivid-rodriguez@users.noreply.github.com</email>
</author>
<published>2025-09-09T12:36:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=c218c66a35cd802652e1f71d02909648a5a34b3a'/>
<id>c218c66a35cd802652e1f71d02909648a5a34b3a</id>
<content type='text'>
https://github.com/rubygems/rubygems/commit/c903afbc3f
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/rubygems/rubygems/commit/c903afbc3f
</pre>
</div>
</content>
</entry>
<entry>
<title>[rubygems/rubygems] Fix incorrect error message capitalization</title>
<updated>2025-08-18T03:31:51+00:00</updated>
<author>
<name>David Rodríguez</name>
<email>deivid.rodriguez@riseup.net</email>
</author>
<published>2025-07-30T09:26:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=50c1faedebf6b8d779e05811398f25bbdf769f0a'/>
<id>50c1faedebf6b8d779e05811398f25bbdf769f0a</id>
<content type='text'>
https://github.com/rubygems/rubygems/commit/d41b8d303c
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/rubygems/rubygems/commit/d41b8d303c
</pre>
</div>
</content>
</entry>
<entry>
<title>[rubygems/rubygems] Fix `bundle update foo` not upgrading foo to latest in a specific case</title>
<updated>2025-08-18T03:31:51+00:00</updated>
<author>
<name>David Rodríguez</name>
<email>deivid.rodriguez@riseup.net</email>
</author>
<published>2025-08-01T13:19:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=bcc287fc6f33e5680ece7dd737e46fd7894d6ed7'/>
<id>bcc287fc6f33e5680ece7dd737e46fd7894d6ed7</id>
<content type='text'>
If upgrading `foo` needs an indirect dependency to be downgraded,
Bundler would not be able to upgrade foo.

This is because when calculating the latest resolvable version of foo,
Bundler was still adding lower bound requirements on the locked versions
of all dependencies to avoid downgrades, effectively pinning foo to a
version older than the latest.

To fix this, instead of creating a second "unlocked" definition to
figure out the latest resolvable version, create a second unlocked
resolver, and DO NOT add lower bound requirements to it.

https://github.com/rubygems/rubygems/commit/00cc0ecc69
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If upgrading `foo` needs an indirect dependency to be downgraded,
Bundler would not be able to upgrade foo.

This is because when calculating the latest resolvable version of foo,
Bundler was still adding lower bound requirements on the locked versions
of all dependencies to avoid downgrades, effectively pinning foo to a
version older than the latest.

To fix this, instead of creating a second "unlocked" definition to
figure out the latest resolvable version, create a second unlocked
resolver, and DO NOT add lower bound requirements to it.

https://github.com/rubygems/rubygems/commit/00cc0ecc69
</pre>
</div>
</content>
</entry>
<entry>
<title>[rubygems/rubygems] Remove "double CI" for testing Bundler 4 mode</title>
<updated>2025-06-30T03:56:50+00:00</updated>
<author>
<name>David Rodríguez</name>
<email>deivid.rodriguez@riseup.net</email>
</author>
<published>2025-06-25T14:20:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=9e566141cd7405f6e6d9948ba3fb073c6143b684'/>
<id>9e566141cd7405f6e6d9948ba3fb073c6143b684</id>
<content type='text'>
Since now every functionality that changes in Bundler 4 is under a
setting, we can enable that setting to test the new functionality,
without having to run our full CI twice.

This can actually be seen as increasing coverage, because Bundler 4
functionality will now be tested on Windows, MacOS, or any other
environment where previously "Bundler 4 mode" was not running.

https://github.com/rubygems/rubygems/commit/1cb3e009fc
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Since now every functionality that changes in Bundler 4 is under a
setting, we can enable that setting to test the new functionality,
without having to run our full CI twice.

This can actually be seen as increasing coverage, because Bundler 4
functionality will now be tested on Windows, MacOS, or any other
environment where previously "Bundler 4 mode" was not running.

https://github.com/rubygems/rubygems/commit/1cb3e009fc
</pre>
</div>
</content>
</entry>
<entry>
<title>[rubygems/rubygems] Make yet one more update spec independent of running version</title>
<updated>2025-06-25T23:06:46+00:00</updated>
<author>
<name>David Rodríguez</name>
<email>deivid.rodriguez@riseup.net</email>
</author>
<published>2025-06-18T20:00:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=54e51f1fc3ab13e64ef63a36e07fbf03cd107d4b'/>
<id>54e51f1fc3ab13e64ef63a36e07fbf03cd107d4b</id>
<content type='text'>
https://github.com/rubygems/rubygems/commit/07762f6c1f
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/rubygems/rubygems/commit/07762f6c1f
</pre>
</div>
</content>
</entry>
</feed>
