lib/gemsmith/generators/git_cop.rb in gemsmith-12.3.0 vs lib/gemsmith/generators/git_cop.rb in gemsmith-12.4.0
- old
+ new
@@ -4,9 +4,10 @@
module Generators
# Generates Git Cop support.
class GitCop < Base
def run
return unless configuration.dig(:generate, :git_cop)
+
cli.uncomment_lines "#{gem_name}/Rakefile", %r(require.+git\/cop.+)
end
end
end
end