<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ruby.git/lib/bundler/templates/newgem, branch master</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] Use optimistic version constraints in bundle gem output</title>
<updated>2026-05-11T02:49:07+00:00</updated>
<author>
<name>Jeremy Evans</name>
<email>code@jeremyevans.net</email>
</author>
<published>2026-05-08T23:53:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=7dc93cb1679c9834a8da1caf5dfff3234b6abdc4'/>
<id>7dc93cb1679c9834a8da1caf5dfff3234b6abdc4</id>
<content type='text'>
This changes the gemspec and Gemfile to use optimistic versions for
dependencies.

https://github.com/ruby/rubygems/commit/92b0305c8b
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This changes the gemspec and Gemfile to use optimistic versions for
dependencies.

https://github.com/ruby/rubygems/commit/92b0305c8b
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/rubygems] Bump rb_sys to &gt;= 0.9.127</title>
<updated>2026-05-01T01:50:14+00:00</updated>
<author>
<name>Hiroshi SHIBATA</name>
<email>hsbt@ruby-lang.org</email>
</author>
<published>2026-04-13T02:51:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=5219c4c8013bc3b859c46020f82528d8fa4d85b2'/>
<id>5219c4c8013bc3b859c46020f82528d8fa4d85b2</id>
<content type='text'>
https://github.com/ruby/rubygems/commit/cf21e9113f

Co-Authored-By: Claude Opus 4.6 (1M context) &lt;noreply@anthropic.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/rubygems/commit/cf21e9113f

Co-Authored-By: Claude Opus 4.6 (1M context) &lt;noreply@anthropic.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/rubygems] Update gem creation guide URL to rubygems.org</title>
<updated>2026-04-24T00:45:15+00:00</updated>
<author>
<name>y-onishi</name>
<email>yuta_onishi@smartbank.co.jp</email>
</author>
<published>2026-04-23T10:57:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=7e1039e191550869aa146a4895af2db48b506882'/>
<id>7e1039e191550869aa146a4895af2db48b506882</id>
<content type='text'>
Update the gem creation guide links in the CLI output and gemspac template.
The previous Bundler guide URL now redirects to RubyGems Guides.

https://github.com/ruby/rubygems/commit/0b469edf03
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Update the gem creation guide links in the CLI output and gemspac template.
The previous Bundler guide URL now redirects to RubyGems Guides.

