<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ruby.git/test/rubygems/utilities.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>[rubygems/rubygems] Prevent a warning: net/http: Content-Type did not set</title>
<updated>2024-11-25T10:13:32+00:00</updated>
<author>
<name>Yusuke Endoh</name>
<email>mame@ruby-lang.org</email>
</author>
<published>2024-11-25T08:00:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=6ab76a6212853f8d43aa2505be3d198e574988ae'/>
<id>6ab76a6212853f8d43aa2505be3d198e574988ae</id>
<content type='text'>
`make test-all RUBYOPT=-w` in the ruby/ruby repo printed the warning.
This change prevents the warning by specifying the content-type
explicitly.

A follow-up to https://github.com/rubygems/rubygems/commit/b70c1bb1503d

https://github.com/rubygems/rubygems/commit/d573af07f6
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
`make test-all RUBYOPT=-w` in the ruby/ruby repo printed the warning.
This change prevents the warning by specifying the content-type
explicitly.

A follow-up to https://github.com/rubygems/rubygems/commit/b70c1bb1503d

https://github.com/rubygems/rubygems/commit/d573af07f6
</pre>
</div>
</content>
</entry>
<entry>
<title>[rubygems/rubygems] Add --attestation option to gem push</title>
<updated>2024-11-20T19:32:49+00:00</updated>
<author>
<name>Samuel Giddins</name>
<email>segiddins@segiddins.me</email>
</author>
<published>2024-11-14T00:48:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=b70c1bb1503df69716312ce5b0ad89e9be02d44b'/>
<id>b70c1bb1503df69716312ce5b0ad89e9be02d44b</id>
<content type='text'>
Signed-off-by: Samuel Giddins &lt;segiddins@segiddins.me&gt;

https://github.com/rubygems/rubygems/commit/a5412d9a0e
</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/a5412d9a0e
</pre>
</div>
</content>
</entry>
<entry>
<title>[rubygems/rubygems] Fix commands with 2 MFA requests when webauthn is enabled</title>
<updated>2024-11-04T10:04:58+00:00</updated>
<author>
<name>David Rodríguez</name>
<email>deivid.rodriguez@riseup.net</email>
</author>
<published>2024-10-22T14:57:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=9ce1b5e11f807541ba9e3f7800fe4f64dfd1a906'/>
<id>9ce1b5e11f807541ba9e3f7800fe4f64dfd1a906</id>
<content type='text'>
If a command requires two MFA authenticated requests, and webauthn is
enabled, then first one will succeed but the second one will fail
because it tries to reuse the OTP code from the first request and that
does not work.

This happens when you have not yet logged in to rubygems.org, or when
you have an API key with invalid scopes for the current operation. In
that case, we need:

* An API request to get a token or change scopes for the one that you
  have.
* Another API request to perform the actual operation.

Instead of trying to reuse the token, make sure it's cleared so we are
asked to authenticate again. We only do this when webauthn is enabled
because reusing TOPT tokens otherwise is allowed and I don't want to
break that.

https://github.com/rubygems/rubygems/commit/669e343935
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If a command requires two MFA authenticated requests, and webauthn is
enabled, then first one will succeed but the second one will fail
because it tries to reuse the OTP code from the first request and that
does not work.

This happens when you have not yet logged in to rubygems.org, or when
you have an API key with invalid scopes for the current operation. In
that case, we need:

* An API request to get a token or change scopes for the one that you
  have.
* Another API request to perform the actual operation.

Instead of trying to reuse the token, make sure it's cleared so we are
asked to authenticate again. We only do this when webauthn is enabled
because reusing TOPT tokens otherwise is allowed and I don't want to
break that.

