Sha256: 328290a138ac90bd0b1a6efa95008d6af3c508b76fc1fb438ede6750f8b44058

Contents?: true

Size: 482 Bytes

Versions: 44

Compression:

Stored size: 482 Bytes

Contents

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

# automatically check Ruby code style with Rubocop when files are modified
guard :rubocop, :all_on_start => false, :keep_failed => false do
  watch(/.+\.rb$/)
  watch(%r{(?:.+/)?\.rubocop\.yml$}) { |m| File.dirname(m[0]) }
end

guard :test do
  watch(%r{^test/.+_test\.rb$})
  watch('test/test_helper.rb')  { 'test' }

  # Non-rails
  watch(%r{^lib/ndr_import/(.+)\.rb$}) { |m| "test/#{m[1]}_test.rb" }
end

Version data entries

44 entries across 44 versions & 1 rubygems

Version Path
ndr_import-10.1.2 Guardfile
ndr_import-10.1.1 Guardfile
ndr_import-10.1 Guardfile
ndr_import-10.0 Guardfile
ndr_import-9.1.0 Guardfile
ndr_import-9.0.3 Guardfile
ndr_import-9.0.2 Guardfile
ndr_import-9.0.1 Guardfile
ndr_import-9.0.0 Guardfile
ndr_import-8.6.0 Guardfile
ndr_import-8.5.2 Guardfile
ndr_import-8.5.1 Guardfile
ndr_import-8.5.0 Guardfile
ndr_import-8.4.0 Guardfile
ndr_import-8.3.0 Guardfile
ndr_import-8.2.0 Guardfile
ndr_import-8.1.0 Guardfile
ndr_import-8.0.0 Guardfile
ndr_import-7.0.0 Guardfile
ndr_import-6.4.1 Guardfile