OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
Use ruby 3.4 `return it` syntax (#19312)
Kabiru Mwenja48da338fe975
diff --git a/modules/storages/app/common/storages/peripherals/storage_interaction/authentication_strategies/oauth_client_credentials.rb b/modules/storages/app/common/storages/peripherals/storage_interaction/authentication_strategies/oauth_client_credentials.rbindex becda9a0730..4db58e7c65e 100644--- a/modules/storages/app/common/storages/peripherals/storage_interaction/authentication_strategies/oauth_client_credentials.rb+++ b/modules/storages/app/common/storages/peripherals/storage_interaction/authentication_strategies/oauth_client_credentials.rb@@ -48,9 +48,8 @@ module Storagestoken_cache_key = cache_key(storage)access_token = @use_cache ? Rails.cache.read(token_cache_key) : nil- # In ruby 3.4 this can become `return it`http = build_http_session(access_token, config, http_options)- .on_failure { return _1 }+ .on_failure { return it }.resultoperation_result = yield http