Skip to content

Remove URI::Escape#7

Open
JoshSinyor wants to merge 3 commits intoaterris:masterfrom
JoshSinyor:remove-uri-escape
Open

Remove URI::Escape#7
JoshSinyor wants to merge 3 commits intoaterris:masterfrom
JoshSinyor:remove-uri-escape

Conversation

@JoshSinyor
Copy link

@JoshSinyor JoshSinyor commented Apr 26, 2021

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.

Joshua Sinyor added 2 commits April 26, 2021 11:22
…flects updated file formatting from Shields.io.
…CGI.escapeElement(url, %)'. Escapes only the percentage symbol to prevent HTTParty conflicts.
@JoshSinyor
Copy link
Author

JoshSinyor commented Apr 26, 2021

Closed pending resolution of edge-case URL encoding mismatch.

@JoshSinyor
Copy link
Author

Reopened with issue resolved.

@JoshSinyor JoshSinyor reopened this Apr 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant