Sha256: eff49846bef9698bc35597c6e9bbe018f8d9914503471d1ddf816a6b6feec94b

Contents?: true

Size: 463 Bytes

Versions: 10

Compression:

Stored size: 463 Bytes

Contents

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

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

  # with Minitest::Spec
  # watch(%r|^spec/(.*)_spec\.rb|)
  # watch(%r|^lib/(.*)\.rb|)            { |m| "spec/#{m[1]}_spec.rb" }
  # watch(%r|^spec/spec_helper\.rb|)    { "spec" }
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
rails-boilerplate-0.1.9 Guardfile
rails-boilerplate-0.1.8 Guardfile
rails-boilerplate-0.1.7 Guardfile
rails-boilerplate-0.1.6 Guardfile
rails-boilerplate-0.1.5 Guardfile
rails-boilerplate-0.1.4 Guardfile
rails-boilerplate-0.1.3 Guardfile
rails-boilerplate-0.1.2 Guardfile
rails-boilerplate-0.1.1 Guardfile
rails-boilerplate-0.1.0 Guardfile