Some gems, like parallel, have no changelog at all. They are hosted on GitHub but don't make use of GitHub Releases, either.
Before, update-interactive would show GitHub Releases as the changelog URL in this scenario, even though the page doesn't contain any useful information. This is a bug.
This PR fixes the bug by doing a better job at testing that the GitHub Releases page contains actual releases. If no useful changelog URL can be found, update-interactive now falls back to showing the gem's home page instead.
Some gems, like parallel, have no changelog at all. They are hosted on GitHub but don't make use of GitHub Releases, either.
Before,
update-interactive
would show GitHub Releases as the changelog URL in this scenario, even though the page doesn't contain any useful information. This is a bug.This PR fixes the bug by doing a better job at testing that the GitHub Releases page contains actual releases. If no useful changelog URL can be found,
update-interactive
now falls back to showing the gem's home page instead.