Sha256: 135b5dd88b2298962ea5b906310dd6734ebf0ea1f5f6e556a3892bc9cd65d375

Contents?: true

Size: 1.79 KB

Versions: 1

Compression:

Stored size: 1.79 KB

Contents

# coding: utf-8
lib = File.expand_path("../lib", __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require "<%= underscored_name %>/version"

Gem::Specification.new do |spec|
  spec.name          = "<%= project_name %>"
  spec.version       = <%= project_class_name %>::VERSION
  spec.authors       = ["<%= CliTemplate::Git.user_name %>"]
  spec.email         = ["<%= CliTemplate::Git.user_email %>"]
  spec.summary       = "Generated with cli-template tool. Please write a gem summary"
  spec.description   = "Generated with cli-template tool. Write a longer description or delete this line."
  spec.homepage      = "https://github.com/USERNAME/<%= project_name %>" # TODO: changeme
  spec.license       = ""

  spec.files         = `git ls-files`.split($/)
  spec.bindir        = "exe"
  spec.executables   = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
  spec.test_files    = spec.files.grep(%r{^(test|spec|features)/})
  spec.require_paths = ["lib"]

  spec.add_dependency "activesupport"
  spec.add_dependency "rainbow"
  spec.add_dependency "thor"
  spec.add_dependency "zeitwerk"

  spec.add_development_dependency "bundler"
  spec.add_development_dependency "byebug"
  spec.add_development_dependency "cli_markdown"
  spec.add_development_dependency "rake"
  spec.add_development_dependency "rspec"

  # Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
  # to allow pushing to a single host or delete this section to allow pushing to any host.
  if spec.respond_to?(:metadata)
    # spec.metadata["allowed_push_host"] = ""

    spec.metadata["homepage_uri"] = spec.homepage

    # spec.metadata["source_code_uri"] = ""
    # spec.metadata["changelog_uri"] = ""
  else
    raise "RubyGems 2.0 or newer is required to protect against public gem pushes."
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
cli-template-4.0.1 lib/templates/default/%project_name%.gemspec.tt