Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 17 lines (14 sloc) 0.332 kb
828dd36 @jnunemaker Add guard.
authored
1 rspec_options = {
5f9eedc @kalmanh Changing symbol syntax inside hashes - take 2
kalmanh authored
2 version: 1,
3 all_after_pass: false,
361e656 @nysthee Mitigates Style/TraillingComma
nysthee authored
4 all_on_start: false
828dd36 @jnunemaker Add guard.
authored
5 }
6
7 guard 'rspec', rspec_options do
8 watch(%r{^spec/.+_spec\.rb$})
9 watch(%r{^lib/(.+)\.rb$}) { |m| "spec/#{m[1]}_spec.rb" }
10 watch('spec/spec_helper.rb') { "spec" }
11 end
12
13 guard 'bundler' do
14 watch('Gemfile')
15 watch(/^.+\.gemspec/)
16 end
Something went wrong with that request. Please try again.