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

Fix URI.encode error with newer rubies #24

Merged
merged 4 commits into from
Jun 1, 2021
Merged

Fix URI.encode error with newer rubies #24

merged 4 commits into from
Jun 1, 2021

Conversation

jason-o-matic
Copy link
Contributor

This updates the client code to remove URI.encode usage since it has been
removed from newer rubies. This is accomplished by updating the
swagger-codegen version.

This also adds easier multiple ruby version testing.

#22
swagger-api/swagger-codegen#10445

`Kernel.open` for URIs is removed in newer rubies. This updates the
tests to open URIs in a way that works across all upcoming ruby
versions.

swagger-api/swagger-codegen#10445
#22
This helps maintain compatibility with old versions as we add new ruby
versions.

#22
We'll be dropping support for old unsupported ruby versions, so this
will cause the gemspec to be updated to reflect that. This is applied
after client generation to update the generated file.

#22
swagger-api/swagger-codegen#10445
This updates the client code to remove `URI.encode` usage since it has
been removed from newer rubies. This is accomplished by updating the
swagger-codegen version.

#22
swagger-api/swagger-codegen#10445
@jason-o-matic jason-o-matic merged commit b33323e into master Jun 1, 2021
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.

2 participants