From f3d92d8a102aa7056b0ce3b7dc1449770e571562 Mon Sep 17 00:00:00 2001 From: Thomas von Deyen Date: Wed, 1 Nov 2023 16:05:11 +0100 Subject: [PATCH] Add activestorage as dependency We use ActiveStorage::Current in our BaseControllers since a3119d560c7575e41fbaa05cc090738e6b9e83e4 but we never depended on it. For stores never having activestorage as dependency this was breaking. (cherry picked from commit d495087acc49590779687afd7049887f5778db66) --- core/solidus_core.gemspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/solidus_core.gemspec b/core/solidus_core.gemspec index 7d7ed15de41..58011abdaf6 100644 --- a/core/solidus_core.gemspec +++ b/core/solidus_core.gemspec @@ -25,7 +25,7 @@ Gem::Specification.new do |s| %w[ actionmailer actionpack actionview activejob activemodel activerecord - activesupport railties + activestorage activesupport railties ].each do |rails_dep| s.add_dependency rails_dep, ['>= 7.0', '< 7.1'] end