Sha256: 285974ddde73fd6cd6c667e6718dab31707b07522d0871946b1dde874f71077f

Contents?: true

Size: 292 Bytes

Versions: 5

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

5 entries across 5 versions & 1 rubygems

Version Path
gemsmith-12.3.0 lib/gemsmith/generators/code_climate.rb
gemsmith-12.2.0 lib/gemsmith/generators/code_climate.rb
gemsmith-12.1.0 lib/gemsmith/generators/code_climate.rb
gemsmith-12.0.0 lib/gemsmith/generators/code_climate.rb
gemsmith-11.3.0 lib/gemsmith/generators/code_climate.rb