Guardfile in treet-0.15.0 vs Guardfile in treet-0.17.1
- old
+ new
@@ -16,13 +16,12 @@
watch(%r|^spec/test_helper\.rb|) { "spec" }
# watch(%r|^lib/(.*)([^/]+)\.rb|) { |m| "spec/#{m[1]}#{m[2]}_spec.rb" }
# watch(%r|^spec/spec_helper\.rb|) { "spec" }
end
-guard 'rspec', :version => 2 do
+guard 'rspec' do
watch(%r{^spec/.+_spec\.rb$})
watch(%r{^lib/treet/(.+)\.rb$}) { |m| "spec/lib/#{m[1]}_spec.rb" }
watch(%r{^(.+)\.rb$}) { |m| "spec/#{m[1]}_spec.rb" }
watch('spec/spec_helper.rb') { "spec" }
end
-