Sha256: e829f29adb32e4b70ba1f901ac23b73310902c4aa9ef69c676cdfd41c99eba4a

Contents?: true

Size: 487 Bytes

Versions: 15

Compression:

Stored size: 487 Bytes

Contents

# frozen_string_literal: true

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

guard :rspec, cmd: 'bundle exec rspec' do
  watch(%r{/^spec\/.+_spec\.rb$/})
  watch(%r{/^lib\/gumboot\/shared_examples\/(.+)\.rb$/}) do |m|
    "spec/gumboot/#{m[1]}_spec.rb"
  end
  watch(%r{^spec/(dummy|support)/.+\.rb}) { 'spec' }
  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

15 entries across 15 versions & 1 rubygems

Version Path
aaf-gumboot-2.6.3 Guardfile
aaf-gumboot-2.6.2 Guardfile
aaf-gumboot-2.6.1 Guardfile
aaf-gumboot-2.6.0 Guardfile
aaf-gumboot-2.5.1 Guardfile
aaf-gumboot-2.5.0 Guardfile
aaf-gumboot-2.4.0 Guardfile
aaf-gumboot-2.2.0 Guardfile
aaf-gumboot-2.1.4 Guardfile
aaf-gumboot-2.1.3 Guardfile
aaf-gumboot-2.1.1 Guardfile
aaf-gumboot-2.1.0 Guardfile
aaf-gumboot-2.0.1 Guardfile
aaf-gumboot-1.2.0 Guardfile
aaf-gumboot-1.1.0 Guardfile