Sha256: f0b9237e9cac13d30ca9b9a4dd52ad525a6872816454f0bffe8aa69c1a671e12
Contents?: true
Size: 304 Bytes
Versions: 3
Compression:
Stored size: 304 Bytes
Contents
# frozen_string_literal: true module Gemsmith 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
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
gemsmith-13.1.0 | lib/gemsmith/generators/git_cop.rb |
gemsmith-13.0.0 | lib/gemsmith/generators/git_cop.rb |
gemsmith-12.4.0 | lib/gemsmith/generators/git_cop.rb |