woocommerce / wc-api-ruby

A Ruby wrapper for the WooCommerce API.
MIT License
69 stars 73 forks source link

URI#encode deprecation #61

Open ricvillagrana opened 7 months ago

ricvillagrana commented 7 months ago

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.

bond commented 6 months ago

Please include this fix :)