Permalink
Browse files

Added Guard support. [ci skip]

  • Loading branch information...
1 parent 3876281 commit 61df8b6cd8aea91dd495bb13890e66a1b1bc80b9 Brooke Kuhlmann committed May 26, 2012
Showing with 7 additions and 0 deletions.
  1. +5 −0 Guardfile
  2. +2 −0 resourcer.gemspec
View
@@ -0,0 +1,5 @@
+guard 'rspec', :version => 2 do
+ watch(%r{^spec/.+_spec\.rb$})
+ watch(%r{^lib/(.+)\.rb$}) { |m| "spec/lib/#{m[1]}_spec.rb" }
+ watch('spec/spec_helper.rb') { "spec" }
+end
View
@@ -18,6 +18,8 @@ Gem::Specification.new do |s|
s.add_dependency "rails", "~> 3.0"
s.add_development_dependency "rake"
s.add_development_dependency "rspec-rails"
+ s.add_development_dependency("rb-fsevent") if RUBY_PLATFORM =~ /darwin/i
+ s.add_development_dependency "guard-rspec"
s.files = Dir["lib/**/*", "vendor/**/*"]
s.extra_rdoc_files = Dir["README*", "CHANGELOG*", "LICENSE*"]

0 comments on commit 61df8b6

Please sign in to comment.