lib/gemsmith/rake/tasks.rb in gemsmith-13.5.0 vs lib/gemsmith/rake/tasks.rb in gemsmith-13.6.0

- old
+ new

@@ -1,8 +1,9 @@ # frozen_string_literal: true require "rake" +require "tocer/rake/tasks" require "gemsmith/gem/specification" require "gemsmith/errors/base" require "gemsmith/errors/specification" require "gemsmith/rake/builder" require "gemsmith/rake/publisher" @@ -31,13 +32,10 @@ # rubocop:disable Metrics/AbcSize # rubocop:disable Metrics/MethodLength # :reek:TooManyStatements def install - desc "Update Table of Contents (README)" - task :toc do - builder.toc - end + Tocer::Rake::Tasks.setup desc "Clean gem artifacts" task :clean do builder.clean end