mirror of
https://github.com/DatabaseCleaner/database_cleaner
synced 2023-03-27 23:22:03 -04:00
adds guard for specs
This commit is contained in:
parent
4b5e1f2f0e
commit
6d0afa765d
3 changed files with 27 additions and 0 deletions
2
Gemfile
2
Gemfile
|
@ -26,6 +26,8 @@ group :development do
|
|||
gem 'mysql'
|
||||
gem 'mysql2'
|
||||
gem 'pg'
|
||||
|
||||
gem 'guard-rspec'
|
||||
end
|
||||
|
||||
group :test do
|
||||
|
|
16
Gemfile.lock
16
Gemfile.lock
|
@ -94,9 +94,15 @@ GEM
|
|||
erubis (2.7.0)
|
||||
extlib (0.9.15)
|
||||
fastercsv (1.5.5)
|
||||
ffi (1.1.4)
|
||||
gherkin (2.11.1)
|
||||
json (>= 1.4.6)
|
||||
git (1.2.5)
|
||||
guard (1.3.0)
|
||||
listen (>= 0.4.2)
|
||||
thor (>= 0.14.6)
|
||||
guard-rspec (1.2.1)
|
||||
guard (>= 1.1)
|
||||
hike (1.2.1)
|
||||
i18n (0.6.0)
|
||||
jeweler (1.8.4)
|
||||
|
@ -109,6 +115,10 @@ GEM
|
|||
json_pure (1.4.6)
|
||||
linecache (0.46)
|
||||
rbx-require-relative (> 0.0.4)
|
||||
listen (0.4.7)
|
||||
rb-fchange (~> 0.0.5)
|
||||
rb-fsevent (~> 0.9.1)
|
||||
rb-inotify (~> 0.8.8)
|
||||
mime-types (1.19)
|
||||
mongo (1.6.4)
|
||||
bson (~> 1.6.4)
|
||||
|
@ -145,6 +155,11 @@ GEM
|
|||
rdoc (~> 3.4)
|
||||
thor (>= 0.14.6, < 2.0)
|
||||
rake (0.9.2.2)
|
||||
rb-fchange (0.0.5)
|
||||
ffi
|
||||
rb-fsevent (0.9.1)
|
||||
rb-inotify (0.8.8)
|
||||
ffi (>= 0.5.0)
|
||||
rbx-require-relative (0.0.9)
|
||||
rcov (1.0.0)
|
||||
rdoc (3.12)
|
||||
|
@ -197,6 +212,7 @@ DEPENDENCIES
|
|||
datamapper (= 1.0.0)
|
||||
dm-migrations (= 1.0.0)
|
||||
dm-sqlite-adapter (= 1.0.0)
|
||||
guard-rspec
|
||||
jeweler
|
||||
json_pure
|
||||
mongo_ext
|
||||
|
|
9
Guardfile
Normal file
9
Guardfile
Normal file
|
@ -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
|
||||
|
Loading…
Reference in a new issue