lib/hoe/reek.rb in hoe-reek-1.2.5 vs lib/hoe/reek.rb in hoe-reek-1.2.6

- old
+ new

@@ -1,39 +1,39 @@ -# @encoding: utf-8 -# Copyright (C) 2013-2019 Sascha Manns <Sascha.Manns@outlook.de> -# -# 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 <http://www.gnu.org/licenses/>. - -# 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 +# @encoding: utf-8 +# Copyright (C) 2013-2020 Sascha Manns <Sascha.Manns@outlook.de> +# +# 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 <http://www.gnu.org/licenses/>. + +# Dependencies + +# Main module for hoe-reek +module Hoe::Reek + # Versionizing the gem + VERSION = '1.2.6'.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