Project

General

Profile

Actions

Bug #16488

closed

2.7 spews warnings about net/imap

Added by chdiza (Charles Diza) over 4 years ago. Updated about 4 years ago.

Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
ruby 2.7.0p0 (2019-12-25 revision 647ee6f091) [x86_64-darwin18]
[ruby-core:96718]

Description

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

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0