From a4a0a71767b4baed04dee520581ef62d8c58df91 Mon Sep 17 00:00:00 2001 From: barbara oliveira Date: Fri, 10 Apr 2026 08:56:46 +0200 Subject: [PATCH 1/6] add gem and bundle install --- Gemfile | 1 + Gemfile.lock | 61 ++++++++++++++++++++++++++++++---------------------- 2 files changed, 36 insertions(+), 26 deletions(-) diff --git a/Gemfile b/Gemfile index f4df33fe72..dcb3e6e397 100644 --- a/Gemfile +++ b/Gemfile @@ -49,6 +49,7 @@ gem "decidim-survey_multiple_answers", git: "https://github.com/OpenSourcePoliti gem "decidim-term_customizer", git: "https://github.com/OpenSourcePolitics/decidim-module-term_customizer.git", branch: "bump/0.31" gem "decidim-ai", git: "https://github.com/OpenSourcePolitics/decidim-module-ai.git", branch: "bump/0.31_third_party_service" +gem "decidim-decidim_ai_spam_bot", git: "https://github.com/OpenSourcePolitics/decidim-module-decidim_ai_spam_bot.git", branch: "master" gem "decidim-ai_third_party", git: "https://github.com/OpenSourcePolitics/decidim-ai_third_party.git", branch: "bump/0.31" gem "omniauth_openid_connect" diff --git a/Gemfile.lock b/Gemfile.lock index 29a754a15a..f8c3d7428f 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -27,7 +27,7 @@ GIT revision: 0679c37c7a6bff42a9a8d9b59c137559dfde8291 branch: bump/0.31_third_party_service specs: - decidim-ai (0.31.2) + decidim-ai (0.31.0) classifier-reborn (~> 2.3.0) decidim-core (~> 0.31.0) @@ -64,6 +64,14 @@ GIT decidim-cleaner (5.1.0) decidim-core (~> 0.31.0) +GIT + remote: https://github.com/OpenSourcePolitics/decidim-module-decidim_ai_spam_bot.git + revision: 019d3956491b9b340223f9a68868a314d40e62b9 + branch: master + specs: + decidim-decidim_ai_spam_bot (1.0.0) + decidim-core (~> 0.31) + GIT remote: https://github.com/OpenSourcePolitics/decidim-module-emitter.git revision: 09c1fee6fedb4bd14a3f8ff20d10084615e1647d @@ -433,7 +441,7 @@ GEM acts_as_list (1.2.6) activerecord (>= 6.1) activesupport (>= 6.1) - addressable (2.8.9) + addressable (2.9.0) public_suffix (>= 2.0.2, < 8.0) aes_key_wrap (1.1.0) ast (2.4.3) @@ -459,7 +467,7 @@ GEM aws-eventstream (~> 1, >= 1.0.2) base64 (0.3.0) batch-loader (2.0.6) - bcrypt (3.1.21) + bcrypt (3.1.22) benchmark (0.5.0) better_html (2.2.0) actionview (>= 7.0) @@ -468,7 +476,7 @@ GEM erubi (~> 1.4) parser (>= 2.4) smart_properties - bigdecimal (4.0.1) + bigdecimal (4.1.1) bindata (2.5.1) bindex (0.8.1) bootsnap (1.23.0) @@ -601,7 +609,7 @@ GEM escape_utils (1.3.0) et-orbi (1.4.0) tzinfo - excon (1.4.0) + excon (1.4.2) logger extended-markdown-filter (0.7.0) html-pipeline (~> 2.9) @@ -621,14 +629,14 @@ GEM faraday-net_http (3.4.2) net-http (~> 0.5) fast-stemmer (1.0.2) - ffi (1.17.3-aarch64-linux-gnu) - ffi (1.17.3-aarch64-linux-musl) - ffi (1.17.3-arm-linux-gnu) - ffi (1.17.3-arm-linux-musl) - ffi (1.17.3-arm64-darwin) - ffi (1.17.3-x86_64-darwin) - ffi (1.17.3-x86_64-linux-gnu) - ffi (1.17.3-x86_64-linux-musl) + ffi (1.17.4-aarch64-linux-gnu) + ffi (1.17.4-aarch64-linux-musl) + ffi (1.17.4-arm-linux-gnu) + ffi (1.17.4-arm-linux-musl) + ffi (1.17.4-arm64-darwin) + ffi (1.17.4-x86_64-darwin) + ffi (1.17.4-x86_64-linux-gnu) + ffi (1.17.4-x86_64-linux-musl) fiber-storage (1.0.1) file_validators (3.0.0) activemodel (>= 3.2) @@ -736,7 +744,7 @@ GEM rdoc (>= 4.0.0) reline (>= 0.4.2) jmespath (1.6.2) - json (2.19.1) + json (2.19.3) json-jwt (1.17.0) activesupport (>= 4.2) aes_key_wrap @@ -796,10 +804,10 @@ GEM mime-types (3.7.0) logger mime-types-data (~> 3.2025, >= 3.2025.0507) - mime-types-data (3.2026.0317) + mime-types-data (3.2026.0407) mini_magick (4.13.2) mini_mime (1.1.5) - minitest (6.0.2) + minitest (6.0.3) drb (~> 2.0) prism (~> 1.5) msgpack (1.8.0) @@ -817,21 +825,21 @@ GEM net-smtp (0.5.1) net-protocol nio4r (2.7.5) - nokogiri (1.19.1-aarch64-linux-gnu) + nokogiri (1.19.2-aarch64-linux-gnu) racc (~> 1.4) - nokogiri (1.19.1-aarch64-linux-musl) + nokogiri (1.19.2-aarch64-linux-musl) racc (~> 1.4) - nokogiri (1.19.1-arm-linux-gnu) + nokogiri (1.19.2-arm-linux-gnu) racc (~> 1.4) - nokogiri (1.19.1-arm-linux-musl) + nokogiri (1.19.2-arm-linux-musl) racc (~> 1.4) - nokogiri (1.19.1-arm64-darwin) + nokogiri (1.19.2-arm64-darwin) racc (~> 1.4) - nokogiri (1.19.1-x86_64-darwin) + nokogiri (1.19.2-x86_64-darwin) racc (~> 1.4) - nokogiri (1.19.1-x86_64-linux-gnu) + nokogiri (1.19.2-x86_64-linux-gnu) racc (~> 1.4) - nokogiri (1.19.1-x86_64-linux-musl) + nokogiri (1.19.2-x86_64-linux-musl) racc (~> 1.4) oauth (1.1.3) base64 (~> 0.1) @@ -929,7 +937,7 @@ GEM nio4r (~> 2.0) raabro (1.4.0) racc (1.8.1) - rack (2.2.22) + rack (2.2.23) rack-attack (6.8.0) rack (>= 1.0, < 4) rack-cors (1.1.1) @@ -1176,7 +1184,7 @@ GEM spring (>= 4) stackprof (0.2.28) stringio (3.2.0) - strscan (3.1.7) + strscan (3.1.8) swd (2.0.3) activesupport (>= 3) attr_required (>= 0.0.5) @@ -1287,6 +1295,7 @@ DEPENDENCIES decidim-cleaner! decidim-collaborative_texts! decidim-conferences! + decidim-decidim_ai_spam_bot! decidim-decidim_awesome! decidim-dev! decidim-elections! From 7ca962bbf72b8f732f2813042388a1f581e9423a Mon Sep 17 00:00:00 2001 From: barbara oliveira Date: Fri, 10 Apr 2026 10:12:36 +0200 Subject: [PATCH 2/6] upgrade decidim_ai for compatibility --- Gemfile | 2 +- Gemfile.lock | 61 ++++++++++++++++++++++------------------------------ 2 files changed, 27 insertions(+), 36 deletions(-) diff --git a/Gemfile b/Gemfile index dcb3e6e397..10205afb90 100644 --- a/Gemfile +++ b/Gemfile @@ -41,6 +41,7 @@ gem "decidim-budgets_importer", git: "https://github.com/OpenSourcePolitics/deci gem "decidim-budgets_paper_ballots", git: "https://github.com/OpenSourcePolitics/decidim-module-budgets_paper_ballots.git", branch: "bump/0.31" gem "decidim-cache_cleaner", git: "https://github.com/OpenSourcePolitics/decidim-module-cache_cleaner.git", branch: "bump/0.31" gem "decidim-cleaner", git: "https://github.com/OpenSourcePolitics/decidim-module-cleaner.git", branch: "bump/0.31" +gem "decidim-decidim_ai_spam_bot", git: "https://github.com/OpenSourcePolitics/decidim-module-decidim_ai_spam_bot.git", branch: "master" gem "decidim-decidim_awesome", git: "https://github.com/decidim-ice/decidim-module-decidim_awesome.git", branch: DECIDIM_BRANCH gem "decidim-emitter", git: "https://github.com/OpenSourcePolitics/decidim-module-emitter.git", branch: "bump/0.31" gem "decidim-extra_user_fields", git: "https://github.com/OpenSourcePolitics/decidim-module-extra_user_fields.git", branch: "bump/0.31" @@ -49,7 +50,6 @@ gem "decidim-survey_multiple_answers", git: "https://github.com/OpenSourcePoliti gem "decidim-term_customizer", git: "https://github.com/OpenSourcePolitics/decidim-module-term_customizer.git", branch: "bump/0.31" gem "decidim-ai", git: "https://github.com/OpenSourcePolitics/decidim-module-ai.git", branch: "bump/0.31_third_party_service" -gem "decidim-decidim_ai_spam_bot", git: "https://github.com/OpenSourcePolitics/decidim-module-decidim_ai_spam_bot.git", branch: "master" gem "decidim-ai_third_party", git: "https://github.com/OpenSourcePolitics/decidim-ai_third_party.git", branch: "bump/0.31" gem "omniauth_openid_connect" diff --git a/Gemfile.lock b/Gemfile.lock index f8c3d7428f..29a754a15a 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -27,7 +27,7 @@ GIT revision: 0679c37c7a6bff42a9a8d9b59c137559dfde8291 branch: bump/0.31_third_party_service specs: - decidim-ai (0.31.0) + decidim-ai (0.31.2) classifier-reborn (~> 2.3.0) decidim-core (~> 0.31.0) @@ -64,14 +64,6 @@ GIT decidim-cleaner (5.1.0) decidim-core (~> 0.31.0) -GIT - remote: https://github.com/OpenSourcePolitics/decidim-module-decidim_ai_spam_bot.git - revision: 019d3956491b9b340223f9a68868a314d40e62b9 - branch: master - specs: - decidim-decidim_ai_spam_bot (1.0.0) - decidim-core (~> 0.31) - GIT remote: https://github.com/OpenSourcePolitics/decidim-module-emitter.git revision: 09c1fee6fedb4bd14a3f8ff20d10084615e1647d @@ -441,7 +433,7 @@ GEM acts_as_list (1.2.6) activerecord (>= 6.1) activesupport (>= 6.1) - addressable (2.9.0) + addressable (2.8.9) public_suffix (>= 2.0.2, < 8.0) aes_key_wrap (1.1.0) ast (2.4.3) @@ -467,7 +459,7 @@ GEM aws-eventstream (~> 1, >= 1.0.2) base64 (0.3.0) batch-loader (2.0.6) - bcrypt (3.1.22) + bcrypt (3.1.21) benchmark (0.5.0) better_html (2.2.0) actionview (>= 7.0) @@ -476,7 +468,7 @@ GEM erubi (~> 1.4) parser (>= 2.4) smart_properties - bigdecimal (4.1.1) + bigdecimal (4.0.1) bindata (2.5.1) bindex (0.8.1) bootsnap (1.23.0) @@ -609,7 +601,7 @@ GEM escape_utils (1.3.0) et-orbi (1.4.0) tzinfo - excon (1.4.2) + excon (1.4.0) logger extended-markdown-filter (0.7.0) html-pipeline (~> 2.9) @@ -629,14 +621,14 @@ GEM faraday-net_http (3.4.2) net-http (~> 0.5) fast-stemmer (1.0.2) - ffi (1.17.4-aarch64-linux-gnu) - ffi (1.17.4-aarch64-linux-musl) - ffi (1.17.4-arm-linux-gnu) - ffi (1.17.4-arm-linux-musl) - ffi (1.17.4-arm64-darwin) - ffi (1.17.4-x86_64-darwin) - ffi (1.17.4-x86_64-linux-gnu) - ffi (1.17.4-x86_64-linux-musl) + ffi (1.17.3-aarch64-linux-gnu) + ffi (1.17.3-aarch64-linux-musl) + ffi (1.17.3-arm-linux-gnu) + ffi (1.17.3-arm-linux-musl) + ffi (1.17.3-arm64-darwin) + ffi (1.17.3-x86_64-darwin) + ffi (1.17.3-x86_64-linux-gnu) + ffi (1.17.3-x86_64-linux-musl) fiber-storage (1.0.1) file_validators (3.0.0) activemodel (>= 3.2) @@ -744,7 +736,7 @@ GEM rdoc (>= 4.0.0) reline (>= 0.4.2) jmespath (1.6.2) - json (2.19.3) + json (2.19.1) json-jwt (1.17.0) activesupport (>= 4.2) aes_key_wrap @@ -804,10 +796,10 @@ GEM mime-types (3.7.0) logger mime-types-data (~> 3.2025, >= 3.2025.0507) - mime-types-data (3.2026.0407) + mime-types-data (3.2026.0317) mini_magick (4.13.2) mini_mime (1.1.5) - minitest (6.0.3) + minitest (6.0.2) drb (~> 2.0) prism (~> 1.5) msgpack (1.8.0) @@ -825,21 +817,21 @@ GEM net-smtp (0.5.1) net-protocol nio4r (2.7.5) - nokogiri (1.19.2-aarch64-linux-gnu) + nokogiri (1.19.1-aarch64-linux-gnu) racc (~> 1.4) - nokogiri (1.19.2-aarch64-linux-musl) + nokogiri (1.19.1-aarch64-linux-musl) racc (~> 1.4) - nokogiri (1.19.2-arm-linux-gnu) + nokogiri (1.19.1-arm-linux-gnu) racc (~> 1.4) - nokogiri (1.19.2-arm-linux-musl) + nokogiri (1.19.1-arm-linux-musl) racc (~> 1.4) - nokogiri (1.19.2-arm64-darwin) + nokogiri (1.19.1-arm64-darwin) racc (~> 1.4) - nokogiri (1.19.2-x86_64-darwin) + nokogiri (1.19.1-x86_64-darwin) racc (~> 1.4) - nokogiri (1.19.2-x86_64-linux-gnu) + nokogiri (1.19.1-x86_64-linux-gnu) racc (~> 1.4) - nokogiri (1.19.2-x86_64-linux-musl) + nokogiri (1.19.1-x86_64-linux-musl) racc (~> 1.4) oauth (1.1.3) base64 (~> 0.1) @@ -937,7 +929,7 @@ GEM nio4r (~> 2.0) raabro (1.4.0) racc (1.8.1) - rack (2.2.23) + rack (2.2.22) rack-attack (6.8.0) rack (>= 1.0, < 4) rack-cors (1.1.1) @@ -1184,7 +1176,7 @@ GEM spring (>= 4) stackprof (0.2.28) stringio (3.2.0) - strscan (3.1.8) + strscan (3.1.7) swd (2.0.3) activesupport (>= 3) attr_required (>= 0.0.5) @@ -1295,7 +1287,6 @@ DEPENDENCIES decidim-cleaner! decidim-collaborative_texts! decidim-conferences! - decidim-decidim_ai_spam_bot! decidim-decidim_awesome! decidim-dev! decidim-elections! From 539e3a3f4f6ff13fab5b26a9b93ca5f0c8f5425f Mon Sep 17 00:00:00 2001 From: barbara oliveira Date: Tue, 14 Apr 2026 10:41:59 +0200 Subject: [PATCH 3/6] fix and add gemfile.lock --- Gemfile.lock | 171 +++++++++++++++++++++++++++------------------------ 1 file changed, 89 insertions(+), 82 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index 29a754a15a..cd66ae8f9e 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -27,7 +27,7 @@ GIT revision: 0679c37c7a6bff42a9a8d9b59c137559dfde8291 branch: bump/0.31_third_party_service specs: - decidim-ai (0.31.2) + decidim-ai (0.31.0) classifier-reborn (~> 2.3.0) decidim-core (~> 0.31.0) @@ -64,6 +64,14 @@ GIT decidim-cleaner (5.1.0) decidim-core (~> 0.31.0) +GIT + remote: https://github.com/OpenSourcePolitics/decidim-module-decidim_ai_spam_bot.git + revision: 019d3956491b9b340223f9a68868a314d40e62b9 + branch: master + specs: + decidim-decidim_ai_spam_bot (1.0.0) + decidim-core (~> 0.31) + GIT remote: https://github.com/OpenSourcePolitics/decidim-module-emitter.git revision: 09c1fee6fedb4bd14a3f8ff20d10084615e1647d @@ -349,29 +357,29 @@ GIT GEM remote: https://rubygems.org/ specs: - actioncable (7.2.3) - actionpack (= 7.2.3) - activesupport (= 7.2.3) + actioncable (7.2.3.1) + actionpack (= 7.2.3.1) + activesupport (= 7.2.3.1) nio4r (~> 2.0) websocket-driver (>= 0.6.1) zeitwerk (~> 2.6) - actionmailbox (7.2.3) - actionpack (= 7.2.3) - activejob (= 7.2.3) - activerecord (= 7.2.3) - activestorage (= 7.2.3) - activesupport (= 7.2.3) + actionmailbox (7.2.3.1) + actionpack (= 7.2.3.1) + activejob (= 7.2.3.1) + activerecord (= 7.2.3.1) + activestorage (= 7.2.3.1) + activesupport (= 7.2.3.1) mail (>= 2.8.0) - actionmailer (7.2.3) - actionpack (= 7.2.3) - actionview (= 7.2.3) - activejob (= 7.2.3) - activesupport (= 7.2.3) + actionmailer (7.2.3.1) + actionpack (= 7.2.3.1) + actionview (= 7.2.3.1) + activejob (= 7.2.3.1) + activesupport (= 7.2.3.1) mail (>= 2.8.0) rails-dom-testing (~> 2.2) - actionpack (7.2.3) - actionview (= 7.2.3) - activesupport (= 7.2.3) + actionpack (7.2.3.1) + actionview (= 7.2.3.1) + activesupport (= 7.2.3.1) cgi nokogiri (>= 1.8.5) racc @@ -381,15 +389,15 @@ GEM rails-dom-testing (~> 2.2) rails-html-sanitizer (~> 1.6) useragent (~> 0.16) - actiontext (7.2.3) - actionpack (= 7.2.3) - activerecord (= 7.2.3) - activestorage (= 7.2.3) - activesupport (= 7.2.3) + actiontext (7.2.3.1) + actionpack (= 7.2.3.1) + activerecord (= 7.2.3.1) + activestorage (= 7.2.3.1) + activesupport (= 7.2.3.1) globalid (>= 0.6.0) nokogiri (>= 1.8.5) - actionview (7.2.3) - activesupport (= 7.2.3) + actionview (7.2.3.1) + activesupport (= 7.2.3.1) builder (~> 3.1) cgi erubi (~> 1.11) @@ -400,25 +408,25 @@ GEM active_link_to (1.0.5) actionpack addressable - activejob (7.2.3) - activesupport (= 7.2.3) + activejob (7.2.3.1) + activesupport (= 7.2.3.1) globalid (>= 0.3.6) activejob-uniqueness (0.4.0) activejob (>= 4.2, < 8.1) redlock (>= 2.0, < 3) - activemodel (7.2.3) - activesupport (= 7.2.3) - activerecord (7.2.3) - activemodel (= 7.2.3) - activesupport (= 7.2.3) + activemodel (7.2.3.1) + activesupport (= 7.2.3.1) + activerecord (7.2.3.1) + activemodel (= 7.2.3.1) + activesupport (= 7.2.3.1) timeout (>= 0.4.0) - activestorage (7.2.3) - actionpack (= 7.2.3) - activejob (= 7.2.3) - activerecord (= 7.2.3) - activesupport (= 7.2.3) + activestorage (7.2.3.1) + actionpack (= 7.2.3.1) + activejob (= 7.2.3.1) + activerecord (= 7.2.3.1) + activesupport (= 7.2.3.1) marcel (~> 1.0) - activesupport (7.2.3) + activesupport (7.2.3.1) base64 benchmark (>= 0.3) bigdecimal @@ -427,13 +435,13 @@ GEM drb i18n (>= 1.6, < 2) logger (>= 1.4.2) - minitest (>= 5.1) + minitest (>= 5.1, < 6) securerandom (>= 0.3) tzinfo (~> 2.0, >= 2.0.5) acts_as_list (1.2.6) activerecord (>= 6.1) activesupport (>= 6.1) - addressable (2.8.9) + addressable (2.9.0) public_suffix (>= 2.0.2, < 8.0) aes_key_wrap (1.1.0) ast (2.4.3) @@ -459,7 +467,7 @@ GEM aws-eventstream (~> 1, >= 1.0.2) base64 (0.3.0) batch-loader (2.0.6) - bcrypt (3.1.21) + bcrypt (3.1.22) benchmark (0.5.0) better_html (2.2.0) actionview (>= 7.0) @@ -468,7 +476,7 @@ GEM erubi (~> 1.4) parser (>= 2.4) smart_properties - bigdecimal (4.0.1) + bigdecimal (4.1.1) bindata (2.5.1) bindex (0.8.1) bootsnap (1.23.0) @@ -601,7 +609,7 @@ GEM escape_utils (1.3.0) et-orbi (1.4.0) tzinfo - excon (1.4.0) + excon (1.4.2) logger extended-markdown-filter (0.7.0) html-pipeline (~> 2.9) @@ -621,14 +629,14 @@ GEM faraday-net_http (3.4.2) net-http (~> 0.5) fast-stemmer (1.0.2) - ffi (1.17.3-aarch64-linux-gnu) - ffi (1.17.3-aarch64-linux-musl) - ffi (1.17.3-arm-linux-gnu) - ffi (1.17.3-arm-linux-musl) - ffi (1.17.3-arm64-darwin) - ffi (1.17.3-x86_64-darwin) - ffi (1.17.3-x86_64-linux-gnu) - ffi (1.17.3-x86_64-linux-musl) + ffi (1.17.4-aarch64-linux-gnu) + ffi (1.17.4-aarch64-linux-musl) + ffi (1.17.4-arm-linux-gnu) + ffi (1.17.4-arm-linux-musl) + ffi (1.17.4-arm64-darwin) + ffi (1.17.4-x86_64-darwin) + ffi (1.17.4-x86_64-linux-gnu) + ffi (1.17.4-x86_64-linux-musl) fiber-storage (1.0.1) file_validators (3.0.0) activemodel (>= 3.2) @@ -736,7 +744,7 @@ GEM rdoc (>= 4.0.0) reline (>= 0.4.2) jmespath (1.6.2) - json (2.19.1) + json (2.19.3) json-jwt (1.17.0) activesupport (>= 4.2) aes_key_wrap @@ -796,12 +804,10 @@ GEM mime-types (3.7.0) logger mime-types-data (~> 3.2025, >= 3.2025.0507) - mime-types-data (3.2026.0317) + mime-types-data (3.2026.0407) mini_magick (4.13.2) mini_mime (1.1.5) - minitest (6.0.2) - drb (~> 2.0) - prism (~> 1.5) + minitest (5.27.0) msgpack (1.8.0) multi_xml (0.8.1) bigdecimal (>= 3.1, < 5) @@ -817,21 +823,21 @@ GEM net-smtp (0.5.1) net-protocol nio4r (2.7.5) - nokogiri (1.19.1-aarch64-linux-gnu) + nokogiri (1.19.2-aarch64-linux-gnu) racc (~> 1.4) - nokogiri (1.19.1-aarch64-linux-musl) + nokogiri (1.19.2-aarch64-linux-musl) racc (~> 1.4) - nokogiri (1.19.1-arm-linux-gnu) + nokogiri (1.19.2-arm-linux-gnu) racc (~> 1.4) - nokogiri (1.19.1-arm-linux-musl) + nokogiri (1.19.2-arm-linux-musl) racc (~> 1.4) - nokogiri (1.19.1-arm64-darwin) + nokogiri (1.19.2-arm64-darwin) racc (~> 1.4) - nokogiri (1.19.1-x86_64-darwin) + nokogiri (1.19.2-x86_64-darwin) racc (~> 1.4) - nokogiri (1.19.1-x86_64-linux-gnu) + nokogiri (1.19.2-x86_64-linux-gnu) racc (~> 1.4) - nokogiri (1.19.1-x86_64-linux-musl) + nokogiri (1.19.2-x86_64-linux-musl) racc (~> 1.4) oauth (1.1.3) base64 (~> 0.1) @@ -929,7 +935,7 @@ GEM nio4r (~> 2.0) raabro (1.4.0) racc (1.8.1) - rack (2.2.22) + rack (2.2.23) rack-attack (6.8.0) rack (>= 1.0, < 4) rack-cors (1.1.1) @@ -955,20 +961,20 @@ GEM rackup (1.0.1) rack (< 3) webrick - rails (7.2.3) - actioncable (= 7.2.3) - actionmailbox (= 7.2.3) - actionmailer (= 7.2.3) - actionpack (= 7.2.3) - actiontext (= 7.2.3) - actionview (= 7.2.3) - activejob (= 7.2.3) - activemodel (= 7.2.3) - activerecord (= 7.2.3) - activestorage (= 7.2.3) - activesupport (= 7.2.3) + rails (7.2.3.1) + actioncable (= 7.2.3.1) + actionmailbox (= 7.2.3.1) + actionmailer (= 7.2.3.1) + actionpack (= 7.2.3.1) + actiontext (= 7.2.3.1) + actionview (= 7.2.3.1) + activejob (= 7.2.3.1) + activemodel (= 7.2.3.1) + activerecord (= 7.2.3.1) + activestorage (= 7.2.3.1) + activesupport (= 7.2.3.1) bundler (>= 1.15.0) - railties (= 7.2.3) + railties (= 7.2.3.1) rails-controller-testing (1.0.5) actionpack (>= 5.0.1.rc1) actionview (>= 5.0.1.rc1) @@ -983,9 +989,9 @@ GEM rails-i18n (7.0.10) i18n (>= 0.7, < 2) railties (>= 6.0.0, < 8) - railties (7.2.3) - actionpack (= 7.2.3) - activesupport (= 7.2.3) + railties (7.2.3.1) + actionpack (= 7.2.3.1) + activesupport (= 7.2.3.1) cgi irb (~> 1.13) rackup (>= 1.0.0) @@ -1176,7 +1182,7 @@ GEM spring (>= 4) stackprof (0.2.28) stringio (3.2.0) - strscan (3.1.7) + strscan (3.1.8) swd (2.0.3) activesupport (>= 3) attr_required (>= 0.0.5) @@ -1287,6 +1293,7 @@ DEPENDENCIES decidim-cleaner! decidim-collaborative_texts! decidim-conferences! + decidim-decidim_ai_spam_bot! decidim-decidim_awesome! decidim-dev! decidim-elections! From dcfcb4c60b00da16b25d7b1000f1b77ba979014d Mon Sep 17 00:00:00 2001 From: barbara oliveira Date: Tue, 14 Apr 2026 12:31:55 +0200 Subject: [PATCH 4/6] fix CI bundler cache to to fix decidim-ai resolution --- .github/workflows/build_app.yml | 3 ++- .github/workflows/zeitwerk.yml | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build_app.yml b/.github/workflows/build_app.yml index 706f2c0dec..2e01fb8dee 100644 --- a/.github/workflows/build_app.yml +++ b/.github/workflows/build_app.yml @@ -41,6 +41,7 @@ jobs: with: ruby-version: ${{ inputs.ruby_version }} bundler-cache: true + cache-version: 2 - uses: actions/setup-node@v4 with: node-version: ${{ inputs.node_version }} @@ -90,4 +91,4 @@ jobs: - name: Verify cache was saved run: | echo "Cache saved with key: app-${{ github.sha }}" - echo "Cache hit: ${{ steps.cache-save.outputs.cache-hit }}" \ No newline at end of file + echo "Cache hit: ${{ steps.cache-save.outputs.cache-hit }}" diff --git a/.github/workflows/zeitwerk.yml b/.github/workflows/zeitwerk.yml index a44298a551..2381628ec3 100644 --- a/.github/workflows/zeitwerk.yml +++ b/.github/workflows/zeitwerk.yml @@ -20,6 +20,7 @@ jobs: with: ruby-version: ${{ inputs.ruby_version }} bundler-cache: true + cache-version: 2 - name: Check for Zeitwerk errors run: | - bundle exec rails zeitwerk:check \ No newline at end of file + bundle exec rails zeitwerk:check From d4f5e0d4760b6ebbca8574c37af4c35c87b6f05f Mon Sep 17 00:00:00 2001 From: AyakorK Date: Tue, 14 Apr 2026 13:50:35 +0200 Subject: [PATCH 5/6] fix: re-lock decidim-ai to 0.31.2 --- Gemfile.lock | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gemfile.lock b/Gemfile.lock index cd66ae8f9e..f935605c9f 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -27,7 +27,7 @@ GIT revision: 0679c37c7a6bff42a9a8d9b59c137559dfde8291 branch: bump/0.31_third_party_service specs: - decidim-ai (0.31.0) + decidim-ai (0.31.2) classifier-reborn (~> 2.3.0) decidim-core (~> 0.31.0) From a5151c902336949a1c06cb7d350ceadb900beba1 Mon Sep 17 00:00:00 2001 From: barbara oliveira Date: Thu, 16 Apr 2026 11:07:20 +0200 Subject: [PATCH 6/6] Revert "fix CI bundler cache to to fix decidim-ai resolution" This reverts commit dcfcb4c60b00da16b25d7b1000f1b77ba979014d. --- .github/workflows/build_app.yml | 3 +-- .github/workflows/zeitwerk.yml | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build_app.yml b/.github/workflows/build_app.yml index 2e01fb8dee..706f2c0dec 100644 --- a/.github/workflows/build_app.yml +++ b/.github/workflows/build_app.yml @@ -41,7 +41,6 @@ jobs: with: ruby-version: ${{ inputs.ruby_version }} bundler-cache: true - cache-version: 2 - uses: actions/setup-node@v4 with: node-version: ${{ inputs.node_version }} @@ -91,4 +90,4 @@ jobs: - name: Verify cache was saved run: | echo "Cache saved with key: app-${{ github.sha }}" - echo "Cache hit: ${{ steps.cache-save.outputs.cache-hit }}" + echo "Cache hit: ${{ steps.cache-save.outputs.cache-hit }}" \ No newline at end of file diff --git a/.github/workflows/zeitwerk.yml b/.github/workflows/zeitwerk.yml index 2381628ec3..a44298a551 100644 --- a/.github/workflows/zeitwerk.yml +++ b/.github/workflows/zeitwerk.yml @@ -20,7 +20,6 @@ jobs: with: ruby-version: ${{ inputs.ruby_version }} bundler-cache: true - cache-version: 2 - name: Check for Zeitwerk errors run: | - bundle exec rails zeitwerk:check + bundle exec rails zeitwerk:check \ No newline at end of file