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

- old
+ new

@@ -7,15 +7,19 @@ 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: Write gem summary." - s.description = "TODO: Write gem description." + s.summary = "TODO: Add your gem summary here." + s.description = "TODO: Add your gem description here." s.rdoc_options << "CHANGELOG.rdoc" + s.required_ruby_version = "~> <%= config[:ruby_version] %>" <%- if config[:bin] -%> s.add_dependency "thor" + <%- end -%> + <%- if config[:rails] -%> + s.add_dependency "rails", "~> <%= config[:rails_version] %>" <%- end -%> <%- if config[:rspec] -%> s.add_development_dependency "rspec" <%- end -%> <%- if config[:bin] -%>