Skip to content

Commit 7b42ccc

Browse files
committed
🔥 Remove "openssl extensions must be installed"
"openssl" has been a default gem for a long time. Although some installations may still disable it, this is very rare and not important enough to document here any more. Looking at "net-http" and "net-smtp", neither of them still document the scenario where "openssl" is missing. Although it carefully avoids an implicit dependency, "net-http" doesn't try to catch any LoadError when an SSL connection is explicitly used.
1 parent 6624000 commit 7b42ccc

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

lib/net/imap.rb

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -209,12 +209,6 @@ module Net
209209
# MOVE Extension", RFC-6851[https://tools.ietf.org/html/rfc6851], January
210210
# 2013.
211211
#
212-
# [[OSSL]]
213-
# http://www.openssl.org
214-
#
215-
# [[RSSL]]
216-
# http://savannah.gnu.org/projects/rubypki
217-
#
218212
# [[UTF7[https://tools.ietf.org/html/rfc2152]]]
219213
# Goldsmith, D. and Davis, M., "UTF-7: A Mail-Safe Transformation Format of
220214
# Unicode", RFC-2152[https://tools.ietf.org/html/rfc2152], May 1997.
@@ -1143,9 +1137,7 @@ def idle_done
11431137
#
11441138
# port:: Port number (default value is 143 for imap, or 993 for imaps)
11451139
# ssl:: If +options[:ssl]+ is true, then an attempt will be made
1146-
# to use SSL (now TLS) to connect to the server. For this to work
1147-
# OpenSSL [OSSL] and the Ruby OpenSSL [RSSL] extensions need to
1148-
# be installed.
1140+
# to use SSL (now TLS) to connect to the server.
11491141
# If +options[:ssl]+ is a hash, it's passed to
11501142
# OpenSSL::SSL::SSLContext#set_params as parameters.
11511143
# open_timeout:: Seconds to wait until a connection is opened

0 commit comments

Comments
 (0)