plaid / plaid-ruby

Ruby bindings for Plaid
https://plaid.com/docs
MIT License
228 stars 144 forks source link

Ruby 3.0 support #407

Closed clarkedb closed 2 years ago

clarkedb commented 2 years ago

The README says Ruby 2.4+, but I wanted to check is plaid is compatible with Ruby 3.0 and is there is a known version of the gem that introduced ruby 3 support? I couldn't tell from the docs.

phoenixy1 commented 2 years ago

As far as I know there are no limitations on Ruby 3 support in the latest version of the Plaid client libraries -- I just did some smoke testing with the Quickstart (which uses a recent version of the client libraries) against Ruby 3.1 and it seems to work fine. I'm not sure when Ruby 3 support was introduced.

javierjulio commented 2 years ago

This should be reopened. I was curious about this and looked into the CI setup. CI only runs tests against Ruby 2.4 which went EOL 2 years ago. Is there a reason CI doesn't run the test suite against most or all currently supported versions of Ruby, including 3.0?

phoenixy1 commented 2 years ago

2.4 is the minimum Ruby version supported by the OpenAPI generator we use, which is why we test against it. There's no particular reason the tests couldn't run on Ruby 3 instead, but changing Ruby versions used in CI is probably not a high priority since we have a couple hundred customers using the generated Ruby client libraries and have yet to receive any reports of the libraries behaving differently on different Ruby 2 vs Ruby 3 or any other reason to believe that anything would break on different Ruby versions