Skip to content

Change Gem::Version#approximate_recommendation to be optimistic#9537

Merged
hsbt merged 1 commit into
ruby:masterfrom
jeremyevans:gem-appoximate-version-optimistic
May 14, 2026
Merged

Change Gem::Version#approximate_recommendation to be optimistic#9537
hsbt merged 1 commit into
ruby:masterfrom
jeremyevans:gem-appoximate-version-optimistic

Conversation

@jeremyevans
Copy link
Copy Markdown
Contributor

What was the end-user or developer problem that led to this PR?

Add the recent developer meeting, we discussed switching from using pessimistic versioning by default to using optimistic versioning by default.

What is your fix for the problem, implemented in this PR?

This changes Gem::Version#approximate_recommendation to be optimistic instead of pessimistic.

Make sure the following tasks are checked

Previously, this used a pessimistic recommendation. This switches
it to give an optimistic recommendation.
Copy link
Copy Markdown
Member

@hsbt hsbt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@hsbt hsbt merged commit 0e59041 into ruby:master May 14, 2026
93 checks passed
@hsbt hsbt mentioned this pull request May 14, 2026
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants