Sha256: e1cc06d8ddc6a43832ab4dabb6586e87e5143e944cef98337d46c8aed7d4b21c

Contents?: true

Size: 450 Bytes

Versions: 19

Compression:

Stored size: 450 Bytes

Contents

# frozen_string_literal: true

guard :rspec, cmd: 'rspec' do
  watch(%r{^lib/(.+).rb$})      { |m| "spec/lib/#{m[1]}_spec.rb" }
  watch(%r{^spec/(.+).rb$})     { |m| "spec/#{m[1]}.rb" }
  watch('spec/spec_helper.rb')  { 'spec' }
  watch('spec/rails_helper.rb') { 'spec' }
  watch('Gemfile')
end

guard :rubocop, all_on_start: false, cli: ['--format', 'clang'] do
  watch(/.+\.rb$/)
  watch(%r{(?:.+/)?\.rubocop\.yml$}) { |m| File.dirname(m[0]) }
end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
rails_spotlight-0.4.2 Guardfile
rails_spotlight-0.4.1 Guardfile
rails_spotlight-0.4.0 Guardfile
rails_spotlight-0.3.9 Guardfile
rails_spotlight-0.3.8 Guardfile
rails_spotlight-0.3.7 Guardfile
rails_spotlight-0.3.6 Guardfile
rails_spotlight-0.3.5 Guardfile
rails_spotlight-0.3.4 Guardfile
rails_spotlight-0.3.3 Guardfile
rails_spotlight-0.3.2 Guardfile
rails_spotlight-0.3.1 Guardfile
rails_spotlight-0.3.0 Guardfile
rails_spotlight-0.2.5 Guardfile
rails_spotlight-0.2.4 Guardfile
rails_spotlight-0.2.3 Guardfile
rails_spotlight-0.2.2 Guardfile
rails_spotlight-0.2.1 Guardfile
rails_spotlight-0.2.0 Guardfile