Permalink
Browse files

Cleaned Guardfile

  • Loading branch information...
1 parent 309d7f6 commit 1b6207257c47f0da655137220c4f8b9f6b804668 @thibaudgg thibaudgg committed Oct 3, 2010
Showing with 2 additions and 21 deletions.
  1. +1 −21 Guardfile
  2. +1 −0 guard.gemspec
View
@@ -1,25 +1,5 @@
-# guard 'spork', :rspec_port => 9010 do
-# watch('^config/initializers/.*')
-# end
-
-def super
- `say yo`
-end
-
guard 'rspec', :version => 2 do
watch('^spec/(.*)_spec.rb')
watch('^lib/(.*).rb') { |m| "spec/#{m[1]}_spec.rb" }
watch('^spec/spec_helper.rb') { "spec" }
- # watch('^spec/spec_helper.rb') { `say hello` }
- # watch('^spec/(.*)_spec\.rb')
- # watch('^app/(.*)\.rb') { |m| "spec/#{m[1]}_spec.rb" }
- # watch('^app/(.*)\.html.erb') { |m| "spec/#{m[1]}_spec.rb" }
- # watch('^lib/(.*)\.rb') { |m| "spec/lib/#{m[1]}_spec.rb" }
- # watch('^spec/spec_helper\.rb') { |m| "spec" }
- # watch('^config/routes\.rb') { |m| "spec/routing" }
- # watch('^spec/factories\.rb') { |m| "spec/model" }
- # watch('^app/controllers/application_controller\.rb') { |m| "spec/controllers" }
-end
-
-# guard 'livereload' do
-# end
+end
View
@@ -12,6 +12,7 @@ Gem::Specification.new do |s|
s.summary = 'Guard keep an eye on your files event'
s.description = 'Guard is a command line tool to easly manage script launch when your files change'
+ s.required_rubygems_version = '>= 1.3.6'
s.rubyforge_project = 'guard'
s.add_development_dependency 'bundler', '~> 1.0.1'

0 comments on commit 1b62072

Please sign in to comment.