# @encoding: utf-8 # Copyright (C) 2013-2019 Sascha Manns # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see . # Dependencies # Main module for hoe-reek module Hoe::Reek # Versionizing the gem VERSION = '1.2.5'.freeze #attr_accessor :reek def initialize_reek require 'reek/rake/task' end def define_reek_tasks Reek::Rake::Task.new do |t| t.config_file = 'config.reek' t.source_files = 'lib/**/*.rb' t.reek_opts = '' t.fail_on_error = false t.verbose = true end end end