Skip to content

Fix URI.encode error with newer rubies#24

Merged
jason-o-matic merged 4 commits intomasterfrom
ruby-3
Jun 1, 2021
Merged

Fix URI.encode error with newer rubies#24
jason-o-matic merged 4 commits intomasterfrom
ruby-3

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 requested a review from mediocretes June 1, 2021 21:24
@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