Sha256: 5f50d9a1ca4a19ce65601fe5d55d6d5097f161b11938581a7045fe45f4cc549c

Contents?: true

Size: 352 Bytes

Versions: 3

Compression:

Stored size: 352 Bytes

Contents

# frozen_string_literal: true

module Gemsmith
  module Generators
    # Generates GitHub support.
    class GitHub < Base
      def run
        return unless configuration.dig(:generate, :git_hub)

        template "%gem_name%/.github/ISSUE_TEMPLATE.md.tt"
        template "%gem_name%/.github/PULL_REQUEST_TEMPLATE.md.tt"
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

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