<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ruby.git/test/rubygems/test_gem_installer.rb, branch v4.0.2</title>
<subtitle>The Ruby Programming Language</subtitle>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/'/>
<entry>
<title>Bundle RubyGems 4.0.2 and Bundler 4.0.2</title>
<updated>2025-12-17T03:12:34+00:00</updated>
<author>
<name>Hiroshi SHIBATA</name>
<email>hsbt@ruby-lang.org</email>
</author>
<published>2025-12-17T02:29:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=3b66efda523fc33070aee6097898dbc5b1af6f4b'/>
<id>3b66efda523fc33070aee6097898dbc5b1af6f4b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/rubygems] Write gem files atomically</title>
<updated>2025-12-15T01:15:06+00:00</updated>
<author>
<name>eileencodes</name>
<email>eileencodes@gmail.com</email>
</author>
<published>2025-11-25T19:17:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=58940377e6f27f39d5c3baa0faa15655fa873f2c'/>
<id>58940377e6f27f39d5c3baa0faa15655fa873f2c</id>
<content type='text'>
This change updates `write_binary` to use a new class,
`AtomicFileWriter.open` to write the gem's files. This implementation
is borrowed from Active Support's [`atomic_write`](https://github.com/rails/rails/blob/main/activesupport/lib/active_support/core_ext/file/atomic.rb).

Atomic write will write the files to a temporary file and then once
created, sets permissions and renames the file. If the file is corrupted
- ie on failed download, an error occurs, or for some other reason, the
real file will not be created. The changes made here make `verify_gz`
obsolete, we don't need to verify it if we have successfully created the
file atomically. If it exists, it is not corrupt. If it is corrupt, the
file won't exist on disk.

While writing tests for this functionality I replaced the
`RemoteFetcher` stub with `FakeFetcher` except for where we really do
need to overwrite the `RemoteFetcher`. The new test implementation is much
clearer on what it's trying to accomplish versus the prior test
implementation.

https://github.com/ruby/rubygems/commit/0cd4b54291
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This change updates `write_binary` to use a new class,
`AtomicFileWriter.open` to write the gem's files. This implementation
is borrowed from Active Support's [`atomic_write`](https://github.com/rails/rails/blob/main/activesupport/lib/active_support/core_ext/file/atomic.rb).

Atomic write will write the files to a temporary file and then once
created, sets permissions and renames the file. If the file is corrupted
- ie on failed download, an error occurs, or for some other reason, the
real file will not be created. The changes made here make `verify_gz`
obsolete, we don't need to verify it if we have successfully created the
file atomically. If it exists, it is not corrupt. If it is corrupt, the
file won't exist on disk.

While writing tests for this functionality I replaced the
`RemoteFetcher` stub with `FakeFetcher` except for where we really do
need to overwrite the `RemoteFetcher`. The new test implementation is much
clearer on what it's trying to accomplish versus the prior test
implementation.

https://github.com/ruby/rubygems/commit/0cd4b54291
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/rubygems] Removed deprecated Gem::Installer#unpack</title>
<updated>2025-11-14T06:09:37+00:00</updated>
<author>
<name>Hiroshi SHIBATA</name>
<email>hsbt@ruby-lang.org</email>
</author>
<published>2025-11-14T01:36:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=a242adc3e9de1e9124ba6a4f34d3b979afc6a671'/>
<id>a242adc3e9de1e9124ba6a4f34d3b979afc6a671</id>
<content type='text'>
https://github.com/ruby/rubygems/commit/96cef34041
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/rubygems/commit/96cef34041
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/rubygems] Completely removed install_as_default feature</title>
<updated>2025-10-28T11:06:16+00:00</updated>
<author>
<name>Hiroshi SHIBATA</name>
<email>hsbt@ruby-lang.org</email>
</author>
<published>2024-04-18T06:38:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=d67aba8a5d81383880e05504de9a52ab6b2a015e'/>
<id>d67aba8a5d81383880e05504de9a52ab6b2a015e</id>
<content type='text'>
https://github.com/ruby/rubygems/commit/15e46a3a68
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/rubygems/commit/15e46a3a68
</pre>
</div>
</content>
</entry>
<entry>
<title>[rubygems/rubygems] Fix more warnings when running old Bundler with latest RubyGems</title>
<updated>2025-07-14T02:52:14+00:00</updated>
<author>
<name>David Rodríguez</name>
<email>deivid.rodriguez@riseup.net</email>
</author>
<published>2025-07-09T10:23:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=7a03a02bee340897a3647190e6a5f9866efb31ce'/>
<id>7a03a02bee340897a3647190e6a5f9866efb31ce</id>
<content type='text'>
Also fix platform warnings when Bundler's entrypoint is bundler's
binstub.

