Skip to content

Migrate to Ruby 4: rename it variables to iter to avoid keyword conflict#4

Merged
skryl merged 3 commits intomainfrom
claude/migrate-ruby-4-D542x
Feb 20, 2026
Merged

Migrate to Ruby 4: rename it variables to iter to avoid keyword conflict#4
skryl merged 3 commits intomainfrom
claude/migrate-ruby-4-D542x

Conversation

@skryl
Copy link
Copy Markdown
Owner

@skryl skryl commented Feb 20, 2026

Ruby 4.0 introduces it as an implicit block parameter keyword (like _1).
Rename all it loop variables to iter across 5 files to avoid conflicts.

Gemfile already includes all necessary stdlib-turned-bundled-gems (ostruct,
base64, benchmark) and all other stdlib dependencies (json, open3, optparse,
fileutils, etc.) remain default gems in Ruby 4.0.

https://claude.ai/code/session_01DWPTz5VmvU3QTDmmanpKWJ

…onflict

Ruby 4.0 introduces `it` as an implicit block parameter keyword (like `_1`).
Rename all `it` loop variables to `iter` across 5 files to avoid conflicts.

Gemfile already includes all necessary stdlib-turned-bundled-gems (ostruct,
base64, benchmark) and all other stdlib dependencies (json, open3, optparse,
fileutils, etc.) remain default gems in Ruby 4.0.

https://claude.ai/code/session_01DWPTz5VmvU3QTDmmanpKWJ
The `pull_request` trigger with branch filters only runs for PRs targeting
those specific base branches. Removing the filter ensures CI runs on all PRs.

https://claude.ai/code/session_01DWPTz5VmvU3QTDmmanpKWJ
@skryl skryl merged commit 5d5d9ca into main Feb 20, 2026
1 check passed
@skryl skryl deleted the claude/migrate-ruby-4-D542x branch February 20, 2026 06:46
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.

2 participants