https://github.com/ruby/rubygems/commit/0b469edf03
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/rubygems] Add commented-out rubygems_mfa_required to bundle gem template</title>
<updated>2026-04-16T06:17:59+00:00</updated>
<author>
<name>Matheus Richard</name>
<email>matheusrichardt@gmail.com</email>
</author>
<published>2026-04-15T19:55:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=8ee25f7397fa8cc6bfdadcbec52021678b7bdd8d'/>
<id>8ee25f7397fa8cc6bfdadcbec52021678b7bdd8d</id>
<content type='text'>
Package registries are active supply chain attack targets. Recent
high-profile incidents include the Axios NPM compromise
(https://socket.dev/blog/axios-npm-package-compromised) and the LiteLLM
PyPI compromise (https://docs.litellm.ai/blog/security-update-march-2026).

RubyGems supports an MFA-required opt-in via gemspec metadata:

    spec.metadata["rubygems_mfa_required"] = "true"

but most gems haven't enabled it. A big reason is discoverability. Nothing
in the `bundle gem` flow mentions the option, so authors would need to
already know it exists to find it.

Reference: https://guides.rubygems.org/mfa-requirement-opt-in/

This commit adds a commented-out `spec.metadata["rubygems_mfa_required"] = "true"` line,
along with a short explanatory comment and a reference link, to the gemspec
template used by `bundle gem`. Default behavior is unchanged because the
line is commented out, but every new gem author now sees the MFA opt-in
right where they configure their gemspec. Opting in is then a matter of
deleting the leading `# `.

https://github.com/ruby/rubygems/commit/2fd3496ce1
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Package registries are active supply chain attack targets. Recent
high-profile incidents include the Axios NPM compromise
(https://socket.dev/blog/axios-npm-package-compromised) and the LiteLLM
PyPI compromise (https://docs.litellm.ai/blog/security-update-march-2026).

RubyGems supports an MFA-required opt-in via gemspec metadata:

    spec.metadata["rubygems_mfa_required"] = "true"

but most gems haven't enabled it. A big reason is discoverability. Nothing
in the `bundle gem` flow mentions the option, so authors would need to
already know it exists to find it.

Reference: https://guides.rubygems.org/mfa-requirement-opt-in/

This commit adds a commented-out `spec.metadata["rubygems_mfa_required"] = "true"` line,
along with a short explanatory comment and a reference link, to the gemspec
template used by `bundle gem`. Default behavior is unchanged because the
line is commented out, but every new gem author now sees the MFA opt-in
right where they configure their gemspec. Opting in is then a matter of
deleting the leading `# `.

https://github.com/ruby/rubygems/commit/2fd3496ce1
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/rubygems] Use eq matcher instead of be for string comparison in newgem template</title>
<updated>2026-04-08T05:39:58+00:00</updated>
<author>
<name>Hiroshi SHIBATA</name>
<email>hsbt@ruby-lang.org</email>
</author>
<published>2026-04-08T05:15:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=539cb5e19a0134c120421628a2f5619baa728e5b'/>
<id>539cb5e19a0134c120421628a2f5619baa728e5b</id>
<content type='text'>
be checks object identity which will fail for newly-allocated strings.
eq checks value equality and is the correct matcher here.

https://github.com/ruby/rubygems/commit/828440937b

Co-Authored-By: Claude Opus 4.6 (1M context) &lt;noreply@anthropic.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
be checks object identity which will fail for newly-allocated strings.
eq checks value equality and is the correct matcher here.

https://github.com/ruby/rubygems/commit/828440937b

Co-Authored-By: Claude Opus 4.6 (1M context) &lt;noreply@anthropic.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/rubygems] Fix wrong expected value in Rust extension test templates</title>
<updated>2026-04-08T05:39:58+00:00</updated>
<author>
<name>Hiroshi SHIBATA</name>
<email>hsbt@ruby-lang.org</email>
</author>
<published>2026-04-08T04:26:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=f5ad01ea9731560f6c3bc5ad339533460cf92958'/>
<id>f5ad01ea9731560f6c3bc5ad339533460cf92958</id>
<content type='text'>
The Rust function hello("world") returns "Hello world, from Rust!" but
the Ruby test templates expected "Hello earth, from Rust!", causing
generated tests to fail immediately after bundle gem --ext=rust.

https://github.com/ruby/rubygems/commit/8de4c041ba

Co-Authored-By: Claude Opus 4.6 (1M context) &lt;noreply@anthropic.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The Rust function hello("world") returns "Hello world, from Rust!" but
the Ruby test templates expected "Hello earth, from Rust!", causing
generated tests to fail immediately after bundle gem --ext=rust.

https://github.com/ruby/rubygems/commit/8de4c041ba

Co-Authored-By: Claude Opus 4.6 (1M context) &lt;noreply@anthropic.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/rubygems] Restore rb_sys dependency for Rust</title>
<updated>2026-03-30T05:34:10+00:00</updated>
<author>
<name>방성범 (Bang Seongbeom)</name>
<email>bangseongbeom@gmail.com</email>
</author>
<published>2026-03-20T17:14:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=3379c7efbdc34b7936f322a6bc2de4834c8c65fc'/>
<id>3379c7efbdc34b7936f322a6bc2de4834c8c65fc</id>
<content type='text'>
https://github.com/ruby/rubygems/commit/7cd3b9a08a
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/rubygems/commit/7cd3b9a08a
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/rubygems] Restrict GitHub Actions workflow permissions for newgem</title>
<updated>2026-03-02T06:20:44+00:00</updated>
<author>
<name>Taketo Takashima</name>
<email>t.taketo1113@gmail.com</email>
</author>
<published>2026-03-02T04:38:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=b0ee787733f2a497b5b8d4a14118cfe0c684e349'/>
<id>b0ee787733f2a497b5b8d4a14118cfe0c684e349</id>
<content type='text'>
- Configure minimal required permissions in the GitHub Actions workflow template
- Bump actions/checkout from 4 to 6
- Bump actions/upload-artifact from 3 to 7

https://github.com/ruby/rubygems/commit/e4c82bd095
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Configure minimal required permissions in the GitHub Actions workflow template
- Bump actions/checkout from 4 to 6
- Bump actions/upload-artifact from 3 to 7

https://github.com/ruby/rubygems/commit/e4c82bd095
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/rubygems] remove outdated rubies</title>
<updated>2026-02-13T06:28:15+00:00</updated>
<author>
<name>Garen J. Torikian</name>
<email>gjtorikian@users.noreply.github.com</email>
</author>
<published>2025-02-21T14:00:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=f94f28481b8450c0dfa18304be420fd969321b7e'/>
<id>f94f28481b8450c0dfa18304be420fd969321b7e</id>
<content type='text'>
https://github.com/ruby/rubygems/commit/98a50203cb
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/rubygems/commit/98a50203cb
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/rubygems] update template dependencies</title>
<updated>2026-02-13T06:28:14+00:00</updated>
<author>
<name>Garen J. Torikian</name>
<email>gjtorikian@users.noreply.github.com</email>
</author>
<published>2025-02-08T21:17:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=e0ab4157877c737b775610a7d885de28bed577ef'/>
<id>e0ab4157877c737b775610a7d885de28bed577ef</id>
<content type='text'>
https://github.com/ruby/rubygems/commit/a7f52d6b02
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/rubygems/commit/a7f52d6b02
</pre>
</div>
</content>
</entry>
</feed>
