From 4fe002b53555e8e54064d692a86d7c0d82cfe58c Mon Sep 17 00:00:00 2001
From: nick evans <nicholas.evans@gmail.com>
Date: Fri, 23 Dec 2022 12:26:08 -0500
Subject: [PATCH] =?UTF-8?q?=F0=9F=97=91=EF=B8=8F=20Deprecate=20client=5Fth?=
=?UTF-8?q?read=20with=20a=20warning?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Reference:https://github.com/ruby/net-imap/commit/4fe002b53555e8e54064d692a86d7c0d82cfe58c
Conflict:path remapped lib/net/imap.rb -> .bundle/gems/net-imap-0.3.8/lib/net/imap.rb
There is no one single client_thread, this isn't used internally, and
it's misleading to external users. However, adding `#reciever_thread`
(or `#receiver_fiber`) might be useful.
.bundle/gems/net-imap-0.3.8/lib/net/imap.rb | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
@@ -823,7 +823,6 @@ module Net
# * +0.5+: 512 MiB
attr_accessor :max_response_size
- attr_accessor :client_thread # :nodoc:
# Returns the debug mode.
def self.debug
@@ -851,6 +850,11 @@ module Net
alias default_ssl_port default_tls_port
end
+ def client_thread # :nodoc:
+ warn "Net::IMAP#client_thread is deprecated and will be removed soon."
+ @client_thread
+ end
+
# Disconnects from the server.
#
# Related: #logout
--
2.43.0