Class: Warder::RailsAdviceRunner

Inherits:
Runner
  • Object
show all
Defined in:
lib/warder/rails_advice_runner.rb

Overview

responsible for run rails best practices validation

Constant Summary collapse

CLI_OPTION =
'a'
CLI_FULL_OPTION =
'rails-advice'
DESCRIPTION =
'Run rails best practices validation'
COMMAND_NAME =
'rails_best_practices'
COMMAND_OPTIONS =
'--without-color --silent --spec --test --features'
FAILURE_REGEXP =
/Found (?<issues>\d+) warnings?/

Constants inherited from Runner

Warder::Runner::FAILURE_THRESHOLD, Warder::Runner::SCORE

Method Summary

Methods inherited from Runner

#initialize, #perform

Constructor Details

This class inherits a constructor from Warder::Runner