Sha256: ca1e8164c472e9d725da327c031ae211952b256c376bbc9609b77a46f4d4577e

Contents?: true

Size: 461 Bytes

Versions: 10

Compression:

Stored size: 461 Bytes

Contents

guard :rspec, cmd: "bundle exec rspec" do
  spec_dic = "spec"
  # RSpec files
  watch("spec/spec_helper.rb") { spec_dic }
  watch("spec/rails_helper.rb") { spec_dic }
  watch(%r{^spec/support/(.+)\.rb$}) { spec_dic }
  watch(%r{^spec/.+_spec\.rb$})
  # Engine files
  watch(%r{^lib/(.+)\.rb$}) { |m| "spec/lib/#{m[1]}_spec.rb" }
  watch(%r{^app/(.+)\.rb$}) { |m| "spec/#{m[1]}_spec.rb" }
  watch(%r{^app/(.*)(\.erb)$}) { |m| "spec/#{m[1]}#{m[2]}_spec.rb" }
end

Version data entries

10 entries across 10 versions & 3 rubygems

Version Path
repo_analyzer-1.6.0 Guardfile
repo_analyzer-1.5.0 Guardfile
repo_analyzer-1.4.0 Guardfile
repo_analyzer-1.3.0 Guardfile
repo_analyzer-1.2.0 Guardfile
repo_analyzer-1.1.0 Guardfile
repo_analyzer-1.0.0 Guardfile
rails-queue-it-0.2.0 Guardfile
rails-queue-it-0.1.0 Guardfile
gemaker-1.0.0 lib/gemaker/templates/engine/Guardfile