Permalink
Browse files

Adding Guard and Guard-Rspec

  • Loading branch information...
1 parent 6097d1c commit bb2954c1bef044c4f49046c106942e525376249a @burtlo burtlo committed Jun 1, 2012
Showing with 22 additions and 5 deletions.
  1. +0 −1 .rspec
  2. +2 −1 Gemfile
  3. +11 −3 Gemfile.lock
  4. +9 −0 Guardfile
View
1 .rspec
@@ -1 +0,0 @@
--c -f d
View
@@ -7,5 +7,6 @@ gem "nokogiri", "1.5.1"
group :development do
gem "rake", "0.9.2"
gem "rspec", "2.8"
- gem "yard"
+ gem "guard"
+ gem "guard-rspec"
end
View
@@ -1,13 +1,20 @@
PATH
remote: .
specs:
- nokogiri-happymapper (0.5.0)
+ nokogiri-happymapper (0.5.1)
nokogiri (~> 1.4)
GEM
remote: http://rubygems.org/
specs:
diff-lcs (1.1.3)
+ ffi (1.0.11)
+ ffi (1.0.11-java)
+ guard (1.0.3)
+ ffi (>= 0.5.0)
+ thor (>= 0.14.6)
+ guard-rspec (0.7.3)
+ guard (>= 0.10.0)
nokogiri (1.5.1)
nokogiri (1.5.1-java)
rake (0.9.2)
@@ -19,15 +26,16 @@ GEM
rspec-expectations (2.8.0)
diff-lcs (~> 1.1.2)
rspec-mocks (2.8.0)
- yard (0.7.2)
+ thor (0.15.2)
PLATFORMS
java
ruby
DEPENDENCIES
+ guard
+ guard-rspec
nokogiri (= 1.5.1)
nokogiri-happymapper!
rake (= 0.9.2)
rspec (= 2.8)
- yard
View
@@ -0,0 +1,9 @@
+# A sample Guardfile
+# More info at https://github.com/guard/guard#readme
+
+guard 'rspec', :version => 2, :cli => "-c -f d" do
+ watch(%r{^spec/.+_spec\.rb$})
+ watch(%r{^lib/(.+)\.rb$}) { "spec" }
+ watch('spec/spec_helper.rb') { "spec" }
+end
+

0 comments on commit bb2954c

Please sign in to comment.