Sha256: fa58a9b84d55d11faae720fed78cd00efc999f79bd187d9e4722965b1e6e8939
Contents?: true
Size: 609 Bytes
Versions: 6
Compression:
Stored size: 609 Bytes
Contents
# frozen_string_literal: true module Gemsmith module Skeletons # Configures default gem support. class GemSkeleton < BaseSkeleton def create cli.template "%gem_name%/bin/setup.tt", configuration.to_h 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 cli.chmod "#{configuration.gem_name}/bin/setup", 0755 end end end end
Version data entries
6 entries across 6 versions & 1 rubygems