lib/paperclip/style.rb in paperclip-4.1.1 vs lib/paperclip/style.rb in paperclip-4.2.0

- old
+ new

@@ -69,10 +69,10 @@ # Supplies the hash of options that processors expect to receive as their second argument # Arguments other than the standard geometry, format etc are just passed through from # initialization and any procs are called here, just before post-processing. def processor_options - args = {} + args = {:style => name} @other_args.each do |k,v| args[k] = v.respond_to?(:call) ? v.call(attachment) : v end [:processors, :geometry, :format, :whiny, :convert_options, :source_file_options].each do |k| (arg = send(k)) && args[k] = arg