cyu / rack-cors

Rack Middleware for handling Cross-Origin Resource Sharing (CORS), which makes cross-origin AJAX possible.
MIT License
3.27k stars 263 forks source link

Ruby 3.0 support #231

Closed clarkedb closed 2 years ago

clarkedb commented 2 years ago

Is there a plan to support Ruby 3.0 in a future release of rack-cors? Or maybe is it already known to be compatible? I didn't see anything in the docs, and the CI only runs up to 2.7.

Happy to try and contribute to get it compatible if necessary.

clarkedb commented 2 years ago

I pulled the codebase and ran the tests on Ruby 3.0 and Ruby 3.1. They all passed, so I will consider that good enough for now to say that rack-cors supports Ruby 3.x. I've made a PR (#236) to include these in the CI to ensure continued support.