summaryrefslogtreecommitdiff
path: root/Guardfile
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-04-01 13:08:16 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-04-01 13:08:16 +0300
commit3b0510a7c124a8511966ad4785757bd4d78998ac (patch)
tree0a1a2b983a8e09a04a694cc5fbb88fc14695dd42 /Guardfile
parent24ea884fab740ea9c666179a61c53d5768a8db89 (diff)
downloadgitlab-ce-3b0510a7c124a8511966ad4785757bd4d78998ac.tar.gz
Use ruby 1.9 hash syntax in Guardfile
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'Guardfile')
-rw-r--r--Guardfile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Guardfile b/Guardfile
index b6a9a0545e7..e19a312377d 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" }