<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ruby.git/lib/rubygems/specification_policy.rb, branch v4.0.4</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/Bundler 4.0.5</title>
<updated>2026-02-10T01:38:24+00:00</updated>
<author>
<name>Hiroshi SHIBATA</name>
<email>hsbt@ruby-lang.org</email>
</author>
<published>2026-02-10T01:07:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=87b544b8c4400ef2b37405f132846e5c3738213b'/>
<id>87b544b8c4400ef2b37405f132846e5c3738213b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/rubygems] Remove open-ended and prerelease dependency warnings when building gems</title>
<updated>2025-11-04T00:17:49+00:00</updated>
<author>
<name>Jeremy Evans</name>
<email>code@jeremyevans.net</email>
</author>
<published>2025-11-03T05:47:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=bac6a25ad3b6ed02ece11a2790cec3a2e6f8c8c9'/>
<id>bac6a25ad3b6ed02ece11a2790cec3a2e6f8c8c9</id>
<content type='text'>
In general, rubygems should provide mechanism and not policy.

Pessimistic versioning is not universally better, and in many
cases, it can cause more problems than it solves. Rubygems should
not be warning against open-ended versioning when building gems.
The majority of the default gems with dependencies do not use
pessimistic versioning, which indicates that Ruby itself
recognizes that open-ended versioning is generally better.

In some cases, depending on a prerelease gem is the only choice
other than not releasing a gem. If you are building an extension
gem for a feature in a prerelease version of another gem, then
depending on the prerelease version is the only way to ensure
a compatible dependency is installed.

https://github.com/ruby/rubygems/commit/beba8dd065
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In general, rubygems should provide mechanism and not policy.

Pessimistic versioning is not universally better, and in many
cases, it can cause more problems than it solves. Rubygems should
not be warning against open-ended versioning when building gems.
The majority of the default gems with dependencies do not use
pessimistic versioning, which indicates that Ruby itself
recognizes that open-ended versioning is generally better.

In some cases, depending on a prerelease gem is the only choice
other than not releasing a gem. If you are building an extension
gem for a feature in a prerelease version of another gem, then
depending on the prerelease version is the only way to ensure
a compatible dependency is installed.

https://github.com/ruby/rubygems/commit/beba8dd065
</pre>
</div>
</content>
</entry>
<entry>
<title>[rubygems/rubygems] Fix spelling, it's "cannot" rather than "can not"</title>
<updated>2024-09-17T20:09:07+00:00</updated>
<author>
<name>David Rodríguez</name>
<email>deivid.rodriguez@riseup.net</email>
</author>
<published>2024-09-17T17:00:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=b203e667c91960b732269b3dd182c422e1a0a74b'/>
<id>b203e667c91960b732269b3dd182c422e1a0a74b</id>
<content type='text'>
https://github.com/rubygems/rubygems/commit/3434f094a2
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/rubygems/rubygems/commit/3434f094a2
</pre>
</div>
</content>
</entry>
<entry>
<title>[rubygems/rubygems] Add Specification#validate_for_resolution</title>
<updated>2024-06-25T14:32:19+00:00</updated>
<author>
<name>Thomas Marshall</name>
<email>thomas@thomasmarshall.com</email>
</author>
<published>2024-05-31T19:24:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=39951293b492b3b392ccb7a168fe723b03257ac3'/>
<id>39951293b492b3b392ccb7a168fe723b03257ac3</id>
<content type='text'>
This method validates only what is required for resolution, skipping any
irrelevant metadata validation. This will be used by Bundler instead of
doing a full validation, allowing gem authors to use `bundle` commands
immediately in newly created gems without first having to fix invalid
metafata fields in the default gemspec.

https://github.com/rubygems/rubygems/commit/da7704cfc0
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This method validates only what is required for resolution, skipping any
irrelevant metadata validation. This will be used by Bundler instead of
doing a full validation, allowing gem authors to use `bundle` commands
immediately in newly created gems without first having to fix invalid
metafata fields in the default gemspec.

