//! Ruby ecosystem formatters: rspec, rubocop, rake/minitest, bundle.
//!
//! Ported from rtk's per-runner filters, adapted to sqz's post-hoc model.
//! rtk wraps execution and injects `--format json`; sqz only sees whatever
//! output already happened. So each formatter tries JSON first (in case the
//! user passed `--format json` themselves) and falls back to a text parser.
//!
//! One module per runner. Shared helpers live here; child modules reach them
//! via `super::`.
pub use format_bundle;
pub use format_rake;
pub use format_rspec;
pub use format_rubocop;
/// Truncate to `max` chars, appending an ellipsis when cut. Shared by the
/// rspec and rake formatters for one-line message clamping.