diff --git a/Guardfile b/Guardfile index 6757c85..ec6797e 100644 --- a/Guardfile +++ b/Guardfile @@ -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 \ No newline at end of file +end \ No newline at end of file diff --git a/guard.gemspec b/guard.gemspec index 63d5384..ac97603 100644 --- a/guard.gemspec +++ b/guard.gemspec @@ -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'