From 3b0510a7c124a8511966ad4785757bd4d78998ac Mon Sep 17 00:00:00 2001 From: Dmitriy Zaporozhets Date: Tue, 1 Apr 2014 13:08:16 +0300 Subject: [PATCH] Use ruby 1.9 hash syntax in Guardfile --- Guardfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Guardfile b/Guardfile index b6a9a05..e19a312 100644 --- a/Guardfile +++ b/Guardfile @@ -1,7 +1,7 @@ # A sample Guardfile # More info at https://github.com/guard/guard#readme -guard 'rspec', cmd:"spring rspec", :version => 2, :all_on_start => false, :all_after_pass => false do +guard 'rspec', cmd: "spring rspec", version: 2, all_on_start: false, all_after_pass: false do watch(%r{^spec/.+_spec\.rb$}) watch(%r{^lib/(.+)\.rb$}) { |m| "spec/lib/#{m[1]}_spec.rb" } watch(%r{^lib/api/(.+)\.rb$}) { |m| "spec/requests/api/#{m[1]}_spec.rb" } -- libgit2 0.21.2