Commit 3b0510a7c124a8511966ad4785757bd4d78998ac

Authored by Dmitriy Zaporozhets
1 parent 24ea884f

Use ruby 1.9 hash syntax in Guardfile

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
Guardfile
1 1 # A sample Guardfile
2 2 # More info at https://github.com/guard/guard#readme
3 3  
4   -guard 'rspec', cmd:"spring rspec", :version => 2, :all_on_start => false, :all_after_pass => false do
  4 +guard 'rspec', cmd: "spring rspec", version: 2, all_on_start: false, all_after_pass: false do
5 5 watch(%r{^spec/.+_spec\.rb$})
6 6 watch(%r{^lib/(.+)\.rb$}) { |m| "spec/lib/#{m[1]}_spec.rb" }
7 7 watch(%r{^lib/api/(.+)\.rb$}) { |m| "spec/requests/api/#{m[1]}_spec.rb" }
... ...