Sha256: 2cf79dc32e59e3878ea9e4993386faa2d9181719fb323ca4eb9052b074f79dae

Contents?: true

Size: 681 Bytes

Versions: 21

Compression:

Stored size: 681 Bytes

Contents

# encoding: utf-8

guard :bundler do
  watch('Gemfile')
end

guard :rspec, :all_on_start => false, :all_after_pass => false, :cli => '--fail-fast --seed 1' do
  # run all specs if the spec_helper or supporting files files are modified
  watch('spec/spec_helper.rb')                      { 'spec/unit' }
  watch(%r{\Aspec/(?:lib|support|shared)/.+\.rb\z}) { 'spec/unit' }

  # run unit specs if associated lib code is modified
  watch(%r{\Alib/(.+)\.rb\z})                                         { 'spec' }
  watch("lib/#{File.basename(File.expand_path('../', __FILE__))}.rb") { 'spec' }

  # run a spec if it is modified
  watch(%r{\Aspec/(?:unit|integration)/.+_spec\.rb\z})
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
unparser-0.1.10 Guardfile
unparser-0.1.9 Guardfile
unparser-0.1.8 Guardfile
unparser-0.1.7 Guardfile
unparser-0.1.6 Guardfile
unparser-0.1.5 Guardfile
unparser-0.1.4 Guardfile
unparser-0.1.3 Guardfile
unparser-0.1.2 Guardfile
unparser-0.1.1 Guardfile
unparser-0.1.0 Guardfile
unparser-0.0.18 Guardfile
unparser-0.0.16 Guardfile
unparser-0.0.15 Guardfile
unparser-0.0.14 Guardfile
unparser-0.0.13 Guardfile
unparser-0.0.12 Guardfile
unparser-0.0.11 Guardfile
unparser-0.0.10 Guardfile
unparser-0.0.8 Guardfile