Permalink
Browse files

added support for guard continous testing

  • Loading branch information...
1 parent c00bfc6 commit 3a2f86dde152afc0220fe2aa24c80b780ef4cd59 @pelle pelle committed Sep 5, 2011
Showing with 16 additions and 1 deletion.
  1. +5 −1 .gitignore
  2. +10 −0 Guardfile
  3. +1 −0 tweetstream.gemspec
View
@@ -6,4 +6,8 @@ pkg
Gemfile.lock
coverage/*
.yardoc/*
-doc/*
+doc/*
+.bundle
+.swp
+.idea
+.rvmrc
View
@@ -0,0 +1,10 @@
+# A sample Guardfile
+# More info at https://github.com/guard/guard#readme
+
+guard 'rspec', :version => 2 do
+ watch(%r{^spec/.+_spec\.rb$})
+ watch(%r{^lib/(.+)\.rb$}) { |m| "spec/#{m[1]}_spec.rb" }
+ watch('spec/spec_helper.rb') { "spec/" }
+ watch('spec/data/.+') { "spec/" }
+end
+
View
@@ -25,6 +25,7 @@ Gem::Specification.new do |s|
s.add_development_dependency('rspec', '~> 2.6.0')
s.add_development_dependency('yajl-ruby', '~> 0.8.2')
s.add_development_dependency('json', '~> 1.5.1')
+ s.add_development_dependency('guard-rspec', '~> 0.4.3')
s.files = `git ls-files`.split("\n")
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")

0 comments on commit 3a2f86d

Please sign in to comment.