Sha256: 0c727ced459e7346a0f29810a8cc995b2abdc4993291f046d6fa52339f663f78

Contents?: true

Size: 351 Bytes

Versions: 5

Compression:

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

5 entries across 5 versions & 1 rubygems

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