diff options
author | David Yip <yipdw@member.fsf.org> | 2017-10-26 09:18:27 -0500 |
---|---|---|
committer | David Yip <yipdw@member.fsf.org> | 2017-10-26 09:18:27 -0500 |
commit | dd28b94cf0ed1ed3b2d75fddb27fc4373298d659 (patch) | |
tree | 96e2517363e43e7d435bc1204b97e4769d5a3e20 /lib | |
parent | a2612d0d3865fbbd6e8a93572f6d4e4044a8d64b (diff) | |
parent | d556be2968641c265360297fd268a24119c68670 (diff) |
Merge remote-tracking branch 'origin/master' into gs-master
Diffstat (limited to 'lib')
-rw-r--r-- | lib/paperclip/gif_transcoder.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/paperclip/gif_transcoder.rb b/lib/paperclip/gif_transcoder.rb index cbe53b27b..629e37581 100644 --- a/lib/paperclip/gif_transcoder.rb +++ b/lib/paperclip/gif_transcoder.rb @@ -10,6 +10,7 @@ module Paperclip unless options[:style] == :original && num_frames > 1 tmp_file = Paperclip::TempfileFactory.new.generate(attachment.instance.file_file_name) tmp_file << file.read + tmp_file.flush return tmp_file end |