<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ruby.git/lib/rubygems/platform.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] 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] Add documentation for pattern matching methods</title>
<updated>2025-11-12T22:23:10+00:00</updated>
<author>
<name>Brandon Weaver</name>
<email>keystonelemur@gmail.com</email>
</author>
<published>2025-11-11T05:58:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=2247b0becbb2ad0939645f460669f8351fc0e376'/>
<id>2247b0becbb2ad0939645f460669f8351fc0e376</id>
<content type='text'>
https://github.com/ruby/rubygems/commit/18f64c6b29
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/rubygems/commit/18f64c6b29
</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] Missing tweak</title>
<updated>2025-05-19T02:15:30+00:00</updated>
<author>
<name>David Rodríguez</name>
<email>deivid.rodriguez@riseup.net</email>
</author>
<published>2025-05-08T12:33:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=aea603615fedf6289ae5e841d32a63ab3f433a91'/>
<id>aea603615fedf6289ae5e841d32a63ab3f433a91</id>
<content type='text'>
https://github.com/rubygems/rubygems/commit/407c1cbcfe
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/rubygems/rubygems/commit/407c1cbcfe
</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] RuboCop</title>
<updated>2025-05-19T02:15:29+00:00</updated>
<author>
<name>Samuel Giddins</name>
<email>segiddins@segiddins.me</email>
</author>
<published>2025-03-25T02:47:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=8f61e1755616f40192e7bff566709759b893e5fa'/>
<id>8f61e1755616f40192e7bff566709759b893e5fa</id>
<content type='text'>
Signed-off-by: Samuel Giddins &lt;segiddins@segiddins.me&gt;

https://github.com/rubygems/rubygems/commit/768784910b
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Samuel Giddins &lt;segiddins@segiddins.me&gt;

https://github.com/rubygems/rubygems/commit/768784910b
</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>
</feed>
