Upgrade Rails to 7.1, update dependencies, require Ruby 3.x #160

Merged
raucao merged 36 commits from chore/update_dependencies into master 2024-02-27 18:56:59 +00:00
Showing only changes of commit 3f110995a4 - Show all commits

View File

@ -42,8 +42,8 @@ module AppCatalogManager
else
download_url = "#{@app.url}/#{icon["src"].gsub(/^\//,'')}"
end
filename = "#{attachment_name}.png"
key = "web_apps/#{@app.id}/icons/#{attachment_name}.png"
filename = "#{attachment_name}-#{Time.now.to_i}.png"
key = "web_apps/#{@app.id}/icons/#{filename}"
begin
tempfile = Down.download(download_url)