Add separate cache directory for non-local uploads (#12821)
This commit is contained in:
parent
2744f61696
commit
c3ca3801f2
12 changed files with 319 additions and 105 deletions
|
@ -10,6 +10,10 @@ Paperclip.options[:log] = false
|
|||
|
||||
module Mastodon
|
||||
module CLIHelper
|
||||
def dry_run?
|
||||
options[:dry_run]
|
||||
end
|
||||
|
||||
def create_progress_bar(total = nil)
|
||||
ProgressBar.create(total: total, format: '%c/%u |%b%i| %e')
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue