<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ruby.git/lib/rubygems/source.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>Merge RubyGems 4.0.3 and Bundler 4.0.3</title>
<updated>2025-12-23T07:10:04+00:00</updated>
<author>
<name>Hiroshi SHIBATA</name>
<email>hsbt@ruby-lang.org</email>
</author>
<published>2025-12-23T04:48:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=1c3ef2719155b56f14bf734c82b26ef0bbaac798'/>
<id>1c3ef2719155b56f14bf734c82b26ef0bbaac798</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[rubygems/rubygems] Use spaces around optional parameter values</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-11T20:02:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=7125f7635d43f67b1664bf85e72a34d868259822'/>
<id>7125f7635d43f67b1664bf85e72a34d868259822</id>
<content type='text'>
https://github.com/rubygems/rubygems/commit/b58829a868
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/rubygems/rubygems/commit/b58829a868
</pre>
</div>
</content>
</entry>
<entry>
<title>[rubygems/rubygems] Copy prerelease attribute to dependency resolver sets</title>
<updated>2025-05-21T02:33:32+00:00</updated>
<author>
<name>Nathan Ladd</name>
<email>nathanladd@gmail.com</email>
</author>
<published>2025-04-23T16:26:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=3ac239f7904816a61137524140306123e53c18dd'/>
<id>3ac239f7904816a61137524140306123e53c18dd</id>
<content type='text'>
https://github.com/rubygems/rubygems/commit/5956e7f8e5
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/rubygems/rubygems/commit/5956e7f8e5
</pre>
</div>
</content>
</entry>
<entry>
<title>[rubygems/rubygems] Remove unnecessary "./" when appending string to uri</title>
<updated>2024-09-06T18:44:38+00:00</updated>
<author>
<name>David Rodríguez</name>
<email>deivid.rodriguez@riseup.net</email>
</author>
<published>2024-09-06T17:01:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=b0adae7fb25cd0c2113c3498d384c1f0ffad5e6e'/>
<id>b0adae7fb25cd0c2113c3498d384c1f0ffad5e6e</id>
<content type='text'>
https://github.com/rubygems/rubygems/commit/732679306d
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/rubygems/rubygems/commit/732679306d
</pre>
</div>
</content>
</entry>
<entry>
<title>[rubygems/rubygems] Fix `gem install does-not-exist` being super slow</title>
<updated>2024-09-06T18:44:37+00:00</updated>
<author>
<name>David Rodríguez</name>
<email>deivid.rodriguez@riseup.net</email>
</author>
<published>2024-09-06T07:34:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=fe1bace43c73d88a5721e9b97066e746a34f135c'/>
<id>fe1bace43c73d88a5721e9b97066e746a34f135c</id>
<content type='text'>
Every time a gem is not found in the Compact Index API, RubyGems will
fallback to the full index, which is very slow. This is unnecessary
because both indexes should be providing the same gems, so if a gem
can't be found in the Compact Index API, it won't be found in the full
index.

We _do_ want a fallback to the full index, whenever the Compact Index
API is not implemented. To detect that, we check that the API responds
to the "/versions" endpoint, just like Bundler does.

Before:

```
$ time gem install fooasdsfafs
ERROR:  Could not find a valid gem 'fooasdsfafs' (&gt;= 0) in any repository
gem  20,77s user 0,59s system 96% cpu 22,017 total
```

After:

```
$ time gem install fooasdsfafs
ERROR:  Could not find a valid gem 'fooasdsfafs' (&gt;= 0) in any repository
gem  5,02s user 0,09s system 91% cpu 5,568 total
```

https://github.com/rubygems/rubygems/commit/c0d6b9eea7
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Every time a gem is not found in the Compact Index API, RubyGems will
fallback to the full index, which is very slow. This is unnecessary
because both indexes should be providing the same gems, so if a gem
can't be found in the Compact Index API, it won't be found in the full
index.

We _do_ want a fallback to the full index, whenever the Compact Index
API is not implemented. To detect that, we check that the API responds
to the "/versions" endpoint, just like Bundler does.

