From 029460ecbcfe129c5a0a9cccfe98d5e228597f7d Mon Sep 17 00:00:00 2001 From: aboutqx <1004945442@qq.com> Date: Mon, 31 Oct 2016 15:50:14 +0800 Subject: [PATCH] Update processor.rb --- lib/paperclip/processor.rb | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/paperclip/processor.rb b/lib/paperclip/processor.rb index 4ad75cef5..1296b6b7b 100644 --- a/lib/paperclip/processor.rb +++ b/lib/paperclip/processor.rb @@ -38,9 +38,9 @@ def self.make file, options = {}, attachment = nil # See Paperclip.run for the available options. def convert(arguments = "", local_options = {}) if Gem.win_platform? - Paperclip.run('magick convert', arguments, local_options) - else - Paperclip.run('convert', arguments, local_options) + Paperclip.run("magick convert", arguments, local_options) + else + Paperclip.run("convert", arguments, local_options) end end @@ -48,9 +48,9 @@ def convert(arguments = "", local_options = {}) # See Paperclip.run for the available options. def identify(arguments = "", local_options = {}) if Gem.win_platform? - Paperclip.run('magick identify', arguments, local_options) - else - Paperclip.run('identify', arguments, local_options) + Paperclip.run("magick identify", arguments, local_options) + else + Paperclip.run("identify", arguments, local_options) end end end