From 11f024baf82bb83e88eda404fb2db8bac066a2f3 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 89ba92abd05..5769ec94bba 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, ['>= 6.0', '< 7.1.x'] end