Before:

```
$ time gem install fooasdsfafs
ERROR:  Could not find a valid gem 'fooasdsfafs' (&gt;= 0) in any repository
gem  20,77s user 0,59s system 96% cpu 22,017 total
```

After:

```
$ time gem install fooasdsfafs
ERROR:  Could not find a valid gem 'fooasdsfafs' (&gt;= 0) in any repository
gem  5,02s user 0,09s system 91% cpu 5,568 total
```

https://github.com/rubygems/rubygems/commit/c0d6b9eea7
</pre>
</div>
</content>
</entry>
<entry>
<title>[rubygems/rubygems] standardize pretty-print output for Gem::Source and subclasses</title>
<updated>2024-09-03T17:40:12+00:00</updated>
<author>
<name>Durable Programming Team</name>
<email>djberube@durableprogramming.com</email>
</author>
<published>2024-09-02T19:16:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=675529b9c662c0e69a71de12d7a22c68016186f5'/>
<id>675529b9c662c0e69a71de12d7a22c68016186f5</id>
<content type='text'>
https://github.com/rubygems/rubygems/commit/6d5fbf82f1
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/rubygems/rubygems/commit/6d5fbf82f1
</pre>
</div>
</content>
</entry>
<entry>
<title>[rubygems/rubygems] Use modern hashes consistently</title>
<updated>2023-12-07T22:29:33+00:00</updated>
<author>
<name>David Rodríguez</name>
<email>deivid.rodriguez@riseup.net</email>
</author>
<published>2023-12-07T21:10:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=2755cb1b2fbc4a5f08ca56345b5945bd452da74e'/>
<id>2755cb1b2fbc4a5f08ca56345b5945bd452da74e</id>
<content type='text'>
https://github.com/rubygems/rubygems/commit/bb66253f2c
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/rubygems/rubygems/commit/bb66253f2c
</pre>
</div>
</content>
</entry>
<entry>
<title>[rubygems/rubygems] Drop support for Ruby 2.6 and Ruby 2.7 in RubyGems</title>
<updated>2023-11-13T02:06:10+00:00</updated>
<author>
<name>David Rodríguez</name>
<email>deivid.rodriguez@riseup.net</email>
</author>
<published>2023-10-26T20:11:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=54511303a46901a82e9b2d4ee460b2048e59a2e5'/>
<id>54511303a46901a82e9b2d4ee460b2048e59a2e5</id>
<content type='text'>
https://github.com/rubygems/rubygems/commit/10c26a483d
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/rubygems/rubygems/commit/10c26a483d
</pre>
</div>
</content>
</entry>
<entry>
<title>[rubygems/rubygems] Add a Marshal.load replacement that walks an AST to safely load permitted classes/symbols</title>
<updated>2023-09-20T02:02:58+00:00</updated>
<author>
<name>Samuel Giddins</name>
<email>segiddins@segiddins.me</email>
</author>
<published>2023-08-18T20:35:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=d182d83ce929cd322f4a6fd134cd31be950eca77'/>
<id>d182d83ce929cd322f4a6fd134cd31be950eca77</id>
<content type='text'>
https://github.com/rubygems/rubygems/commit/7e4478fe73
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/rubygems/rubygems/commit/7e4478fe73
</pre>
</div>
</content>
</entry>
<entry>
<title>[rubygems/rubygems] util/rubocop -A --only Style/RegexpLiteral</title>
<updated>2023-04-05T09:50:29+00:00</updated>
<author>
<name>Hiroshi SHIBATA</name>
<email>hsbt@ruby-lang.org</email>
</author>
<published>2023-04-05T08:06:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=e003784fc8bfa527cf21c317741101a713c041c0'/>
<id>e003784fc8bfa527cf21c317741101a713c041c0</id>
<content type='text'>
https://github.com/rubygems/rubygems/commit/9264d83421
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/rubygems/rubygems/commit/9264d83421
</pre>
</div>
</content>
</entry>
</feed>
