Sha256: 70df1a84caf65d65527f4403d8f6fc4cf6b6536d814a95963545800dd546a626

Contents?: true

Size: 509 Bytes

Versions: 6

Compression:

Stored size: 509 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
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
transproc-0.2.0 Guardfile
transproc-0.1.3 Guardfile
transproc-0.1.2 Guardfile
transproc-0.1.1 Guardfile
transproc-0.1.0 Guardfile
transproc-0.0.1 Guardfile