Sha256: 4fb2494e30e39db951dd268b8988a3a067c27ed4048a6cf82e7e9d25df6d2991
Contents?: true
Size: 794 Bytes
Versions: 6
Compression:
Stored size: 794 Bytes
Contents
guard :rspec do watch(%r{^spec/.+_spec\.rb$}) watch(%r{^lib/(.+)\.rb$}) { |m| "spec/lib/#{m[1]}_spec.rb" } watch('spec/spec_helper.rb') { "spec" } watch('spec/support/*.rb') { "spec" } # Rails example watch(%r{^app/(.+)\.rb$}) { |m| "spec/#{m[1]}_spec.rb" } watch(%r{^app/(.*)(\.erb|\.haml|\.slim)$}) { |m| "spec/#{m[1]}#{m[2]}_spec.rb" } watch(%r{^app/controllers/(.+)_(controller)\.rb$}) { |m| ["spec/routing/#{m[1]}_routing_spec.rb", "spec/#{m[2]}s/#{m[1]}_#{m[2]}_spec.rb", "spec/acceptance/#{m[1]}_spec.rb"] } watch(%r{^spec/support/(.+)\.rb$}) { "spec" } watch('config/routes.rb') { "spec/routing" } watch('app/controllers/application_controller.rb') { "spec/controllers" } end
Version data entries
6 entries across 6 versions & 1 rubygems
Version | Path |
---|---|
shog-0.1.3 | Guardfile |
shog-0.1.2 | Guardfile |
shog-0.1.1 | Guardfile |
shog-0.1.0 | Guardfile |
shog-0.0.2 | Guardfile |
shog-0.0.1pre | Guardfile |