summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHomu <homu@barosl.com>2016-02-05 11:34:50 +0900
committerHomu <homu@barosl.com>2016-02-05 11:34:50 +0900
commit661a2d392346094ffbc671d8dbb2e10710f02dbe (patch)
tree1457f2ca62bdf3c3788985d4ac48f6addb1d42e2
parent7db169c6acd43abe57db66c80227ea3892abe703 (diff)
parent93824826886ee61986e830a2eb08ee9cdd0d05b8 (diff)
downloadbundler-661a2d392346094ffbc671d8dbb2e10710f02dbe.tar.gz
Auto merge of #4278 - jbodah:gemspec-comment, r=segiddins
Clarify comment in `bundle gem` gemspec The comment feels a bit misleading. It sounds like this allows Rubygems pushes by default which it does not
-rw-r--r--lib/bundler/templates/newgem/newgem.gemspec.tt4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/bundler/templates/newgem/newgem.gemspec.tt b/lib/bundler/templates/newgem/newgem.gemspec.tt
index c35ee72dff..22916f12ad 100644
--- a/lib/bundler/templates/newgem/newgem.gemspec.tt
+++ b/lib/bundler/templates/newgem/newgem.gemspec.tt
@@ -16,8 +16,8 @@ Gem::Specification.new do |spec|
spec.license = "MIT"
<%- end -%>
- # Prevent pushing this gem to RubyGems.org by setting 'allowed_push_host', or
- # delete this section to allow pushing this gem to any host.
+ # Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
+ # to allow pushing to a single host or delete this section to allow pushing to any host.
if spec.respond_to?(:metadata)
spec.metadata['allowed_push_host'] = "TODO: Set to 'http://mygemserver.com'"
else