<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ruby.git/test/rubygems/test_gem_platform.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>[ruby/rubygems] Removed deprecated Gem::Platform.match</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:48:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=a6fa99fe18ec3d5f416c87cdb7e7fbb22f9de612'/>
<id>a6fa99fe18ec3d5f416c87cdb7e7fbb22f9de612</id>
<content type='text'>
https://github.com/ruby/rubygems/commit/f4b4f12f91
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/rubygems/commit/f4b4f12f91
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/rubygems] bin/rubocop -a --only Style/RedundantParentheses</title>
<updated>2025-11-14T05:22:20+00:00</updated>
<author>
<name>Hiroshi SHIBATA</name>
<email>hsbt@ruby-lang.org</email>
</author>
<published>2025-11-14T01:50:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=e68c0fc75bebee31f6c57b9f02bb10019a91976b'/>
<id>e68c0fc75bebee31f6c57b9f02bb10019a91976b</id>
<content type='text'>
https://github.com/ruby/rubygems/commit/be3b09c786
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/rubygems/commit/be3b09c786
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/rubygems] Add pattern matching support to Gem::Platform</title>
<updated>2025-11-12T22:23:10+00:00</updated>
<author>
<name>Brandon Weaver</name>
<email>keystonelemur@gmail.com</email>
</author>
<published>2025-11-09T03:16:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=3efabc8355df489d1fa9717e7cb1b8daa8ddf92e'/>
<id>3efabc8355df489d1fa9717e7cb1b8daa8ddf92e</id>
<content type='text'>
https://github.com/ruby/rubygems/commit/b59917447c
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/rubygems/commit/b59917447c
</pre>
</div>
</content>
</entry>
<entry>
<title>[rubygems/rubygems] Restore treating "--" as an unknown platform</title>
<updated>2025-07-17T02:07:22+00:00</updated>
<author>
<name>David Rodríguez</name>
<email>deivid.rodriguez@riseup.net</email>
</author>
<published>2025-07-16T16:29:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=851a3e772480308a3dd014fef9af901ef29eb9b7'/>
<id>851a3e772480308a3dd014fef9af901ef29eb9b7</id>
<content type='text'>
Rather than crashing when parsing it.

https://github.com/rubygems/rubygems/commit/aa0064e4c7
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Rather than crashing when parsing it.

https://github.com/rubygems/rubygems/commit/aa0064e4c7
</pre>
</div>
</content>
</entry>
<entry>
<title>Move most of Bundler::GemHelpers to Gem::Platform</title>
<updated>2025-06-06T01:22:18+00:00</updated>
<author>
<name>Samuel Giddins</name>
<email>segiddins@segiddins.me</email>
</author>
<published>2025-05-18T15:37:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=c0a1e877b3c0c5dd69bb634262bd4e73a07eb27e'/>
<id>c0a1e877b3c0c5dd69bb634262bd4e73a07eb27e</id>
<content type='text'>
This will help centralize wheel platform selection logic eventually

Signed-off-by: Samuel Giddins &lt;segiddins@segiddins.me&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This will help centralize wheel platform selection logic eventually

Signed-off-by: Samuel Giddins &lt;segiddins@segiddins.me&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[rubygems/rubygems] Partially phase out x64-mingw32 in favour of x64-mingw-ucrt (platforms)</title>
<updated>2025-06-02T22:47:14+00:00</updated>
<author>
<name>Nicholas La Roux</name>
<email>larouxn@gmail.com</email>
</author>
<published>2025-04-18T10:21:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=869a52f33aa2777f51fe87326850a010c58c4b64'/>
<id>869a52f33aa2777f51fe87326850a010c58c4b64</id>
<content type='text'>
- the x64-mingw32 platform has been superseded by x64-mingw-ucrt
- the mingw-ucrt platform is present as of Windows 10, which was released 10 years ago in 2015 and all versions prior to 10 are end-of-life and 10 will be by mid October 2025
- newer rubies use the mingw-ucrt platform instead of the mingw32 platform, meaning using the deprecated platform can cause issues during gem installation

https://github.com/rubygems/rubygems/commit/b9d871022e
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- the x64-mingw32 platform has been superseded by x64-mingw-ucrt
- the mingw-ucrt platform is present as of Windows 10, which was released 10 years ago in 2015 and all versions prior to 10 are end-of-life and 10 will be by mid October 2025
- newer rubies use the mingw-ucrt platform instead of the mingw32 platform, meaning using the deprecated platform can cause issues during gem installation

