File bump-ruby-version.patch of Package gitlab-ce
Index: gitlab-ce/Gemfile
===================================================================
--- gitlab-ce.orig/Gemfile
+++ gitlab-ce/Gemfile
@@ -6,6 +6,8 @@ end
source 'https://rubygems.org'
+ruby '>= 3.0'
+
if ENV.fetch('BUNDLER_CHECKSUM_VERIFICATION_OPT_IN', 'false') != 'false' # this verification is still experimental
$LOAD_PATH.unshift(File.expand_path("vendor/gems/bundler-checksum/lib", __dir__))
require 'bundler-checksum'
Index: gitlab-ce/vendor/gems/microsoft_graph_mailer/microsoft_graph_mailer.gemspec
===================================================================
--- gitlab-ce.orig/vendor/gems/microsoft_graph_mailer/microsoft_graph_mailer.gemspec
+++ gitlab-ce/vendor/gems/microsoft_graph_mailer/microsoft_graph_mailer.gemspec
@@ -11,7 +11,7 @@ Gem::Specification.new do |spec|
spec.summary = "Allows delivery of emails using Microsoft Graph API with OAuth 2.0 client credentials flow"
spec.homepage = "https://gitlab.com/gitlab-org/gitlab/-/tree/master/vendor/gems/microsoft_graph_mailer"
spec.license = "MIT"
- spec.required_ruby_version = ">= 2.7.0"
+ spec.required_ruby_version = ">= 3.0"
spec.metadata["homepage_uri"] = spec.homepage
spec.metadata["source_code_uri"] = "https://gitlab.com/gitlab-org/gitlab/-/tree/master/vendor/gems/microsoft_graph_mailer"