diff --git a/CHANGELOG.md b/CHANGELOG.md index d13ac2a..33f387d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,9 @@ Following Semantic Versioning 2. ## next version: +## Version 0.7.1 (PATCH) +- Fix Zeitwerk error with decorator in /lib folder + ## Version 0.7.0 (MINOR) - Increase minimum Decidim version to v0.27.6 - Upgrade Ruby to 3.0.7 diff --git a/Gemfile.lock b/Gemfile.lock index a883dde..cdbc41c 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -149,7 +149,7 @@ GIT PATH remote: . specs: - decidim-department_admin (0.7.0) + decidim-department_admin (0.7.1) decidim-admin (~> 0.27.0) decidim-core (~> 0.27.0) diff --git a/app/decorators/lib/decidim/participatory_space_resourceable_decorator.rb b/app/decorators/lib/decidim/participatory_space_resourceable_decorator.rb index b769c70..6137bd7 100644 --- a/app/decorators/lib/decidim/participatory_space_resourceable_decorator.rb +++ b/app/decorators/lib/decidim/participatory_space_resourceable_decorator.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -module Decidim::ParticipatorySpaceResourceableDecorator +module Lib::Decidim::ParticipatorySpaceResourceableDecorator # # This decorator overrided method to avoid .to_sym error when logged in user is Department Admin # Override affects only line `case role_name&.to_sym` @@ -30,4 +30,4 @@ def user_role_config_for(user, role_name) end end -::Decidim::ParticipatorySpaceResourceableDecorator.decorate +::Lib::Decidim::ParticipatorySpaceResourceableDecorator.decorate diff --git a/lib/decidim/department_admin/version.rb b/lib/decidim/department_admin/version.rb index 995a0a3..e18b851 100644 --- a/lib/decidim/department_admin/version.rb +++ b/lib/decidim/department_admin/version.rb @@ -5,7 +5,7 @@ module Decidim module DepartmentAdmin # see CHANGELOG.md def self.version - "0.7.0" + "0.7.1" end end end