diff --git a/.github/workflows/publish-image.yml b/.github/workflows/publish-image.yml index 8a995cdc4..1ffc72e3a 100644 --- a/.github/workflows/publish-image.yml +++ b/.github/workflows/publish-image.yml @@ -34,7 +34,9 @@ jobs: if [ "$GITHUB_REF_NAME" = 'master' ]; then echo 'tag=latest' >> "$GITHUB_OUTPUT" else - echo 'tag='"$GITHUB_REF_NAME" >> "$GITHUB_OUTPUT" + # Sanitize branch name for Docker tag (replace / with -) + SANITIZED_TAG=$(echo "$GITHUB_REF_NAME" | sed 's/\//-/g') + echo 'tag='"$SANITIZED_TAG" >> "$GITHUB_OUTPUT" fi if [ "$GITHUB_REF_NAME" = 'staging' ] || [ "$GITHUB_REF_NAME" = 'master' ]; then diff --git a/Gemfile b/Gemfile index bd050109c..5c5494961 100644 --- a/Gemfile +++ b/Gemfile @@ -16,7 +16,7 @@ gem 'jquery-rails', '~> 4.6.1' gem 'jsbundling-rails', '~> 1.3', '>= 1.3.1' gem 'kaminari', '~> 1.2.2' gem 'mollie-api-ruby', '~> 4.18.0' -gem 'net-imap', '~> 0.5.12' +gem 'net-imap', '~> 0.6.2' gem 'net-pop', '~> 0.1.2' gem 'net-smtp', '~> 0.5.1' gem 'omniauth', '~> 2.1.4' @@ -52,7 +52,7 @@ group :development, :test do gem 'brakeman', '~> 7.1.1', require: false gem 'bullet', '~> 8.1' gem 'colorize', '~> 1.1.0' - gem 'database_consistency', '~> 2.1.0' + gem 'database_consistency', '~> 2.1.1' gem 'dotenv-rails', '~> 3.2.0' gem 'guard-livereload', '~> 2.5.2' gem 'guard-rspec', '~> 4.7.3', require: false @@ -75,7 +75,7 @@ end group :test do gem 'rails-controller-testing', '~> 1.0.5' - gem 'rubocop', '~> 1.81.7', require: false + gem 'rubocop', '~> 1.82.1', require: false gem 'rubocop-factory_bot', '~> 2.28.0', require: false gem 'rubocop-performance', '~> 1.26', '>= 1.26.1', require: false gem 'rubocop-rails', '~> 2.34', '>= 2.34.2', require: false diff --git a/Gemfile.lock b/Gemfile.lock index d5c5c452e..461a586d2 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -118,16 +118,16 @@ GEM coderay (1.1.3) colorize (1.1.0) concurrent-ruby (1.3.6) - connection_pool (3.0.2) + connection_pool (2.5.5) crass (1.0.6) cssbundling-rails (1.4.3) railties (>= 6.0.0) dartsass-rails (0.5.1) railties (>= 6.0.0) sass-embedded (~> 1.63) - database_consistency (2.1.0) + database_consistency (2.1.1) activerecord (>= 3.2) - date (3.5.0) + date (3.5.1) devise (4.9.4) bcrypt (~> 3.0) orm_adapter (~> 0.1) @@ -231,7 +231,7 @@ GEM thor (>= 0.14, < 2.0) jsbundling-rails (1.3.1) railties (>= 6.0.0) - json (2.17.0) + json (2.18.0) jwt (3.1.2) base64 kaminari (1.2.2) @@ -255,7 +255,7 @@ GEM ffi-compiler (~> 1.0) rake (~> 13.0) logger (1.7.0) - loofah (2.25.0) + loofah (2.24.1) crass (~> 1.0.2) nokogiri (>= 1.12.0) lumberjack (1.4.2) @@ -274,8 +274,7 @@ GEM mina (1.2.5) rake mini_mime (1.1.5) - minitest (6.0.0) - prism (~> 1.5) + minitest (5.26.2) mollie-api-ruby (4.18.0) bigdecimal (~> 3.1, >= 3.1.8) ostruct (~> 0.6.0) @@ -287,7 +286,7 @@ GEM nenv (0.3.0) net-http (0.6.0) uri - net-imap (0.5.12) + net-imap (0.6.2) date net-protocol net-pop (0.1.2) @@ -329,9 +328,6 @@ GEM omniauth-oauth2 (1.9.0) oauth2 (>= 2.0.2, < 3) omniauth (~> 2.0) - omniauth-rails_csrf_protection (2.0.1) - actionpack (>= 4.2) - omniauth (~> 2.0) orm_adapter (0.5.0) ostruct (0.6.3) paper_trail (17.0.0) @@ -347,7 +343,7 @@ GEM pp (0.6.3) prettyprint prettyprint (0.2.0) - prism (1.6.0) + prism (1.7.0) pry (0.15.2) coderay (~> 1.1) method_source (~> 1.0) @@ -430,7 +426,7 @@ GEM tsort redis (5.4.1) redis-client (>= 0.22.0) - redis-client (0.26.1) + redis-client (0.26.2) connection_pool regexp_parser (2.11.3) reline (0.6.3) @@ -472,7 +468,7 @@ GEM rspec-mocks (~> 3.13) rspec-support (~> 3.13) rspec-support (3.13.6) - rubocop (1.81.7) + rubocop (1.82.1) json (~> 2.3) language_server-protocol (~> 3.17.0.2) lint_roller (~> 1.1.0) @@ -480,7 +476,7 @@ GEM parser (>= 3.3.0.2) rainbow (>= 2.2.2, < 4.0) regexp_parser (>= 2.9.3, < 3.0) - rubocop-ast (>= 1.47.1, < 2.0) + rubocop-ast (>= 1.48.0, < 2.0) ruby-progressbar (~> 1.7) unicode-display_width (>= 2.4.0, < 4.0) rubocop-ast (1.48.0) @@ -570,7 +566,7 @@ GEM thor (1.4.0) timecop (0.9.10) timeliness (0.5.3) - timeout (0.4.4) + timeout (0.6.0) tsort (0.2.0) turbo-rails (2.0.20) actionpack (>= 7.1.0) @@ -581,7 +577,7 @@ GEM execjs (>= 0.3.0, < 3) unicode-display_width (3.2.0) unicode-emoji (~> 4.1) - unicode-emoji (4.1.0) + unicode-emoji (4.2.0) uniform_notifier (1.18.0) uri (1.0.4) useragent (0.16.11) @@ -622,7 +618,7 @@ DEPENDENCIES colorize (~> 1.1.0) cssbundling-rails (~> 1.4, >= 1.4.3) dartsass-rails (~> 0.5.1) - database_consistency (~> 2.1.0) + database_consistency (~> 2.1.1) devise (~> 4.9.4) devise-i18n (~> 1.15.0) dotenv-rails (~> 3.2.0) @@ -639,13 +635,12 @@ DEPENDENCIES listen (~> 3.9.0) mina (~> 1.2.5) mollie-api-ruby (~> 4.18.0) - net-imap (~> 0.5.12) + net-imap (~> 0.6.2) net-pop (~> 0.1.2) net-smtp (~> 0.5.1) omniauth (~> 2.1.4) omniauth-identity (~> 3.1, >= 3.1.5) omniauth-oauth2 (~> 1.9.0) - omniauth-rails_csrf_protection (~> 2.0, >= 2.0.1) paper_trail (~> 17.0.0) paranoia (~> 3.1.0) pg (~> 1.6.2) @@ -662,7 +657,7 @@ DEPENDENCIES rest-client (~> 2.1.0) rqrcode (~> 3.1, >= 3.1.1) rspec-rails (~> 8.0.2) - rubocop (~> 1.81.7) + rubocop (~> 1.82.1) rubocop-factory_bot (~> 2.28.0) rubocop-performance (~> 1.26, >= 1.26.1) rubocop-rails (~> 2.34, >= 2.34.2)