ruby-changes:72560
From: Takuya <ko1@a...>
Date: Fri, 15 Jul 2022 18:45:53 +0900 (JST)
Subject: [ruby-changes:72560] 7fda741f6e (master): [rubygems/rubygems] Use https protocol for URLs for config mirror
https://git.ruby-lang.org/ruby.git/commit/?id=7fda741f6e From 7fda741f6e67b809b08423f0d4e903c078da2eed Mon Sep 17 00:00:00 2001 From: Takuya Noguchi <takninnovationresearch@g...> Date: Fri, 15 Jul 2022 01:26:54 +0000 Subject: [rubygems/rubygems] Use https protocol for URLs for config mirror example.org is used mirror URL as an example, not to make access to a (potential) third-party domain. Signed-off-by: Takuya Noguchi <takninnovationresearch@g...> https://github.com/rubygems/rubygems/commit/31230f850c --- lib/bundler/man/bundle-config.1 | 4 ++-- lib/bundler/man/bundle-config.1.ronn | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/bundler/man/bundle-config.1 b/lib/bundler/man/bundle-config.1 index 4156d0c039..9b60c4c961 100644 --- a/lib/bundler/man/bundle-config.1 +++ b/lib/bundler/man/bundle-config.1 @@ -342,13 +342,13 @@ bundle config set \-\-global mirror\.SOURCE_URL MIRROR_URL https://github.com/ruby/ruby/blob/trunk/lib/bundler/man/bundle-config.1#L342 .IP "" 0 . .P -For example, to use a mirror of rubygems\.org hosted at rubygems\-mirror\.org: +For example, to use a mirror of https://rubygems\.org hosted at https://example\.org: . .IP "" 4 . .nf -bundle config set \-\-global mirror\.http://rubygems\.org http://rubygems\-mirror\.org +bundle config set \-\-global mirror\.https://rubygems\.org https://example\.org . .fi . diff --git a/lib/bundler/man/bundle-config.1.ronn b/lib/bundler/man/bundle-config.1.ronn index 7d1cb271a9..31bb3108c8 100644 --- a/lib/bundler/man/bundle-config.1.ronn +++ b/lib/bundler/man/bundle-config.1.ronn @@ -321,9 +321,9 @@ mirror to fetch gems. https://github.com/ruby/ruby/blob/trunk/lib/bundler/man/bundle-config.1.ronn#L321 bundle config set --global mirror.SOURCE_URL MIRROR_URL -For example, to use a mirror of rubygems.org hosted at rubygems-mirror.org: +For example, to use a mirror of https://rubygems.org hosted at https://example.org: - bundle config set --global mirror.http://rubygems.org http://rubygems-mirror.org + bundle config set --global mirror.https://rubygems.org https://example.org Each mirror also provides a fallback timeout setting. If the mirror does not respond within the fallback timeout, Bundler will try to use the original -- cgit v1.2.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/