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

WIP: [Tapioca Addon] Support gem RBI generation #2063

Draft
wants to merge 1 commit into
base: tapioca-addon-feature-branch
Choose a base branch
from

Commits on Oct 31, 2024

  1. Add Tapioca Addon gem RBI generation support

    To support gem RBI generation, we needed a way to detect changes in
    Gemfile.lock. Currently, changes to this file cause the Ruby LSP to
    restart, resulting in loss of access to any previous state information.
    
    By creating a snapshot of Gemfile.lock, we can persist data across
    server restarts. Upon restart, we parse both the snapshot and current
    Gemfile.lock using Bundler::LockfileParser. If differences are found,
    we extract the relevant gem names and specifications, allowing us to
    trigger the gem RBI generation.
    alexcrocha committed Oct 31, 2024
    Configuration menu
    Copy the full SHA
    1952bd0 View commit details
    Browse the repository at this point in the history