Sha256: d00f4cd195b55dde412306b03107b1ebe9d1f3f6dafd6d79ba52837e5720d654

Contents?: true

Size: 736 Bytes

Versions: 6

Compression:

Stored size: 736 Bytes

Contents

notification :terminal_notifier

guard 'spork', rspec_env: { 'RACK_ENV' => 'test' } do
  watch('config/.+\.rb')
  watch('Gemfile.lock')
  watch(%r{^spec/factories/.+\.rb$})
  watch('spec/spec_helper.rb') { :rspec }
end

guard :rspec, cmd: 'bundle exec rspec --drb --color --format progress' do
  watch(%r{^spec/.+_spec\.rb$})
  watch(%r{^lib/(.+)\.rb$})     { |m| "spec/lib/#{m[1]}_spec.rb" }
  watch('spec/spec_helper.rb')  { "spec" }

  watch(%r{^api/mounts/(.+)\.rb$})  { |m| "spec/api/mounts/#{m[1]}_spec.rb" }
  watch(%r{^models/(.+)\.rb$})      { |m| "spec/models/#{m[1]}_spec.rb" }
  watch(%r{^abilities/(.+)\.rb$})    { |m| "spec/abilities/#{m[1]}_spec.rb" }
  watch(%r{^views/(v[^/]+)/\.rb$})   { |m| "spec/api/**/*.rb" }
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
grape-gen-0.0.6 template/Guardfile
grape-gen-0.0.5 template/Guardfile
grape-gen-0.0.4 template/Guardfile
grape-gen-0.0.3 template/Guardfile
grape-gen-0.0.2 template/Guardfile
grape-gen-0.0.1 template/Guardfile