Sha256: 753dcd69be7354398f5c5b1f8869af2221c05c293dc5f66eda788fbfe2ac6bc2

Contents?: true

Size: 426 Bytes

Versions: 6

Compression:

Stored size: 426 Bytes

Contents

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

guard "rspec",
      cmd: "bundle exec rspec",
      all_after_pass: true,
      all_on_start: true do
  watch(%r{^spec/.+_spec\.rb$})
  watch(%r{^lib/(.+)\.rb$})     { |m| "spec/#{m[1]}_spec.rb" }
  watch("spec/spec_helper.rb")  { "spec" }
end

guard :rubocop do
  watch(/.+\.rb$/)
  watch(%r{(?:.+/)?\.rubocop\.yml$}) { |m| File.dirname(m[0]) }
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
activerecord-turntable-4.4.1 Guardfile
activerecord-turntable-4.4.0 Guardfile
activerecord-turntable-4.3.0 Guardfile
activerecord-turntable-4.2.0 Guardfile
activerecord-turntable-4.1.0 Guardfile
activerecord-turntable-4.0.0 Guardfile