https://github.com/rubygems/rubygems/commit/b9d871022e
</pre>
</div>
</content>
</entry>
<entry>
<title>[rubygems/rubygems] Simplify Gem::Platform#initialize</title>
<updated>2025-05-19T02:15:29+00:00</updated>
<author>
<name>Samuel Giddins</name>
<email>segiddins@segiddins.me</email>
</author>
<published>2025-04-17T01:54:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=4be199e435da2c0e814e570f1b638b2f08ee2527'/>
<id>4be199e435da2c0e814e570f1b638b2f08ee2527</id>
<content type='text'>
Based on PR feedback

Signed-off-by: Samuel Giddins &lt;segiddins@segiddins.me&gt;

https://github.com/rubygems/rubygems/commit/562d7aa087
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Based on PR feedback

Signed-off-by: Samuel Giddins &lt;segiddins@segiddins.me&gt;

https://github.com/rubygems/rubygems/commit/562d7aa087
</pre>
</div>
</content>
</entry>
<entry>
<title>[rubygems/rubygems] Ensure that Gem::Platform parses strings to a fix point</title>
<updated>2025-05-19T02:15:28+00:00</updated>
<author>
<name>Samuel Giddins</name>
<email>segiddins@segiddins.me</email>
</author>
<published>2025-03-24T17:48:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=eb48418b4024c6a19725598ce088918c6392b69f'/>
<id>eb48418b4024c6a19725598ce088918c6392b69f</id>
<content type='text'>
The issue was that the property that

```ruby
platform = Gem::Platform.new $string
platform == Gem::Platform.new(platform.to_s)
```

was not always true.

This property (of acchieving a fix point) is important,
since `Gem::Platform` gets serialized to a string and
then deserialized back to a `Gem::Platform` object.
If it doesn't deserialize to the same object, then
different platforms are used for the initial serialization
than subsequent runs.

I used https://github.com/segiddins/Scratch/blob/main/2025/03/rubygems-platform.rb
to find the failing cases and then fixed them.
With this patch, the prop check test now passes.

https://github.com/rubygems/rubygems/commit/313fb4bcec
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The issue was that the property that

```ruby
platform = Gem::Platform.new $string
platform == Gem::Platform.new(platform.to_s)
```

was not always true.

This property (of acchieving a fix point) is important,
since `Gem::Platform` gets serialized to a string and
then deserialized back to a `Gem::Platform` object.
If it doesn't deserialize to the same object, then
different platforms are used for the initial serialization
than subsequent runs.

I used https://github.com/segiddins/Scratch/blob/main/2025/03/rubygems-platform.rb
to find the failing cases and then fixed them.
With this patch, the prop check test now passes.

https://github.com/rubygems/rubygems/commit/313fb4bcec
</pre>
</div>
</content>
</entry>
<entry>
<title>[rubygems/rubygems] Restrict generic `arm` to only match 32-bit arm</title>
<updated>2024-07-05T09:02:52+00:00</updated>
<author>
<name>なつき</name>
<email>i@ntk.me</email>
</author>
<published>2024-07-03T18:19:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=88a2a46e233fb52107f4ef921813f14243af75d4'/>
<id>88a2a46e233fb52107f4ef921813f14243af75d4</id>
<content type='text'>
https://github.com/rubygems/rubygems/commit/14c4c16e96
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/rubygems/rubygems/commit/14c4c16e96
</pre>
</div>
</content>
</entry>
<entry>
<title>[rubygems/rubygems] Delete extra spaces left after rubocop autofix</title>
<updated>2024-06-18T01:52:04+00:00</updated>
<author>
<name>Alexey Schepin</name>
<email>alexey.schepin@builder.ai</email>
</author>
<published>2024-06-17T17:06:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=a3930db275351cba075aa67000374ff0641126e9'/>
<id>a3930db275351cba075aa67000374ff0641126e9</id>
<content type='text'>
https://github.com/rubygems/rubygems/commit/a552732bed
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/rubygems/rubygems/commit/a552732bed
</pre>
</div>
</content>
</entry>
</feed>
