overcommit icon indicating copy to clipboard operation
overcommit copied to clipboard

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

Open fulf opened this issue 2 years ago • 0 comments

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 ^^^^^^^^

fulf avatar Feb 24 '24 13:02 fulf