https://github.com/rubygems/rubygems/commit/4b1df58403
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Also fix platform warnings when Bundler's entrypoint is bundler's
binstub.

https://github.com/rubygems/rubygems/commit/4b1df58403
</pre>
</div>
</content>
</entry>
<entry>
<title>[rubygems/rubygems] Improve some heredoc indentations</title>
<updated>2025-07-14T02:52:13+00:00</updated>
<author>
<name>David Rodríguez</name>
<email>deivid.rodriguez@riseup.net</email>
</author>
<published>2025-07-09T16:34:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=15751af90b649a15c461e981daece58ce1ceb9ec'/>
<id>15751af90b649a15c461e981daece58ce1ceb9ec</id>
<content type='text'>
https://github.com/rubygems/rubygems/commit/6ee3a33048
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/rubygems/rubygems/commit/6ee3a33048
</pre>
</div>
</content>
</entry>
<entry>
<title>[rubygems/rubygems] Stop generating binstubs with support for RubyGems before 2.6.2</title>
<updated>2025-07-14T02:52:13+00:00</updated>
<author>
<name>David Rodríguez</name>
<email>deivid.rodriguez@riseup.net</email>
</author>
<published>2025-07-09T16:28:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=f1cbd58acca3547d802c914b9a6509fc79b15f93'/>
<id>f1cbd58acca3547d802c914b9a6509fc79b15f93</id>
<content type='text'>
RubyGems generated binstubs still provide support for this ancient
version. This makes no sense since we prevent downgrades to such old
versions.

https://github.com/rubygems/rubygems/commit/089cdc3b77
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
RubyGems generated binstubs still provide support for this ancient
version. This makes no sense since we prevent downgrades to such old
versions.

https://github.com/rubygems/rubygems/commit/089cdc3b77
</pre>
</div>
</content>
</entry>
<entry>
<title>[rubygems/rubygems] Refactor some logic to create extconf files for tests</title>
<updated>2025-06-17T06:09:34+00:00</updated>
<author>
<name>David Rodríguez</name>
<email>deivid.rodriguez@riseup.net</email>
</author>
<published>2025-06-12T17:35:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=0c2f0ffa60930308cf07201527489475cf98781f'/>
<id>0c2f0ffa60930308cf07201527489475cf98781f</id>
<content type='text'>
https://github.com/rubygems/rubygems/commit/9a859078ab
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/rubygems/rubygems/commit/9a859078ab
</pre>
</div>
</content>
</entry>
<entry>
<title>[rubygems/rubygems] misc: fix spelling</title>
<updated>2025-06-02T22:47:14+00:00</updated>
<author>
<name>John Bampton</name>
<email>jbampton@gmail.com</email>
</author>
<published>2025-05-28T19:30:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=a763716a9682f367ee664f1f43e36daac9839cbe'/>
<id>a763716a9682f367ee664f1f43e36daac9839cbe</id>
<content type='text'>
https://github.com/rubygems/rubygems/commit/0e40e7d938
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/rubygems/rubygems/commit/0e40e7d938
</pre>
</div>
</content>
</entry>
<entry>
<title>[rubygems/rubygems] Fixed rubocop issue: Layout/SpaceInsideBlockBraces</title>
<updated>2025-04-16T05:10:36+00:00</updated>
<author>
<name>Hiroshi SHIBATA</name>
<email>hsbt@ruby-lang.org</email>
</author>
<published>2025-04-16T01:59:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=51952929e1ddd01a17f9e47899ec4de35be002c6'/>
<id>51952929e1ddd01a17f9e47899ec4de35be002c6</id>
<content type='text'>
https://github.com/rubygems/rubygems/commit/77a52b011a
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/rubygems/rubygems/commit/77a52b011a
</pre>
</div>
</content>
</entry>
</feed>
