While using Ruby 3.1 we encountered undefined method escape' for URI:Module (NoMethodError). Utilizing CGI.escape in lieu of manually escaping single quotes and using URI.escape seems to work as expected and should allow this library to work with modern Ruby versions! 🎉
While using Ruby 3.1 we encountered
undefined method escape' for URI:Module (NoMethodError)
. UtilizingCGI.escape
in lieu of manually escaping single quotes and usingURI.escape
seems to work as expected and should allow this library to work with modern Ruby versions! 🎉cc: @yaxia @katmsft