lib/gemsmith/templates/gem.gemspec.tmp in gemsmith-0.5.0 vs lib/gemsmith/templates/gem.gemspec.tmp in gemsmith-1.0.0

- old
+ new

@@ -1,22 +1,27 @@ # -*- encoding: utf-8 -*- $:.push File.expand_path("../lib", __FILE__) require "<%=config[:gem_name]%>/version" Gem::Specification.new do |s| - s.name = "<%= config[:gem_name] %>" - s.version = <%= config[:gem_class] %>::VERSION - s.platform = <%= config[:gem_platform] %> - s.authors = ["<%= config[:author_name] %>"] - s.email = ["<%= config[:author_email] %>"] - s.homepage = "<%= config[:author_url] %>" - s.summary = "TODO: Add your gem summary here." - s.description = "TODO: Add your gem description here." + s.name = "<%= config[:gem_name] %>" + s.version = <%= config[:gem_class] %>::VERSION + s.platform = <%= config[:gem_platform] %> + s.author = "<%= config[:author_name] %>" + s.email = "<%= config[:author_email] %>" + s.homepage = "<%= config[:gem_url] %>" + s.summary = "TODO: Add gem summary here." + s.description = "TODO: Add gem description here." + s.license = "MIT" + <%- if config[:post_install_message] -%> + s.post_install_message = "<%= config[:post_install_message] %>" + <%- end -%> s.rdoc_options << "CHANGELOG.rdoc" s.required_ruby_version = "~> <%= config[:ruby_version] %>" <%- if config[:bin] -%> s.add_dependency "thor" + s.add_dependency "thor_plus" <%- end -%> <%- if config[:rails] -%> s.add_dependency "rails", "~> <%= config[:rails_version] %>" <%- end -%> <%- if config[:rspec] -%>