Rakefile in db_mod-0.0.5 vs Rakefile in db_mod-0.0.6
- old
+ new
@@ -13,13 +13,19 @@
require 'rainbow/ext/string' unless String.respond_to?(:color)
require 'rubocop/rake_task'
RuboCop::RakeTask.new
-task default: [:rubocop, :spec]
+task default: [:rubocop, :inch, :spec]
require 'yard'
DOC_FILES = ['lib/**/*.rb', 'README.md']
YARD::Rake::YardocTask.new(:doc) do |t|
t.files = DOC_FILES
+end
+
+require 'inch/rake'
+Inch::Rake::Suggest.new do |inch|
+ inch.args << '--private'
+ inch.args << '--pedantic'
end