Sha256: 178e5f5861cddd42e0e2e6ffce3bee2d923c4a0ce993a9a1548a4761c2f2064b

Contents?: true

Size: 1.2 KB

Versions: 2

Compression:

Stored size: 1.2 KB

Contents

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 %>."
  <% unless inside_application? -%>
  spec.license     = "MIT"
  <% end -%>

  # 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}/**/*", "MIT-LICENSE", "Rakefile", "README.md"]

  <%= "# " if options.dev? || options.edge? || options.main? -%>spec.add_dependency "rails", "<%= Array(rails_version_specifier).join('", "') %>"
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
railties-7.0.0.alpha2 lib/rails/generators/rails/plugin/templates/%name%.gemspec.tt
railties-7.0.0.alpha1 lib/rails/generators/rails/plugin/templates/%name%.gemspec.tt