Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Added guard.

  • Loading branch information...
commit c815d06327bb5b0d5ca62f85858e437b43414f46 1 parent d6de3ff
@jnunemaker authored
Showing with 32 additions and 0 deletions.
  1. +7 −0 Gemfile
  2. +15 −0 Gemfile.lock
  3. +10 −0 Guardfile
View
7 Gemfile
@@ -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
15 Gemfile.lock
@@ -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,6 +34,7 @@ GEM
rspec-expectations (2.9.1)
diff-lcs (~> 1.1.3)
rspec-mocks (2.9.0)
+ thor (0.14.6)
PLATFORMS
ruby
@@ -31,6 +42,10 @@ PLATFORMS
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
10 Guardfile
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.