From 8f184c9f6790899c90a8b51016c0e952b3da7d09 Mon Sep 17 00:00:00 2001 From: nick evans Date: Thu, 12 Mar 2026 16:19:03 -0400 Subject: [PATCH 1/2] =?UTF-8?q?=F0=9F=93=9A=20Fixup=20"References"=20rdoc?= =?UTF-8?q?=20formatting?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/net/imap.rb | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/net/imap.rb b/lib/net/imap.rb index c379e884..237a2653 100644 --- a/lib/net/imap.rb +++ b/lib/net/imap.rb @@ -642,9 +642,9 @@ module Net # RFC 5322, DOI 10.17487/RFC5322, October 2008, # . # - # Note: obsoletes - # RFC-2822[https://www.rfc-editor.org/rfc/rfc2822] (April 2001) and - # RFC-822[https://www.rfc-editor.org/rfc/rfc822] (August 1982). + # *NOTE*: obsoletes + # RFC-2822[https://www.rfc-editor.org/rfc/rfc2822] (April 2001) and + # RFC-822[https://www.rfc-editor.org/rfc/rfc822] (August 1982). # # [CHARSET[https://www.rfc-editor.org/rfc/rfc2978]]:: # Freed, N. and J. Postel, "IANA Charset Registration Procedures", BCP 19, @@ -751,8 +751,8 @@ module Net # Gulbrandsen, A. and N. Freed, Ed., "Internet Message Access Protocol # (\IMAP) - MOVE Extension", RFC 6851, DOI 10.17487/RFC6851, January 2013, # . - # [UTF8=ACCEPT[https://www.rfc-editor.org/rfc/rfc6855]]:: - # [UTF8=ONLY[https://www.rfc-editor.org/rfc/rfc6855]]:: + # [{UTF8=ACCEPT}[https://www.rfc-editor.org/rfc/rfc6855]]:: + # [{UTF8=ONLY}[https://www.rfc-editor.org/rfc/rfc6855]]:: # Resnick, P., Ed., Newman, C., Ed., and S. Shen, Ed., # "IMAP Support for UTF-8", RFC 6855, DOI 10.17487/RFC6855, March 2013, # . From ee7d9d3955de324839008d4446c1c6e6b16cf904 Mon Sep 17 00:00:00 2001 From: nick evans Date: Fri, 10 Apr 2026 18:57:09 -0400 Subject: [PATCH 2/2] =?UTF-8?q?=F0=9F=93=9A=F0=9F=90=9B=20Fix=20valid=5Fnz?= =?UTF-8?q?=5Fnumber64=20rdoc?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/net/imap/data_encoding.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/net/imap/data_encoding.rb b/lib/net/imap/data_encoding.rb index 2dd94ccb..7eda2609 100644 --- a/lib/net/imap/data_encoding.rb +++ b/lib/net/imap/data_encoding.rb @@ -183,9 +183,9 @@ def valid_number64?(num) end # Check if argument is a valid 'number64' according to RFC 9051 - # number64 = 1*DIGIT + # nz-number64 = digit-nz *DIGIT # ; Unsigned 63-bit integer - # ; (0 <= n <= 9,223,372,036,854,775,807) + # ; (0 < n <= 9,223,372,036,854,775,807) def valid_nz_number64?(num) 0 < num && num <= 0x7fff_ffff_ffff_ffff end