https://github.com/rubygems/rubygems/commit/669e343935
</pre>
</div>
</content>
</entry>
<entry>
<title>Vendor uri gem in RubyGems</title>
<updated>2024-01-29T03:14:21+00:00</updated>
<author>
<name>David Rodríguez</name>
<email>deivid.rodriguez@riseup.net</email>
</author>
<published>2024-01-15T19:51:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=d64d0b54231208c7bec899a7fe8c3b98ec2e9a1b'/>
<id>d64d0b54231208c7bec899a7fe8c3b98ec2e9a1b</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] Vendor net-http and net-protocol in RubyGems</title>
<updated>2023-12-13T03:16:55+00:00</updated>
<author>
<name>David Rodríguez</name>
<email>deivid.rodriguez@riseup.net</email>
</author>
<published>2023-01-29T20:24:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=ce924ce1fb029f19fd34a43f2012a485f4f62b53'/>
<id>ce924ce1fb029f19fd34a43f2012a485f4f62b53</id>
<content type='text'>
https://github.com/rubygems/rubygems/commit/99d91c9ed2
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/rubygems/rubygems/commit/99d91c9ed2
</pre>
</div>
</content>
</entry>
<entry>
<title>[rubygems/rubygems] Suppress Content-Type warnings</title>
<updated>2023-06-19T17:24:38+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2023-06-17T03:46:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=11ee4f2b71afc2c41da2466d77262ced4c803634'/>
<id>11ee4f2b71afc2c41da2466d77262ced4c803634</id>
<content type='text'>
https://github.com/rubygems/rubygems/commit/97dbe4cabd
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/rubygems/rubygems/commit/97dbe4cabd
</pre>
</div>
</content>
</entry>
<entry>
<title>[rubygems/rubygems] Add MockBrowser helper class</title>
<updated>2023-04-12T02:51:04+00:00</updated>
<author>
<name>Jenny Shen</name>
<email>jenny.shen@shopify.com</email>
</author>
<published>2023-02-15T15:50:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=27322e51a757f0ac6d1fd66802e02978def9904f'/>
<id>27322e51a757f0ac6d1fd66802e02978def9904f</id>
<content type='text'>
https://github.com/rubygems/rubygems/commit/2d763cfd47

Co-authored-by: Jacques Chester &lt;jacques.chester@shopify.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/rubygems/rubygems/commit/2d763cfd47

Co-authored-by: Jacques Chester &lt;jacques.chester@shopify.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[rubygems/rubygems] add some test suites under the Gem namespace, so as not to collide</title>
<updated>2023-04-05T05:38:20+00:00</updated>
<author>
<name>lukeg</name>
<email>luke.gru@gmail.com</email>
</author>
<published>2023-03-20T18:01:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=28d6c6d69b4e7028649a0dc42f06507e7cd47e39'/>
<id>28d6c6d69b4e7028649a0dc42f06507e7cd47e39</id>
<content type='text'>
To avoid collisions especially in ruby/ruby

https://github.com/rubygems/rubygems/commit/e6b2359975
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
To avoid collisions especially in ruby/ruby

https://github.com/rubygems/rubygems/commit/e6b2359975
</pre>
</div>
</content>
</entry>
<entry>
<title>[rubygems/rubygems] util/rubocop -A --only Performance/RegexpMatch</title>
<updated>2023-04-04T12:20:43+00:00</updated>
<author>
<name>Hiroshi SHIBATA</name>
<email>hsbt@ruby-lang.org</email>
</author>
<published>2023-04-04T03:03:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=a881b33818b101ad097cd0158afda11b6c24f1fc'/>
<id>a881b33818b101ad097cd0158afda11b6c24f1fc</id>
<content type='text'>
https://github.com/rubygems/rubygems/commit/52ae4452c2
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/rubygems/rubygems/commit/52ae4452c2
</pre>
</div>
</content>
</entry>
<entry>
<title>util/rubocop -A --only Layout/EmptyLineAfterMagicComment</title>
<updated>2023-03-23T08:18:49+00:00</updated>
<author>
<name>Hiroshi SHIBATA</name>
<email>hsbt@ruby-lang.org</email>
</author>
<published>2023-03-17T09:36:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=f24a86d83f07f214e97aa98da190cda55092805f'/>
<id>f24a86d83f07f214e97aa98da190cda55092805f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
