houdini/lib/generators/overrides/rails/plugin/templates/%name%.gemspec.tt
2020-06-15 10:26:57 -05:00

24 lines
1.2 KiB
Text

require_relative "lib/<%= namespaced_name %>/version"
Gem::Specification.new do |spec|
spec.name = <%= name.inspect %>
spec.version = <%= camelized_modules %>::VERSION
spec.authors = [<%= author.inspect %>]
spec.email = [<%= email.inspect %>]
spec.homepage = "TODO"
spec.summary = "TODO: Summary of <%= camelized_modules %>."
spec.description = "TODO: Description of <%= camelized_modules %>."
spec.license = "AGPL-3.0-or-later WITH WTO-AP-3.0-or-later"
# 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.
spec.metadata["allowed_push_host"] = "TODO: Set to 'http://mygemserver.com'"
spec.metadata["homepage_uri"] = spec.homepage
spec.metadata["source_code_uri"] = "TODO: Put your gem's public repo URL here."
spec.metadata["changelog_uri"] = "TODO: Put your gem's CHANGELOG.md URL here."
spec.files = Dir["{app,config,db,lib}/**/*", "LICENSE", "AGPL-3.0.txt", "GPL-3.0.txt", "LGPL-3.0.txt", "Rakefile", "README.md"]
<%= '# ' if options.dev? || options.edge? || options.master? -%>spec.add_dependency "rails", "<%= Array(rails_version_specifier).join('", "') %>"
end