Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
paperclip
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ikcrm_common
paperclip
Commits
69aeda7c
Unverified
Commit
69aeda7c
authored
Oct 31, 2016
by
aboutqx
Committed by
Mike Burns
May 25, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update processor.rb
parent
9372948f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
10 deletions
+2
-10
lib/paperclip/processor.rb
+2
-10
No files found.
lib/paperclip/processor.rb
View file @
69aeda7c
...
...
@@ -37,21 +37,13 @@ module Paperclip
# The convert method runs the convert binary with the provided arguments.
# 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
)
end
Paperclip
.
run
(
Gem
.
win_platform?
"magick convert"
:"convert"
,
arguments
,
local_options
)
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
)
end
Paperclip
.
run
(
Gem
.
win_platform?
"magick identify"
:"identify"
,
arguments
,
local_options
)
end
end
end
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment