Sha256: 2a5fb78634da3b4dece56d20327e66ce255d96143d5de46c932777064815b8e2

Contents?: true

Size: 348 Bytes

Versions: 7

Compression:

Stored size: 348 Bytes

Contents

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

	# watch /lib/ files
	watch(%r{^lib/(.+).rb$}) do |m|
		"spec/#{m[1]}_spec.rb"
	end

	watch(%r{^lib/rquest/(.+).rb$}) do |m|
		"spec/#{m[1]}_spec.rb"
	end

	# watch /spec/ files
	watch(%r{^spec/(.+).rb$}) do |m|
		"spec/#{m[1]}.rb"
	end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
rquest-2.0 Guardfile
rquest-1.0.4 Guardfile
rquest-1.0.3 Guardfile
rquest-1.0.2 Guardfile
rquest-1.0.1 Guardfile
rquest-1.0.0 Guardfile
rquest-0.1.0 Guardfile