Sha256: cb00f9ebd679bf20db73d43b1f435f1a823481c69634cf915f4fc6ca03d39cfd

Contents?: true

Size: 270 Bytes

Versions: 3

Compression:

Stored size: 270 Bytes

Contents

guard :rspec, cmd: 'bundle exec rspec' do
  watch(%r{^lib/(.+)\.rb$}) do |match|
    file = "spec/lib/#{match[1]}_spec.rb"
    File.exist?(file) ? file : 'spec'
  end
  watch(%r{^spec/.*_spec\.rb$})
  watch(%r{^spec/spec_helper\.rb$}) { 'spec' }
end

# vim: set ft=ruby

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rail-0.1.1 Guardfile
rail-0.1.0 Guardfile
rail-0.0.8 Guardfile