Sha256: 7ae6fe9a24c02e7ac37370b925f89b759f93eb5d770d73b4ff00c934396f4425

Contents?: true

Size: 816 Bytes

Versions: 18

Compression:

Stored size: 816 Bytes

Contents

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

require 'active_support/core_ext'

guard 'rspec', :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/(.*)(\.erb|\.haml)$})                 { |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"] }

  # Capybara request specs
#  watch(%r{^app/views/(.+)/.*\.(erb|haml)$})          { |m| "spec/requests/#{m[1]}_spec.rb" }
end

Version data entries

18 entries across 18 versions & 2 rubygems

Version Path
edit_mode-1.0.5 Guardfile
edit_mode-1.0.4 Guardfile
edit_mode-1.0.3 Guardfile
edit_mode-1.0.2 Guardfile
edit_mode-1.0.1 Guardfile
edit_mode-1.0.0 Guardfile
edit_mode-0.0.9 Guardfile
edit_mode-0.0.8 Guardfile
slim_breadcrumb-0.0.3 Guardfile
edit_mode-0.0.7 Guardfile
slim_breadcrumb-0.0.2 Guardfile
edit_mode-0.0.6 Guardfile
edit_mode-0.0.5 Guardfile
edit_mode-0.0.4 Guardfile
slim_breadcrumb-0.0.1 Guardfile
edit_mode-0.0.3 Guardfile
edit_mode-0.0.2 Guardfile
edit_mode-0.0.1 Guardfile