Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update README to clarify what --verify does #1817

Merged
merged 1 commit into from
Mar 15, 2024
Merged

Conversation

simonlevasseur
Copy link
Contributor

Motivation

I recently removed the turbo-rails gem from a repo and ran bin/tapioca gem. It removed the RBI files for that gem and bin/tapioca gems --verify succeeds. However, bin/typecheck fails because RBIs for other gems have references to Turbo in them and it can't resolve the constant. The fix is to run bin/tapioca gems --all which rewrites all of the gem RBIs but in doing so, it also generates a bunch of misc. changes (mostly in comments but also in cases where RBIs might have been impacted by other gems).

Implementation

Update the README to clarify what bin/tapioca gems --verify is actually doing and why it might yield lots of misc. changes.

@simonlevasseur simonlevasseur self-assigned this Mar 12, 2024
@simonlevasseur simonlevasseur requested a review from a team as a code owner March 12, 2024 17:51
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
Copy link
Contributor

@andyw8 andyw8 left a comment

Choose a reason for hiding this comment

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

Looks good to me but let’s have the experts @KaanOzkan or @Morriar confirm.

@KaanOzkan KaanOzkan merged commit e2dfd88 into main Mar 15, 2024
25 of 34 checks passed
@KaanOzkan KaanOzkan deleted the readme-verify-option branch March 15, 2024 15:01
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.

None yet

4 participants