Gem::Specification.new do |spec| spec.name = "<%= settings.project_name %>" spec.version = "<%= settings.project_version %>" spec.authors = ["<%= settings.author_name %>"] spec.email = ["<%= settings.author_email %>"] spec.homepage = "<%= settings.computed_project_uri_home %>" spec.summary = "" spec.license = "<%= settings.license_label_version %>" spec.metadata = { <% unless settings.computed_project_uri_issues.empty? %> "bug_tracker_uri" => "<%= settings.computed_project_uri_issues %>", <% end %> <% unless settings.computed_project_uri_versions.empty? %> "changelog_uri" => "<%= settings.computed_project_uri_versions %>", <% end %> <% unless settings.computed_project_uri_home.empty? %> "documentation_uri" => "<%= settings.computed_project_uri_home %>", <% end %> <% unless settings.computed_project_uri_funding.empty? %> "funding_uri" => "<%= settings.computed_project_uri_funding %>", <% end %> "label" => "<%= settings.project_label %>", <% unless settings.computed_project_uri_source.empty? %> "rubygems_mfa_required" => "true", "source_code_uri" => "<%= settings.computed_project_uri_source %>" <% else %> "rubygems_mfa_required" => "true" <% end %> } <% if settings.build_security %> spec.signing_key = Gem.default_key_path spec.cert_chain = [Gem.default_cert_path] <% end %> spec.required_ruby_version = "~> <%= RUBY_VERSION[/\d+\.\d+/] %>" <% if settings.build_cli %> spec.add_dependency "cogger", "~> 0.21" <% end %> <% if settings.build_cli %> spec.add_dependency "containable", "~> 0.2" <% end %> <% if settings.build_cli %> spec.add_dependency "dry-monads", "~> 1.6" <% end %> <% if settings.build_cli %> spec.add_dependency "etcher", "~> 2.1" <% end %> <% if settings.build_cli %> spec.add_dependency "infusible", "~> 3.8" <% end %> <% if settings.build_refinements %> spec.add_dependency "refinements", "~> 12.7" <% end %> <% if settings.build_cli %> spec.add_dependency "runcom", "~> 11.5" <% end %> <% if settings.build_cli %> spec.add_dependency "sod", "~> 0.14" <% end %> <% if settings.build_cli %> spec.add_dependency "spek", "~> 3.0" <% end %> <% if settings.build_zeitwerk %> spec.add_dependency "zeitwerk", "~> 2.6" <% end %> <% if settings.build_cli %> spec.bindir = "exe" spec.executables << "<%= settings.project_name %>" <% end %> spec.extra_rdoc_files = Dir["README*", "LICENSE*"] spec.files = Dir["*.gemspec", "lib/**/*"] end