Skip to content

RUBY-3535 Remove if RUBY_VERSION from gemspec#366

Merged
kyleburgess2025 merged 3 commits into
mongodb:masterfrom
a2ikm:fix-gemspec
Jan 8, 2026
Merged

RUBY-3535 Remove if RUBY_VERSION from gemspec#366
kyleburgess2025 merged 3 commits into
mongodb:masterfrom
a2ikm:fix-gemspec

Conversation

@a2ikm

@a2ikm a2ikm commented Jan 1, 2026

Copy link
Copy Markdown
Contributor

The gemspec is evaluated during rake release, so the if RUBY_VERSION condition does not depend on the user's Ruby version. See: https://docs.rubocop.org/rubocop/cops_gemspec.html

[ close RUBY-3535 ]

The gemspec is evaluated during `rake release`, so the `if RUBY_VERSION`
condition does not depend on the user's Ruby version.
See: https://docs.rubocop.org/rubocop/cops_gemspec.html
@a2ikm a2ikm requested a review from a team as a code owner January 1, 2026 08:41
@a2ikm a2ikm requested a review from comandeo-mongo January 1, 2026 08:41
@codeowners-service-app

Copy link
Copy Markdown

Assigned kyleburgess2025 for team dbx-ruby because comandeo-mongo is out of office.

@kyleburgess2025 kyleburgess2025 requested a review from jamis January 8, 2026 18:04
@kyleburgess2025 kyleburgess2025 merged commit 49df19e into mongodb:master Jan 8, 2026
52 checks passed
@kyleburgess2025 kyleburgess2025 changed the title Remove if RUBY_VERSION from gemspec RUBY-3535 Remove if RUBY_VERSION from gemspec Jan 8, 2026
@kyleburgess2025 kyleburgess2025 added the bug Fixes a bug, with no new features or broken compatibility label Jan 8, 2026
@jamis jamis mentioned this pull request Jul 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Fixes a bug, with no new features or broken compatibility

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants