Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Move to guard

  • Loading branch information...
commit 6e3760f590ad815a760b08a4413085c89eb897dd 1 parent 663910b
@durran durran authored
Showing with 10 additions and 1 deletion.
  1. +9 −0 Guardfile
  2. +1 −1  origin.gemspec
View
9 Guardfile
@@ -0,0 +1,9 @@
+# vim:set filetype=ruby:
+guard(
+ "rspec",
+ all_after_pass: false,
+ cli: "--fail-fast --tty --format documentation --colour") do
+
+ watch(%r{^spec/.+_spec\.rb$})
+ watch(%r{^lib/(.+)\.rb$}) { |match| "spec/#{match[1]}_spec.rb" }
+end
View
2  origin.gemspec
@@ -18,7 +18,7 @@ Gem::Specification.new do |s|
s.rubyforge_project = "origin"
s.add_development_dependency("rspec", ["~> 2.6"])
- s.add_development_dependency("watchr", ["~> 0.6"])
+ s.add_development_dependency("guard-rspec", ["~> 0.6"])
s.files = Dir.glob("lib/**/*") + %w(Rakefile)
s.require_path = 'lib'
Please sign in to comment.
Something went wrong with that request. Please try again.