diff options
author | Josh Bodah <jb3689@yahoo.com> | 2016-02-04 13:54:31 -0500 |
---|---|---|
committer | Josh Bodah <jb3689@yahoo.com> | 2016-02-04 13:55:11 -0500 |
commit | 93824826886ee61986e830a2eb08ee9cdd0d05b8 (patch) | |
tree | 1457f2ca62bdf3c3788985d4ac48f6addb1d42e2 | |
parent | 7db169c6acd43abe57db66c80227ea3892abe703 (diff) | |
download | bundler-93824826886ee61986e830a2eb08ee9cdd0d05b8.tar.gz |
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.tt | 4 |
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 |