diff --git a/temp_file/config/application.rb b/temp_file/config/application.rb index efd6b14..2a1d4d4 100644 --- a/temp_file/config/application.rb +++ b/temp_file/config/application.rb @@ -75,18 +75,7 @@ if RUBY_VERSION.to_f > 2.1 end def self.parse(uri) uri = uri.strip - scheme, userinfo, host, port, - registry, path, opaque, query, fragment = self.split(uri) - - if scheme && self.scheme_list.include?(scheme.upcase) - self.scheme_list[scheme.upcase].new(scheme, userinfo, host, port, - registry, path, opaque, query, - fragment, self) - else - Generic.new(scheme, userinfo, host, port, - registry, path, opaque, query, - fragment, self) - end + self::DEFAULT_PARSER.parse(uri) end class <