simplecov-shield icon indicating copy to clipboard operation
simplecov-shield copied to clipboard

Remove URI::Escape

Open JoshSinyor opened this issue 3 years ago • 2 comments

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:

  1. Replaced comparison asset files coverage-flat.svg and coverage.svg with like-for-like versions generated by Shield.io on 2021-04-26.
  2. Replaced URI::Escape with ERB::Util:url_encode to suit RFC 3986 as per Shield.io.

After these changes, RSpec tests now pass.

JoshSinyor avatar Apr 26 '21 11:04 JoshSinyor