templates/common/gem_scaffold/%gem_name%.gemspec.tt in nugem-0.8.1 vs templates/common/gem_scaffold/%gem_name%.gemspec.tt in nugem-0.8.3
- old
+ new
@@ -7,11 +7,11 @@
host = 'https://bitbucket.com/<%= @repository.user %>/<%= @gem_name %>'
<%- end -%>
spec.authors = ['<%= @repository.user_name %>']
<%- if @executable -%>
- spec.bindir = 'exe'
+ spec.bindir = 'binstub'
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
<%- end -%>
spec.description = <<~END_DESC
<%= @todo %>Write a longer description of the gem.
Use as many lines as you like.
@@ -39,18 +39,17 @@
END_MESSAGE
spec.require_paths = ['lib']
spec.required_ruby_version = '>= 3.1.0'
spec.summary = '<%= @todo %>Write summary of what the gem is for'
spec.version = <%= @class_name %>::VERSION
-
<%- if @geminabox -%>
spec.add_dependency 'geminabox', '>= 2.2.1'
<%- end -%>
<%- if @jekyll -%>
spec.add_dependency 'jekyll', '>= 3.5.0'
spec.add_dependency 'jekyll_plugin_support', '>= 0.7.0'
<%- end -%>
- <%- if @plugin -%>
+ <%- if @rails -%>
spec.add_dependency 'rails', '~> 7.0.5'
<%- end -%>
<%- if @executable -%>
spec.add_dependency 'thor', '~> 1.2.2'
<%- end -%>