Sha256: d61dafcd82863f4e498efa8a8d1f6009f6519433553fc458621698324228342d

Contents?: true

Size: 578 Bytes

Versions: 5

Compression:

Stored size: 578 Bytes

Contents

# More info at https://github.com/guard/guard#readme

notification :terminal_notifier, subtitle: 'ruby.gems.new'

guard :bundler do
  watch('Gemfile')
end

guard :rspec, all_after_pass: true, all_on_start: true, cmd: 'bundle exec rspec doc spec tasks ~/.new/tasks' do
  watch(%r{^spec/.+_spec\.rb$})
  watch(%r{^tasks/.+_spec\.rb$})
  watch(%r{^tasks/(.+[^_spec])\.rb$}) { |m| "tasks/#{m[1]}_spec.rb" }
  watch(%r{^lib/(.+)\.rb$})           { |m| "spec/lib/#{m[1]}_spec.rb" }
  watch('spec/spec_helper.rb')        { 'spec' }
  watch('.rspec')                     { 'spec' }
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
new-0.0.11 Guardfile
new-0.0.10 Guardfile
new-0.0.9 Guardfile
new-0.0.8 Guardfile
new-0.0.7 Guardfile