Sha256: d81b08c09498de43c70c55a02741e32ccf2434d6f7268700a57a5b7d70e44d1e

Contents?: true

Size: 562 Bytes

Versions: 6

Compression:

Stored size: 562 Bytes

Contents

guard 'minitest' do
  watch(%r|^test/test_(.*)\.rb|)
  watch(%r|^lib/(.*)([^/]+)\.rb|)     { |m| "test/#{m[1]}test_#{m[2]}.rb" }
  watch(%r|^test/test_helper\.rb|)    { "test" }
  watch(%r|^lib/(.*)\.rb|)            { |m| "test/test_#{m[1]}.rb" }

  watch(%r{^spec/.+_spec\.rb$})
  watch(%r{^lib/(.+)\.rb$})         { |m| "spec/lib/#{m[1]}_spec.rb" }
  watch(%r{^lib/contrast/(.+)\.rb$})         { |m| "spec/contrast/#{m[1]}_spec.rb" }
  watch(%r{^spec/models/.+\.rb$})   { ["spec/models", "spec/acceptance"] }
  watch('spec/spec_helper.rb')      { "spec" }
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
contrast-1.1.0 Guardfile
contrast-1.0.0 Guardfile
contrast-0.2.2 Guardfile
contrast-0.2.1 Guardfile
contrast-0.2.0 Guardfile
contrast-0.1.4 Guardfile