lib/gemsmith/templates/%gem_name%/%gem_name%.gemspec.tt in gemsmith-4.3.0 vs lib/gemsmith/templates/%gem_name%/%gem_name%.gemspec.tt in gemsmith-5.0.0

- old
+ new

@@ -13,25 +13,24 @@ spec.license = "MIT" <%- if config[:post_install_message] -%> spec.post_install_message = "<%= config[:post_install_message] %>" <%- end -%> - unless ENV["CI"] == "true" + <%- if config[:security] -%> + if ENV["RUBY_GEM_SECURITY"] == "enabled" spec.signing_key = File.expand_path("<%= config[:gem_private_key] %>") spec.cert_chain = [File.expand_path("<%= config[:gem_public_key] %>")] end + <%- end -%> <%- if config[:pry] -%> case Gem.ruby_engine when "ruby" spec.add_development_dependency "pry-byebug" spec.add_development_dependency "pry-stack_explorer" when "jruby" spec.add_development_dependency "pry-nav" - when "rbx" - spec.add_development_dependency "pry-nav" - spec.add_development_dependency "pry-stack_explorer" else raise RuntimeError.new("Unsupported Ruby Engine!") end <%- end -%> @@ -59,9 +58,10 @@ spec.add_development_dependency "aruba" <%- end -%> <%- 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[:code_climate] -%> spec.add_development_dependency "codeclimate-test-reporter" <%- end -%>