Permalink
Fetching contributors…
Cannot retrieve contributors at this time
15 lines (12 sloc) 285 Bytes
rspec_options = {
:all_after_pass => false,
}
guard 'rspec', rspec_options do
watch(%r{^spec/.+_spec\.rb$})
watch(%r{^lib/(.+)\.rb$}) { |m| "spec/#{m[1]}_spec.rb" }
watch('spec/helper.rb') { "spec" }
end
guard 'bundler' do
watch('Gemfile')
watch(/^.+\.gemspec/)
end