Browse files

Add Guardfile

  • Loading branch information...
1 parent dcf730c commit 4c3063965691922f04a5827406a1cb074a290fdf @titanous titanous committed Jul 24, 2012
Showing with 8 additions and 1 deletion.
  1. +6 −0 Guardfile
  2. +2 −1 sp-server.gemspec
View
6 Guardfile
@@ -0,0 +1,6 @@
+guard 'rspec', :version => 2 do
+ watch(%r{^spec/.+_spec\.rb$})
+ watch(%r{^lib/(.+)\.rb$}) { |m| "spec/#{m[1]}_spec.rb" }
+ watch(%r{^lib/[^/]+\.rb$}) { "spec" }
+ watch('spec/spec_helper.rb') { "spec" }
+end
View
3 sp-server.gemspec
@@ -20,7 +20,8 @@ Gem::Specification.new do |gem|
gem.add_runtime_dependency 'grape'
gem.add_development_dependency 'rack-test'
- gem.add_development_dependency 'rspec', '~> 2.11'
+ gem.add_development_dependency 'rspec'
gem.add_development_dependency 'bundler'
gem.add_development_dependency 'rake'
+ gem.add_development_dependency 'guard-rspec'
end

0 comments on commit 4c30639

Please sign in to comment.