Sha256: cf58089074a2ccfc51cd75bb506bb85a992cac9d138c314a6fdf9e9caa816a34

Contents?: true

Size: 464 Bytes

Versions: 4

Compression:

Stored size: 464 Bytes

Contents

require 'rake'

module Shenandoah
  class DefaultLocator
    attr_accessor :main_path, :spec_path, :tmp_path

    def initialize(options = {})
      @main_path = File.expand_path(options[:main_path] || "lib")
      @spec_path = File.expand_path(options[:spec_path] || "spec")
      @tmp_path = File.expand_path(options[:tmp_path] || ENV['TMPDIR'] || "tmp")
    end

    def spec_files
      FileList["#{spec_path}/**/*_spec.js"]
    end
    
    private 
  end
end

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
rsutphin-shenandoah-0.1.1 lib/shenandoah/locator.rb
rsutphin-shenandoah-0.1.2 lib/shenandoah/locator.rb
shenandoah-0.1.1 lib/shenandoah/locator.rb
shenandoah-0.1.2 lib/shenandoah/locator.rb