summaryrefslogtreecommitdiff
path: root/scripts/allowed_warnings.txt
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/allowed_warnings.txt')
-rw-r--r--scripts/allowed_warnings.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/scripts/allowed_warnings.txt b/scripts/allowed_warnings.txt
index 19bd5d51a20..5310b806bbc 100644
--- a/scripts/allowed_warnings.txt
+++ b/scripts/allowed_warnings.txt
@@ -13,3 +13,12 @@ Type application/netcdf is already registered as a variant of application/netcdf
# This warning is emitted by scripts/static-analysis.
\*\*\*\* .+ had the following warning\(s\):
+
+# Ruby 3 extracts net-protocol into a separate gem, while Ruby 2 has it built-in.
+# This can be removed when support for Ruby 2 is dropped.
+2\.7\.0\/gems\/net-protocol-0\.1\.3\/lib\/net\/protocol\.rb:208: warning: already initialized constant Net::BufferedIO::BUFSIZE
+ruby\/2\.7\.0\/net\/protocol\.rb:206: warning: previous definition of BUFSIZE was here
+2\.7\.0\/gems\/net-protocol-0\.1\.3\/lib\/net\/protocol\.rb:504: warning: already initialized constant Net::NetPrivate::Socket
+ruby\/2\.7\.0\/net\/protocol\.rb:503: warning: previous definition of Socket was here
+2\.7\.0\/gems\/net-protocol-0\.1\.3\/lib\/net\/protocol\.rb:68: warning: already initialized constant Net::ProtocRetryError
+ruby\/2\.7\.0\/net\/protocol\.rb:66: warning: previous definition of ProtocRetryError was here