Sha256: 07a36daada26d0267f3eb3544fe476abb767370afe581336ee9c25c07b0b9206
Contents?: true
Size: 409 Bytes
Versions: 2
Compression:
Stored size: 409 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.+/ cli.template "%gem_name%/.reek.tt", configuration end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
gemsmith-11.2.0 | lib/gemsmith/generators/reek.rb |
gemsmith-11.1.0 | lib/gemsmith/generators/reek.rb |