Skip to content

Adds Ruby 4.0 to init ruby handlers#218

Closed
fesplugas wants to merge 1 commit intoDeterminateSystems:mainfrom
fesplugas:adds-ruby-4-0-to-init
Closed

Adds Ruby 4.0 to init ruby handlers#218
fesplugas wants to merge 1 commit intoDeterminateSystems:mainfrom
fesplugas:adds-ruby-4-0-to-init

Conversation

@fesplugas
Copy link
Contributor

@fesplugas fesplugas commented Mar 8, 2026

Summary by CodeRabbit

  • New Features
    • Added Ruby 4.0 as a selectable version option during project initialization, alongside existing Ruby 3.2 and 3.1 versions.

@coderabbitai
Copy link

coderabbitai bot commented Mar 8, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 3d019f52-9aac-45c7-a4c6-666243340f36

📥 Commits

Reviewing files that changed from the base of the PR and between 3767f81 and 1ddb7b8.

📒 Files selected for processing (1)
  • src/cli/cmd/init/handlers/ruby.rs

📝 Walkthrough

Walkthrough

The Ruby version list in the CLI initialization handler has been expanded to include Ruby 4.0 alongside existing versions 3.2 and 3.1, allowing users to select an additional Ruby version when initializing projects with Ruby language detection.

Changes

Cohort / File(s) Summary
Ruby Version Configuration
src/cli/cmd/init/handlers/ruby.rs
Added Ruby 4.0 to the RUBY_VERSIONS list, expanding selectable versions from 3 options to 4 options for project initialization.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Poem

🐰 One more Ruby shines so bright,
Version four joins the lineup right,
A hop and skip, one line we tweak,
More choice for devs throughout the week!

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately reflects the main change: adding Ruby 4.0 to the RUBY_VERSIONS list in the init ruby handlers.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@fesplugas fesplugas closed this Mar 13, 2026
@fesplugas fesplugas deleted the adds-ruby-4-0-to-init branch March 13, 2026 10:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant