Fix compatibility to ruby-3.2 - #861
Merged
Merged
Conversation
... which is the default ruby version on Github Actions.
eregon
reviewed
Jan 18, 2026
| def validate(versions, allowed_urls_regexps) | ||
| versions.values.flat_map(&:values).each do |url| | ||
| if allowed_urls_regexps.none? { |regexp| regexp.match? url } | ||
| if allowed_urls_regexps.none? { |regexp| regexp.match? url.to_s } |
Member
There was a problem hiding this comment.
Probably we should convert the URI to a String earlier, we don't want to have URI objects in the JSON.
It works currently but might as well have consistent types for this method.
I'll fix it.
Member
The check in this repo CI uses |
... which is the default ruby version on Github Actions.
URI::Generic#to_strwas added in ruby-3.3.That made the windows new version check fails since 2026-01-13.
Also add the new RubyInstaller releases 4.0.1-1 and 3.2.10-1 to make the PR succeed.