Sha256: 61c24099a36054339de45eb82ad5f265b6b3dc8278c983eb109e1a9a7276f1f3

Contents?: true

Size: 458 Bytes

Versions: 1

Compression:

Stored size: 458 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)

  # Lib files
  watch(%r{^lib/active_sms.rb$}) { rspec.spec_dir }
  watch(%r{^lib/(.+)\.rb$}) { |m| rspec.spec.call(m[1]) }
  watch(%r{^spec/support/(.+)\.rb$}) { |m| rspec.spec.call(m[1]) }
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
active_sms-0.0.1 Guardfile