Guardfile in coop-1.0.1 vs Guardfile in coop-1.1.0
- old
+ new
@@ -1,5 +1,5 @@
guard 'minitest' do
watch(%r|^test/(.*)\/?test_(.*)\.rb|)
- watch(%r|^lib/(.*)([^/]+)\.rb|) { |m| "test/#{m[1]}test_#{m[2]}.rb" }
+ watch(%r|^lib/(.*/)?([^/]+)\.rb$|) { |m| "test/#{m[1]}test_#{m[2]}.rb" }
watch(%r|^test/test_helper\.rb|) { "test" }
end