Skip to content

Conversation

@gemmaro
Copy link
Contributor

@gemmaro gemmaro commented Nov 3, 2025

This PR moves the Prism dependency from Gemfile to gemspec. When using TypeProf as a library, Gemfile dependencies are not resolved, so declaring the dependency in the gemspec file is more desirable for library users.

Note that TypeProf now requires Prism version 1.4.0 or later (see #312).

This is a continuation from #288.

* typeprof.gemspec:, Gemfile, Gemfile.lock: Using TypeProf as a
library does not resolve Gemfile dependencies, so move Prism to
gemspec file.  Notice that TypeProf now uses Prism version 1.4.0 or
later[1].

[1] Update Prism to 1.4.0 and remove workarounds,
    ruby#312
@mame
Copy link
Member

mame commented Nov 4, 2025

The CI failed because this PR not only changed gemspec and Gemfile but also updated Gemfile.lock. Unfortunately, TypeProf didn't support rbs 4.0.0.dev.4. I believe I fixed the failure on master by #348, but I couldn't rebase your branch, so I have created #349 with your commit. Let me merge that PR. Thank you!

@mame mame closed this Nov 4, 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.

2 participants