This PR prevent line wrapping within columns of the table outputted by the rake status task.
Description
The Tabulo gem used to produce the table in the rake status task uses per default the terminal width as maximum table width when calling .pack() on the table before printing it: https://github.com/matt-harvey/tabulo#max-table-width
When the table content does not fit within this width, the gem will resort to line wrapping within columns to make the table fit. While this (very arguably) may be visually pleasing, it can unexpectedly break any kind of commands or scripts used on the output of rake status.
To prevent this behavior, .pack() is now called as follows: .pack(max_table_width: nil).
This PR prevent line wrapping within columns of the table outputted by the
rake status
task.Description
The Tabulo gem used to produce the table in the
rake status
task uses per default the terminal width as maximum table width when calling .pack() on the table before printing it: https://github.com/matt-harvey/tabulo#max-table-width When the table content does not fit within this width, the gem will resort to line wrapping within columns to make the table fit. While this (very arguably) may be visually pleasing, it can unexpectedly break any kind of commands or scripts used on the output ofrake status
.To prevent this behavior,
.pack()
is now called as follows:.pack(max_table_width: nil)
.Fixed issues
https://github.com/blindsidenetworks/scalelite/issues/1020