Sha256: 28a3cae5763c35a4b1b676a688287d47f5b8e3c033df9111d7a6fd2bffa602c7

Contents?: true

Size: 633 Bytes

Versions: 79

Compression:

Stored size: 633 Bytes

Contents

# encoding: utf-8

guard :bundler do
  watch('Gemfile')
end

guard :rspec do
  # run all specs if the spec_helper or supporting files files are modified
  watch('spec/spec_helper.rb')                      { 'spec' }
  watch(%r{\Aspec/(?:lib|support|shared)/.+\.rb\z}) { 'spec' }

  # 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'                       }

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

Version data entries

79 entries across 75 versions & 17 rubygems

Version Path
cm-admin-1.5.22 vendor/bundle/ruby/3.3.0/gems/descendants_tracker-0.0.4/Guardfile
cm-admin-1.5.21 vendor/bundle/ruby/3.3.0/gems/descendants_tracker-0.0.4/Guardfile
cm-admin-1.5.20 vendor/bundle/ruby/3.3.0/gems/descendants_tracker-0.0.4/Guardfile
grape-extra_validators-2.0.0 vendor/bundle/ruby/2.6.0/gems/descendants_tracker-0.0.4/Guardfile
grape-extra_validators-1.0.0 vendor/bundle/ruby/2.4.0/gems/descendants_tracker-0.0.4/Guardfile
config_gems_initialization_aim-0.1.4 vendor/bundle/ruby/2.5.0/gems/descendants_tracker-0.0.4/Guardfile
config_gems_initialization_aim-0.1.4 vendor/bundle/ruby/2.5.0/gems/config_gems_initialization_aim-0.1.1/vendor/bundle/ruby/2.5.0/gems/descendants_tracker-0.0.4/Guardfile
config_gems_initialization_aim-0.1.3 vendor/bundle/ruby/2.5.0/gems/config_gems_initialization_aim-0.1.1/vendor/bundle/ruby/2.5.0/gems/descendants_tracker-0.0.4/Guardfile
config_gems_initialization_aim-0.1.3 vendor/bundle/ruby/2.5.0/gems/descendants_tracker-0.0.4/Guardfile
vagrant-packet-0.1.1 vendor/bundle/ruby/2.4.0/gems/inflecto-0.0.2/Guardfile
vagrant-packet-0.1.1 vendor/bundle/ruby/2.5.0/gems/inflecto-0.0.2/Guardfile
vagrant-packet-0.1.1 vendor/bundle/ruby/2.3.0/gems/inflecto-0.0.2/Guardfile
flexus-1.0.0 Guardfile
flexus-1.0.0.beta.1 Guardfile
vagrant-cloudstack-1.2.0 vendor/bundle/gems/inflecto-0.0.2/Guardfile
vagrant-cloudstack-1.1.0 vendor/bundle/gems/inflecto-0.0.2/Guardfile
vanguard-0.0.5 Guardfile
request-0.0.6 Guardfile
response-0.0.5 Guardfile
descendants_tracker-0.0.4 Guardfile