module Bundler::URI

def self.parse(uri)


if it may contain invalid Bundler::URI characters.
It's recommended to first ::escape string +uri+

# => #
Bundler::URI.parse('http://john.doe@www.example.com:123/forum/questions/?tag=networking&order=newest#top')
# => #
Bundler::URI.parse('https://john.doe@www.example.com:123/forum/questions/?tag=networking&order=newest#top')

Returns a new \Bundler::URI object constructed from the given string +uri+:
def self.parse(uri)
  RFC3986_PARSER.parse(uri)
end