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

- old
+ new

@@ -3,10 +3,10 @@ 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) + query = CGI.parse(parsed_uri.query) output = { :scheme => parsed_uri.scheme, :host => host, } \ No newline at end of file