fog / fog-aliyun

Fog provider for aliyun
MIT License
37 stars 24 forks source link

fog-aliyun is not compatible with Ruby 3.X #156

Closed johha closed 2 years ago

johha commented 2 years ago

With Ruby 3.x this gem cannot be used anymore due to the following error:

undefined method `encode' for URI:Module

The encode method was removed with Ruby 3: https://docs.knapsackpro.com/2020/uri-escape-is-obsolete-percent-encoding-your-query-string

To reproduce the issue run the unit/integration test with ruby 3.x. This can be done for example by changing the version in .ruby-version to e.g. 3.0.4.

Open questions:

stephanme commented 2 years ago

Thanks for merging #158 and releasing it as v0.4.0