From: chdiza@... Date: 2020-01-08T22:41:05+00:00 Subject: [ruby-core:96718] [Ruby master Bug#16488] 2.7 spews warnings about net/imap Issue #16488 has been reported by chdiza (Charles Diza). ---------------------------------------- Bug #16488: 2.7 spews warnings about net/imap https://bugs.ruby-lang.org/issues/16488 * Author: chdiza (Charles Diza) * Status: Open * Priority: Normal * Assignee: * Target version: * ruby -v: ruby 2.7.0p0 (2019-12-25 revision 647ee6f091) [x86_64-darwin18] * Backport: 2.5: UNKNOWN, 2.6: UNKNOWN, 2.7: UNKNOWN ---------------------------------------- I just upgraded from 2.6.5 to 2.7.0. Some of my scripts are now emitting warnings that weren't there before. Eg., #16469. Specifically in this report I want to complain that ruby 2.7 is issuing warnings about it's own net/imap library: lib/ruby/2.7.0/Net/imap.rb:906: warning: Capturing the given block using Proc.new is deprecated; use `&block` instead -- https://bugs.ruby-lang.org/ Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe> <http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>