Sha256: fa387c8b04c9d4761f06bf1aa8fd0bfdd30761d133268551601c86bf1697795c
Contents?: true
Size: 1.83 KB
Versions: 1
Compression:
Stored size: 1.83 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" # TODO: changeme spec.description = "Generated with cli-template tool. Write a longer description or delete this line." # TODO: changeme 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.2 | lib/templates/default/%project_name%.gemspec.tt |