Sha256: 9b6bfe4370042a4f63c2c566b69125f62e28020b7a292aa77f7df7150ff68c4a

Contents?: true

Size: 292 Bytes

Versions: 9

Compression:

Stored size: 292 Bytes

Contents

# frozen_string_literal: true

module Gemsmith
  module Generators
    # Generates Code Climate support.
    class CodeClimate < Base
      def run
        return unless configuration.dig :generate, :code_climate

        template "%gem_name%/.codeclimate.yml.tt"
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
gemsmith-13.8.0 lib/gemsmith/generators/code_climate.rb
gemsmith-13.7.2 lib/gemsmith/generators/code_climate.rb
gemsmith-13.7.1 lib/gemsmith/generators/code_climate.rb
gemsmith-13.7.0 lib/gemsmith/generators/code_climate.rb
gemsmith-13.6.0 lib/gemsmith/generators/code_climate.rb
gemsmith-13.5.0 lib/gemsmith/generators/code_climate.rb
gemsmith-13.4.0 lib/gemsmith/generators/code_climate.rb
gemsmith-13.3.0 lib/gemsmith/generators/code_climate.rb
gemsmith-13.2.0 lib/gemsmith/generators/code_climate.rb