Hi !

This is indeed fixed on master. My patch has the advantage of removing the extraneous "to string" and "parsing" steps but that's not a big deal.
Thanks!

On Sun, May 2, 2021 at 11:51 PM Felipe Contreras <felipe.contreras@gmail.com> wrote:
On Sun, May 2, 2021 at 5:43 AM David Bremner <david@tethera.net> wrote:
>
> Jules Aguillon <juloo.dsi@gmail.com> writes:
>
> > The Field.new function from the 'mail' gem changed recently (since
> > 2.7.0, Nov 2017) and now prints a message on stdout:
> >
> >> Passing an unparsed header field to Mail::Field.new is deprecated and will be removed in Mail 2.8.0. Use Mail::Field.parse instead.
>
> I believe this problem was fixed in a different way by Felipe's patch
> applied as 8af4cd16

Indeed, but Jules' patch may be a better solution, I will investigate.

--
Felipe Contreras