Sha256: 4a44ab26ea592ad7781c574333ac4a20ae203ed6ef6acef5cbc474a54efd534d

Contents?: true

Size: 669 Bytes

Versions: 1

Compression:

Stored size: 669 Bytes

Contents

module Gemsmith
  module Skeletons
    class DefaultSkeleton < BaseSkeleton
      def create_default_files
        template "%gem_name%/Gemfile.tt", template_options
        template "%gem_name%/Rakefile.tt", template_options
        template "%gem_name%/%gem_name%.gemspec.tt", template_options
        template "#{lib_root}/%gem_name%.rb.tt", template_options
        template "#{lib_root}/%gem_name%/identity.rb.tt", template_options
      end

      def create_ruby_files
        template "%gem_name%/.ruby-version.tt", template_options
      end

      def create_git_files
        template "%gem_name%/.gitignore.tt", template_options
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
gemsmith-5.2.0 lib/gemsmith/skeletons/default_skeleton.rb