require 'uri'

test_cases = [
  ,
  ,
  ,
  ,
  ,
  ,
  ,
  ,
  ,
  ,
  ,
  ,
  ,
  
]

class URI::Generic; alias_method :domain, :host; end

test_cases.each do |test_case|
  puts test_case
  uri = URI.parse(test_case)
  %w[ scheme domain port path query fragment user password ].each do |attr|
    puts  if uri.send(attr)
  end
end