Sha256: c8ae9d06e0bdd76a47fa0f89f0f553dbe136498dc46b720fa4a671855595a640

Contents?: true

Size: 698 Bytes

Versions: 28

Compression:

Stored size: 698 Bytes

Contents

# encoding: utf-8

guard :bundler do
  watch('Gemfile')
end

guard :rspec, :all_on_start => false, :all_after_pass => false 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})                                         { |m| Dir["spec/unit/#{m[1]}"] }
  watch("lib/#{File.basename(File.expand_path('../', __FILE__))}.rb") { 'spec/unit'                       }

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

Version data entries

28 entries across 28 versions & 4 rubygems

Version Path
substation-0.0.10.beta2 Guardfile
substation-0.0.9 Guardfile
substation-0.0.8 Guardfile
substation-0.0.7 Guardfile
axiom-arango-adapter-0.0.2 Guardfile
aql-0.0.3 Guardfile
aql-0.0.2 Guardfile
substation-0.0.6 Guardfile
substation-0.0.5 Guardfile
substation-0.0.4 Guardfile
substation-0.0.3 Guardfile
substation-0.0.2 Guardfile
substation-0.0.1 Guardfile
axiom-arango-adapter-0.0.1 Guardfile
aql-0.0.1 Guardfile
mutant-0.2.20 Guardfile
mutant-0.2.17 Guardfile
mutant-0.2.16 Guardfile
mutant-0.2.15 Guardfile
mutant-0.2.14 Guardfile