Sha256: 54e498f566cf5c3c0fca886ae2a70d1f446b2aefb6cbe568b2ac7e7302603dc2

Contents?: true

Size: 351 Bytes

Versions: 34

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

34 entries across 34 versions & 1 rubygems

Version Path
gemsmith-15.5.0 lib/gemsmith/generators/git_hub.rb
gemsmith-15.4.0 lib/gemsmith/generators/git_hub.rb
gemsmith-15.3.0 lib/gemsmith/generators/git_hub.rb
gemsmith-15.2.0 lib/gemsmith/generators/git_hub.rb
gemsmith-15.1.1 lib/gemsmith/generators/git_hub.rb
gemsmith-15.1.0 lib/gemsmith/generators/git_hub.rb
gemsmith-15.0.0 lib/gemsmith/generators/git_hub.rb
gemsmith-14.11.0 lib/gemsmith/generators/git_hub.rb
gemsmith-14.10.1 lib/gemsmith/generators/git_hub.rb
gemsmith-14.10.0 lib/gemsmith/generators/git_hub.rb
gemsmith-14.9.0 lib/gemsmith/generators/git_hub.rb
gemsmith-14.8.0 lib/gemsmith/generators/git_hub.rb
gemsmith-14.7.0 lib/gemsmith/generators/git_hub.rb
gemsmith-14.6.0 lib/gemsmith/generators/git_hub.rb
gemsmith-14.5.0 lib/gemsmith/generators/git_hub.rb
gemsmith-14.4.0 lib/gemsmith/generators/git_hub.rb
gemsmith-14.3.0 lib/gemsmith/generators/git_hub.rb
gemsmith-14.2.0 lib/gemsmith/generators/git_hub.rb
gemsmith-14.1.3 lib/gemsmith/generators/git_hub.rb
gemsmith-14.1.2 lib/gemsmith/generators/git_hub.rb