Sha256: e4b17573a59f8ae8dfcdc86ad972e30cbe30515d2b46e3428c44544643e4ab51

Contents?: true

Size: 529 Bytes

Versions: 16

Compression:

Stored size: 529 Bytes

Contents

guard :rspec, cmd: 'rspec' do
  # run all specs if configuration is modified
  watch('Guardfile')           { 'spec' }
  watch('Gemfile.lock')        { 'spec' }
  watch('spec/spec_helper.rb') { 'spec' }

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

  watch(%r{\Alib/(.+)\.rb\z}) { |_m| 'spec' }

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

  notification :tmux, display_message: true if ENV.key?('TMUX')
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
transproc-1.1.1 Guardfile
transproc-1.1.0 Guardfile
transproc-1.0.3 Guardfile
transproc-1.0.2 Guardfile
transproc-1.0.1 Guardfile
transproc-1.0.0 Guardfile
transproc-0.4.2 Guardfile
transproc-0.4.1 Guardfile
transproc-0.4.0 Guardfile
transproc-0.3.2 Guardfile
transproc-0.3.1 Guardfile
transproc-0.3.0 Guardfile
transproc-0.2.4 Guardfile
transproc-0.2.3 Guardfile
transproc-0.2.2 Guardfile
transproc-0.2.1 Guardfile