Sha256: aa8a3d00b7483cbf06ec8fc3d8427551535ef3d08cc5b5ed70fc2fcd6771d7bf
Contents?: true
Size: 822 Bytes
Versions: 1
Compression:
Stored size: 822 Bytes
Contents
require 'rubycritic/source_control_systems/base' require 'rubycritic/analysers_runner' require 'rubycritic/revision_comparator' require 'rubycritic/reporter' require 'rubycritic/commands/base' module RubyCritic module Command class Default < Base def initialize(options) super @paths = options[:paths] Config.source_control_system = SourceControlSystem::Base.create end def execute report(critique) @status_reporter end def critique analysed_modules = AnalysersRunner.new(@paths).run RevisionComparator.new(@paths).set_statuses(analysed_modules) end def report(analysed_modules) Reporter.generate_report(analysed_modules) @status_reporter.score = analysed_modules.score end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rubycritic-2.9.3 | lib/rubycritic/commands/default.rb |