https://github.com/rubygems/rubygems/commit/da7704cfc0
</pre>
</div>
</content>
</entry>
<entry>
<title>[rubygems/rubygems] Remove `Gem::Specification#mark_version`</title>
<updated>2024-05-03T15:12:55+00:00</updated>
<author>
<name>David Rodriguez</name>
<email>deivid.rodriguez@riseup.net</email>
</author>
<published>2024-02-05T19:19:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=281df1e495eeb8533b963c63a14c614fcab97859'/>
<id>281df1e495eeb8533b963c63a14c614fcab97859</id>
<content type='text'>
This gets in the middle if we ever start allowing to build as if using a
different RubyGems version than the one being run.

This could be useful to make `gem rebuild` a little more usable, and
it's already done by Bundler specs which already make this method a noop
when they need this.

I'm not sure forcefully setting this, even if user explicitly specified
something else is helpful.

Since this could potentially prevent gems explicitly setting a constant
RubyGems version from building, I changed the error of incorrect
RubyGems version from a hard error to a warning, since it will start
happening in those cases if we stop overwriting the version.

https://github.com/rubygems/rubygems/commit/45676af80d
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This gets in the middle if we ever start allowing to build as if using a
different RubyGems version than the one being run.

This could be useful to make `gem rebuild` a little more usable, and
it's already done by Bundler specs which already make this method a noop
when they need this.

I'm not sure forcefully setting this, even if user explicitly specified
something else is helpful.

Since this could potentially prevent gems explicitly setting a constant
RubyGems version from building, I changed the error of incorrect
RubyGems version from a hard error to a warning, since it will start
happening in those cases if we stop overwriting the version.

https://github.com/rubygems/rubygems/commit/45676af80d
</pre>
</div>
</content>
</entry>
<entry>
<title>[rubygems/rubygems] Warn on empty or open required_ruby_version specification attribute.</title>
<updated>2024-02-27T03:33:45+00:00</updated>
<author>
<name>Josef Šimánek</name>
<email>josef.simanek@gmail.com</email>
</author>
<published>2021-10-25T00:47:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=bfb2dc8acfd7d7c825b7ba0f1eb50ec92631362c'/>
<id>bfb2dc8acfd7d7c825b7ba0f1eb50ec92631362c</id>
<content type='text'>
https://github.com/rubygems/rubygems/commit/e4bb33747a
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/rubygems/rubygems/commit/e4bb33747a
</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] Fix rake extension warning</title>
<updated>2024-01-24T04:55:42+00:00</updated>
<author>
<name>なつき</name>
<email>i@ntk.me</email>
</author>
<published>2024-01-17T22:57:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=1e519abe21466c3846be7da37c3c8e461fc4efb0'/>
<id>1e519abe21466c3846be7da37c3c8e461fc4efb0</id>
<content type='text'>
https://github.com/rubygems/rubygems/commit/04973e349c
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/rubygems/rubygems/commit/04973e349c
</pre>
</div>
</content>
</entry>
<entry>
<title>[rubygems/rubygems] bin/rubocop -A --only Style/StringLiteralsInInterpolation</title>
<updated>2024-01-11T04:51:52+00:00</updated>
<author>
<name>Hiroshi SHIBATA</name>
<email>hsbt@ruby-lang.org</email>
</author>
<published>2024-01-10T08:02:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=888a8f4318b7182addc9bf7ff096fd3c3327daba'/>
<id>888a8f4318b7182addc9bf7ff096fd3c3327daba</id>
<content type='text'>
https://github.com/rubygems/rubygems/commit/2333f5f9c5
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/rubygems/rubygems/commit/2333f5f9c5
</pre>
</div>
</content>
</entry>
<entry>
<title>[rubygems/rubygems] Warn for duplicate meta data links</title>
<updated>2023-12-14T00:06:05+00:00</updated>
<author>
<name>Drew Stevenson</name>
<email>drew@soona.co</email>
</author>
<published>2023-12-01T04:35:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=beefce1444adafac484bb69b625de2b30e7e80d2'/>
<id>beefce1444adafac484bb69b625de2b30e7e80d2</id>
<content type='text'>
Match order of METADATA_LINK_KEYS to order used by rubygems.org in Links model.
Add missing download_uri key.

https://github.com/rubygems/rubygems/commit/d2922cd6e9
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Match order of METADATA_LINK_KEYS to order used by rubygems.org in Links model.
Add missing download_uri key.

https://github.com/rubygems/rubygems/commit/d2922cd6e9
</pre>
</div>
</content>
</entry>
</feed>
