Rakefile in ffi-icu-0.0.7 vs Rakefile in ffi-icu-0.0.8
- old
+ new
@@ -12,17 +12,15 @@
RSpec::Core::RakeTask.new(:rcov) do |spec|
spec.pattern = 'spec/**/*_spec.rb'
spec.rcov = true
end
-task :spec
-
task :default => :spec
begin
require 'yard'
YARD::Rake::YardocTask.new
-rescue
+rescue LoadError
task :yardoc do
abort "YARD is not available. In order to run yardoc, you must: sudo gem install yard"
end
end