alassek / activerecord-pg_enum

Integrate PostgreSQL's enumerated types with the Rails enum feature
MIT License
168 stars 10 forks source link

add: ruby 3 support #16

Closed danini-the-panini closed 3 years ago

danini-the-panini commented 3 years ago

Pass column options as kwargs since this is now required in ruby 3

alassek commented 3 years ago

Thanks for the PR, I've fixed this in f9e85f0155fc99e5db7e5a15633ecd0649203369. The libpq driver is segfaulting in Ruby 3 for some reason, so I'm leaving that out of the test matrix for now. Verified this works locally in 3.0, so hopefully this is just a CI issue 🤞