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

Support inline RBI versioning #180

Merged
merged 1 commit into from
Feb 9, 2024
Merged

Support inline RBI versioning #180

merged 1 commit into from
Feb 9, 2024

Commits on Jan 31, 2024

  1. Support inline RBI versioning

    This commit adds the notion of versioning to the RBI gem.
    
    1. Users can specify versions for parts of their RBI files using
    `@version` annotations in comments above any class, module, or method
    definition.
    
    2. The `FilterVersions` rewriter will take an RBI file, as well as a
    version number, and rewrite the RBI to only include the portions that
    are relevant for a specific gem version.
    
    3. RBI without any version annotations will continue to behave as expected.
    
    Co-authored-by: Alexandre Terrasa <[email protected]>
    Co-authored-by: Aiden Storey <[email protected]>
    3 people committed Jan 31, 2024
    Configuration menu
    Copy the full SHA
    03da59f View commit details
    Browse the repository at this point in the history