mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
[rubygems/rubygems] Moving rubygems/request dependencies into ec2_metadata
https://github.com/rubygems/rubygems/commit/6a1856517f
This commit is contained in:
parent
4a8c2dd419
commit
aa9015dd84
1 changed files with 2 additions and 2 deletions
|
@ -1,8 +1,6 @@
|
|||
require 'base64'
|
||||
require 'digest'
|
||||
require 'openssl'
|
||||
require 'rubygems/request'
|
||||
require 'rubygems/request/connection_pools'
|
||||
|
||||
##
|
||||
# S3URISigner implements AWS SigV4 for S3 Source to avoid a dependency on the aws-sdk-* gems
|
||||
|
@ -139,6 +137,8 @@ class Gem::S3URISigner
|
|||
|
||||
def ec2_metadata
|
||||
require 'net/http'
|
||||
require 'rubygems/request'
|
||||
require 'rubygems/request/connection_pools'
|
||||
|
||||
metadata_uri = URI(EC2_METADATA_CREDENTIALS)
|
||||
|
||||
|
|
Loading…
Reference in a new issue