Back to Rtk

Ruby on Rails

src/cmds/ruby/README.md

0.38.0684 B
Original Source

Ruby on Rails

Part of src/cmds/ — see also docs/contributing/TECHNICAL.md

Specifics

  • rake_cmd.rs filters Minitest output via rake test / rails test; state machine text parser, failures only (85-90% reduction)
  • rspec_cmd.rs uses JSON injection (--format json) with text fallback; failures only (60%+ reduction)
  • rubocop_cmd.rs uses JSON injection, groups by cop/severity (60%+ reduction)
  • All three modules use ruby_exec() from utils.rs to auto-detect bundle exec when a Gemfile exists
  • TOML filter bundle-install.toml strips Using lines from bundle install/update (90%+ reduction)