Sha256: 5818b305c6d9683c8a9f28e7be08ee7521b47c584fe6972496b9d8490ca18dc3

Contents?: true

Size: 611 Bytes

Versions: 1

Compression:

Stored size: 611 Bytes

Contents

#!/usr/bin/env ruby
# @encoding: utf-8
# @author: Sascha Manns
# @abstract: hoe-reek is a small reek integration into hoe
#
# Copyright (c) 2015 Sascha Manns <samannsml@directbox.com>
# License: MIT

# Dependencies

# Main module for hoe-reek
module Hoe::Reek
  # Versionizing the gem
  VERSION = '1.1.3'

  #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.1.3 lib/hoe/reek.rb