CI: Pin power_assert to v2 as power_assert v3 has dropped support for Ruby < 3.1. #236
+1
−0
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This Pull Request pins power_assert to v2.x, as power_assert has dropped support for Ruby < 3.1.
Since power_assert v3.0.0 has dropped support for Ruby 3.1 and earlier, but its gemspec does not specify
required_ruby_version, the following error occurs in CI.(Even if
required_ruby_versionis added in power_assert 3.0.1, Ruby 3.1 and earlier would still install version 3.0.0, so pinning to power_assert v2.x remains necessary.)required_ruby_versionto be Ruby 3.1 power_assert#61https://github.com/taketo1113/net-http/actions/runs/19091270166/job/54542337643#step:5:26