Rakefile in hyperclient-0.3.0 vs Rakefile in hyperclient-0.3.1
- old
+ new
@@ -3,9 +3,17 @@
require 'bundler/setup'
rescue LoadError
puts 'You must `gem install bundler` and `bundle install` to run rake tasks'
end
+if ENV['COVERAGE']
+ require 'simplecov'
+ SimpleCov.start do
+ add_filter '/test/'
+ add_filter '/features/'
+ end
+end
+
require 'yard'
YARD::Config.load_plugin('yard-tomdoc')
YARD::Rake::YardocTask.new do |t|
t.files = ['lib/**/*.rb']
t.options = %w(-r README.md)