Skip to content

Commit 9539978

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 a3a88e4 commit 9539978

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

lib/net/imap.rb

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1269,9 +1269,7 @@ def idle_done
12691269
#
12701270
# port:: Port number (default value is 143 for imap, or 993 for imaps)
12711271
# ssl:: If +options[:ssl]+ is true, then an attempt will be made
1272-
# to use SSL (now TLS) to connect to the server. For this to work
1273-
# OpenSSL [OSSL] and the Ruby OpenSSL [RSSL] extensions need to
1274-
# be installed.
1272+
# to use SSL (now TLS) to connect to the server.
12751273
# If +options[:ssl]+ is a hash, it's passed to
12761274
# OpenSSL::SSL::SSLContext#set_params as parameters.
12771275
# open_timeout:: Seconds to wait until a connection is opened

0 commit comments

Comments
 (0)