Sha256: a1f64c95b8a5b09b13221b428de937bb7065a696a3c554dc2b0761914b203645

Contents?: true

Size: 720 Bytes

Versions: 3

Compression:

Stored size: 720 Bytes

Contents

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

  # Feel free to open issues for suggestions and improvements

  # 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)

  watch(%r{^spec/.+_spec\.rb$})
  watch(%r{^lib/vzaar_api.rb$})       { "spec" }
  watch(%r{^lib/vzaar_api/(.+)\.rb$}) { "spec" }
  watch(%r{^spec/support/(.+)\.rb$})  { 'spec' }

  watch('spec/vzaar_api_helper.rb')   { "spec" }
  watch('spec/spec_helper.rb')        { "spec" }
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
vzaar_api-2.0.2 Guardfile
vzaar_api-2.0.1 Guardfile
vzaar_api-2.0.0 Guardfile