Skip to content

Conversation

apiology
Copy link
Contributor

@apiology apiology commented Oct 9, 2025

Includes:

  • Use RBS stdlib dependencies information to handle situations like YAML, which depends on Psych.
  • Default to using the version of a gem from the workspaces' bundle.
  • Refactors of the external bundle querying code
  • Be careful to avoid relying on Gem::Specification methods for identity / sorting / hashing / etc - the 'bundler' Gem::Specification in particular seems to not have all the bells and whistles in some Ruby configurations.

Depends on and includes:

See apiology#10 for a more useful diff that doesn't include #1067

To avoid merge conflicts and contributors having to deal with
non-intuitive RuboCop todo changes:

* Lock down development versions of RuboCop and plugins so that
  unrelated PRs aren't affected by newly implemented RuboCop rules.
* Exclude rule entirely if more than 5 files violate it today, so that
  PRs are less likely to cause todo file changes unless they are
  specifically targeted at cleanup.
* Clarify guidance on RuboCop todo file in CI error message.
* Fix to hopefully ensure guidance always appears in CI error message.
Useful for:
1. Maintaining a separate pin cache per branch to avoid contamination
   and get more accurate spec results locally
2. Testing solargraph-rails against branches consolidating multiple
   open PRs (e.g., the dated ones at
   https://github.com/apiology/solargraph/pulls)

Includes a direnv implementation for #1
@apiology apiology marked this pull request as ready for review October 9, 2025 11:32
@apiology apiology mentioned this pull request Oct 9, 2025
8 tasks
@apiology apiology changed the title Improve gemspecs logic Improve gemspec resolution logic Oct 11, 2025
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.

1 participant