Sha256: c45e36d79bfb14b3698ea2036ade9282fbc4d132eefcbeaca2415b1bd1ea4ffa

Contents?: true

Size: 604 Bytes

Versions: 1

Compression:

Stored size: 604 Bytes

Contents

# @encoding: utf-8
# @author: Sascha Manns
# @abstract: hoe-reek is a small reek integration into hoe
#
# Copyright (c) 2015-2017 Sascha Manns <Sascha.Manns@mailbox.org>
# License: MIT

# Dependencies

# Main module for hoe-reek
module Hoe::Reek
  # Versionizing the gem
  VERSION = '1.2.1'.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.1 lib/hoe/reek.rb