def changelog
      return unless uri

      Bundler.ui.warn "Looking for a changelog in #{uri}"
      find_changelog(Nokogiri::HTML(URI.open(uri)))
    rescue OpenURI::HTTPError # Uri points to nothing
      log_error("Cannot find #{uri}")
    rescue Errno::ETIMEDOUT # timeout
      log_error("#{uri} is down")
    rescue ArgumentError => e # x-oauth-basic raises userinfo not supported. [RFC3986]
      log_error(e)
    end
def changelog
      return unless uri

      Bundler.ui.warn "Looking for a changelog in #{uri}"
      find_changelog(Nokogiri::HTML(URI.open(uri)))
    rescue OpenURI::HTTPError # Uri points to nothing
      log_error("Cannot find #{uri}")
    rescue Errno::ETIMEDOUT # timeout
      log_error("#{uri} is down")
    rescue ArgumentError => e # x-oauth-basic raises userinfo not supported. [RFC3986]
      log_error(e)
    end
@param url [String] url of page
 @param version [String] version of gem
 Get the changelog in an uri.

 @return [String, nil] URL of changelog