Sha256: 6a9656656e7cca68a49a9da866e5249142e568d5343487517c0c4081cd90caf3

Contents?: true

Size: 507 Bytes

Versions: 13

Compression:

Stored size: 507 Bytes

Contents

guard :rspec, cmd: "bundle exec rspec" 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)

  # Ruby files
  ruby = dsl.ruby
  dsl.watch_spec_files_for(ruby.lib_files)

  # Standard RubyGem Project
  watch(/^spec\/.+_spec\.rb/)
  watch(/^lib\/(.+)\.rb/)     { |m| "spec/#{m[1]}_spec.rb" }
  watch("spec/spec_helper.rb")  { "spec" }
end

Version data entries

13 entries across 13 versions & 2 rubygems

Version Path
activerecord-propertybase_id-0.4.0 Guardfile
propertybase_id-0.6.0 Guardfile
propertybase_id-0.5.0 Guardfile
activerecord-propertybase_id-0.3.1 Guardfile
activerecord-propertybase_id-0.3.0 Guardfile
propertybase_id-0.4.0 Guardfile
activerecord-propertybase_id-0.2.0 Guardfile
activerecord-propertybase_id-0.1.0 Guardfile
propertybase_id-0.3.3 Guardfile
propertybase_id-0.3.2 Guardfile
propertybase_id-0.3.1 Guardfile
propertybase_id-0.3.0 Guardfile
propertybase_id-0.2.0 Guardfile