lib/gemsmith/generators/reek.rb in gemsmith-11.0.1 vs lib/gemsmith/generators/reek.rb in gemsmith-11.1.0
- old
+ new
@@ -7,9 +7,10 @@
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