Guardfile in mtrack-1.0.2 vs Guardfile in mtrack-1.1.0
- old
+ new
@@ -3,8 +3,10 @@
watch(/^lib\/(.+)\.rb$/) {|m| "spec/lib/#{m[1]}_spec.rb" }
watch("spec/spec_helper.rb") { "spec" }
end
guard :rubocop do
- watch(/.+\.rb$/)
- watch(/(?:.+\/)?\.rubocop\.yml$/) {|m| File.dirname(m[0]) }
+ watch(/^.+\.rb$/)
+ watch(/^(?:.+\/)?\.rubocop\.yml$/) {|m| File.dirname(m[0]) }
+ watch(/^(?:.+\/)?.+\.gemspec$/)
+ watch(/^(?:.+\/)?(?:Gem|Rake)file$/)
end