Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

added support for guard continous testing

  • Loading branch information...
commit 3a2f86dde152afc0220fe2aa24c80b780ef4cd59 1 parent c00bfc6
@pelle pelle authored
Showing with 16 additions and 1 deletion.
  1. +5 −1 .gitignore
  2. +10 −0 Guardfile
  3. +1 −0  tweetstream.gemspec
View
6 .gitignore
@@ -6,4 +6,8 @@ pkg
Gemfile.lock
coverage/*
.yardoc/*
-doc/*
+doc/*
+.bundle
+.swp
+.idea
+.rvmrc
View
10 Guardfile
@@ -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
1  tweetstream.gemspec
@@ -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")
Please sign in to comment.
Something went wrong with that request. Please try again.