mirror of
https://github.com/ruby/ruby.git
synced 2026-10-29 08:55:35 +08:00
* lib/rubygems.rb, lib/rubygems/*, test/rubygems/*: Update rubygems-2.5.2. It supports to enable frozen string literal and add `--norc` option for disable to `.gemrc` configuration. See 2.5.2 release notes for other fixes and enhancements. https://github.com/rubygems/rubygems/blob/a8aa3bac723f045c52471c7b9328310a048561e0/History.txt#L3 * lib/rubygems/specification.rb: `coding` is affect only first line except shebang. * lib/rubygems/package.rb, lib/rubygems/package/*: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@56003 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
12 lines
235 B
Ruby
12 lines
235 B
Ruby
# frozen_string_literal: true
|
|
class Gem::Request::HTTPSPool < Gem::Request::HTTPPool # :nodoc:
|
|
private
|
|
|
|
def setup_connection connection
|
|
Gem::Request.configure_connection_for_https(connection, @cert_files)
|
|
super
|
|
end
|
|
end
|
|
|
|
|