Sha256: 66a808ff587bfe6857282f8b4ce86bb8e559b3b8a80208002f624412c19511dd

Contents?: true

Size: 449 Bytes

Versions: 3

Compression:

Stored size: 449 Bytes

Contents

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

3 entries across 3 versions & 1 rubygems

Version Path
gemsmith-6.2.0 lib/gemsmith/skeletons/gem_skeleton.rb
gemsmith-6.1.0 lib/gemsmith/skeletons/gem_skeleton.rb
gemsmith-6.0.0 lib/gemsmith/skeletons/gem_skeleton.rb