Package: ruby-mail / 2.8.1+dfsg1-2

Metadata

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

Patch series

view the series file
Patch File delta Description
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
disable rspec benchmark.patch | (download)

spec/spec_helper.rb | 3 0 + 3 - 0 !
1 file changed, 3 deletions(-)

---