Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2023-03-10 12:08:01 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2023-03-10 12:08:01 +0300
commit7cd852a8718639f9776e3303fa87965b5915fe4b (patch)
treec23b63982cd7675d94290f261014b7a280ff299a /Gemfile
parenta46f64e06d98c745c4e7ceee705022273924cb78 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'Gemfile')
-rw-r--r--Gemfile8
1 files changed, 8 insertions, 0 deletions
diff --git a/Gemfile b/Gemfile
index 88c6e2d0988..37f938ea5e9 100644
--- a/Gemfile
+++ b/Gemfile
@@ -592,3 +592,11 @@ gem 'app_store_connect'
# For phone verification
gem 'telesignenterprise', '~> 2.2'
+
+# Ruby 3 extracts net-protocol into a separate gem, while Ruby 2 has it built-in
+# This condition installs the gem only for Ruby 3 to avoid warnings on Ruby 2
+# Can be removed when support for Ruby 2 is dropped
+install_if -> { Gem::Version.new(RUBY_VERSION) >= Gem::Version.new("3.0.0") } do
+ # BufferedIO patch
+ gem 'net-protocol', '~> 0.1.3'
+end