Sha256: 360324bd5b7b1042b061ec9cfad5f8e9a906e6b2d1c0360724eeb524ee4f517f

Contents?: true

Size: 719 Bytes

Versions: 4

Compression:

Stored size: 719 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

4 entries across 4 versions & 1 rubygems

Version Path
human_attributes-1.1.0 Guardfile
human_attributes-1.0.0 Guardfile
human_attributes-0.7.1 Guardfile
human_attributes-0.7.0 Guardfile