use https:// instead of git:// when possible

Avoid MitM when downloading from insecure networks.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64084 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
normal 2018-07-28 03:34:30 +00:00
Родитель 856bd77aea
Коммит 3943dcd180
4 изменённых файлов: 7 добавлений и 7 удалений

Просмотреть файл

@ -46,7 +46,7 @@ to see the list of branches:
Or if you are using git then use the following command:
$ git ls-remote git://github.com/ruby/ruby.git
$ git ls-remote https://github.com/ruby/ruby.git
## Ruby home page

Просмотреть файл

@ -43,11 +43,11 @@ GEM_VENDOR =
BENCHMARK_DRIVER_GIT_URL = https://github.com/benchmark-driver/benchmark-driver
BENCHMARK_DRIVER_GIT_REF = v0.14.6
SIMPLECOV_GIT_URL = git://github.com/colszowka/simplecov.git
SIMPLECOV_GIT_URL = https://github.com/colszowka/simplecov.git
SIMPLECOV_GIT_REF = v0.15.0
SIMPLECOV_HTML_GIT_URL = git://github.com/colszowka/simplecov-html.git
SIMPLECOV_HTML_GIT_URL = https://github.com/colszowka/simplecov-html.git
SIMPLECOV_HTML_GIT_REF = v0.10.2
DOCLIE_GIT_URL = git://github.com/ms-ati/docile.git
DOCLIE_GIT_URL = https://github.com/ms-ati/docile.git
DOCLIE_GIT_REF = v1.1.5
STATIC_RUBY = static-ruby

Просмотреть файл

@ -285,7 +285,7 @@ Now let's build CRuby:
* Checkout the CRuby source code:
git clone git://github.com/ruby/ruby.git ruby-trunk
git clone https://github.com/ruby/ruby.git ruby-trunk
* Generate the configuration files and build:
@ -317,7 +317,7 @@ For older versions of Ruby you will need to run the build setup again after
checking out the associated branch in git, for example if you wanted to
checkout 1.9.3:
git clone git://github.com/ruby/ruby.git --branch ruby_1_9_3
git clone https://github.com/ruby/ruby.git --branch ruby_1_9_3
Once you checked out the source code, you can update the local copy by:

Просмотреть файл

@ -70,7 +70,7 @@ if mflags = ENV["GNUMAKEFLAGS"] and /\A-(\S*)j\d*/ =~ mflags
end
ENV["LC_ALL"] = ENV["LANG"] = "C"
SVNURL = URI.parse("http://svn.ruby-lang.org/repos/ruby/")
GITURL = URI.parse("git://github.com/ruby/ruby.git")
GITURL = URI.parse("https://github.com/ruby/ruby.git")
RUBY_VERSION_PATTERN = /^\#define\s+RUBY_VERSION\s+"([\d.]+)"/
ENV["VPATH"] ||= "include/ruby"