Sha256: c4f22b619f6929f9b88383ce0eaf284360dc1651302c8269204119a1575451a6

Contents?: true

Size: 664 Bytes

Versions: 32

Compression:

Stored size: 664 Bytes

Contents

# A sample Guardfile
# More info at https://github.com/guard/guard#readme

guard "minitest" do
  # with Minitest::Spec
  watch(%r|^test/(.*)_test\.rb|)
  watch(%r|^lib/(.*)([^/]+)\.rb|)      { |m| "test/#{m[1]}#{m[2]}_test.rb" }
  watch(%r|^test/minitest_helper\.rb|) { "test" }
  watch(%r|^test/support/|)            { "test" }

  # Rails 3.2
  watch(%r|^app/controllers/(.*)\.rb|) { |m| "test/controllers/#{m[1]}_test.rb" }
  watch(%r|^app/mailers/(.*)\.rb|)     { |m| "test/mailers/#{m[1]}_test.rb" }
  watch(%r|^app/helpers/(.*)\.rb|)     { |m| "test/helpers/#{m[1]}_test.rb" }
  watch(%r|^app/models/(.*)\.rb|)      { |m| "test/models/#{m[1]}_test.rb" }
end

Version data entries

32 entries across 22 versions & 4 rubygems

Version Path
thincloud-test-0.3.2 test/dummy/Guardfile
thincloud-test-0.3.2 lib/generators/thincloud/test/templates/Guardfile
thincloud-test-0.3.1 lib/generators/thincloud/test/templates/Guardfile
thincloud-test-0.3.1 test/dummy/Guardfile
thincloud-test-0.3.0 test/dummy/Guardfile
thincloud-test-0.3.0 lib/generators/thincloud/test/templates/Guardfile
thincloud-test-0.2.1 test/dummy/Guardfile
thincloud-test-0.2.1 lib/generators/thincloud/test/templates/Guardfile
thincloud-test-0.2.0 test/dummy/Guardfile
thincloud-test-0.2.0 lib/generators/thincloud/test/templates/Guardfile
thincloud-test-0.1.5 lib/generators/thincloud/test/templates/Guardfile
thincloud-test-0.1.4 lib/generators/thincloud/test/templates/Guardfile