Sha256: 163cce3ce8fb35ffaaaec6b1be399e117d4eeed32ae71f74e844000f657fd468

Contents?: true

Size: 302 Bytes

Versions: 12

Compression:

Stored size: 302 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

        warn "[DEPRECATION]: Git Cop is deprecated, use Git Lint instead."
      end
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
gemsmith-15.0.0 lib/gemsmith/generators/git_cop.rb
gemsmith-14.11.0 lib/gemsmith/generators/git_cop.rb
gemsmith-14.10.1 lib/gemsmith/generators/git_cop.rb
gemsmith-14.10.0 lib/gemsmith/generators/git_cop.rb
gemsmith-14.9.0 lib/gemsmith/generators/git_cop.rb
gemsmith-14.8.0 lib/gemsmith/generators/git_cop.rb
gemsmith-14.7.0 lib/gemsmith/generators/git_cop.rb
gemsmith-14.6.0 lib/gemsmith/generators/git_cop.rb
gemsmith-14.5.0 lib/gemsmith/generators/git_cop.rb
gemsmith-14.4.0 lib/gemsmith/generators/git_cop.rb
gemsmith-14.3.0 lib/gemsmith/generators/git_cop.rb
gemsmith-14.2.0 lib/gemsmith/generators/git_cop.rb