Sha256: c93f1b6374b14878ab08c85d8b42bb0b4042250f3d198ded916aafb4bd3752e5
Contents?: true
Size: 459 Bytes
Versions: 2
Compression:
Stored size: 459 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
shenandoah-0.2.0 | lib/shenandoah/locator.rb |
shenandoah-0.1.3 | lib/shenandoah/locator.rb |