Sha256: 41aecee64dd7d344dfbcfacdd9760a1fb0adf771e5389b6e6a44ff0a30739d36

Contents?: true

Size: 485 Bytes

Versions: 4

Compression:

Stored size: 485 Bytes

Contents

notification :terminal_notifier if `uname` =~ /Darwin/

rspec_options = {
  cmd: "rspec",
  all_after_pass: false,
  all_on_start: false,
  failed_mode: :focus
}

guard :rspec, cmd: "bundle exec rspec" do
  watch(%r{^spec/.+_spec\.rb$})
  watch(%r{^spec/support/.+\.rb$})     { "spec" }
  watch(%r{^lib/blocks/(.+)\.rb$})     { |m| ["spec/features", "spec/unit/#{m[1]}_spec.rb"] }
  watch(%r{^lib/blocks.rb$})           { "spec" }
  watch('spec/spec_helper.rb')         { "spec" }
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
blocks-4.0.1 Guardfile
blocks-4.0.0 Guardfile
blocks-4.0.0.rc2 Guardfile
blocks-4.0.0.rc1 Guardfile