def conf
      hsh = {
        :host => host,
        :port => port,
        :db   => db
      }.merge parse_query(query)
      hsh[:password] = password if password
      hsh
    end
def conf
      hsh = {
        :host => host,
        :port => port,
        :db   => db
      }.merge parse_query(query)
      hsh[:password] = password if password
      hsh
    end
Returns a hash suitable for sending to Redis.new.
 The hash is generated from the host, port, db and
 password from the URI as well as any query vars.

 e.g.

      uri = URI.parse "redis://127.0.0.1/6/?timeout=5"
      uri.conf
        # => {:db=>6, :timeout=>"5", :host=>"127.0.0.1", :port=>6379}