2020-05-01 17:11:14 +00:00
|
|
|
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 %>."
|
2020-06-12 20:03:43 +00:00
|
|
|
spec.license = "AGPL-3.0-or-later WITH WTO-AP-3.0-or-later"
|
2020-05-01 17:11:14 +00:00
|
|
|
|
|
|
|
# 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
|