From ff43dbe489585c05b11ad851c21916b19a1eef46 Mon Sep 17 00:00:00 2001 From: stephanie rousset Date: Mon, 28 Jul 2025 16:37:29 +0200 Subject: [PATCH 01/11] feat: add ruby-version file --- .ruby-version | 2 +- Gemfile.lock | 792 -------------------------------------------------- 2 files changed, 1 insertion(+), 793 deletions(-) delete mode 100644 Gemfile.lock diff --git a/.ruby-version b/.ruby-version index a603bb5..be94e6f 100644 --- a/.ruby-version +++ b/.ruby-version @@ -1 +1 @@ -2.7.5 +3.2.2 diff --git a/Gemfile.lock b/Gemfile.lock deleted file mode 100644 index 35168c0..0000000 --- a/Gemfile.lock +++ /dev/null @@ -1,792 +0,0 @@ -PATH - remote: . - specs: - decidim-cache_cleaner (1.0.4) - decidim-core (~> 0.26) - -GEM - remote: https://rubygems.org/ - specs: - actioncable (6.0.6.1) - actionpack (= 6.0.6.1) - nio4r (~> 2.0) - websocket-driver (>= 0.6.1) - actionmailbox (6.0.6.1) - actionpack (= 6.0.6.1) - activejob (= 6.0.6.1) - activerecord (= 6.0.6.1) - activestorage (= 6.0.6.1) - activesupport (= 6.0.6.1) - mail (>= 2.7.1) - actionmailer (6.0.6.1) - actionpack (= 6.0.6.1) - actionview (= 6.0.6.1) - activejob (= 6.0.6.1) - mail (~> 2.5, >= 2.5.4) - rails-dom-testing (~> 2.0) - actionpack (6.0.6.1) - actionview (= 6.0.6.1) - activesupport (= 6.0.6.1) - rack (~> 2.0, >= 2.0.8) - rack-test (>= 0.6.3) - rails-dom-testing (~> 2.0) - rails-html-sanitizer (~> 1.0, >= 1.2.0) - actiontext (6.0.6.1) - actionpack (= 6.0.6.1) - activerecord (= 6.0.6.1) - activestorage (= 6.0.6.1) - activesupport (= 6.0.6.1) - nokogiri (>= 1.8.5) - actionview (6.0.6.1) - activesupport (= 6.0.6.1) - builder (~> 3.1) - erubi (~> 1.4) - rails-dom-testing (~> 2.0) - rails-html-sanitizer (~> 1.1, >= 1.2.0) - active_link_to (1.0.5) - actionpack - addressable - activejob (6.0.6.1) - activesupport (= 6.0.6.1) - globalid (>= 0.3.6) - activemodel (6.0.6.1) - activesupport (= 6.0.6.1) - activerecord (6.0.6.1) - activemodel (= 6.0.6.1) - activesupport (= 6.0.6.1) - activestorage (6.0.6.1) - actionpack (= 6.0.6.1) - activejob (= 6.0.6.1) - activerecord (= 6.0.6.1) - marcel (~> 1.0) - activesupport (6.0.6.1) - concurrent-ruby (~> 1.0, >= 1.0.2) - i18n (>= 0.7, < 2) - minitest (~> 5.1) - tzinfo (~> 1.1) - zeitwerk (~> 2.2, >= 2.2.2) - acts_as_list (0.9.19) - activerecord (>= 3.0) - addressable (2.8.1) - public_suffix (>= 2.0.2, < 6.0) - ast (2.4.2) - axe-core-api (4.6.0) - dumb_delegator - virtus - axe-core-rspec (4.1.0) - axe-core-api - dumb_delegator - virtus - axiom-types (0.1.1) - descendants_tracker (~> 0.0.4) - ice_nine (~> 0.11.0) - thread_safe (~> 0.3, >= 0.3.1) - batch-loader (1.5.0) - bcrypt (3.1.18) - better_html (1.0.16) - actionview (>= 4.0) - activesupport (>= 4.0) - ast (~> 2.0) - erubi (~> 1.4) - html_tokenizer (~> 0.0.6) - parser (>= 2.4) - smart_properties - bindex (0.8.1) - bootsnap (1.16.0) - msgpack (~> 1.2) - browser (2.7.1) - builder (3.2.4) - byebug (11.1.3) - capybara (3.38.0) - addressable - matrix - mini_mime (>= 0.1.3) - nokogiri (~> 1.8) - rack (>= 1.6.0) - rack-test (>= 0.6.3) - regexp_parser (>= 1.5, < 3.0) - xpath (~> 3.2) - carrierwave (2.2.3) - activemodel (>= 5.0.0) - activesupport (>= 5.0.0) - addressable (~> 2.6) - image_processing (~> 1.1) - marcel (~> 1.0.0) - mini_mime (>= 0.1.3) - ssrf_filter (~> 1.0) - cells (4.1.7) - declarative-builder (< 0.2.0) - declarative-option (< 0.2.0) - tilt (>= 1.4, < 3) - uber (< 0.2.0) - cells-erb (0.1.0) - cells (~> 4.0) - erbse (>= 0.1.1) - cells-rails (0.1.5) - actionpack (>= 5.0) - cells (>= 4.1.6, < 5.0.0) - charlock_holmes (0.7.7) - chef-utils (18.1.0) - concurrent-ruby - childprocess (3.0.0) - coercible (1.0.0) - descendants_tracker (~> 0.0.1) - coffee-rails (5.0.0) - coffee-script (>= 2.2.0) - railties (>= 5.2.0) - coffee-script (2.4.1) - coffee-script-source - execjs - coffee-script-source (1.12.2) - concurrent-ruby (1.2.2) - crack (0.4.5) - rexml - crass (1.0.6) - css_parser (1.14.0) - addressable - date (3.3.3) - date_validator (0.9.0) - activemodel - activesupport - db-query-matchers (0.10.0) - activesupport (>= 4.0, < 7) - rspec (~> 3.0) - decidim (0.26.5) - decidim-accountability (= 0.26.5) - decidim-admin (= 0.26.5) - decidim-api (= 0.26.5) - decidim-assemblies (= 0.26.5) - decidim-blogs (= 0.26.5) - decidim-budgets (= 0.26.5) - decidim-comments (= 0.26.5) - decidim-core (= 0.26.5) - decidim-debates (= 0.26.5) - decidim-forms (= 0.26.5) - decidim-generators (= 0.26.5) - decidim-meetings (= 0.26.5) - decidim-pages (= 0.26.5) - decidim-participatory_processes (= 0.26.5) - decidim-proposals (= 0.26.5) - decidim-sortitions (= 0.26.5) - decidim-surveys (= 0.26.5) - decidim-system (= 0.26.5) - decidim-templates (= 0.26.5) - decidim-verifications (= 0.26.5) - decidim-accountability (0.26.5) - decidim-comments (= 0.26.5) - decidim-core (= 0.26.5) - decidim-admin (0.26.5) - active_link_to (~> 1.0) - decidim-core (= 0.26.5) - devise (~> 4.7) - devise-i18n (~> 1.2) - devise_invitable (~> 2.0) - decidim-api (0.26.5) - graphql (~> 1.12, < 1.13) - rack-cors (~> 1.0) - redcarpet (~> 3.5, >= 3.5.1) - decidim-assemblies (0.26.5) - decidim-core (= 0.26.5) - decidim-blogs (0.26.5) - decidim-admin (= 0.26.5) - decidim-comments (= 0.26.5) - decidim-core (= 0.26.5) - decidim-budgets (0.26.5) - decidim-comments (= 0.26.5) - decidim-core (= 0.26.5) - decidim-comments (0.26.5) - decidim-core (= 0.26.5) - redcarpet (~> 3.5, >= 3.5.1) - decidim-core (0.26.5) - active_link_to (~> 1.0) - acts_as_list (~> 0.9) - batch-loader (~> 1.2) - browser (~> 2.7) - carrierwave (~> 2.2.1) - cells-erb (~> 0.1.0) - cells-rails (~> 0.1.3) - charlock_holmes (~> 0.7) - date_validator (~> 0.9.0) - decidim-api (= 0.26.5) - devise (~> 4.7) - devise-i18n (~> 1.2) - diffy (~> 3.3) - doorkeeper (~> 5.1) - doorkeeper-i18n (~> 4.0) - file_validators (~> 2.1) - fog-local (~> 0.6) - foundation_rails_helper - geocoder (~> 1.7.5) - hashdiff (>= 0.4.0, < 2.0.0) - invisible_captcha (~> 0.12) - kaminari (~> 1.2, >= 1.2.1) - loofah (~> 2.3.1) - mime-types (>= 1.16, < 4.0) - mini_magick (~> 4.9) - mustache (~> 1.1.0) - omniauth (~> 2.0) - omniauth-facebook (~> 5.0) - omniauth-google-oauth2 (~> 1.0) - omniauth-rails_csrf_protection (~> 1.0) - omniauth-twitter (~> 1.4) - paper_trail (~> 12.0) - pg (~> 1.1.4, < 2) - pg_search (~> 2.2) - premailer-rails (~> 1.10) - rack (~> 2.2, >= 2.2.3) - rack-attack (~> 6.0) - rails (~> 6.0.4) - rails-i18n (~> 6.0) - ransack (~> 2.4.1) - rectify (~> 0.13.0) - redis (~> 4.1) - request_store (~> 1.5.0) - rubyXL (~> 3.4) - rubyzip (~> 2.0) - searchlight (~> 4.1) - seven_zip_ruby (~> 1.3) - social-share-button (~> 1.2, >= 1.2.1) - valid_email2 (~> 2.1) - webpacker (= 6.0.0.rc.5) - wisper (~> 2.0) - decidim-debates (0.26.5) - decidim-comments (= 0.26.5) - decidim-core (= 0.26.5) - decidim-dev (0.26.5) - axe-core-rspec (~> 4.1.0) - byebug (~> 11.0) - capybara (~> 3.24) - db-query-matchers (~> 0.10.0) - decidim (= 0.26.5) - erb_lint (~> 0.0.35) - factory_bot_rails (~> 4.8) - i18n-tasks (~> 0.9.18) - mdl (~> 0.5) - nokogiri (~> 1.12) - puma (~> 5.0) - rails-controller-testing (~> 1.0) - rspec-cells (~> 0.3.4) - rspec-html-matchers (~> 0.9.1) - rspec-rails (~> 4.0) - rspec-retry (~> 0.6.2) - rspec_junit_formatter (~> 0.3.0) - rubocop (~> 0.92.0) - rubocop-rails (~> 2.8) - rubocop-rspec (= 1.43.2) - selenium-webdriver (~> 3.142) - simplecov (~> 0.19.0) - simplecov-cobertura (~> 1.3.1) - system_test_html_screenshots (~> 0.2) - w3c_rspec_validators (~> 0.3.0) - webmock (~> 3.6) - wisper-rspec (~> 1.0) - decidim-forms (0.26.5) - decidim-core (= 0.26.5) - wicked_pdf (~> 2.1) - wkhtmltopdf-binary (~> 0.12) - decidim-generators (0.26.5) - decidim-core (= 0.26.5) - decidim-meetings (0.26.5) - decidim-core (= 0.26.5) - decidim-forms (= 0.26.5) - icalendar (~> 2.5) - decidim-pages (0.26.5) - decidim-core (= 0.26.5) - decidim-participatory_processes (0.26.5) - decidim-core (= 0.26.5) - decidim-proposals (0.26.5) - decidim-comments (= 0.26.5) - decidim-core (= 0.26.5) - doc2text (~> 0.4.4) - redcarpet (~> 3.5, >= 3.5.1) - decidim-sortitions (0.26.5) - decidim-admin (= 0.26.5) - decidim-comments (= 0.26.5) - decidim-core (= 0.26.5) - decidim-proposals (= 0.26.5) - decidim-surveys (0.26.5) - decidim-core (= 0.26.5) - decidim-forms (= 0.26.5) - decidim-templates (= 0.26.5) - decidim-system (0.26.5) - active_link_to (~> 1.0) - decidim-core (= 0.26.5) - devise (~> 4.7) - devise-i18n (~> 1.2) - devise_invitable (~> 2.0) - decidim-templates (0.26.5) - decidim-core (= 0.26.5) - decidim-forms (= 0.26.5) - decidim-verifications (0.26.5) - decidim-core (= 0.26.5) - declarative-builder (0.1.0) - declarative-option (< 0.2.0) - declarative-option (0.1.0) - descendants_tracker (0.0.4) - thread_safe (~> 0.3, >= 0.3.1) - devise (4.9.0) - bcrypt (~> 3.0) - orm_adapter (~> 0.1) - railties (>= 4.1.0) - responders - warden (~> 1.2.3) - devise-i18n (1.11.0) - devise (>= 4.9.0) - devise_invitable (2.0.7) - actionmailer (>= 5.0) - devise (>= 4.6) - diff-lcs (1.5.0) - diffy (3.4.2) - doc2text (0.4.5) - nokogiri (>= 1.13.2, < 1.14.0) - rubyzip (~> 2.3.0) - docile (1.4.0) - doorkeeper (5.6.5) - railties (>= 5) - doorkeeper-i18n (4.0.1) - dumb_delegator (1.0.0) - equalizer (0.0.11) - erb_lint (0.0.37) - activesupport - better_html (~> 1.0.7) - html_tokenizer - parser (>= 2.7.1.4) - rainbow - rubocop - smart_properties - erbse (0.1.4) - temple - erubi (1.12.0) - excon (0.99.0) - execjs (2.8.1) - factory_bot (4.11.1) - activesupport (>= 3.0.0) - factory_bot_rails (4.11.1) - factory_bot (~> 4.11.1) - railties (>= 3.0.0) - faker (2.23.0) - i18n (>= 1.8.11, < 2) - faraday (2.7.4) - faraday-net_http (>= 2.0, < 3.1) - ruby2_keywords (>= 0.0.4) - faraday-net_http (3.0.2) - ffi (1.15.5) - file_validators (2.3.0) - activemodel (>= 3.2) - mime-types (>= 1.0) - fog-core (2.3.0) - builder - excon (~> 0.71) - formatador (>= 0.2, < 2.0) - mime-types - fog-local (0.8.0) - fog-core (>= 1.27, < 3.0) - formatador (1.1.0) - foundation_rails_helper (4.0.1) - actionpack (>= 4.1, < 7.1) - activemodel (>= 4.1, < 7.1) - activesupport (>= 4.1, < 7.1) - railties (>= 4.1, < 7.1) - geocoder (1.7.5) - globalid (1.1.0) - activesupport (>= 5.0) - graphql (1.12.24) - hashdiff (1.0.1) - hashie (5.0.0) - highline (2.1.0) - html_tokenizer (0.0.7) - htmlentities (4.3.4) - i18n (1.12.0) - concurrent-ruby (~> 1.0) - i18n-tasks (0.9.37) - activesupport (>= 4.0.2) - ast (>= 2.1.0) - erubi - highline (>= 2.0.0) - i18n - parser (>= 2.2.3.0) - rails-i18n - rainbow (>= 2.2.2, < 4.0) - terminal-table (>= 1.5.1) - icalendar (2.8.0) - ice_cube (~> 0.16) - ice_cube (0.16.4) - ice_nine (0.11.2) - image_processing (1.12.2) - mini_magick (>= 4.9.5, < 5) - ruby-vips (>= 2.0.17, < 3) - invisible_captcha (0.13.0) - rails (>= 3.2.0) - json (2.6.3) - jwt (2.7.0) - kaminari (1.2.2) - activesupport (>= 4.1.0) - kaminari-actionview (= 1.2.2) - kaminari-activerecord (= 1.2.2) - kaminari-core (= 1.2.2) - kaminari-actionview (1.2.2) - actionview - kaminari-core (= 1.2.2) - kaminari-activerecord (1.2.2) - activerecord - kaminari-core (= 1.2.2) - kaminari-core (1.2.2) - kramdown (2.4.0) - rexml - kramdown-parser-gfm (1.1.0) - kramdown (~> 2.0) - launchy (2.5.2) - addressable (~> 2.8) - letter_opener (1.8.1) - launchy (>= 2.2, < 3) - letter_opener_web (1.4.1) - actionmailer (>= 3.2) - letter_opener (~> 1.0) - railties (>= 3.2) - listen (3.8.0) - rb-fsevent (~> 0.10, >= 0.10.3) - rb-inotify (~> 0.9, >= 0.9.10) - loofah (2.3.1) - crass (~> 1.0.2) - nokogiri (>= 1.5.9) - mail (2.8.1) - mini_mime (>= 0.1.1) - net-imap - net-pop - net-smtp - marcel (1.0.2) - matrix (0.4.2) - mdl (0.12.0) - kramdown (~> 2.3) - kramdown-parser-gfm (~> 1.1) - mixlib-cli (~> 2.1, >= 2.1.1) - mixlib-config (>= 2.2.1, < 4) - mixlib-shellout - method_source (1.0.0) - mime-types (3.4.1) - mime-types-data (~> 3.2015) - mime-types-data (3.2023.0218.1) - mini_magick (4.12.0) - mini_mime (1.1.2) - minitest (5.17.0) - mixlib-cli (2.1.8) - mixlib-config (3.0.27) - tomlrb - mixlib-shellout (3.2.7) - chef-utils - msgpack (1.6.0) - multi_xml (0.6.0) - mustache (1.1.1) - net-imap (0.3.4) - date - net-protocol - net-pop (0.1.2) - net-protocol - net-protocol (0.2.1) - timeout - net-smtp (0.3.3) - net-protocol - nio4r (2.5.8) - nokogiri (1.13.10-arm64-darwin) - racc (~> 1.4) - nokogiri (1.13.10-x86_64-linux) - racc (~> 1.4) - oauth (1.1.0) - oauth-tty (~> 1.0, >= 1.0.1) - snaky_hash (~> 2.0) - version_gem (~> 1.1) - oauth-tty (1.0.5) - version_gem (~> 1.1, >= 1.1.1) - oauth2 (2.0.9) - faraday (>= 0.17.3, < 3.0) - jwt (>= 1.0, < 3.0) - multi_xml (~> 0.5) - rack (>= 1.2, < 4) - snaky_hash (~> 2.0) - version_gem (~> 1.1) - omniauth (2.1.1) - hashie (>= 3.4.6) - rack (>= 2.2.3) - rack-protection - omniauth-facebook (5.0.0) - omniauth-oauth2 (~> 1.2) - omniauth-google-oauth2 (1.1.1) - jwt (>= 2.0) - oauth2 (~> 2.0.6) - omniauth (~> 2.0) - omniauth-oauth2 (~> 1.8.0) - omniauth-oauth (1.2.0) - oauth - omniauth (>= 1.0, < 3) - omniauth-oauth2 (1.8.0) - oauth2 (>= 1.4, < 3) - omniauth (~> 2.0) - omniauth-rails_csrf_protection (1.0.1) - actionpack (>= 4.2) - omniauth (~> 2.0) - omniauth-twitter (1.4.0) - omniauth-oauth (~> 1.1) - rack - orm_adapter (0.5.0) - paper_trail (12.3.0) - activerecord (>= 5.2) - request_store (~> 1.1) - parallel (1.22.1) - parser (3.2.1.0) - ast (~> 2.4.1) - pg (1.1.4) - pg_search (2.3.6) - activerecord (>= 5.2) - activesupport (>= 5.2) - premailer (1.19.0) - addressable - css_parser (>= 1.12.0) - htmlentities (>= 4.0.0) - premailer-rails (1.12.0) - actionmailer (>= 3) - net-smtp - premailer (~> 1.7, >= 1.7.9) - public_suffix (5.0.1) - puma (5.6.5) - nio4r (~> 2.0) - racc (1.6.2) - rack (2.2.6.2) - rack-attack (6.6.1) - rack (>= 1.0, < 3) - rack-cors (1.1.1) - rack (>= 2.0.0) - rack-protection (3.0.5) - rack - rack-proxy (0.7.6) - rack - rack-test (2.0.2) - rack (>= 1.3) - rails (6.0.6.1) - actioncable (= 6.0.6.1) - actionmailbox (= 6.0.6.1) - actionmailer (= 6.0.6.1) - actionpack (= 6.0.6.1) - actiontext (= 6.0.6.1) - actionview (= 6.0.6.1) - activejob (= 6.0.6.1) - activemodel (= 6.0.6.1) - activerecord (= 6.0.6.1) - activestorage (= 6.0.6.1) - activesupport (= 6.0.6.1) - bundler (>= 1.3.0) - railties (= 6.0.6.1) - sprockets-rails (>= 2.0.0) - rails-controller-testing (1.0.5) - actionpack (>= 5.0.1.rc1) - actionview (>= 5.0.1.rc1) - activesupport (>= 5.0.1.rc1) - rails-dom-testing (2.0.3) - activesupport (>= 4.2.0) - nokogiri (>= 1.6) - rails-html-sanitizer (1.4.3) - loofah (~> 2.3) - rails-i18n (6.0.0) - i18n (>= 0.7, < 2) - railties (>= 6.0.0, < 7) - railties (6.0.6.1) - actionpack (= 6.0.6.1) - activesupport (= 6.0.6.1) - method_source - rake (>= 0.8.7) - thor (>= 0.20.3, < 2.0) - rainbow (3.1.1) - rake (13.0.6) - ransack (2.4.2) - activerecord (>= 5.2.4) - activesupport (>= 5.2.4) - i18n - rb-fsevent (0.11.2) - rb-inotify (0.10.1) - ffi (~> 1.0) - rectify (0.13.0) - activemodel (>= 4.1.0) - activerecord (>= 4.1.0) - activesupport (>= 4.1.0) - virtus (~> 1.0.5) - wisper (>= 1.6.1) - redcarpet (3.6.0) - redis (4.8.1) - regexp_parser (2.7.0) - request_store (1.5.1) - rack (>= 1.4) - responders (3.1.0) - actionpack (>= 5.2) - railties (>= 5.2) - rexml (3.2.5) - rspec (3.12.0) - rspec-core (~> 3.12.0) - rspec-expectations (~> 3.12.0) - rspec-mocks (~> 3.12.0) - rspec-cells (0.3.8) - cells (>= 4.0.0, < 6.0.0) - rspec-rails (>= 3.0.0, < 6.1.0) - rspec-core (3.12.1) - rspec-support (~> 3.12.0) - rspec-expectations (3.12.2) - diff-lcs (>= 1.2.0, < 2.0) - rspec-support (~> 3.12.0) - rspec-html-matchers (0.9.4) - nokogiri (~> 1) - rspec (>= 3.0.0.a, < 4) - rspec-mocks (3.12.3) - diff-lcs (>= 1.2.0, < 2.0) - rspec-support (~> 3.12.0) - rspec-rails (4.1.2) - actionpack (>= 4.2) - activesupport (>= 4.2) - railties (>= 4.2) - rspec-core (~> 3.10) - rspec-expectations (~> 3.10) - rspec-mocks (~> 3.10) - rspec-support (~> 3.10) - rspec-retry (0.6.2) - rspec-core (> 3.3) - rspec-support (3.12.0) - rspec_junit_formatter (0.3.0) - rspec-core (>= 2, < 4, != 2.12.0) - rubocop (0.92.0) - parallel (~> 1.10) - parser (>= 2.7.1.5) - rainbow (>= 2.2.2, < 4.0) - regexp_parser (>= 1.7) - rexml - rubocop-ast (>= 0.5.0) - ruby-progressbar (~> 1.7) - unicode-display_width (>= 1.4.0, < 2.0) - rubocop-ast (1.27.0) - parser (>= 3.2.1.0) - rubocop-faker (1.1.0) - faker (>= 2.12.0) - rubocop (>= 0.82.0) - rubocop-rails (2.9.1) - activesupport (>= 4.2.0) - rack (>= 1.1) - rubocop (>= 0.90.0, < 2.0) - rubocop-rspec (1.43.2) - rubocop (~> 0.87) - ruby-progressbar (1.11.0) - ruby-vips (2.1.4) - ffi (~> 1.12) - ruby2_keywords (0.0.5) - rubyXL (3.4.25) - nokogiri (>= 1.10.8) - rubyzip (>= 1.3.0) - rubyzip (2.3.2) - searchlight (4.1.0) - selenium-webdriver (3.142.7) - childprocess (>= 0.5, < 4.0) - rubyzip (>= 1.2.2) - semantic_range (3.0.0) - seven_zip_ruby (1.3.0) - simplecov (0.19.1) - docile (~> 1.1) - simplecov-html (~> 0.11) - simplecov-cobertura (1.3.1) - simplecov (~> 0.8) - simplecov-html (0.12.3) - smart_properties (1.17.0) - snaky_hash (2.0.1) - hashie - version_gem (~> 1.1, >= 1.1.1) - social-share-button (1.2.4) - coffee-rails - spring (2.1.1) - spring-watcher-listen (2.0.1) - listen (>= 2.7, < 4.0) - spring (>= 1.2, < 3.0) - sprockets (4.2.0) - concurrent-ruby (~> 1.0) - rack (>= 2.2.4, < 4) - sprockets-rails (3.4.2) - actionpack (>= 5.2) - activesupport (>= 5.2) - sprockets (>= 3.0.0) - ssrf_filter (1.1.1) - system_test_html_screenshots (0.2.0) - actionpack (>= 5.2, < 6.1.a) - temple (0.10.0) - terminal-table (3.0.2) - unicode-display_width (>= 1.1.1, < 3) - thor (1.2.1) - thread_safe (0.3.6) - tilt (2.1.0) - timeout (0.3.2) - tomlrb (2.0.3) - tzinfo (1.2.11) - thread_safe (~> 0.1) - uber (0.1.0) - unicode-display_width (1.8.0) - valid_email2 (2.3.1) - activemodel (>= 3.2) - mail (~> 2.5) - version_gem (1.1.1) - virtus (1.0.5) - axiom-types (~> 0.1) - coercible (~> 1.0) - descendants_tracker (~> 0.0, >= 0.0.3) - equalizer (~> 0.0, >= 0.0.9) - w3c_rspec_validators (0.3.0) - rails - rspec - w3c_validators - w3c_validators (1.3.7) - json (>= 1.8) - nokogiri (~> 1.6) - rexml (~> 3.2) - warden (1.2.9) - rack (>= 2.0.9) - web-console (4.2.0) - actionview (>= 6.0.0) - activemodel (>= 6.0.0) - bindex (>= 0.4.0) - railties (>= 6.0.0) - webmock (3.18.1) - addressable (>= 2.8.0) - crack (>= 0.3.2) - hashdiff (>= 0.4.0, < 2.0.0) - webpacker (6.0.0.rc.5) - activesupport (>= 5.2) - rack-proxy (>= 0.6.1) - railties (>= 5.2) - semantic_range (>= 2.3.0) - websocket-driver (0.7.5) - websocket-extensions (>= 0.1.0) - websocket-extensions (0.1.5) - wicked_pdf (2.6.3) - activesupport - wisper (2.0.1) - wisper-rspec (1.1.0) - wkhtmltopdf-binary (0.12.6.6) - xpath (3.2.0) - nokogiri (~> 1.8) - zeitwerk (2.6.7) - -PLATFORMS - arm64-darwin-21 - x86_64-linux - -DEPENDENCIES - bootsnap (~> 1.4) - byebug (~> 11.0) - decidim - decidim-cache_cleaner! - decidim-dev - faker (~> 2.14) - letter_opener_web (~> 1.3) - listen (~> 3.1) - puma (>= 4.3) - rubocop-faker - spring (~> 2.0) - spring-watcher-listen (~> 2.0) - web-console (~> 4.0) - -RUBY VERSION - ruby 2.7.5p203 - -BUNDLED WITH - 2.3.13 From 6a9c5e9a2aa830df419caf00149be7356eee1b4d Mon Sep 17 00:00:00 2001 From: stephanie rousset Date: Mon, 28 Jul 2025 16:38:34 +0200 Subject: [PATCH 02/11] feat: update versions --- .rubocop_ruby.yml | 4 ++-- Gemfile | 10 +++++----- decidim-cache_cleaner.gemspec | 4 ++-- lib/decidim/cache_cleaner/version.rb | 4 ++-- 4 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.rubocop_ruby.yml b/.rubocop_ruby.yml index 2513ba9..ecb9499 100644 --- a/.rubocop_ruby.yml +++ b/.rubocop_ruby.yml @@ -68,7 +68,7 @@ AllCops: # If a value is specified for TargetRubyVersion then it is used. # Else if .ruby-version exists and it contains an MRI version it is used. # Otherwise we fallback to the oldest officially supported Ruby version (2.0). - TargetRubyVersion: 2.7 + TargetRubyVersion: 3.2.2 # Indent private/protected/public as deep as method definitions Layout/AccessModifierIndentation: @@ -1756,4 +1756,4 @@ Faker/DeprecatedArguments: - random_words_to_add questions: - number - - supplemental \ No newline at end of file + - supplemental diff --git a/Gemfile b/Gemfile index 144a635..068ab0e 100644 --- a/Gemfile +++ b/Gemfile @@ -8,7 +8,7 @@ gem "decidim" gem "decidim-cache_cleaner", path: "." gem "bootsnap", "~> 1.4" -gem "puma", ">= 4.3" +gem "puma", ">= 6.3.1" group :test do gem "rubocop-faker" @@ -20,10 +20,10 @@ group :development, :test do end group :development do - gem "faker", "~> 2.14" - gem "letter_opener_web", "~> 1.3" + gem "faker", "~> 3.2" + gem "letter_opener_web", "~> 2.0" gem "listen", "~> 3.1" - gem "spring", "~> 2.0" + gem "spring", "~> 4.0" gem "spring-watcher-listen", "~> 2.0" - gem "web-console", "~> 4.0" + gem "web-console", "~> 4.2" end diff --git a/decidim-cache_cleaner.gemspec b/decidim-cache_cleaner.gemspec index e48a9e6..7775fc8 100644 --- a/decidim-cache_cleaner.gemspec +++ b/decidim-cache_cleaner.gemspec @@ -10,7 +10,7 @@ Gem::Specification.new do |s| s.email = ["fardeauarmand@gmail.com"] s.license = "AGPL-3.0" s.homepage = "https://github.com/OpenSourcePolitics/decidim-module-cache_cleaner" - s.required_ruby_version = ">= 2.7" + s.required_ruby_version = "~> 3.2" s.name = "decidim-cache_cleaner" s.summary = "A decidim cache_cleaner module" @@ -18,6 +18,6 @@ Gem::Specification.new do |s| s.files = Dir["{app,config,lib}/**/*", "LICENSE-AGPLv3.txt", "Rakefile", "README.md"] - s.add_dependency "decidim-core", "~> #{Decidim::CacheCleaner.decidim_compatible_version}" + s.add_dependency "decidim-core", Decidim::CacheCleaner.decidim_compatible_version s.add_development_dependency "rubocop-faker" end diff --git a/lib/decidim/cache_cleaner/version.rb b/lib/decidim/cache_cleaner/version.rb index ddfa851..32c60aa 100644 --- a/lib/decidim/cache_cleaner/version.rb +++ b/lib/decidim/cache_cleaner/version.rb @@ -6,12 +6,12 @@ module Decidim module CacheCleaner # Returns the version of the current build. def self.version - "1.0.4" + "1.1" end # Returns the version of Decidim this module is compatible with. def self.decidim_compatible_version - "0.26" + "~> 0.29.0" end end end From ab9903ac69620c0390334b10489c5afb732a9647 Mon Sep 17 00:00:00 2001 From: stephanie rousset Date: Mon, 28 Jul 2025 16:39:09 +0200 Subject: [PATCH 03/11] feat: register missing icon --- lib/decidim/cache_cleaner/admin_engine.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/decidim/cache_cleaner/admin_engine.rb b/lib/decidim/cache_cleaner/admin_engine.rb index 2a6efb8..9fb36cc 100644 --- a/lib/decidim/cache_cleaner/admin_engine.rb +++ b/lib/decidim/cache_cleaner/admin_engine.rb @@ -38,6 +38,10 @@ def load_seed ) end end + + initializer "decidim_cache_cleaner.register_icons" do |_app| + Decidim.icons.register(name: "book", icon: "book", category: "system", description: "", engine: :core) + end # :nocov: end end From 5ab6cbdb5c44c39e4e049117ef1a1b51ab2d7163 Mon Sep 17 00:00:00 2001 From: stephanie rousset Date: Mon, 28 Jul 2025 16:39:40 +0200 Subject: [PATCH 04/11] test: update tests --- .../cache_cleaner/admin/cache_manager_controller_spec.rb | 4 ++-- spec/system/admin_clears_cache_spec.rb | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/spec/controllers/decidim/cache_cleaner/admin/cache_manager_controller_spec.rb b/spec/controllers/decidim/cache_cleaner/admin/cache_manager_controller_spec.rb index d4d218c..1b9692d 100644 --- a/spec/controllers/decidim/cache_cleaner/admin/cache_manager_controller_spec.rb +++ b/spec/controllers/decidim/cache_cleaner/admin/cache_manager_controller_spec.rb @@ -26,7 +26,7 @@ post :clear expect(flash[:notice]).to be_present - expect(subject).to redirect_to(root_path) + expect(subject).to redirect_to("/admin/cache_cleaner/") end context "when cache_manger doesn't clear" do @@ -40,7 +40,7 @@ post :clear expect(flash[:alert]).to be_present - expect(subject).to redirect_to(root_path) + expect(subject).to redirect_to("/admin/cache_cleaner/") end end end diff --git a/spec/system/admin_clears_cache_spec.rb b/spec/system/admin_clears_cache_spec.rb index edded3a..a987117 100644 --- a/spec/system/admin_clears_cache_spec.rb +++ b/spec/system/admin_clears_cache_spec.rb @@ -22,7 +22,7 @@ it "Clears the cache" do click_link "I understood, clear the cache" expect(page).to have_content("I understood that this action will slow down my application while it regenerates the cache. Are you sure you want to clear the cache?") - click_link "OK" + click_link_or_button "OK" expect(page).to have_content("Cache cleared successfully") end end From 24269877cf776f04a47fc868b00b9a0dffe791c5 Mon Sep 17 00:00:00 2001 From: stephanie rousset Date: Mon, 28 Jul 2025 16:40:13 +0200 Subject: [PATCH 05/11] ci: update ci actions versions --- .github/workflows/ci_cd.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci_cd.yml b/.github/workflows/ci_cd.yml index 5695f34..df1d3b6 100644 --- a/.github/workflows/ci_cd.yml +++ b/.github/workflows/ci_cd.yml @@ -15,7 +15,7 @@ jobs: if: "github.ref != 'refs/heads/develop'" env: GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" - - uses: actions/checkout@v2.0.0 + - uses: actions/checkout@v4 with: fetch-depth: 1 - uses: ruby/setup-ruby@v1 @@ -47,7 +47,7 @@ jobs: if: "github.ref != 'refs/heads/develop'" env: GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" - - uses: actions/checkout@v2.0.0 + - uses: actions/checkout@v4 with: fetch-depth: 1 - uses: ruby/setup-ruby@v1 @@ -57,7 +57,7 @@ jobs: name: Create test app - run: mkdir -p ./spec/decidim_dummy_app/tmp/screenshots name: Create the screenshots folder - - uses: nanasess/setup-chromedriver@v1.0.1 + - uses: nanasess/setup-chromedriver@v2 - name: Run precompile if needed run: | if [[ -d "app/views" ]] || [[ -d "spec/mailers" ]] || [[ -d "spec/system" ]]; then @@ -68,8 +68,8 @@ jobs: fi - run: bundle exec rspec name: RSpec - - uses: codecov/codecov-action@v1 - - uses: actions/upload-artifact@v2 + - uses: codecov/codecov-action@v3 + - uses: actions/upload-artifact@v4 if: always() with: name: screenshots @@ -80,7 +80,7 @@ jobs: needs: [tests, lint] runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2.0.0 + - uses: actions/checkout@v4 with: fetch-depth: 1 - uses: ruby/setup-ruby@v1 @@ -106,7 +106,7 @@ jobs: needs: release runs-on: ubuntu-latest steps: - - uses: actions/checkout@v1 + - uses: actions/checkout@v4 - name: Publish to RubyGems run: | mkdir -p $HOME/.gem @@ -116,4 +116,4 @@ jobs: gem build *.gemspec gem push *.gem env: - GEM_HOST_API_KEY: "${{secrets.RUBYGEMS_API_KEY}}" \ No newline at end of file + GEM_HOST_API_KEY: "${{secrets.RUBYGEMS_API_KEY}}" From 9e27b046b2fc036a40a6cdefc80f408cb3df0bcc Mon Sep 17 00:00:00 2001 From: stephanie rousset Date: Mon, 28 Jul 2025 16:40:39 +0200 Subject: [PATCH 06/11] feat: update Gemfile.lock --- Gemfile.lock | 810 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 810 insertions(+) create mode 100644 Gemfile.lock diff --git a/Gemfile.lock b/Gemfile.lock new file mode 100644 index 0000000..3d05e91 --- /dev/null +++ b/Gemfile.lock @@ -0,0 +1,810 @@ +PATH + remote: . + specs: + decidim-cache_cleaner (1.1) + decidim-core (~> 0.29.0) + +GEM + remote: https://rubygems.org/ + specs: + actioncable (7.0.8.7) + actionpack (= 7.0.8.7) + activesupport (= 7.0.8.7) + nio4r (~> 2.0) + websocket-driver (>= 0.6.1) + actionmailbox (7.0.8.7) + actionpack (= 7.0.8.7) + activejob (= 7.0.8.7) + activerecord (= 7.0.8.7) + activestorage (= 7.0.8.7) + activesupport (= 7.0.8.7) + mail (>= 2.7.1) + net-imap + net-pop + net-smtp + actionmailer (7.0.8.7) + actionpack (= 7.0.8.7) + actionview (= 7.0.8.7) + activejob (= 7.0.8.7) + activesupport (= 7.0.8.7) + mail (~> 2.5, >= 2.5.4) + net-imap + net-pop + net-smtp + rails-dom-testing (~> 2.0) + actionpack (7.0.8.7) + actionview (= 7.0.8.7) + activesupport (= 7.0.8.7) + rack (~> 2.0, >= 2.2.4) + rack-test (>= 0.6.3) + rails-dom-testing (~> 2.0) + rails-html-sanitizer (~> 1.0, >= 1.2.0) + actiontext (7.0.8.7) + actionpack (= 7.0.8.7) + activerecord (= 7.0.8.7) + activestorage (= 7.0.8.7) + activesupport (= 7.0.8.7) + globalid (>= 0.6.0) + nokogiri (>= 1.8.5) + actionview (7.0.8.7) + activesupport (= 7.0.8.7) + builder (~> 3.1) + erubi (~> 1.4) + rails-dom-testing (~> 2.0) + rails-html-sanitizer (~> 1.1, >= 1.2.0) + active_link_to (1.0.5) + actionpack + addressable + activejob (7.0.8.7) + activesupport (= 7.0.8.7) + globalid (>= 0.3.6) + activemodel (7.0.8.7) + activesupport (= 7.0.8.7) + activerecord (7.0.8.7) + activemodel (= 7.0.8.7) + activesupport (= 7.0.8.7) + activestorage (7.0.8.7) + actionpack (= 7.0.8.7) + activejob (= 7.0.8.7) + activerecord (= 7.0.8.7) + activesupport (= 7.0.8.7) + marcel (~> 1.0) + mini_mime (>= 1.1.0) + activesupport (7.0.8.7) + concurrent-ruby (~> 1.0, >= 1.0.2) + i18n (>= 1.6, < 2) + minitest (>= 5.1) + tzinfo (~> 2.0) + acts_as_list (1.2.4) + activerecord (>= 6.1) + activesupport (>= 6.1) + addressable (2.8.7) + public_suffix (>= 2.0.2, < 7.0) + ast (2.4.3) + base64 (0.2.0) + batch-loader (1.5.0) + bcrypt (3.1.20) + better_html (2.1.1) + actionview (>= 6.0) + activesupport (>= 6.0) + ast (~> 2.0) + erubi (~> 1.4) + parser (>= 2.4) + smart_properties + bigdecimal (3.2.2) + bindex (0.8.1) + bootsnap (1.18.4) + msgpack (~> 1.2) + browser (2.7.1) + builder (3.3.0) + bullet (7.1.6) + activesupport (>= 3.0.0) + uniform_notifier (~> 1.11) + byebug (11.1.3) + capybara (3.40.0) + addressable + matrix + mini_mime (>= 0.1.3) + nokogiri (~> 1.11) + rack (>= 1.6.0) + rack-test (>= 0.6.3) + regexp_parser (>= 1.5, < 3.0) + xpath (~> 3.2) + cells (4.1.8) + declarative-builder (~> 0.2.0) + declarative-option (< 0.2.0) + tilt (>= 1.4, < 3) + uber (< 0.2.0) + cells-erb (0.1.0) + cells (~> 4.0) + erbse (>= 0.1.1) + cells-rails (0.1.6) + actionpack (>= 5.0) + cells (>= 4.1.6, < 5.0.0) + charlock_holmes (0.7.9) + childprocess (5.1.0) + logger (~> 1.5) + commonmarker (0.23.11) + concurrent-ruby (1.3.4) + crack (1.0.0) + bigdecimal + rexml + crass (1.0.6) + css_parser (1.21.1) + addressable + csv (3.3.5) + dartsass (1.49.8) + date (3.4.1) + date_validator (0.12.0) + activemodel (>= 3) + activesupport (>= 3) + decidim (0.29.4) + decidim-accountability (= 0.29.4) + decidim-admin (= 0.29.4) + decidim-api (= 0.29.4) + decidim-assemblies (= 0.29.4) + decidim-blogs (= 0.29.4) + decidim-budgets (= 0.29.4) + decidim-comments (= 0.29.4) + decidim-core (= 0.29.4) + decidim-debates (= 0.29.4) + decidim-forms (= 0.29.4) + decidim-generators (= 0.29.4) + decidim-meetings (= 0.29.4) + decidim-pages (= 0.29.4) + decidim-participatory_processes (= 0.29.4) + decidim-proposals (= 0.29.4) + decidim-sortitions (= 0.29.4) + decidim-surveys (= 0.29.4) + decidim-system (= 0.29.4) + decidim-verifications (= 0.29.4) + decidim-accountability (0.29.4) + decidim-comments (= 0.29.4) + decidim-core (= 0.29.4) + decidim-admin (0.29.4) + active_link_to (~> 1.0) + decidim-core (= 0.29.4) + devise (~> 4.7) + devise-i18n (~> 1.2) + devise_invitable (~> 2.0, >= 2.0.9) + decidim-api (0.29.4) + decidim-core (= 0.29.4) + graphql (~> 2.2.6) + graphql-docs (~> 4.0) + rack-cors (~> 1.0) + decidim-assemblies (0.29.4) + decidim-core (= 0.29.4) + decidim-blogs (0.29.4) + decidim-admin (= 0.29.4) + decidim-comments (= 0.29.4) + decidim-core (= 0.29.4) + decidim-budgets (0.29.4) + decidim-comments (= 0.29.4) + decidim-core (= 0.29.4) + decidim-comments (0.29.4) + decidim-core (= 0.29.4) + redcarpet (~> 3.5, >= 3.5.1) + decidim-core (0.29.4) + active_link_to (~> 1.0) + acts_as_list (~> 1.0) + batch-loader (~> 1.2) + browser (~> 2.7) + cells-erb (~> 0.1.0) + cells-rails (~> 0.1.3) + charlock_holmes (~> 0.7) + concurrent-ruby (= 1.3.4) + date_validator (~> 0.12.0) + devise (~> 4.7) + devise-i18n (~> 1.2, < 1.11.1) + diffy (~> 3.3) + doorkeeper (~> 5.6, >= 5.6.6) + doorkeeper-i18n (~> 4.0) + file_validators (~> 3.0) + fog-local (~> 0.6) + foundation_rails_helper (~> 4.0) + geocoder (~> 1.8) + hashdiff (>= 0.4.0, < 2.0.0) + image_processing (~> 1.2) + invisible_captcha (~> 0.12) + kaminari (~> 1.2, >= 1.2.1) + loofah (~> 2.19, >= 2.19.1) + mime-types (>= 1.16, < 4.0) + mini_magick (~> 4.9) + net-smtp (~> 0.3.1) + nokogiri (~> 1.16, >= 1.16.2) + omniauth (~> 2.0) + omniauth-facebook (~> 5.0) + omniauth-google-oauth2 (~> 1.0) + omniauth-rails_csrf_protection (~> 1.0) + omniauth-twitter (~> 1.4) + paper_trail (~> 12.0) + pg (~> 1.4.0, < 2) + pg_search (~> 2.2) + premailer-rails (~> 1.10) + psych (~> 4.0) + rack (~> 2.2, >= 2.2.8.1) + rack-attack (~> 6.0) + rails (~> 7.0.8) + rails-i18n (~> 7.0) + ransack (~> 3.2.1) + redis (~> 4.1) + request_store (~> 1.5.0) + rubyXL (~> 3.4) + rubyzip (~> 2.0) + shakapacker (~> 7.1.0) + valid_email2 (~> 4.0) + web-push (~> 3.0) + wisper (~> 2.0) + decidim-debates (0.29.4) + decidim-comments (= 0.29.4) + decidim-core (= 0.29.4) + decidim-dev (0.29.4) + bullet (~> 7.1.6) + byebug (~> 11.0) + capybara (~> 3.39) + decidim (= 0.29.4) + erb_lint (~> 0.4.0) + factory_bot_rails (~> 6.2) + faker (~> 3.2) + i18n-tasks (~> 1.0) + nokogiri (~> 1.16, >= 1.16.2) + parallel_tests (~> 4.2) + puma (~> 6.2, >= 6.3.1) + rails-controller-testing (~> 1.0) + rspec (~> 3.12) + rspec-cells (~> 0.3.7) + rspec-html-matchers (~> 0.10) + rspec-rails (~> 6.0) + rspec-retry (~> 0.6.2) + rspec_junit_formatter (~> 0.6.0) + rubocop (~> 1.65.0) + rubocop-capybara (~> 2.21) + rubocop-factory_bot (~> 2.26) + rubocop-faker (~> 1.1) + rubocop-performance (~> 1.21) + rubocop-rails (~> 2.25) + rubocop-rspec (~> 3.0) + rubocop-rspec_rails (~> 2.30) + rubocop-rubycw (~> 0.1) + selenium-webdriver (~> 4.9) + simplecov (~> 0.22.0) + simplecov-cobertura (~> 2.1.0) + spring (~> 4.0) + spring-watcher-listen (~> 2.0) + w3c_rspec_validators (~> 0.3.0) + webmock (~> 3.18) + wisper-rspec (~> 1.0) + decidim-forms (0.29.4) + decidim-core (= 0.29.4) + wicked_pdf (~> 2.1) + decidim-generators (0.29.4) + decidim-core (= 0.29.4) + decidim-meetings (0.29.4) + decidim-core (= 0.29.4) + decidim-forms (= 0.29.4) + icalendar (~> 2.5) + decidim-pages (0.29.4) + decidim-core (= 0.29.4) + decidim-participatory_processes (0.29.4) + decidim-core (= 0.29.4) + decidim-proposals (0.29.4) + decidim-comments (= 0.29.4) + decidim-core (= 0.29.4) + doc2text (~> 0.4.7) + redcarpet (~> 3.5, >= 3.5.1) + decidim-sortitions (0.29.4) + decidim-admin (= 0.29.4) + decidim-comments (= 0.29.4) + decidim-core (= 0.29.4) + decidim-proposals (= 0.29.4) + decidim-surveys (0.29.4) + decidim-core (= 0.29.4) + decidim-forms (= 0.29.4) + decidim-system (0.29.4) + active_link_to (~> 1.0) + decidim-core (= 0.29.4) + devise (~> 4.7) + devise-i18n (~> 1.2) + devise_invitable (~> 2.0, >= 2.0.9) + decidim-verifications (0.29.4) + decidim-core (= 0.29.4) + declarative-builder (0.2.0) + trailblazer-option (~> 0.1.0) + declarative-option (0.1.0) + devise (4.9.4) + bcrypt (~> 3.0) + orm_adapter (~> 0.1) + railties (>= 4.1.0) + responders + warden (~> 1.2.3) + devise-i18n (1.11.0) + devise (>= 4.9.0) + devise_invitable (2.0.11) + actionmailer (>= 5.0) + devise (>= 4.6) + diff-lcs (1.6.2) + diffy (3.4.4) + doc2text (0.4.8) + nokogiri (>= 1.18.2) + rubyzip (~> 2.3.0) + docile (1.4.1) + doorkeeper (5.8.2) + railties (>= 5) + doorkeeper-i18n (4.0.1) + erb_lint (0.4.0) + activesupport + better_html (>= 2.0.1) + parser (>= 2.7.1.4) + rainbow + rubocop + smart_properties + erbse (0.1.4) + temple + erubi (1.13.1) + escape_utils (1.3.0) + excon (1.2.7) + logger + extended-markdown-filter (0.7.0) + html-pipeline (~> 2.9) + factory_bot (6.5.4) + activesupport (>= 6.1.0) + factory_bot_rails (6.5.0) + factory_bot (~> 6.5) + railties (>= 6.1.0) + faker (3.5.1) + i18n (>= 1.8.11, < 2) + faraday (2.13.1) + faraday-net_http (>= 2.0, < 3.5) + json + logger + faraday-net_http (3.4.1) + net-http (>= 0.5.0) + ffi (1.17.2-x86_64-darwin) + file_validators (3.0.0) + activemodel (>= 3.2) + mime-types (>= 1.0) + fog-core (2.6.0) + builder + excon (~> 1.0) + formatador (>= 0.2, < 2.0) + mime-types + fog-local (0.9.0) + fog-core (>= 1.27, < 3.0) + formatador (1.1.0) + foundation_rails_helper (4.0.1) + actionpack (>= 4.1, < 7.1) + activemodel (>= 4.1, < 7.1) + activesupport (>= 4.1, < 7.1) + railties (>= 4.1, < 7.1) + gemoji (3.0.1) + geocoder (1.8.5) + base64 (>= 0.1.0) + csv (>= 3.0.0) + globalid (1.2.1) + activesupport (>= 6.1) + graphql (2.2.17) + base64 + graphql-docs (4.0.0) + commonmarker (~> 0.23, >= 0.23.6) + dartsass (~> 1.49) + escape_utils (~> 1.2) + extended-markdown-filter (~> 0.4) + gemoji (~> 3.0) + graphql (~> 2.0) + html-pipeline (~> 2.14, >= 2.14.3) + hashdiff (1.2.0) + hashie (5.0.0) + highline (3.1.2) + reline + html-pipeline (2.14.3) + activesupport (>= 2) + nokogiri (>= 1.4) + htmlentities (4.3.4) + i18n (1.14.7) + concurrent-ruby (~> 1.0) + i18n-tasks (1.0.15) + activesupport (>= 4.0.2) + ast (>= 2.1.0) + erubi + highline (>= 2.0.0) + i18n + parser (>= 3.2.2.1) + rails-i18n + rainbow (>= 2.2.2, < 4.0) + ruby-progressbar (~> 1.8, >= 1.8.1) + terminal-table (>= 1.5.1) + icalendar (2.11.1) + base64 + ice_cube (~> 0.16) + logger + ostruct + ice_cube (0.17.0) + image_processing (1.14.0) + mini_magick (>= 4.9.5, < 6) + ruby-vips (>= 2.0.17, < 3) + invisible_captcha (0.13.0) + rails (>= 3.2.0) + io-console (0.8.0) + json (2.10.2) + jwt (2.10.1) + base64 + kaminari (1.2.2) + activesupport (>= 4.1.0) + kaminari-actionview (= 1.2.2) + kaminari-activerecord (= 1.2.2) + kaminari-core (= 1.2.2) + kaminari-actionview (1.2.2) + actionview + kaminari-core (= 1.2.2) + kaminari-activerecord (1.2.2) + activerecord + kaminari-core (= 1.2.2) + kaminari-core (1.2.2) + language_server-protocol (3.17.0.4) + launchy (3.1.1) + addressable (~> 2.8) + childprocess (~> 5.0) + logger (~> 1.6) + letter_opener (1.10.0) + launchy (>= 2.2, < 4) + letter_opener_web (2.0.0) + actionmailer (>= 5.2) + letter_opener (~> 1.7) + railties (>= 5.2) + rexml + listen (3.9.0) + rb-fsevent (~> 0.10, >= 0.10.3) + rb-inotify (~> 0.9, >= 0.9.10) + logger (1.7.0) + loofah (2.24.0) + crass (~> 1.0.2) + nokogiri (>= 1.12.0) + mail (2.8.1) + mini_mime (>= 0.1.1) + net-imap + net-pop + net-smtp + marcel (1.0.4) + matrix (0.4.3) + method_source (1.1.0) + mime-types (3.7.0) + logger + mime-types-data (~> 3.2025, >= 3.2025.0507) + mime-types-data (3.2025.0617) + mini_magick (4.13.2) + mini_mime (1.1.5) + minitest (5.25.5) + msgpack (1.8.0) + multi_xml (0.7.2) + bigdecimal (~> 3.1) + net-http (0.6.0) + uri + net-imap (0.5.8) + date + net-protocol + net-pop (0.1.2) + net-protocol + net-protocol (0.2.2) + timeout + net-smtp (0.3.4) + net-protocol + nio4r (2.7.4) + nokogiri (1.18.8-x86_64-darwin) + racc (~> 1.4) + oauth (1.1.0) + oauth-tty (~> 1.0, >= 1.0.1) + snaky_hash (~> 2.0) + version_gem (~> 1.1) + oauth-tty (1.0.5) + version_gem (~> 1.1, >= 1.1.1) + oauth2 (2.0.12) + faraday (>= 0.17.3, < 4.0) + jwt (>= 1.0, < 4.0) + logger (~> 1.2) + multi_xml (~> 0.5) + rack (>= 1.2, < 4) + snaky_hash (~> 2.0, >= 2.0.3) + version_gem (>= 1.1.8, < 3) + omniauth (2.1.3) + hashie (>= 3.4.6) + rack (>= 2.2.3) + rack-protection + omniauth-facebook (5.0.0) + omniauth-oauth2 (~> 1.2) + omniauth-google-oauth2 (1.2.1) + jwt (>= 2.9.2) + oauth2 (~> 2.0) + omniauth (~> 2.0) + omniauth-oauth2 (~> 1.8) + omniauth-oauth (1.2.1) + oauth + omniauth (>= 1.0, < 3) + rack (>= 1.6.2, < 4) + omniauth-oauth2 (1.8.0) + oauth2 (>= 1.4, < 3) + omniauth (~> 2.0) + omniauth-rails_csrf_protection (1.0.2) + actionpack (>= 4.2) + omniauth (~> 2.0) + omniauth-twitter (1.4.0) + omniauth-oauth (~> 1.1) + rack + openssl (3.3.0) + orm_adapter (0.5.0) + ostruct (0.6.2) + paper_trail (12.3.0) + activerecord (>= 5.2) + request_store (~> 1.1) + parallel (1.27.0) + parallel_tests (4.10.1) + parallel + parser (3.3.8.0) + ast (~> 2.4.1) + racc + pg (1.4.6) + pg_search (2.3.7) + activerecord (>= 6.1) + activesupport (>= 6.1) + premailer (1.27.0) + addressable + css_parser (>= 1.19.0) + htmlentities (>= 4.0.0) + premailer-rails (1.12.0) + actionmailer (>= 3) + net-smtp + premailer (~> 1.7, >= 1.7.9) + prism (1.4.0) + psych (4.0.6) + stringio + public_suffix (6.0.1) + puma (6.6.0) + nio4r (~> 2.0) + racc (1.8.1) + rack (2.2.14) + rack-attack (6.7.0) + rack (>= 1.0, < 4) + rack-cors (1.1.1) + rack (>= 2.0.0) + rack-protection (3.2.0) + base64 (>= 0.1.0) + rack (~> 2.2, >= 2.2.4) + rack-proxy (0.7.7) + rack + rack-test (2.2.0) + rack (>= 1.3) + rails (7.0.8.7) + actioncable (= 7.0.8.7) + actionmailbox (= 7.0.8.7) + actionmailer (= 7.0.8.7) + actionpack (= 7.0.8.7) + actiontext (= 7.0.8.7) + actionview (= 7.0.8.7) + activejob (= 7.0.8.7) + activemodel (= 7.0.8.7) + activerecord (= 7.0.8.7) + activestorage (= 7.0.8.7) + activesupport (= 7.0.8.7) + bundler (>= 1.15.0) + railties (= 7.0.8.7) + rails-controller-testing (1.0.5) + actionpack (>= 5.0.1.rc1) + actionview (>= 5.0.1.rc1) + activesupport (>= 5.0.1.rc1) + rails-dom-testing (2.2.0) + activesupport (>= 5.0.0) + minitest + nokogiri (>= 1.6) + rails-html-sanitizer (1.6.2) + loofah (~> 2.21) + nokogiri (>= 1.15.7, != 1.16.7, != 1.16.6, != 1.16.5, != 1.16.4, != 1.16.3, != 1.16.2, != 1.16.1, != 1.16.0.rc1, != 1.16.0) + rails-i18n (7.0.10) + i18n (>= 0.7, < 2) + railties (>= 6.0.0, < 8) + railties (7.0.8.7) + actionpack (= 7.0.8.7) + activesupport (= 7.0.8.7) + method_source + rake (>= 12.2) + thor (~> 1.0) + zeitwerk (~> 2.5) + rainbow (3.1.1) + rake (13.2.1) + ransack (3.2.1) + activerecord (>= 6.1.5) + activesupport (>= 6.1.5) + i18n + rb-fsevent (0.11.2) + rb-inotify (0.11.1) + ffi (~> 1.0) + redcarpet (3.6.1) + redis (4.8.1) + regexp_parser (2.10.0) + reline (0.6.1) + io-console (~> 0.5) + request_store (1.5.1) + rack (>= 1.4) + responders (3.1.1) + actionpack (>= 5.2) + railties (>= 5.2) + rexml (3.4.1) + rspec (3.13.1) + rspec-core (~> 3.13.0) + rspec-expectations (~> 3.13.0) + rspec-mocks (~> 3.13.0) + rspec-cells (0.3.10) + cells (>= 4.0.0, < 6.0.0) + rspec-rails (>= 3.0.0) + rspec-core (3.13.4) + rspec-support (~> 3.13.0) + rspec-expectations (3.13.5) + diff-lcs (>= 1.2.0, < 2.0) + rspec-support (~> 3.13.0) + rspec-html-matchers (0.10.0) + nokogiri (~> 1) + rspec (>= 3.0.0.a) + rspec-mocks (3.13.5) + diff-lcs (>= 1.2.0, < 2.0) + rspec-support (~> 3.13.0) + rspec-rails (6.1.5) + actionpack (>= 6.1) + activesupport (>= 6.1) + railties (>= 6.1) + rspec-core (~> 3.13) + rspec-expectations (~> 3.13) + rspec-mocks (~> 3.13) + rspec-support (~> 3.13) + rspec-retry (0.6.2) + rspec-core (> 3.3) + rspec-support (3.13.4) + rspec_junit_formatter (0.6.0) + rspec-core (>= 2, < 4, != 2.12.0) + rubocop (1.65.1) + json (~> 2.3) + language_server-protocol (>= 3.17.0) + parallel (~> 1.10) + parser (>= 3.3.0.2) + rainbow (>= 2.2.2, < 4.0) + regexp_parser (>= 2.4, < 3.0) + rexml (>= 3.2.5, < 4.0) + rubocop-ast (>= 1.31.1, < 2.0) + ruby-progressbar (~> 1.7) + unicode-display_width (>= 2.4.0, < 3.0) + rubocop-ast (1.44.1) + parser (>= 3.3.7.2) + prism (~> 1.4) + rubocop-capybara (2.21.0) + rubocop (~> 1.41) + rubocop-factory_bot (2.26.1) + rubocop (~> 1.61) + rubocop-faker (1.2.0) + faker (>= 2.12.0) + rubocop (>= 1.13.0) + rubocop-performance (1.23.1) + rubocop (>= 1.48.1, < 2.0) + rubocop-ast (>= 1.31.1, < 2.0) + rubocop-rails (2.29.1) + activesupport (>= 4.2.0) + rack (>= 1.1) + rubocop (>= 1.52.0, < 2.0) + rubocop-ast (>= 1.31.1, < 2.0) + rubocop-rspec (3.4.0) + rubocop (~> 1.61) + rubocop-rspec_rails (2.30.0) + rubocop (~> 1.61) + rubocop-rspec (~> 3, >= 3.0.1) + rubocop-rubycw (0.1.6) + rubocop (~> 1.0) + ruby-progressbar (1.13.0) + ruby-vips (2.2.4) + ffi (~> 1.12) + logger + rubyXL (3.4.33) + nokogiri (>= 1.10.8) + rubyzip (>= 1.3.0) + rubyzip (2.3.2) + selenium-webdriver (4.33.0) + base64 (~> 0.2) + logger (~> 1.4) + rexml (~> 3.2, >= 3.2.5) + rubyzip (>= 1.2.2, < 3.0) + websocket (~> 1.0) + semantic_range (3.1.0) + shakapacker (7.1.0) + activesupport (>= 5.2) + rack-proxy (>= 0.6.1) + railties (>= 5.2) + semantic_range (>= 2.3.0) + simplecov (0.22.0) + docile (~> 1.1) + simplecov-html (~> 0.11) + simplecov_json_formatter (~> 0.1) + simplecov-cobertura (2.1.0) + rexml + simplecov (~> 0.19) + simplecov-html (0.13.1) + simplecov_json_formatter (0.1.4) + smart_properties (1.17.0) + snaky_hash (2.0.3) + hashie (>= 0.1.0, < 6) + version_gem (>= 1.1.8, < 3) + spring (4.3.0) + spring-watcher-listen (2.1.0) + listen (>= 2.7, < 4.0) + spring (>= 4) + stringio (3.1.7) + temple (0.10.3) + terminal-table (4.0.0) + unicode-display_width (>= 1.1.1, < 4) + thor (1.3.2) + tilt (2.6.0) + timeout (0.4.3) + trailblazer-option (0.1.2) + tzinfo (2.0.6) + concurrent-ruby (~> 1.0) + uber (0.1.0) + unicode-display_width (2.6.0) + uniform_notifier (1.17.0) + uri (1.0.3) + valid_email2 (4.0.6) + activemodel (>= 3.2) + mail (~> 2.5) + version_gem (1.1.8) + w3c_rspec_validators (0.3.0) + rails + rspec + w3c_validators + w3c_validators (1.3.7) + json (>= 1.8) + nokogiri (~> 1.6) + rexml (~> 3.2) + warden (1.2.9) + rack (>= 2.0.9) + web-console (4.2.1) + actionview (>= 6.0.0) + activemodel (>= 6.0.0) + bindex (>= 0.4.0) + railties (>= 6.0.0) + web-push (3.0.1) + jwt (~> 2.0) + openssl (~> 3.0) + webmock (3.25.1) + addressable (>= 2.8.0) + crack (>= 0.3.2) + hashdiff (>= 0.4.0, < 2.0.0) + websocket (1.2.11) + websocket-driver (0.8.0) + base64 + websocket-extensions (>= 0.1.0) + websocket-extensions (0.1.5) + wicked_pdf (2.8.2) + activesupport + ostruct + wisper (2.0.1) + wisper-rspec (1.1.0) + xpath (3.2.0) + nokogiri (~> 1.8) + zeitwerk (2.7.2) + +PLATFORMS + x86_64-darwin + +DEPENDENCIES + bootsnap (~> 1.4) + byebug (~> 11.0) + decidim + decidim-cache_cleaner! + decidim-dev + faker (~> 3.2) + letter_opener_web (~> 2.0) + listen (~> 3.1) + puma (>= 6.3.1) + rubocop-faker + spring (~> 4.0) + spring-watcher-listen (~> 2.0) + web-console (~> 4.2) + +RUBY VERSION + ruby 3.2.2p53 + +BUNDLED WITH + 2.5.22 From 538f456dec2609f3256c459f24eaeac11e67adf9 Mon Sep 17 00:00:00 2001 From: stephanie rousset Date: Mon, 28 Jul 2025 16:52:20 +0200 Subject: [PATCH 07/11] style: update with rubocop --- decidim-cache_cleaner.gemspec | 1 + .../admin/cache_manager_controller_spec.rb | 2 +- .../decidim/cache_cleaner/cache_manager_spec.rb | 16 +++++++--------- spec/lib/version_spec.rb | 4 ++-- spec/system/admin_clears_cache_spec.rb | 2 +- 5 files changed, 12 insertions(+), 13 deletions(-) diff --git a/decidim-cache_cleaner.gemspec b/decidim-cache_cleaner.gemspec index 7775fc8..f8bb283 100644 --- a/decidim-cache_cleaner.gemspec +++ b/decidim-cache_cleaner.gemspec @@ -20,4 +20,5 @@ Gem::Specification.new do |s| s.add_dependency "decidim-core", Decidim::CacheCleaner.decidim_compatible_version s.add_development_dependency "rubocop-faker" + s.metadata["rubygems_mfa_required"] = "true" end diff --git a/spec/controllers/decidim/cache_cleaner/admin/cache_manager_controller_spec.rb b/spec/controllers/decidim/cache_cleaner/admin/cache_manager_controller_spec.rb index 1b9692d..afcf712 100644 --- a/spec/controllers/decidim/cache_cleaner/admin/cache_manager_controller_spec.rb +++ b/spec/controllers/decidim/cache_cleaner/admin/cache_manager_controller_spec.rb @@ -6,7 +6,7 @@ routes { Decidim::CacheCleaner::AdminEngine.routes } let(:organization) { create(:organization) } - let(:current_user) { create(:user, :admin, :confirmed, organization: organization) } + let(:current_user) { create(:user, :admin, :confirmed, organization:) } before do request.env["decidim.current_organization"] = organization diff --git a/spec/lib/decidim/cache_cleaner/cache_manager_spec.rb b/spec/lib/decidim/cache_cleaner/cache_manager_spec.rb index 4d5cb09..885608b 100644 --- a/spec/lib/decidim/cache_cleaner/cache_manager_spec.rb +++ b/spec/lib/decidim/cache_cleaner/cache_manager_spec.rb @@ -8,36 +8,34 @@ describe "#activated?" do it "returns false if cache is not activated" do - expect(cache_manager.activated?).to eq(false) + expect(cache_manager.activated?).to be(false) end it "returns true if cache is activated" do - allow(Rails.cache).to receive(:write).and_return(true) - allow(Rails.cache).to receive(:read).and_return(::Digest::SHA1.hexdigest("cache_test_value")) - expect(cache_manager.activated?).to eq(true) + allow(Rails.cache).to receive_messages(write: true, read: Digest::SHA1.hexdigest("cache_test_value")) + expect(cache_manager.activated?).to be(true) end end describe "#clearable?" do it "returns true if cache is clearable" do - expect(cache_manager.clearable?).to eq(true) + expect(cache_manager.clearable?).to be(true) end it "returns false if cache is not clearable" do allow(Rails.cache).to receive(:respond_to?).with(:clear).and_return(false) - expect(cache_manager.clearable?).to eq(false) + expect(cache_manager.clearable?).to be(false) end end describe "#clear!" do before do - allow(Rails.cache).to receive(:write).and_return(true) - allow(Rails.cache).to receive(:read).and_return("test_value") + allow(Rails.cache).to receive_messages(write: true, read: "test_value") end it "clears the cache" do before = Rails.cache.write("test_cache_test_key", "test_value") - expect(cache_manager.clear!).to eq(true) + expect(cache_manager.clear!).to be(true) after = Rails.cache.read("test_cache_test_key") expect(before).not_to eq(after) end diff --git a/spec/lib/version_spec.rb b/spec/lib/version_spec.rb index 187b868..6111b71 100644 --- a/spec/lib/version_spec.rb +++ b/spec/lib/version_spec.rb @@ -9,7 +9,7 @@ module CacheCleaner describe ".version" do it "returns a string version" do - expect(described_class.version).to be_kind_of(String) + expect(described_class.version).to be_a(String) end it "returns a valid version" do @@ -19,7 +19,7 @@ module CacheCleaner describe ".decidim_compatible_version" do it "returns a string version" do - expect(described_class.decidim_compatible_version).to be_kind_of(String) + expect(described_class.decidim_compatible_version).to be_a(String) end it "returns a valid version" do diff --git a/spec/system/admin_clears_cache_spec.rb b/spec/system/admin_clears_cache_spec.rb index a987117..5bd4388 100644 --- a/spec/system/admin_clears_cache_spec.rb +++ b/spec/system/admin_clears_cache_spec.rb @@ -5,7 +5,7 @@ describe "Admin clear cache", type: :system do let(:organization) { create(:organization) } - let!(:user) { create(:user, :admin, :confirmed, organization: organization) } + let!(:user) { create(:user, :admin, :confirmed, organization:) } before do switch_to_host(organization.host) From 4856238b4f80debf0a641918cacb825ede09c778 Mon Sep 17 00:00:00 2001 From: stephanie rousset Date: Mon, 28 Jul 2025 16:53:43 +0200 Subject: [PATCH 08/11] style: normalize locale file --- config/locales/fr.yml | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/config/locales/fr.yml b/config/locales/fr.yml index 77e5ca9..18703c2 100644 --- a/config/locales/fr.yml +++ b/config/locales/fr.yml @@ -8,8 +8,17 @@ fr: cache_activated: Cache activé avec %{cache_store} cache_not_activated: Le cache n'est pas activé clear_cache: J'ai compris, vider le cache - confirm_destroy: J'ai compris que cette action ralentira mon application pendant qu'elle régénèrera le cache. Êtes-vous sûr de vouloir vider le cache ? - description: La mise en cache de Rails est une technique utilisée pour accélérer les applications Web en stockant des données ou des calculs fréquemment consultés en mémoire, plutôt que de les recalculer à chaque fois qu'ils sont nécessaires. Cela peut être particulièrement utile pour réduire le temps de chargement des pages et améliorer les performances globales du site. Lorsque votre application affiche des informations qui semblent obsolètes, vous pouvez essayer de vider le cache mais soyez prudent, votre application sera un peu plus lente pendant qu'il se régénérera. + confirm_destroy: J'ai compris que cette action ralentira mon application + pendant qu'elle régénèrera le cache. Êtes-vous sûr de vouloir vider + le cache ? + description: La mise en cache de Rails est une technique utilisée pour + accélérer les applications Web en stockant des données ou des calculs + fréquemment consultés en mémoire, plutôt que de les recalculer à chaque + fois qu'ils sont nécessaires. Cela peut être particulièrement utile + pour réduire le temps de chargement des pages et améliorer les performances + globales du site. Lorsque votre application affiche des informations + qui semblent obsolètes, vous pouvez essayer de vider le cache mais soyez + prudent, votre application sera un peu plus lente pendant qu'il se régénérera. not_clearable: Cache non effaçable title: Gestionnaire de cache Decidim cache_manager: From abb2fceb98a854c4bd47f866474324fb3295c6b9 Mon Sep 17 00:00:00 2001 From: stephanie rousset Date: Mon, 28 Jul 2025 17:02:07 +0200 Subject: [PATCH 09/11] feat: add new platform --- Gemfile.lock | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Gemfile.lock b/Gemfile.lock index 3d05e91..5abf260 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -360,6 +360,7 @@ GEM faraday-net_http (3.4.1) net-http (>= 0.5.0) ffi (1.17.2-x86_64-darwin) + ffi (1.17.2-x86_64-linux-gnu) file_validators (3.0.0) activemodel (>= 3.2) mime-types (>= 1.0) @@ -491,6 +492,8 @@ GEM nio4r (2.7.4) nokogiri (1.18.8-x86_64-darwin) racc (~> 1.4) + nokogiri (1.18.8-x86_64-linux-gnu) + racc (~> 1.4) oauth (1.1.0) oauth-tty (~> 1.0, >= 1.0.1) snaky_hash (~> 2.0) @@ -787,6 +790,7 @@ GEM PLATFORMS x86_64-darwin + x86_64-linux DEPENDENCIES bootsnap (~> 1.4) From 7ed035b3b4102948b2d79a31dff3bbba36ff9551 Mon Sep 17 00:00:00 2001 From: stephanie rousset Date: Mon, 28 Jul 2025 17:16:39 +0200 Subject: [PATCH 10/11] style: update with rubocop --- Gemfile | 5 +---- decidim-cache_cleaner.gemspec | 1 - lib/decidim/cache_cleaner/test/factories.rb | 3 --- 3 files changed, 1 insertion(+), 8 deletions(-) diff --git a/Gemfile b/Gemfile index 068ab0e..547e4af 100644 --- a/Gemfile +++ b/Gemfile @@ -10,13 +10,10 @@ gem "decidim-cache_cleaner", path: "." gem "bootsnap", "~> 1.4" gem "puma", ">= 6.3.1" -group :test do - gem "rubocop-faker" -end - group :development, :test do gem "byebug", "~> 11.0", platform: :mri gem "decidim-dev" + gem "rubocop-faker" end group :development do diff --git a/decidim-cache_cleaner.gemspec b/decidim-cache_cleaner.gemspec index f8bb283..8a2ca7e 100644 --- a/decidim-cache_cleaner.gemspec +++ b/decidim-cache_cleaner.gemspec @@ -19,6 +19,5 @@ Gem::Specification.new do |s| s.files = Dir["{app,config,lib}/**/*", "LICENSE-AGPLv3.txt", "Rakefile", "README.md"] s.add_dependency "decidim-core", Decidim::CacheCleaner.decidim_compatible_version - s.add_development_dependency "rubocop-faker" s.metadata["rubygems_mfa_required"] = "true" end diff --git a/lib/decidim/cache_cleaner/test/factories.rb b/lib/decidim/cache_cleaner/test/factories.rb index 20aa5b2..0e6d87b 100644 --- a/lib/decidim/cache_cleaner/test/factories.rb +++ b/lib/decidim/cache_cleaner/test/factories.rb @@ -1,6 +1,3 @@ # frozen_string_literal: true require "decidim/core/test/factories" - -FactoryBot.define do -end From 2660f6d46640fbab0d1f5fe9ce08050274c09fb0 Mon Sep 17 00:00:00 2001 From: stephanie rousset Date: Mon, 28 Jul 2025 17:48:27 +0200 Subject: [PATCH 11/11] ci: add imagemagick --- .github/workflows/ci_cd.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci_cd.yml b/.github/workflows/ci_cd.yml index df1d3b6..f4b67eb 100644 --- a/.github/workflows/ci_cd.yml +++ b/.github/workflows/ci_cd.yml @@ -53,6 +53,8 @@ jobs: - uses: ruby/setup-ruby@v1 with: bundler-cache: true + - run: sudo apt install imagemagick + name: Install imagemagick - run: bundle exec rake test_app name: Create test app - run: mkdir -p ./spec/decidim_dummy_app/tmp/screenshots