Sha256: 671563694f34de37a42dc7873fa96fed4c5db9175116cc136097730acc05cf7f
Contents?: true
Size: 504 Bytes
Versions: 1
Compression:
Stored size: 504 Bytes
Contents
module Guard class Teaspoon 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 = ::Teaspoon::Suite.resolve_spec_for(path) suite = @suites[result[:suite]] ||= [] suite << result[:path] end end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
guard-teaspoon-0.0.3 | lib/guard/teaspoon/resolver.rb |