sds / overcommit

A fully configurable and extendable Git hook manager
MIT License
3.91k stars 280 forks source link

RailsSchemaUpToDate spec fails in Ruby 3+ due to "Passing the keyword argument as the last hash parameter is deprecated" #829

Closed fulf closed 6 months ago

fulf commented 6 months ago

Separation of positional and keyword arguments in Ruby 3.0

Offending code

@schema ||= schema_files.map { |file| File.read(file, encoding) }.join
#          kwarg not supported as last hash parameter ^^^^^^^^