jackc / edge

Edge provides graph functionality to ActiveRecord.
MIT License
90 stars 10 forks source link

Ruby 3 support #24

Closed martinsp closed 3 years ago

martinsp commented 3 years ago

This adds support for ruby 3.0

Ruby 3.0 requires to use double splat(**) operator when passing hash as kwargs https://www.ruby-lang.org/en/news/2019/12/12/separation-of-positional-and-keyword-arguments-in-ruby-3-0/

Tests are also passing on ruby 2.3.8 which is the minimum version specified in travis.yml

jackc commented 3 years ago

Thanks! Just tagged and released v0.6.1 with this fix.