hotwired / turbo-rails

Use Turbo in your Ruby on Rails app
https://turbo.hotwired.dev
MIT License
2.13k stars 329 forks source link

Drop Support for `ruby@2.x.x` #698

Open seanpdoyle opened 1 month ago

seanpdoyle commented 1 month ago

Related to https://github.com/hotwired/turbo-rails/issues/681 Follow-up to https://github.com/hotwired/turbo-rails/pull/682

Commit to requiring ruby@3.1

Remove ruby@2.6, ruby@2.7, ruby@3.0, rails@6.1, and rails@7.0 from the CI matrix, along with any RUBY_VERSION < "3" conditionals.

The implementation changes include replace older syntaxes with newer variants. For example, utilize ... in place of *args, &block, rely on **-ing attribute Hash arguments, etc.