Sha256: 15fecc4fa764d119e1396284b3586110c18107111f57a6ecbb49db59ab4126cd

Contents?: true

Size: 1.15 KB

Versions: 1

Compression:

Stored size: 1.15 KB

Contents

# @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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
hoe-reek-1.2.5 lib/hoe/reek.rb