Sha256: 6d1762c36eddb7f624c0f296c8bf737c6bfa884e79df8a63779b87f9d3d750c3
Contents?: true
Size: 412 Bytes
Versions: 17
Compression:
Stored size: 412 Bytes
Contents
# frozen_string_literal: true module Gemsmith module Generators # Generates Reek support. class Reek < Base def run if configuration.dig :generate, :reek template "%gem_name%/.reek.yml.tt" else cli.gsub_file "#{gem_name}/Rakefile", /require.+reek.+\n/, "" cli.gsub_file "#{gem_name}/Rakefile", /Reek.+\n/, "" end end end end end
Version data entries
17 entries across 17 versions & 1 rubygems