Sha256: 5d1eea0250cd0eb6cf7c47894039730aefd1f9562366698786283f164a9178cf

Contents?: true

Size: 480 Bytes

Versions: 2

Compression:

Stored size: 480 Bytes

Contents

# frozen_string_literal: true

module Gemsmith
  module Skeletons
    # Configures default gem support.
    class GemSkeleton < BaseSkeleton
      def create
        cli.template "%gem_name%/Gemfile.tt", configuration.to_h
        cli.template "%gem_name%/%gem_name%.gemspec.tt", configuration.to_h
        cli.template "#{lib_root}/%gem_name%.rb.tt", configuration.to_h
        cli.template "#{lib_root}/%gem_name%/identity.rb.tt", configuration.to_h
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
gemsmith-7.1.0 lib/gemsmith/skeletons/gem_skeleton.rb
gemsmith-7.0.0 lib/gemsmith/skeletons/gem_skeleton.rb