elastic / elasticsearch-rails

Elasticsearch integrations for ActiveModel/Record and Ruby on Rails
Apache License 2.0
3.07k stars 797 forks source link

Add compatibility with Ruby 3 for 6.x #1053

Open dersnek opened 1 year ago

dersnek commented 1 year ago

This is the same change made in https://github.com/elastic/elasticsearch-rails/pull/992, but for version 6.x, to enable support for Ruby 3

All credit for this fix goes to @indirect, I just copy-pasted that code over.

cla-checker-service[bot] commented 1 year ago

💚 CLA has been signed

dersnek commented 1 year ago

I've read and signed the contributor agreement, but it's not being updated.

Edit -- it was updated after my comment

olimart commented 1 year ago

hello @picandocodigo Is it reasonable to expect the 6.x branch to support Ruby 3?

note for later: if merged, need to update CI matrix.