Sha256: e5943411087db26bf57a0eb9054ea567dbe6a56926e6db70de9cb34cb8731b20

Contents?: true

Size: 393 Bytes

Versions: 17

Compression:

Stored size: 393 Bytes

Contents

# frozen_string_literal: true

module Gemsmith
  module Generators
    # Generates Reek support.
    class Reek < Base
      def run
        return unless configuration.dig :generate, :reek

        cli.uncomment_lines "#{gem_name}/Rakefile", /require.+reek.+/
        cli.uncomment_lines "#{gem_name}/Rakefile", /Reek.+/
        template "%gem_name%/.reek.yml.tt"
      end
    end
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
gemsmith-14.2.0 lib/gemsmith/generators/reek.rb
gemsmith-14.1.3 lib/gemsmith/generators/reek.rb
gemsmith-14.1.2 lib/gemsmith/generators/reek.rb
gemsmith-14.1.1 lib/gemsmith/generators/reek.rb
gemsmith-14.1.0 lib/gemsmith/generators/reek.rb
gemsmith-14.0.2 lib/gemsmith/generators/reek.rb
gemsmith-14.0.1 lib/gemsmith/generators/reek.rb
gemsmith-14.0.0 lib/gemsmith/generators/reek.rb
gemsmith-13.8.0 lib/gemsmith/generators/reek.rb
gemsmith-13.7.2 lib/gemsmith/generators/reek.rb
gemsmith-13.7.1 lib/gemsmith/generators/reek.rb
gemsmith-13.7.0 lib/gemsmith/generators/reek.rb
gemsmith-13.6.0 lib/gemsmith/generators/reek.rb
gemsmith-13.5.0 lib/gemsmith/generators/reek.rb
gemsmith-13.4.0 lib/gemsmith/generators/reek.rb
gemsmith-13.3.0 lib/gemsmith/generators/reek.rb
gemsmith-13.2.0 lib/gemsmith/generators/reek.rb