Permalink
Browse files

Added guard.

  • Loading branch information...
1 parent d6de3ff commit c815d06327bb5b0d5ca62f85858e437b43414f46 @jnunemaker committed May 19, 2012
Showing with 32 additions and 0 deletions.
  1. +7 −0 Gemfile
  2. +15 −0 Gemfile.lock
  3. +10 −0 Guardfile
View
@@ -9,3 +9,10 @@ gem 'bson_ext', '~> 1.6', :require => false
group(:test) do
gem 'rspec', '~> 2.8'
end
+
+group(:guard) do
+ gem 'guard', '~> 1.0.0'
+ gem 'guard-rspec', '~> 0.6.0'
+ gem 'guard-bundler', '~> 0.1.0'
+ gem 'growl', '~> 1.0.0'
+end
View
@@ -13,6 +13,16 @@ GEM
bson_ext (1.6.2)
bson (~> 1.6.2)
diff-lcs (1.1.3)
+ ffi (1.0.11)
+ growl (1.0.3)
+ guard (1.0.2)
+ ffi (>= 0.5.0)
+ thor (~> 0.14.6)
+ guard-bundler (0.1.3)
+ bundler (>= 1.0.0)
+ guard (>= 0.2.2)
+ guard-rspec (0.6.0)
+ guard (>= 0.10.0)
mongo (1.6.2)
bson (~> 1.6.2)
rake (0.9.2.2)
@@ -24,13 +34,18 @@ GEM
rspec-expectations (2.9.1)
diff-lcs (~> 1.1.3)
rspec-mocks (2.9.0)
+ thor (0.14.6)
PLATFORMS
ruby
DEPENDENCIES
adapter-mongo!
bson_ext (~> 1.6)
+ growl (~> 1.0.0)
+ guard (~> 1.0.0)
+ guard-bundler (~> 0.1.0)
+ guard-rspec (~> 0.6.0)
mongo (~> 1.6)
rake (~> 0.9.0)
rspec (~> 2.8)
View
@@ -0,0 +1,10 @@
+guard 'bundler' do
+ watch('Gemfile')
+ watch(/^.+\.gemspec/)
+end
+
+guard 'rspec', :version => 2 do
+ watch(%r{^spec/.+_spec\.rb$})
+ watch(%r{^lib/adapter/(.+)\.rb$}) { |m| "spec/#{m[1]}_spec.rb" }
+ watch('spec/spec_helper.rb') { "spec" }
+end

0 comments on commit c815d06

Please sign in to comment.