Sha256: f2ff00b34fc55efae3cca53e3e64b36e4a72eb5ba25910c05d8f17fcbe29b272

Contents?: true

Size: 293 Bytes

Versions: 3

Compression:

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

3 entries across 3 versions & 1 rubygems

Version Path
gemsmith-13.1.0 lib/gemsmith/generators/code_climate.rb
gemsmith-13.0.0 lib/gemsmith/generators/code_climate.rb
gemsmith-12.4.0 lib/gemsmith/generators/code_climate.rb