paperclip-cloudfiles 2.3.1.1.3 → 2.3.1.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/paperclip/storage.rb +0 -1
- data/lib/paperclip.rb +1 -1
- metadata +1 -1
data/lib/paperclip/storage.rb
CHANGED
@@ -294,7 +294,6 @@ module Paperclip
|
|
294
294
|
@path_filename = ":cf_path_filename" unless @url.to_s.match(/^:cf.*filename$/)
|
295
295
|
@url = @@cdn_url + "/#{URI.encode(@path_filename).gsub(/&/,'%26')}"
|
296
296
|
@path = (Paperclip::Attachment.default_options[:path] == @options[:path]) ? ":attachment/:id/:style/:basename.:extension" : @options[:path]
|
297
|
-
File.open('/tmp/path.log', 'a+') {|f| f.write("Path is #{@path} from options #{@options[:path]}\n") }
|
298
297
|
end
|
299
298
|
Paperclip.interpolates(:cf_path_filename) do |attachment, style|
|
300
299
|
attachment.path(style)
|
data/lib/paperclip.rb
CHANGED
@@ -46,7 +46,7 @@ end
|
|
46
46
|
# documentation for Paperclip::ClassMethods for more useful information.
|
47
47
|
module Paperclip
|
48
48
|
|
49
|
-
VERSION = "2.3.1.1.
|
49
|
+
VERSION = "2.3.1.1.4"
|
50
50
|
|
51
51
|
class << self
|
52
52
|
# Provides configurability to Paperclip. There are a number of options available, such as:
|