Skip to content
This repository has been archived by the owner on Jul 13, 2023. It is now read-only.

Commit

Permalink
Update processor.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
aboutqx authored and mike-burns committed May 25, 2018
1 parent 47a4b55 commit 029460e
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions lib/paperclip/processor.rb
Expand Up @@ -38,19 +38,19 @@ 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

# The identify method runs the identify binary with the provided arguments.
# 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
Expand Down

0 comments on commit 029460e

Please sign in to comment.