lib/urlize.rb in Urlize-0.1.1 vs lib/urlize.rb in Urlize-0.1.2

- old
+ new

@@ -1,6 +1,7 @@ module Urlize require 'uri' + require 'cgi' def self.read(url) parsed_uri = URI.parse(url) host = parsed_uri.host.index("www.") ? parsed_uri.host.gsub(/www\./, "") : parsed_uri.host query = CGI::parse(parsed_uri.query) \ No newline at end of file