Skip to content

Migrate rename to use Rubydex#4033

Merged
vinistock merged 1 commit intorubydex_adoption_feature_branchfrom
vs_migrate_rename
Mar 31, 2026
Merged

Migrate rename to use Rubydex#4033
vinistock merged 1 commit intorubydex_adoption_feature_branchfrom
vs_migrate_rename

Conversation

@vinistock
Copy link
Copy Markdown
Member

Motivation

Migrate rename to use Rubydex. We currently only support constants, but we can easily expand to global, class and instance variables once we finish adding indexing for them.

Implementation

The main changes are actually simplifications. We don't need the ReferenceFinder because Rubydex tracks references. We can just access it directly, which makes the implementation more straight forward.

Automated Tests

The rename tests were pretty messy and difficult to write. I refactored the tests a bit and added a couple more scenarios.

@vinistock vinistock requested review from alexcrocha and st0012 March 26, 2026 21:07
@vinistock vinistock self-assigned this Mar 26, 2026
@vinistock vinistock requested a review from a team as a code owner March 26, 2026 21:07
@vinistock vinistock added server This pull request should be included in the server gem's release notes other Changes that aren't bugfixes, enhancements or breaking changes labels Mar 26, 2026
@vinistock vinistock mentioned this pull request Mar 26, 2026
19 tasks
@vinistock vinistock force-pushed the rubydex_adoption_feature_branch branch from 4a0f2a1 to 37cddf3 Compare March 30, 2026 14:02
@vinistock vinistock requested a review from Morriar March 30, 2026 15:12
@vinistock vinistock merged commit c6c2a82 into rubydex_adoption_feature_branch Mar 31, 2026
38 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

other Changes that aren't bugfixes, enhancements or breaking changes server This pull request should be included in the server gem's release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants