The gemspec at ~/projects/my_example.gemspec is not valid. Please fix this gemspec. (Gem::InvalidSpecificationException)
The validation error was 'metadata['documentation_uri'] has invalid link: "https://example_workspace.gitlab.io/my_example"'
A slightly different subdomain like example-workspace would be accepted by the regex:
A metadata URL with subdomain in
*.gemspec
is considered invalid bybundler
:is rejected with:
A slightly different subdomain like
example-workspace
would be accepted by the regex:I therefore propose to change the validation regex into:
To allow for underscores in subdomains/domains.