Permalink
Browse files

install guard

  • Loading branch information...
1 parent 777cffe commit 1690ddb8ab82b5bbf2e1f74eb6799678d866869b @infused committed Apr 11, 2014
Showing with 10 additions and 2 deletions.
  1. +8 −0 Guardfile
  2. +2 −1 dbf.gemspec
  3. +0 −1 spec/dbf/table_spec.rb
View
8 Guardfile
@@ -0,0 +1,8 @@
+# A sample Guardfile
+# More info at https://github.com/guard/guard#readme
+
+guard :rspec do
+ watch(%r{^spec/.+_spec\.rb$})
+ watch(%r{^lib/(.+)\.rb$}) { |m| "spec/#{m[1]}_spec.rb" }
+ watch('spec/spec_helper.rb') { "spec" }
+end
View
3 dbf.gemspec
@@ -24,6 +24,8 @@ Gem::Specification.new do |s|
s.add_development_dependency 'rspec'
s.add_development_dependency 'rake', '>= 0.9.2'
+ s.add_development_dependency 'guard'
+ s.add_development_dependency 'guard-rspec'
# if RUBY_VERSION.to_f >= 1.9
# s.add_development_dependency 'ruby-debug19'
@@ -32,4 +34,3 @@ Gem::Specification.new do |s|
# end
# s.add_development_dependency 'metric_fu'
end
-
View
1 spec/dbf/table_spec.rb
@@ -195,4 +195,3 @@
end
end
end
-

0 comments on commit 1690ddb

Please sign in to comment.