Package: ruby-mail / 2.7.1+dfsg1-2

Metadata

Package Version Patches format
ruby-mail 2.7.1+dfsg1-2 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
0001 Add Mail YAML load compatible with Psych 3.x and Psy.patch | (download)

lib/mail/message.rb | 4 2 + 2 - 0 !
lib/mail/yaml.rb | 30 30 + 0 - 0 !
spec/mail/message_spec.rb | 6 3 + 3 - 0 !
spec/mail/parts_list_spec.rb | 2 1 + 1 - 0 !
spec/mail/yaml_spec.rb | 13 13 + 0 - 0 !
5 files changed, 49 insertions(+), 6 deletions(-)

 add mail::yaml#load compatible with psych 3.x and psych 4.x.
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit

Co-authored-by: Vt Ondruch <vondruch@redhat.com>
Backported-by: Antonio Terceiro <terceiro@debian.org>
0002 message_spec fix test to pass under ruby3.1.patch | (download)

spec/mail/message_spec.rb | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 message_spec: fix test to pass under ruby3.1

For some reason, the test is failing like this:

>       expected NoMethodError with "Can not decode an entire message, try calling #decoded on the various fields and body or parts if it is a multipart message.", got #<NoMethodError: Can not decode an entire message, try calling #decoded on the various fields and bod...lling #decoded on the various fields and body or parts if it is a multipart message.'

It seems like the exception message is being duplicated?  However I
cannot reproduce this outside of RSpec even with ruby3.1, or with
ruby3.1 in an upstream-like environment (ruby-standalone + bundle
install).

For now this will stay as a local patch.

Debian-Bug: https://bugs.debian.org/1019635