rubycdp / ferrum

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

fix: Support all Ruby 2.7 for now #453

Closed route closed 8 months ago

route commented 8 months ago

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

erickguan commented 8 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 8 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.