wc-api-ruby icon indicating copy to clipboard operation
wc-api-ruby copied to clipboard

URI#encode deprecation

Open ricvillagrana opened this issue 1 year ago • 1 comments

Closes #57

URI, no longer supports encode, so, I am updating it to an existing method (encode_www_form_component).

Source: https://ruby-doc.org/stdlib-3.1.0/libdoc/uri/rdoc/URI.html

Are you facing this issue? #57

You can replace the gem with this:

gem "woocommerce_api",
  git: "https://github.com/ricvillagrana/wc-api-ruby.git",
  branch: "patch-1"

And then run: bundle update woocommerce_api

Remember to change it back when this PR is merged.

ricvillagrana avatar Feb 16 '24 23:02 ricvillagrana

Please include this fix :)

bond avatar Mar 06 '24 20:03 bond