Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

URI#encode deprecation #61

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ricvillagrana
Copy link

@ricvillagrana ricvillagrana commented Feb 16, 2024

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
Copy link

bond commented Mar 6, 2024

Please include this fix :)

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.

URI.encode is obsoleted and not available in the latest Ruby versions
2 participants