Skip to content
This repository has been archived by the owner on Nov 12, 2021. It is now read-only.

Switch from the obsolete URI.encode to CGI.escape to fix warnings #102

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

Conversation

Rylon
Copy link

@Rylon Rylon commented Feb 14, 2020

Fixes the following warning:

/Users/ryan/.rbenv/versions/2.7.0/lib/ruby/gems/2.7.0/gems/openstack-3.3.21/lib/openstack/compute/server.rb:56: warning: URI.escape is obsolete

I think this method was marked obsolete a while ago and doesn't seem to be going anywhere, but I thought I'd send a PR anyway, thanks for your consideration!

@Rylon
Copy link
Author

Rylon commented Jan 22, 2021

Bump: this was removed from Ruby 3 which was released earlier this month, so the OpenStack gem is broken on Ruby 3.

Any chance of cutting a new release for that please?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant