Sha256: da43905f2b5fd768e0a1d382ab7e94ffe7b0847197cf284cb419572209e74fe0
Contents?: true
Size: 311 Bytes
Versions: 26
Compression:
Stored size: 311 Bytes
Contents
module Paperclip class HttpUrlProxyAdapter < UriAdapter REGEXP = /\Ahttps?:\/\// def initialize(target) super(URI(target)) end end end Paperclip.io_adapters.register Paperclip::HttpUrlProxyAdapter do |target| String === target && target =~ Paperclip::HttpUrlProxyAdapter::REGEXP end
Version data entries
26 entries across 24 versions & 3 rubygems