lib/gemsmith/templates/%gem_name%/%gem_name%.gemspec.tt in gemsmith-5.3.0 vs lib/gemsmith/templates/%gem_name%/%gem_name%.gemspec.tt in gemsmith-5.4.0
- old
+ new
@@ -20,21 +20,21 @@
spec.signing_key = File.expand_path("<%= config[:gem_private_key] %>")
spec.cert_chain = [File.expand_path("<%= config[:gem_public_key] %>")]
end
<%- end -%>
- spec.required_ruby_version = "~> <%= config[:ruby_version] %>"
<%- if config[:bin] -%>
spec.add_dependency "thor"
spec.add_dependency "thor_plus"
<%- end -%>
<%- if config[:rails] -%>
spec.add_dependency "rails", "~> <%= config[:rails_version] %>"
<%- end -%>
<%- if config[:travis] -%>
spec.add_development_dependency "rake"
<%- end -%>
+ spec.add_development_dependency "gemsmith"
<%- if config[:pry] -%>
spec.add_development_dependency "pry"
spec.add_development_dependency "pry-byebug"
spec.add_development_dependency "pry-state"
spec.add_development_dependency "pry-stack_explorer"
@@ -51,9 +51,12 @@
<%- if config[:guard] -%>
spec.add_development_dependency "rb-fsevent" # Guard file events for OSX.
spec.add_development_dependency "guard-rspec"
spec.add_development_dependency "terminal-notifier"
spec.add_development_dependency "terminal-notifier-guard"
+ <%- end -%>
+ <%- if config[:rubocop] -%>
+ spec.add_development_dependency "rubocop"
<%- end -%>
<%- if config[:code_climate] -%>
spec.add_development_dependency "codeclimate-test-reporter"
<%- end -%>