cypher / git-ruby-syntax-check

Checks the syntax of all changed ruby files is valid before allowing a commit
MIT License
70 stars 16 forks source link

Require at least ruby 2.2 to support latest syntax #11

Closed rud closed 5 years ago

bauruine commented 8 years ago

I think it would be better to add an optional config option like stop_on_warnings to force a minimal ruby version. The script does not need ruby 2.2 and this would break backward compatibility without any benefit (correct me if I'm wrong).