diff options
author | Takuya Noguchi <takninnovationresearch@gmail.com> | 2022-07-15 01:26:54 +0000 |
---|---|---|
committer | git <svn-admin@ruby-lang.org> | 2022-07-15 18:45:38 +0900 |
commit | 7fda741f6e67b809b08423f0d4e903c078da2eed (patch) | |
tree | 494d20e221605133e310250049401bb72e09d22a | |
parent | 8e451d1083cb07ad974365f99b4f01742e4759c8 (diff) |
[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@gmail.com>
https://github.com/rubygems/rubygems/commit/31230f850c
-rw-r--r-- | lib/bundler/man/bundle-config.1 | 4 | ||||
-rw-r--r-- | 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 .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. 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 |