Skip to content

Commit

Permalink
switched from autotest to guard - time to add some more specs
Browse files Browse the repository at this point in the history
  • Loading branch information
markryall committed Jan 27, 2012
1 parent 38ba8f5 commit 2e92668
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 1 deletion.
9 changes: 9 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,17 @@ GEM
multi_json (~> 1.0)
crypt19 (1.2.1)
diff-lcs (1.1.3)
ffi (1.0.11)
flat_hash (0.1.0)
grit (~> 2)
grit (2.4.1)
diff-lcs (~> 1.1)
mime-types (~> 1.15)
guard (1.0.0)
ffi (>= 0.5.0)
thor (~> 0.14.6)
guard-rspec (0.6.0)
guard (>= 0.10.0)
highline (1.6.11)
i18n (0.6.0)
mime-types (1.17.2)
Expand All @@ -39,12 +45,15 @@ GEM
rspec-mocks (2.8.0)
shell_shock (0.0.5)
splat (0.1.4)
thor (0.14.6)
uuidtools (2.1.2)

PLATFORMS
ruby

DEPENDENCIES
guard
guard-rspec
rake (~> 0.8)
rspec (~> 2)
shh!
7 changes: 7 additions & 0 deletions Guardfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
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" }
watch(%r{^spec/support/(.+)\.rb$}) { "spec" }
end

1 change: 0 additions & 1 deletion autotest/discover.rb

This file was deleted.

2 changes: 2 additions & 0 deletions shh.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,6 @@ EOF

spec.add_development_dependency 'rake', '~>0.8'
spec.add_development_dependency 'rspec', '~>2'
spec.add_development_dependency 'guard'
spec.add_development_dependency 'guard-rspec'
end

0 comments on commit 2e92668

Please sign in to comment.