Skip to content

Commit

Permalink
Add guard and Guardfile.
Browse files Browse the repository at this point in the history
  • Loading branch information
roidrage committed May 7, 2012
1 parent 11b249e commit 79c052b
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Gemfile
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -21,4 +21,6 @@ group :test do
gem 'database_cleaner', '~> 0.7.1' gem 'database_cleaner', '~> 0.7.1'
gem 'mocha', '~> 0.10.0' gem 'mocha', '~> 0.10.0'
gem 'webmock', '~> 1.8.0' gem 'webmock', '~> 1.8.0'
gem 'guard'
gem 'guard-rspec'
end end
9 changes: 9 additions & 0 deletions Gemfile.lock
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -101,6 +101,13 @@ GEM
rack (~> 1.1) rack (~> 1.1)
faraday_middleware (0.7.0) faraday_middleware (0.7.0)
faraday (~> 0.7.3) faraday (~> 0.7.3)
ffi (1.0.11)
ffi (1.0.11-java)
guard (1.0.2)
ffi (>= 0.5.0)
thor (~> 0.14.6)
guard-rspec (0.7.0)
guard (>= 0.10.0)
hashie (1.2.0) hashie (1.2.0)
hashr (0.0.21) hashr (0.0.21)
hike (1.2.1) hike (1.2.1)
Expand Down Expand Up @@ -202,6 +209,8 @@ DEPENDENCIES
activerecord-jdbcpostgresql-adapter (~> 1.2.2) activerecord-jdbcpostgresql-adapter (~> 1.2.2)
database_cleaner (~> 0.7.1) database_cleaner (~> 0.7.1)
gh! gh!
guard
guard-rspec
hot_bunnies (~> 1.3.4) hot_bunnies (~> 1.3.4)
hubble! hubble!
jruby-openssl (~> 0.7.4) jruby-openssl (~> 0.7.4)
Expand Down
9 changes: 9 additions & 0 deletions Guardfile
Original file line number Original file line Diff line number Diff line change
@@ -0,0 +1,9 @@
# 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/lib/#{m[1]}_spec.rb" }
watch('spec/spec_helper.rb') { "spec" }
end

0 comments on commit 79c052b

Please sign in to comment.