module Bundler::URI

def self.decode_uri_component(str, enc=Encoding::UTF_8)

Like Bundler::URI.decode_www_form_component, except that '+' is preserved.
def self.decode_uri_component(str, enc=Encoding::UTF_8)
  _decode_uri_component(/%\h\h/, str, enc)
end