Sha256: d4987eac2193230212fd19bffa0d331bb1c102159da2d2de411843cd9177b60d

Contents?: true

Size: 496 Bytes

Versions: 3

Compression:

Stored size: 496 Bytes

Contents

# frozen_string_literal: true

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

guard :rspec, cmd: 'bundle exec rspec', all_on_start: true do
  require 'guard/rspec/dsl'
  dsl = Guard::RSpec::Dsl.new(self)

  # RSpec files
  rspec = dsl.rspec
  watch(rspec.spec_helper) { rspec.spec_dir }
  watch(rspec.spec_support) { rspec.spec_dir }
  watch(rspec.spec_files) { rspec.spec_dir }

  watch('Gemfile.lock') { rspec.spec_dir }

  ruby = dsl.ruby
  watch(ruby.lib_files) { rspec.spec_dir }
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
mongoid-locker-2.0.2 Guardfile
mongoid-locker-2.0.1 Guardfile
mongoid-locker-2.0.0 Guardfile