Sha256: b3d929d4583272aac792311bcec7853a3e4efa06000e12e14af3672dc30b62e9

Contents?: true

Size: 1021 Bytes

Versions: 39

Compression:

Stored size: 1021 Bytes

Contents

# A sample Guardfile
# More info at https://github.com/guard/guard#readme

guard 'spork', :notification => false, :rspec_env => { 'RAILS_ENV' => 'test' } do
  watch('config/application.rb')
  watch('config/environment.rb')
  watch(%r{^config/environments/.+\.rb$})
  watch(%r{^config/initializers/.+\.rb$})
  watch('Gemfile')
  watch('Gemfile.lock')
  watch('spec/spec_helper.rb') { :rspec }
  watch('test/test_helper.rb') { :test_unit }
  watch(%r{features/support/}) { :cucumber }
end

guard 'rspec', :notification => false, :cli => "--color --drb", :version => 2, :all_after_pass => false do
  watch(%r{^spec/.+_spec\.rb$})
  watch(%r{^lib/(.+)\.rb$})     { |m| "spec/lib/#{m[1]}_spec.rb" }
  watch('spec/spec_helper.rb')  { "spec" }

  # Rails example
  watch(%r{^app/(.+)\.rb$})                           { |m| "spec/#{m[1]}_spec.rb" }
  watch(%r{^app/controllers/(.+)_(controller)\.rb$})  { |m| ["spec/controllers/#{m[1]}_spec.rb"] }
  watch('app/controllers/application_controller.rb')  { "spec/controllers" }
end

Version data entries

39 entries across 39 versions & 1 rubygems

Version Path
smartkiosk-server-0.13.1 Guardfile
smartkiosk-server-0.13 Guardfile
smartkiosk-server-0.12.1 Guardfile
smartkiosk-server-0.12 Guardfile
smartkiosk-server-0.11.11 Guardfile
smartkiosk-server-0.11.10 Guardfile
smartkiosk-server-0.11.9 Guardfile
smartkiosk-server-0.11.8 Guardfile
smartkiosk-server-0.11.7 Guardfile
smartkiosk-server-0.11.6 Guardfile
smartkiosk-server-0.11.5 Guardfile
smartkiosk-server-0.11.4 Guardfile
smartkiosk-server-0.11.3 Guardfile
smartkiosk-server-0.11.2 Guardfile
smartkiosk-server-0.11.1 Guardfile
smartkiosk-server-0.11 Guardfile
smartkiosk-server-0.10.19 Guardfile
smartkiosk-server-0.10.18 Guardfile
smartkiosk-server-0.10.17 Guardfile
smartkiosk-server-0.10.16 Guardfile