jnicklas/carrierwave — pull request #1008 by taavo (2013-03-04 04:05:16+00:00)
Title: refactor: make encode_path private

This is a first draft of the discussed refactor of #1006 to keep encode_url out of our api. If there's a better way to do it, I'd love to; this is just the first way I found that worked.

(Also, given that Uploader#process_uri is using the "obsoleted" URI.encode, Utilities#Uri seems like a likely home for the (I wish it weren't necessary) URI.encode replacement we're presumably going to have to write before ruby 2.1. Maybe I'll go look at how fog is dealing with this...)