Sha256: 4e5b6e5afa4015143c4fcb85d9e867c720526ad1283669d6fcb174ff8645cdb4
Contents?: true
Size: 478 Bytes
Versions: 6
Compression:
Stored size: 478 Bytes
Contents
module Warder # responsible for run rails best practices validation class RailsAdviceRunner < Runner CLI_OPTION = 'a' CLI_FULL_OPTION = 'rails-advice' DESCRIPTION = 'Run rails best practices validation' COMMAND_NAME = 'rails_best_practices' FAILURE_REGEXP = /Found (\d+) warnings?/ private def command_with_options path = @options.files.split(' ').first "#{COMMAND_NAME} --silent --spec --test --features #{path}" end end end
Version data entries
6 entries across 6 versions & 1 rubygems