overcommit
overcommit copied to clipboard
RailsSchemaUpToDate spec fails in Ruby 3+ due to "Passing the keyword argument as the last hash parameter is deprecated"
Separation of positional and keyword arguments in Ruby 3.0
@schema ||= schema_files.map { |file| File.read(file, encoding) }.join
# kwarg not supported as last hash parameter ^^^^^^^^