simplecov-shield
simplecov-shield copied to clipboard
Remove URI::Escape
Gem is nonfunctional with Ruby 3.0.0 owing to deprecation and removal of URI::Escape
module, as per issue 6. Additionally, comparison asset files no longer match Shield.io output, so RSpec tests do not pass with previous versions of Ruby. New branch has:
- Replaced comparison asset files
coverage-flat.svg
andcoverage.svg
with like-for-like versions generated by Shield.io on 2021-04-26. - Replaced
URI::Escape
withERB::Util:url_encode
to suit RFC 3986 as per Shield.io.
After these changes, RSpec tests now pass.