From 44623016ff19de693b51404abd64a49b0283e158 Mon Sep 17 00:00:00 2001 From: Robyn-Dale Samuda Date: Tue, 30 Mar 2021 14:09:59 -0500 Subject: [PATCH 1/2] Bump mimemagic to 0.4.3 --- paperclip.gemspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paperclip.gemspec b/paperclip.gemspec index 94d8e6685..3938f106e 100644 --- a/paperclip.gemspec +++ b/paperclip.gemspec @@ -28,7 +28,7 @@ Gem::Specification.new do |s| s.add_dependency('activesupport', '>= 4.2.0') s.add_dependency('terrapin', '~> 0.6.0') s.add_dependency('mime-types') - s.add_dependency('mimemagic', '~> 0.3.0') + s.add_dependency('mimemagic', '~> 0.4.3') s.add_development_dependency('activerecord', '>= 4.2.0') s.add_development_dependency('shoulda') From 44c453a7a437981953c8768527c6a42b9d27628e Mon Sep 17 00:00:00 2001 From: Robyn-Dale Samuda Date: Tue, 30 Mar 2021 15:22:12 -0500 Subject: [PATCH 2/2] Lower mimemagic to 0.3.7 to support mimemagic/overlay --- paperclip.gemspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paperclip.gemspec b/paperclip.gemspec index 3938f106e..1daea871a 100644 --- a/paperclip.gemspec +++ b/paperclip.gemspec @@ -28,7 +28,7 @@ Gem::Specification.new do |s| s.add_dependency('activesupport', '>= 4.2.0') s.add_dependency('terrapin', '~> 0.6.0') s.add_dependency('mime-types') - s.add_dependency('mimemagic', '~> 0.4.3') + s.add_dependency('mimemagic', '~> 0.3.7') s.add_development_dependency('activerecord', '>= 4.2.0') s.add_development_dependency('shoulda')