class Bundler::URI::Generic

def split_userinfo(ui)

if properly formatted as 'user:password'.
Returns the userinfo +ui+ as [user, password]
def split_userinfo(ui)
  return nil, nil unless ui
  user, password = ui.split(':', 2)
  return user, password
end