Sha256: 75b5774f22ebfef7f6f4d8a26c0c47afa6ea4b3f73cc35555b7b83428ef7a28e

Contents?: true

Size: 730 Bytes

Versions: 47

Compression:

Stored size: 730 Bytes

Contents

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

Version data entries

47 entries across 47 versions & 6 rubygems

Version Path
send_grid_mailer-2.4.0 Guardfile
power_api-2.1.1 Guardfile
local_resource-2.0.0 Guardfile
send_grid_mailer-2.3.0 Guardfile
send_grid_mailer-2.2.0 Guardfile
power_api-2.1.0 Guardfile
power_api-2.0.2 Guardfile
power_api-2.0.1 Guardfile
power_api-2.0.0 Guardfile
send_grid_mailer-2.0.1 Guardfile
send_grid_mailer-2.0.0 Guardfile
local_resource-1.0.0 Guardfile
power_api-1.0.0 Guardfile
gemaker-0.6.0 lib/gemaker/templates/engine/Guardfile
active_job_log-1.2.0 Guardfile
active_job_log-1.1.0 Guardfile
power_api-0.2.0 Guardfile
power_api-0.1.0 Guardfile
send_grid_mailer-1.2.1 Guardfile
send_grid_mailer-1.2.0 Guardfile