Sha256: cc8014fee4d66d83e1714393acb83fbd1bcc7269804be6a820f0e008f311f48a
Contents?: true
Size: 642 Bytes
Versions: 1
Compression:
Stored size: 642 Bytes
Contents
require 'reek' require 'thor/shell/color' require 'preek/smell_collector' require 'preek/smell_reporter' require 'preek/smell_warning' require 'preek/smell_file' require 'preek/klass_collector' module Guard class Preek class Runner def initialize(files) @files = Array(files) end def perform sources = Reek::Source::SourceLocator.new(@files).all_sources smelly_files = ::Preek::SmellCollector.new(sources, excludes).smelly_files ::Preek::SmellReporter.new(smelly_files).print_smells end private def excludes %w(IrresponsibleModule) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
guard-preek-0.0.1 | lib/guard/preek/runner.rb |