summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Krause <KrauseFx@gmail.com>2018-01-04 11:33:34 +0100
committerGitHub <noreply@github.com>2018-01-04 11:33:34 +0100
commit8d7b0576013cce309b83dcfb92875f82aabca861 (patch)
tree3765731626487fae95d6f695457eb7708e05fc7d
parentab14bb1938d70cbe76a1fe1ddba64a84cee5a847 (diff)
downloadbundler-8d7b0576013cce309b83dcfb92875f82aabca861.tar.gz
Update unencrypted http links to https
To avoid human-in-the-middle attacks
-rw-r--r--lib/bundler/cli/gem.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/bundler/cli/gem.rb b/lib/bundler/cli/gem.rb
index 885578e819..ebfaf75b8c 100644
--- a/lib/bundler/cli/gem.rb
+++ b/lib/bundler/cli/gem.rb
@@ -105,7 +105,7 @@ module Bundler
if ask_and_set(:mit, "Do you want to license your code permissively under the MIT license?",
"This means that any other developer or company will be legally allowed to use your code " \
"for free as long as they admit you created it. You can read more about the MIT license " \
- "at http://choosealicense.com/licenses/mit.")
+ "at https://choosealicense.com/licenses/mit.")
config[:mit] = true
Bundler.ui.info "MIT License enabled in config"
templates.merge!("LICENSE.txt.tt" => "LICENSE.txt")
@@ -118,7 +118,7 @@ module Bundler
"of enforcing it, so be sure that you are prepared to do that. Be sure that your email " \
"address is specified as a contact in the generated code of conduct so that people know " \
"who to contact in case of a violation. For suggestions about " \
- "how to enforce codes of conduct, see http://bit.ly/coc-enforcement.")
+ "how to enforce codes of conduct, see https://bit.ly/coc-enforcement.")
config[:coc] = true
Bundler.ui.info "Code of conduct enabled in config"
templates.merge!("CODE_OF_CONDUCT.md.tt" => "CODE_OF_CONDUCT.md")