Guardfile in queencheck-0.0.1 vs Guardfile in queencheck-0.0.2
- old
+ new
@@ -2,13 +2,19 @@
watch('Gemfile')
# Uncomment next line if Gemfile contain `gemspec' command
watch(/^.+\.gemspec/)
end
-guard 'spork', :cucumber => false, :bundler => false do
+spork_port = RUBY_VERSION >= '1.9.2' ? 8989 : 8988
+guard 'spork', :cucumber => false, :bundler => false, :rspec_port => spork_port do
end
-guard 'rspec', :version => 2, :cli => '--drb --color --format Fuubar' do
+guard 'rspec', :version => 2, :cli => "--drb --drb-port #{spork_port} --color --format Fuubar" do
watch(%r{^spec/.+_spec\.rb$})
watch(%r{^lib/(.+)\.rb$}) { |m| "spec/#{m[1]}_spec.rb" }
watch('spec/spec_helper.rb') { "spec" }
end
+
+guard 'yard', :plugin => 'yard-tomdoc' do
+ watch(%r{lib/.+\.rb})
+end
+