rubycdp / ferrum

Headless Chrome Ruby API
https://ferrum.rubycdp.com
MIT License
1.68k stars 119 forks source link

fix: Support all Ruby 2.7 for now #453

Closed route closed 3 months ago

route commented 3 months ago

Ruby syntax ... was added not for all 2.7 versions. Let's fallback for now to old syntax.

erickguan commented 3 months ago

Hey! Do you consider bumping to newer ruby versions? Ruby 3.1 is end of life next week or so. Other projects, e.g. rails, start to require 3.1.

This would allow using newer Ruby syntax. Additionally, you could build a new release and then bump the required version.

route commented 3 months ago

Newer ruby syntax is not a requirement now for ferrum. There are still projects that still use 2.7. I will definitely in a couple of releases do that.