Permalink
Browse files

Adds guard-rspec and Guardfile

  • Loading branch information...
1 parent 8809763 commit 8281e2b4b6e360836df9b6fc43363cd6a13c5993 @benedikt committed Mar 24, 2012
Showing with 8 additions and 0 deletions.
  1. +2 −0 Gemfile
  2. +6 −0 Guardfile
View
@@ -2,5 +2,7 @@ source :rubygems
gemspec
+gem 'guard-rspec', '>= 0.6.0'
+gem 'ruby_gntp', '>= 0.3.4'
gem 'bson_ext', '>= 1.0.4', :platform => :ruby
gem 'SystemTimer', '>= 1.2.0', :platform => :ruby_18
View
@@ -0,0 +1,6 @@
+guard 'rspec' do
+ watch(%r{^spec/.+_spec\.rb$})
+ watch(%r{^lib/(.+)\.rb$}) { |m| "spec/lib/#{m[1]}_spec.rb" }
+ watch(%r{^spec/support/.+\.rb$}) { "spec" }
+ watch('spec/spec_helper.rb') { "spec" }
+end

0 comments on commit 8281e2b

Please sign in to comment.