Sha256: ede47e58c5145d552d10ef13812c5e1f8370bfe32219794db9979d19266b73fc

Contents?: true

Size: 409 Bytes

Versions: 6

Compression:

Stored size: 409 Bytes

Contents

# frozen_string_literal: true

module Gemsmith
  module Skeletons
    # Configures GitHub support.
    class GitHubSkeleton < BaseSkeleton
      def create
        return unless configuration.create_git_hub?
        cli.template "%gem_name%/.github/ISSUE_TEMPLATE.md.tt", configuration.to_h
        cli.template "%gem_name%/.github/PULL_REQUEST_TEMPLATE.md.tt", configuration.to_h
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
gemsmith-7.7.0 lib/gemsmith/skeletons/git_hub_skeleton.rb
gemsmith-7.6.0 lib/gemsmith/skeletons/git_hub_skeleton.rb
gemsmith-7.5.0 lib/gemsmith/skeletons/git_hub_skeleton.rb
gemsmith-7.4.0 lib/gemsmith/skeletons/git_hub_skeleton.rb
gemsmith-7.3.0 lib/gemsmith/skeletons/git_hub_skeleton.rb
gemsmith-7.2.0 lib/gemsmith/skeletons/git_hub_skeleton.rb