OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
bump store_attribute
ulferts9fae5e643509
diff --git a/Gemfile b/Gemfileindex 983b55ad6c1..ebb29e75540 100644--- a/Gemfile+++ b/Gemfile@@ -218,7 +218,7 @@ gem "dry-monads"gem "dry-validation"# ActiveRecord extension which adds typecasting to store accessors-gem "store_attribute", "~> 1.0"+gem "store_attribute", "~> 2.0"# Appsignal integrationgem "appsignal", "~> 3.10.0", require: falsediff --git a/Gemfile.lock b/Gemfile.lockindex 1940a6df2b3..3d93f059200 100644--- a/Gemfile.lock+++ b/Gemfile.lock@@ -1107,7 +1107,7 @@ GEMsprockets (>= 3.0.0)ssrf_filter (1.0.8)stackprof (0.2.26)- store_attribute (1.3.1)+ store_attribute (2.0.0)activerecord (>= 6.1)stringex (2.8.6)stringio (3.1.2)@@ -1392,7 +1392,7 @@ DEPENDENCIESsprockets (~> 3.7.2)sprockets-rails (~> 3.5.1)stackprof- store_attribute (~> 1.0)+ store_attribute (~> 2.0)stringex (~> 2.8.5)structured_warnings (~> 0.4.0)svg-graph (~> 2.2.0)diff --git a/config/initializers/store_attribute.rb b/config/initializers/store_attribute.rbnew file mode 100644index 00000000000..37d5e4e99e3--- /dev/null+++ b/config/initializers/store_attribute.rb@@ -0,0 +1,34 @@+# frozen_string_literal: true++# -- copyright+# OpenProject is an open source project management software.+# Copyright (C) 2025 the OpenProject GmbH+#+# This program is free software; you can redistribute it and/or+# modify it under the terms of the GNU General Public License version 3.+#+# OpenProject is a fork of ChiliProject, which is a fork of Redmine. The copyright follows:+# Copyright (C) 2006-2013 Jean-Philippe Lang+# Copyright (C) 2010-2013 the ChiliProject Team+#+# This program is free software; you can redistribute it and/or+# modify it under the terms of the GNU General Public License+# as published by the Free Software Foundation; either version 2+# of the License, or (at your option) any later version.+#+# This program is distributed in the hope that it will be useful,+# but WITHOUT ANY WARRANTY; without even the implied warranty of+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+# GNU General Public License for more details.+#+# You should have received a copy of the GNU General Public License+# along with this program; if not, write to the Free Software+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.+#+# See COPYRIGHT and LICENSE files for more details.+# ++++# From v1.0 to v2.0 of store_attribute, the value for store_attribute_unset_values_fallback_to_default changed from+# false to true. This initializer sets it back to false to keep the behavior consistent with the previous version.++StoreAttribute.store_attribute_unset_values_fallback_to_default = false