From 83d8db4fe86943675171642dffbe39c01a712fed Mon Sep 17 00:00:00 2001 From: Eduardo Martinez Echevarria Date: Wed, 7 Aug 2024 14:47:02 +0200 Subject: [PATCH] Remove virtus-multiparams dependency --- Gemfile | 1 - Gemfile.lock | 3 --- app/services/census_authorization_handler.rb | 1 - 3 files changed, 5 deletions(-) diff --git a/Gemfile b/Gemfile index d2f237d..fbeb65d 100644 --- a/Gemfile +++ b/Gemfile @@ -13,7 +13,6 @@ gem 'uglifier' gem 'faker' gem "execjs", "~> 2.9.0" -gem "virtus-multiparams" group :development, :test do gem 'byebug', platform: :mri diff --git a/Gemfile.lock b/Gemfile.lock index 9216b04..ac23fb5 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -850,8 +850,6 @@ GEM coercible (~> 1.0) descendants_tracker (~> 0.0, >= 0.0.3) equalizer (~> 0.0, >= 0.0.9) - virtus-multiparams (0.1.1) - virtus (~> 1.0) w3c_rspec_validators (0.3.0) rails rspec @@ -917,7 +915,6 @@ DEPENDENCIES spring-watcher-listen tzinfo-data uglifier - virtus-multiparams RUBY VERSION ruby 3.0.6p216 diff --git a/app/services/census_authorization_handler.rb b/app/services/census_authorization_handler.rb index a3e51c2..d4b15b6 100644 --- a/app/services/census_authorization_handler.rb +++ b/app/services/census_authorization_handler.rb @@ -6,7 +6,6 @@ # to verify the citizen's residence. class CensusAuthorizationHandler < Decidim::AuthorizationHandler include ActionView::Helpers::SanitizeHelper - include Virtus::Multiparams attribute :document_number, String attribute :document_type, Symbol