Sha256: a4b2b611f54d269590f80294a46b31e765f23d324cda923630cf5c0152e055f5
Contents?: true
Size: 500 Bytes
Versions: 2
Compression:
Stored size: 500 Bytes
Contents
module Guard class Teabag class Resolver attr_accessor :suites def initialize(options = {}) @options = options #@excluded = Dir[@options[:exclude].to_s] end def resolve(original_paths) @suites = {} original_paths.uniq.each do |path| if result = ::Teabag::Suite.resolve_spec_for(path) suite = @suites[result[:suite]] ||= [] suite << result[:path] end end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
guard-teabag-0.0.2 | lib/guard/teabag/resolver.rb |
guard-teabag-0.0.1 | lib/guard/teabag/resolver.rb |