Sha256: 38d8bcf0834bd77e099abeb7ff74bec1b95dd35acf1c2608916f168bc3fe18a9

Contents?: true

Size: 402 Bytes

Versions: 7

Compression:

Stored size: 402 Bytes

Contents

guard :bundler do
  watch('Gemfile')
  watch(/^.+\.gemspec/)
end

guard :rspec, cmd: 'bundle exec 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(%r{spec/(db|dummy)/.*\.rb}) { 'spec' }
end

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

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
valhammer-1.1.0 Guardfile
valhammer-1.0.0 Guardfile
valhammer-0.3.1 Guardfile
valhammer-0.2.2 Guardfile
valhammer-0.2.1 Guardfile
valhammer-0.2.0 Guardfile
valhammer-0.1.3 Guardfile