Input buildinfo: https://buildinfos.debian.net/buildinfo-pool/r/ruby-mail/ruby-mail_2.7.1+dfsg1-1.1_all.buildinfo Use metasnap for getting required timestamps New buildinfo file: /tmp/ruby-mail-2.7.1+dfsg1-1.17wg1c_av/ruby-mail_2.7.1+dfsg1-1.1_all.buildinfo Get source package info: ruby-mail=2.7.1+dfsg1-1.1 Source URL: http://snapshot.notset.fr/mr/package/ruby-mail/2.7.1+dfsg1-1.1/srcfiles?fileinfo=1 env -i PATH=/usr/sbin:/usr/bin:/sbin:/bin TMPDIR=/tmp mmdebstrap --arch=amd64 --include=adduser=3.118 autoconf=2.69-14 automake=1:1.16.3-1 autopoint=0.21-3 autotools-dev=20180224.1+nmu1 base-files=11 base-passwd=3.5.48 bash=5.1-1 binutils=2.35.1-6 binutils-common=2.35.1-6 binutils-x86-64-linux-gnu=2.35.1-6 bsdextrautils=2.36.1-3 bsdutils=1:2.36.1-3 build-essential=12.8 bzip2=1.0.8-4 ca-certificates=20200601 coreutils=8.32-4+b1 cpp=4:10.2.0-1 cpp-10=10.2.1-3 dash=0.5.11+git20200708+dd9ef66-5 debconf=1.5.74 debhelper=13.3 debianutils=4.11.2 devscripts=2.20.5 dh-autoreconf=19 dh-strip-nondeterminism=1.9.0-1 diffutils=1:3.7-3 dirmngr=2.2.20-1 dpkg=1.20.5 dpkg-dev=1.20.5 dwz=0.13+20201015-2 fakeroot=1.25.3-1.1 file=1:5.39-3 findutils=4.7.0+git20201010-2 g++=4:10.2.0-1 g++-10=10.2.1-3 gcc=4:10.2.0-1 gcc-10=10.2.1-3 gcc-10-base=10.2.1-3 gem2deb=1.4 gem2deb-test-runner=1.4 gettext=0.21-3 gettext-base=0.21-3 gnupg=2.2.20-1 gnupg-l10n=2.2.20-1 gnupg-utils=2.2.20-1 gpg=2.2.20-1 gpg-agent=2.2.20-1 gpg-wks-client=2.2.20-1 gpg-wks-server=2.2.20-1 gpgconf=2.2.20-1 gpgsm=2.2.20-1 gpgv=2.2.20-1 grep=3.6-1 groff-base=1.22.4-5 gzip=1.10-2 hostname=3.23 init-system-helpers=1.60 intltool-debian=0.35.0+20060710.5 libacl1=2.2.53-9 libarchive-zip-perl=1.68-1 libasan6=10.2.1-3 libassuan0=2.5.3-7.1 libatomic1=10.2.1-3 libattr1=1:2.4.48-6 libaudit-common=1:3.0-1 libaudit1=1:3.0-1 libb-hooks-op-check-perl=0.22-1+b3 libbinutils=2.35.1-6 libblkid1=2.36.1-3 libbz2-1.0=1.0.8-4 libc-bin=2.31-6 libc-dev-bin=2.31-6 libc6=2.31-6 libc6-dev=2.31-6 libcap-ng0=0.7.9-2.2+b1 libcc1-0=10.2.1-3 libclass-method-modifiers-perl=2.13-1 libcom-err2=1.45.6-1 libcrypt-dev=1:4.4.17-1 libcrypt1=1:4.4.17-1 libctf-nobfd0=2.35.1-6 libctf0=2.35.1-6 libdb5.3=5.3.28+dfsg1-0.6 libdebconfclient0=0.255 libdebhelper-perl=13.3 libdevel-callchecker-perl=0.008-1+b2 libdpkg-perl=1.20.5 libdynaloader-functions-perl=0.003-1.1 libelf1=0.182-1 libencode-locale-perl=1.05-1.1 libexpat1=2.2.10-1 libfakeroot=1.25.3-1.1 libffi7=3.3-5 libfile-dirlist-perl=0.05-2 libfile-homedir-perl=1.006-1 libfile-listing-perl=6.14-1 libfile-stripnondeterminism-perl=1.9.0-1 libfile-touch-perl=0.11-1 libfile-which-perl=1.23-1 libgcc-10-dev=10.2.1-3 libgcc-s1=10.2.1-3 libgcrypt20=1.8.7-2 libgdbm-compat4=1.18.1-5.1 libgdbm6=1.18.1-5.1 libgmp-dev=2:6.2.1+dfsg-1 libgmp10=2:6.2.1+dfsg-1 libgmpxx4ldbl=2:6.2.1+dfsg-1 libgnutls30=3.7.0-3 libgomp1=10.2.1-3 libgpg-error0=1.38-2 libgssapi-krb5-2=1.18.3-4 libhogweed6=3.6-2 libhtml-parser-perl=3.75-1+b1 libhtml-tagset-perl=3.20-4 libhtml-tree-perl=5.07-2 libhttp-cookies-perl=6.09-1 libhttp-date-perl=6.05-1 libhttp-message-perl=6.26-1 libhttp-negotiate-perl=6.01-1 libicu67=67.1-5 libidn2-0=2.3.0-4 libimport-into-perl=1.002005-1 libio-html-perl=1.001-1.1 libio-pty-perl=1:1.15-2 libio-socket-ssl-perl=2.068-1 libipc-run-perl=20200505.0-1 libisl23=0.23-1 libitm1=10.2.1-3 libk5crypto3=1.18.3-4 libkeyutils1=1.6.1-2 libkrb5-3=1.18.3-4 libkrb5support0=1.18.3-4 libksba8=1.5.0-3 libldap-2.4-2=2.4.56+dfsg-1 liblsan0=10.2.1-3 liblwp-mediatypes-perl=6.04-1 liblwp-protocol-https-perl=6.10-1 liblz4-1=1.9.3-1 liblzma5=5.2.4-1+b1 libmagic-mgc=1:5.39-3 libmagic1=1:5.39-3 libmodule-runtime-perl=0.016-1 libmoo-perl=2.004004-1 libmount1=2.36.1-3 libmpc3=1.2.0-1 libmpfr6=4.1.0-3 libncursesw6=6.2+20201114-1 libnet-http-perl=6.19-1 libnet-ssleay-perl=1.88-3+b1 libnettle8=3.6-2 libnpth0=1.6-3 libnsl-dev=1.3.0-2 libnsl2=1.3.0-2 libp11-kit0=0.23.22-1 libpam-modules=1.3.1-5 libpam-modules-bin=1.3.1-5 libpam-runtime=1.3.1-5 libpam0g=1.3.1-5 libparams-classify-perl=0.015-1+b3 libpcre2-8-0=10.36-2 libpcre3=2:8.39-13 libperl5.32=5.32.0-6 libpipeline1=1.5.3-1 libpython3-stdlib=3.9.1-1 libpython3.9-minimal=3.9.1-1 libpython3.9-stdlib=3.9.1-1 libquadmath0=10.2.1-3 libreadline8=8.1-1 librole-tiny-perl=2.001004-1 libruby2.7=2.7.2-3 libsasl2-2=2.1.27+dfsg-2 libsasl2-modules-db=2.1.27+dfsg-2 libseccomp2=2.5.1-1 libselinux1=3.1-2+b2 libsemanage-common=3.1-1 libsemanage1=3.1-1+b2 libsepol1=3.1-1 libsigsegv2=2.12-3 libsmartcols1=2.36.1-3 libsqlite3-0=3.34.0-1 libssl1.1=1.1.1i-1 libstdc++-10-dev=10.2.1-3 libstdc++6=10.2.1-3 libstrictures-perl=2.000006-1 libsub-override-perl=0.09-2 libsub-quote-perl=2.006006-1 libsystemd0=247.2-3 libtasn1-6=4.16.0-2 libtimedate-perl=2.3300-1 libtinfo6=6.2+20201114-1 libtirpc-common=1.2.6-3 libtirpc-dev=1.2.6-3 libtirpc3=1.2.6-3 libtool=2.4.6-14 libtry-tiny-perl=0.30-1 libtsan0=10.2.1-3 libubsan1=10.2.1-3 libuchardet0=0.0.7-1 libudev1=247.2-3 libunistring2=0.9.10-4 liburi-perl=5.05-1 libuuid1=2.36.1-3 libwww-perl=6.50-1 libwww-robotrules-perl=6.02-1 libxml2=2.9.10+dfsg-6.3+b1 libyaml-0-2=0.2.2-1 libzstd1=1.4.8+dfsg-1 linux-libc-dev=5.9.15-1 login=1:4.8.1-1 lsb-base=11.1.0 m4=1.4.18-4 mailcap=3.68 make=4.3-4 man-db=2.9.3-2 mawk=1.3.4.20200120-2 media-types=1.0.1 mime-support=3.66 ncurses-base=6.2+20201114-1 ncurses-bin=6.2+20201114-1 netbase=6.2 openssl=1.1.1i-1 passwd=1:4.8.1-1 patch=2.7.6-6 patchutils=0.4.2-1 perl=5.32.0-6 perl-base=5.32.0-6 perl-modules-5.32=5.32.0-6 perl-openssl-defaults=5 pinentry-curses=1.1.0-4 po-debconf=1.0.21 python3=3.9.1-1 python3-minimal=3.9.1-1 python3.9=3.9.1-1 python3.9-minimal=3.9.1-1 rake=13.0.1-4 readline-common=8.1-1 ruby=1:2.7+2 ruby-all-dev=1:2.7+2 ruby-diff-lcs=1.4.4-1 ruby-mini-mime=1.0.2-1 ruby-minitest=5.13.0-1 ruby-net-telnet=0.1.1-2 ruby-power-assert=1.1.7-1 ruby-rspec=3.9.0c2e2m1s3-1 ruby-rspec-core=3.9.0c2e2m1s3-1 ruby-rspec-expectations=3.9.0c2e2m1s3-1 ruby-rspec-mocks=3.9.0c2e2m1s3-1 ruby-rspec-support=3.9.0c2e2m1s3-1 ruby-rubygems=3.2.0~rc.2-5 ruby-test-unit=3.3.5-1 ruby-xmlrpc=0.3.0-2 ruby2.7=2.7.2-3 ruby2.7-dev=2.7.2-3 rubygems-integration=1.17.3 sed=4.7-1 sensible-utils=0.0.12+nmu1 sysvinit-utils=2.96-5 tar=1.32+dfsg-1 tzdata=2020e-1 util-linux=2.36.1-3 wdiff=1.2.2-2+b1 xz-utils=5.2.4-1+b1 zlib1g=1:1.2.11.dfsg-2 --variant=apt --aptopt=Acquire::Check-Valid-Until "false" --aptopt=Acquire::http::Dl-Limit "1000"; --aptopt=Acquire::https::Dl-Limit "1000"; --aptopt=Acquire::Retries "5"; --aptopt=APT::Get::allow-downgrades "true"; --keyring=/usr/share/keyrings/ --essential-hook=chroot "$1" sh -c "apt-get --yes install fakeroot util-linux" --essential-hook=copy-in /usr/share/keyrings/debian-archive-bullseye-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-security-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-stable.gpg /usr/share/keyrings/debian-archive-buster-automatic.gpg /usr/share/keyrings/debian-archive-buster-security-automatic.gpg /usr/share/keyrings/debian-archive-buster-stable.gpg /usr/share/keyrings/debian-archive-keyring.gpg /usr/share/keyrings/debian-archive-removed-keys.gpg /usr/share/keyrings/debian-archive-stretch-automatic.gpg /usr/share/keyrings/debian-archive-stretch-security-automatic.gpg /usr/share/keyrings/debian-archive-stretch-stable.gpg /usr/share/keyrings/debian-ports-archive-keyring-removed.gpg /usr/share/keyrings/debian-ports-archive-keyring.gpg /usr/share/keyrings/debian-keyring.gpg /etc/apt/trusted.gpg.d/ --essential-hook=chroot "$1" sh -c "rm /etc/apt/sources.list && echo 'deb http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb-src http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb http://snapshot.notset.fr/archive/debian/20201228T023115Z/ unstable main' >> /etc/apt/sources.list && apt-get update" --customize-hook=chroot "$1" useradd --no-create-home -d /nonexistent -p "" builduser -s /bin/bash --customize-hook=chroot "$1" env sh -c "apt-get source --only-source -d ruby-mail=2.7.1+dfsg1-1.1 && mkdir -p /build/ruby-mail-FTRdLB && dpkg-source --no-check -x /*.dsc /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1 && chown -R builduser:builduser /build/ruby-mail-FTRdLB" --customize-hook=chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1 && env DEB_BUILD_OPTIONS="parallel=4" LANG="C.UTF-8" LC_ALL="C.UTF-8" SOURCE_DATE_EPOCH="1609159515" dpkg-buildpackage -uc -a amd64 --build=all" --customize-hook=sync-out /build/ruby-mail-FTRdLB /tmp/ruby-mail-2.7.1+dfsg1-1.17wg1c_av bullseye /dev/null deb http://snapshot.notset.fr/archive/debian/20201228T023115Z unstable main I: automatically chosen mode: root I: chroot architecture amd64 is equal to the host's architecture I: automatically chosen format: tar I: using /tmp/mmdebstrap.NOcXFU8OYw as tempdir I: running apt-get update... I: downloading packages with apt... I: extracting archives... I: installing essential packages... I: running --essential-hook in shell: sh -c 'chroot "$1" sh -c "apt-get --yes install fakeroot util-linux"' exec /tmp/mmdebstrap.NOcXFU8OYw Reading package lists... Building dependency tree... util-linux is already the newest version (2.36.1-3). The following NEW packages will be installed: fakeroot libfakeroot 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. Need to get 134 kB of archives. After this operation, 397 kB of additional disk space will be used. Get:1 http://snapshot.notset.fr/archive/debian/20201228T023115Z unstable/main amd64 libfakeroot amd64 1.25.3-1.1 [47.0 kB] Get:2 http://snapshot.notset.fr/archive/debian/20201228T023115Z unstable/main amd64 fakeroot amd64 1.25.3-1.1 [87.0 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 134 kB in 0s (1125 kB/s) Selecting previously unselected package libfakeroot:amd64. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 4619 files and directories currently installed.) Preparing to unpack .../libfakeroot_1.25.3-1.1_amd64.deb ... Unpacking libfakeroot:amd64 (1.25.3-1.1) ... Selecting previously unselected package fakeroot. Preparing to unpack .../fakeroot_1.25.3-1.1_amd64.deb ... Unpacking fakeroot (1.25.3-1.1) ... Setting up libfakeroot:amd64 (1.25.3-1.1) ... Setting up fakeroot (1.25.3-1.1) ... update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode Processing triggers for libc-bin (2.31-6) ... I: running special hook: copy-in /usr/share/keyrings/debian-archive-bullseye-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-security-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-stable.gpg /usr/share/keyrings/debian-archive-buster-automatic.gpg /usr/share/keyrings/debian-archive-buster-security-automatic.gpg /usr/share/keyrings/debian-archive-buster-stable.gpg /usr/share/keyrings/debian-archive-keyring.gpg /usr/share/keyrings/debian-archive-removed-keys.gpg /usr/share/keyrings/debian-archive-stretch-automatic.gpg /usr/share/keyrings/debian-archive-stretch-security-automatic.gpg /usr/share/keyrings/debian-archive-stretch-stable.gpg /usr/share/keyrings/debian-ports-archive-keyring-removed.gpg /usr/share/keyrings/debian-ports-archive-keyring.gpg /usr/share/keyrings/debian-keyring.gpg /etc/apt/trusted.gpg.d/ I: running --essential-hook in shell: sh -c 'chroot "$1" sh -c "rm /etc/apt/sources.list && echo 'deb http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb-src http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb http://snapshot.notset.fr/archive/debian/20201228T023115Z/ unstable main' >> /etc/apt/sources.list && apt-get update"' exec /tmp/mmdebstrap.NOcXFU8OYw Get:1 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm InRelease [81.6 kB] Hit:2 http://snapshot.notset.fr/archive/debian/20201228T023115Z unstable InRelease Ign:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources Ign:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages Ign:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources Ign:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages Ign:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources Ign:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages Get:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources [11.4 MB] Get:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages [11.1 MB] Fetched 22.6 MB in 19s (1186 kB/s) Reading package lists... I: installing remaining packages inside the chroot... I: running --customize-hook in shell: sh -c 'chroot "$1" useradd --no-create-home -d /nonexistent -p "" builduser -s /bin/bash' exec /tmp/mmdebstrap.NOcXFU8OYw I: running --customize-hook in shell: sh -c 'chroot "$1" env sh -c "apt-get source --only-source -d ruby-mail=2.7.1+dfsg1-1.1 && mkdir -p /build/ruby-mail-FTRdLB && dpkg-source --no-check -x /*.dsc /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1 && chown -R builduser:builduser /build/ruby-mail-FTRdLB"' exec /tmp/mmdebstrap.NOcXFU8OYw Reading package lists... NOTICE: 'ruby-mail' packaging is maintained in the 'Git' version control system at: https://salsa.debian.org/ruby-team/ruby-mail.git Please use: git clone https://salsa.debian.org/ruby-team/ruby-mail.git to retrieve the latest (possibly unreleased) updates to the package. Need to get 631 kB of source archives. Get:1 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main ruby-mail 2.7.1+dfsg1-1.1 (dsc) [2105 B] Get:2 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main ruby-mail 2.7.1+dfsg1-1.1 (tar) [625 kB] Get:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main ruby-mail 2.7.1+dfsg1-1.1 (diff) [3832 B] Fetched 631 kB in 1s (1031 kB/s) Download complete and in download only mode W: Download is performed unsandboxed as root as file 'ruby-mail_2.7.1+dfsg1-1.1.dsc' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied) dpkg-source: info: extracting ruby-mail in /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1 dpkg-source: info: unpacking ruby-mail_2.7.1+dfsg1.orig.tar.gz dpkg-source: info: unpacking ruby-mail_2.7.1+dfsg1-1.1.debian.tar.xz I: running --customize-hook in shell: sh -c 'chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1 && env DEB_BUILD_OPTIONS="parallel=4" LANG="C.UTF-8" LC_ALL="C.UTF-8" SOURCE_DATE_EPOCH="1609159515" dpkg-buildpackage -uc -a amd64 --build=all"' exec /tmp/mmdebstrap.NOcXFU8OYw dpkg-buildpackage: info: source package ruby-mail dpkg-buildpackage: info: source version 2.7.1+dfsg1-1.1 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Holger Levsen dpkg-source --before-build . fakeroot debian/rules clean dh clean --buildsystem=ruby --with ruby dh_auto_clean -O--buildsystem=ruby dh_ruby --clean NOTE: Gem::Specification#has_rdoc= is deprecated with no replacement. It will be removed in Rubygems 4 Gem::Specification#has_rdoc= called from mail.gemspec.gem2deb:13. dh_ruby --clean dh_autoreconf_clean -O--buildsystem=ruby dh_clean -O--buildsystem=ruby debian/rules build-indep dh build-indep --buildsystem=ruby --with ruby dh_update_autotools_config -i -O--buildsystem=ruby dh_autoreconf -i -O--buildsystem=ruby dh_auto_configure -i -O--buildsystem=ruby dh_ruby --configure dh_auto_build -i -O--buildsystem=ruby dh_ruby --build dh_ruby --build dh_auto_test -i -O--buildsystem=ruby dh_ruby --test create-stamp debian/debhelper-build-stamp fakeroot debian/rules binary-indep dh binary-indep --buildsystem=ruby --with ruby dh_testroot -i -O--buildsystem=ruby dh_prep -i -O--buildsystem=ruby dh_auto_install -i -O--buildsystem=ruby dh_ruby --install /build/ruby-mail-FTRdLB/ruby-mail-2.7.1\+dfsg1/debian/ruby-mail NOTE: Gem::Specification#has_rdoc= is deprecated with no replacement. It will be removed in Rubygems 4 Gem::Specification#has_rdoc= called from mail.gemspec.gem2deb:13. dh_ruby --install ┌──────────────────────────────────────────────────────────────────────────────┐ │ Install files │ └──────────────────────────────────────────────────────────────────────────────┘ install -d /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/debian/ruby-mail/usr/lib/ruby/vendor_ruby install -D -m644 /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/lib/mail.rb /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/debian/ruby-mail/usr/lib/ruby/vendor_ruby/mail.rb install -D -m644 /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/lib/mail/fields.rb /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/debian/ruby-mail/usr/lib/ruby/vendor_ruby/mail/fields.rb install -D -m644 /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/lib/mail/multibyte.rb /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/debian/ruby-mail/usr/lib/ruby/vendor_ruby/mail/multibyte.rb install -D -m644 /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/lib/mail/values/unicode_tables.dat /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/debian/ruby-mail/usr/lib/ruby/vendor_ruby/mail/values/unicode_tables.dat install -D -m644 /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/lib/mail/configuration.rb /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/debian/ruby-mail/usr/lib/ruby/vendor_ruby/mail/configuration.rb install -D -m644 /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/lib/mail/elements/phrase_list.rb /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/debian/ruby-mail/usr/lib/ruby/vendor_ruby/mail/elements/phrase_list.rb install -D -m644 /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/lib/mail/elements/received_element.rb /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/debian/ruby-mail/usr/lib/ruby/vendor_ruby/mail/elements/received_element.rb install -D -m644 /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/lib/mail/elements/content_type_element.rb /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/debian/ruby-mail/usr/lib/ruby/vendor_ruby/mail/elements/content_type_element.rb install -D -m644 /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/lib/mail/elements/date_time_element.rb /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/debian/ruby-mail/usr/lib/ruby/vendor_ruby/mail/elements/date_time_element.rb install -D -m644 /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/lib/mail/elements/address_list.rb /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/debian/ruby-mail/usr/lib/ruby/vendor_ruby/mail/elements/address_list.rb install -D -m644 /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/lib/mail/elements/content_location_element.rb /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/debian/ruby-mail/usr/lib/ruby/vendor_ruby/mail/elements/content_location_element.rb install -D -m644 /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/lib/mail/elements/envelope_from_element.rb /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/debian/ruby-mail/usr/lib/ruby/vendor_ruby/mail/elements/envelope_from_element.rb install -D -m644 /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/lib/mail/elements/address.rb /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/debian/ruby-mail/usr/lib/ruby/vendor_ruby/mail/elements/address.rb install -D -m644 /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/lib/mail/elements/message_ids_element.rb /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/debian/ruby-mail/usr/lib/ruby/vendor_ruby/mail/elements/message_ids_element.rb install -D -m644 /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/lib/mail/elements/content_transfer_encoding_element.rb /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/debian/ruby-mail/usr/lib/ruby/vendor_ruby/mail/elements/content_transfer_encoding_element.rb install -D -m644 /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/lib/mail/elements/content_disposition_element.rb /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/debian/ruby-mail/usr/lib/ruby/vendor_ruby/mail/elements/content_disposition_element.rb install -D -m644 /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/lib/mail/elements/mime_version_element.rb /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/debian/ruby-mail/usr/lib/ruby/vendor_ruby/mail/elements/mime_version_element.rb install -D -m644 /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/lib/mail/mail.rb /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/debian/ruby-mail/usr/lib/ruby/vendor_ruby/mail/mail.rb install -D -m644 /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/lib/mail/parts_list.rb /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/debian/ruby-mail/usr/lib/ruby/vendor_ruby/mail/parts_list.rb install -D -m644 /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/lib/mail/version.rb /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/debian/ruby-mail/usr/lib/ruby/vendor_ruby/mail/version.rb install -D -m644 /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/lib/mail/parsers/message_ids_parser.rb /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/debian/ruby-mail/usr/lib/ruby/vendor_ruby/mail/parsers/message_ids_parser.rb install -D -m644 /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/lib/mail/parsers/envelope_from_parser.rl /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/debian/ruby-mail/usr/lib/ruby/vendor_ruby/mail/parsers/envelope_from_parser.rl install -D -m644 /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/lib/mail/parsers/content_type_parser.rl /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/debian/ruby-mail/usr/lib/ruby/vendor_ruby/mail/parsers/content_type_parser.rl install -D -m644 /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/lib/mail/parsers/message_ids_parser.rl /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/debian/ruby-mail/usr/lib/ruby/vendor_ruby/mail/parsers/message_ids_parser.rl install -D -m644 /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/lib/mail/parsers/rfc2183_content_disposition.rl /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/debian/ruby-mail/usr/lib/ruby/vendor_ruby/mail/parsers/rfc2183_content_disposition.rl install -D -m644 /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/lib/mail/parsers/address_lists_parser.rb /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/debian/ruby-mail/usr/lib/ruby/vendor_ruby/mail/parsers/address_lists_parser.rb install -D -m644 /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/lib/mail/parsers/rfc5322_date_time.rl /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/debian/ruby-mail/usr/lib/ruby/vendor_ruby/mail/parsers/rfc5322_date_time.rl install -D -m644 /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/lib/mail/parsers/rfc5234_abnf_core_rules.rl /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/debian/ruby-mail/usr/lib/ruby/vendor_ruby/mail/parsers/rfc5234_abnf_core_rules.rl install -D -m644 /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/lib/mail/parsers/content_location_parser.rb /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/debian/ruby-mail/usr/lib/ruby/vendor_ruby/mail/parsers/content_location_parser.rb install -D -m644 /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/lib/mail/parsers/rfc2045_content_transfer_encoding.rl /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/debian/ruby-mail/usr/lib/ruby/vendor_ruby/mail/parsers/rfc2045_content_transfer_encoding.rl install -D -m644 /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/lib/mail/parsers/envelope_from_parser.rb /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/debian/ruby-mail/usr/lib/ruby/vendor_ruby/mail/parsers/envelope_from_parser.rb install -D -m644 /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/lib/mail/parsers/received_parser.rb /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/debian/ruby-mail/usr/lib/ruby/vendor_ruby/mail/parsers/received_parser.rb install -D -m644 /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/lib/mail/parsers/content_location_parser.rl /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/debian/ruby-mail/usr/lib/ruby/vendor_ruby/mail/parsers/content_location_parser.rl install -D -m644 /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/lib/mail/parsers/content_transfer_encoding_parser.rl /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/debian/ruby-mail/usr/lib/ruby/vendor_ruby/mail/parsers/content_transfer_encoding_parser.rl install -D -m644 /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/lib/mail/parsers/rfc3629_utf8.rl /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/debian/ruby-mail/usr/lib/ruby/vendor_ruby/mail/parsers/rfc3629_utf8.rl install -D -m644 /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/lib/mail/parsers/rfc2045_mime.rl /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/debian/ruby-mail/usr/lib/ruby/vendor_ruby/mail/parsers/rfc2045_mime.rl install -D -m644 /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/lib/mail/parsers/content_disposition_parser.rl /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/debian/ruby-mail/usr/lib/ruby/vendor_ruby/mail/parsers/content_disposition_parser.rl install -D -m644 /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/lib/mail/parsers/phrase_lists_parser.rl /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/debian/ruby-mail/usr/lib/ruby/vendor_ruby/mail/parsers/phrase_lists_parser.rl install -D -m644 /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/lib/mail/parsers/mime_version_parser.rl /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/debian/ruby-mail/usr/lib/ruby/vendor_ruby/mail/parsers/mime_version_parser.rl install -D -m644 /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/lib/mail/parsers/address_lists_parser.rl /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/debian/ruby-mail/usr/lib/ruby/vendor_ruby/mail/parsers/address_lists_parser.rl install -D -m644 /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/lib/mail/parsers/content_type_parser.rb /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/debian/ruby-mail/usr/lib/ruby/vendor_ruby/mail/parsers/content_type_parser.rb install -D -m644 /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/lib/mail/parsers/date_time_parser.rb /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/debian/ruby-mail/usr/lib/ruby/vendor_ruby/mail/parsers/date_time_parser.rb install -D -m644 /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/lib/mail/parsers/received_parser.rl /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/debian/ruby-mail/usr/lib/ruby/vendor_ruby/mail/parsers/received_parser.rl install -D -m644 /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/lib/mail/parsers/date_time_parser.rl /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/debian/ruby-mail/usr/lib/ruby/vendor_ruby/mail/parsers/date_time_parser.rl install -D -m644 /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/lib/mail/parsers/rfc5322_lexical_tokens.rl /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/debian/ruby-mail/usr/lib/ruby/vendor_ruby/mail/parsers/rfc5322_lexical_tokens.rl install -D -m644 /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/lib/mail/parsers/phrase_lists_parser.rb /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/debian/ruby-mail/usr/lib/ruby/vendor_ruby/mail/parsers/phrase_lists_parser.rb install -D -m644 /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/lib/mail/parsers/mime_version_parser.rb /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/debian/ruby-mail/usr/lib/ruby/vendor_ruby/mail/parsers/mime_version_parser.rb install -D -m644 /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/lib/mail/parsers/rfc5322_address.rl /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/debian/ruby-mail/usr/lib/ruby/vendor_ruby/mail/parsers/rfc5322_address.rl install -D -m644 /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/lib/mail/parsers/rfc5322.rl /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/debian/ruby-mail/usr/lib/ruby/vendor_ruby/mail/parsers/rfc5322.rl install -D -m644 /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/lib/mail/parsers/content_disposition_parser.rb /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/debian/ruby-mail/usr/lib/ruby/vendor_ruby/mail/parsers/content_disposition_parser.rb install -D -m644 /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/lib/mail/parsers/rfc2045_content_type.rl /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/debian/ruby-mail/usr/lib/ruby/vendor_ruby/mail/parsers/rfc2045_content_type.rl install -D -m644 /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/lib/mail/parsers/content_transfer_encoding_parser.rb /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/debian/ruby-mail/usr/lib/ruby/vendor_ruby/mail/parsers/content_transfer_encoding_parser.rb install -D -m644 /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/lib/mail/multibyte/utils.rb /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/debian/ruby-mail/usr/lib/ruby/vendor_ruby/mail/multibyte/utils.rb install -D -m644 /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/lib/mail/multibyte/chars.rb /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/debian/ruby-mail/usr/lib/ruby/vendor_ruby/mail/multibyte/chars.rb install -D -m644 /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/lib/mail/multibyte/unicode.rb /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/debian/ruby-mail/usr/lib/ruby/vendor_ruby/mail/multibyte/unicode.rb install -D -m644 /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/lib/mail/check_delivery_params.rb /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/debian/ruby-mail/usr/lib/ruby/vendor_ruby/mail/check_delivery_params.rb install -D -m644 /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/lib/mail/utilities.rb /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/debian/ruby-mail/usr/lib/ruby/vendor_ruby/mail/utilities.rb install -D -m644 /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/lib/mail/part.rb /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/debian/ruby-mail/usr/lib/ruby/vendor_ruby/mail/part.rb install -D -m644 /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/lib/mail/version_specific/ruby_1_9.rb /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/debian/ruby-mail/usr/lib/ruby/vendor_ruby/mail/version_specific/ruby_1_9.rb install -D -m644 /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/lib/mail/version_specific/ruby_1_8.rb /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/debian/ruby-mail/usr/lib/ruby/vendor_ruby/mail/version_specific/ruby_1_8.rb install -D -m644 /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/lib/mail/constants.rb /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/debian/ruby-mail/usr/lib/ruby/vendor_ruby/mail/constants.rb install -D -m644 /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/lib/mail/elements.rb /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/debian/ruby-mail/usr/lib/ruby/vendor_ruby/mail/elements.rb install -D -m644 /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/lib/mail/encodings.rb /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/debian/ruby-mail/usr/lib/ruby/vendor_ruby/mail/encodings.rb install -D -m644 /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/lib/mail/network/delivery_methods/test_mailer.rb /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/debian/ruby-mail/usr/lib/ruby/vendor_ruby/mail/network/delivery_methods/test_mailer.rb install -D -m644 /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/lib/mail/network/delivery_methods/smtp_connection.rb /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/debian/ruby-mail/usr/lib/ruby/vendor_ruby/mail/network/delivery_methods/smtp_connection.rb install -D -m644 /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/lib/mail/network/delivery_methods/sendmail.rb /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/debian/ruby-mail/usr/lib/ruby/vendor_ruby/mail/network/delivery_methods/sendmail.rb install -D -m644 /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/lib/mail/network/delivery_methods/file_delivery.rb /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/debian/ruby-mail/usr/lib/ruby/vendor_ruby/mail/network/delivery_methods/file_delivery.rb install -D -m644 /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/lib/mail/network/delivery_methods/smtp.rb /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/debian/ruby-mail/usr/lib/ruby/vendor_ruby/mail/network/delivery_methods/smtp.rb install -D -m644 /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/lib/mail/network/delivery_methods/logger_delivery.rb /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/debian/ruby-mail/usr/lib/ruby/vendor_ruby/mail/network/delivery_methods/logger_delivery.rb install -D -m644 /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/lib/mail/network/delivery_methods/exim.rb /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/debian/ruby-mail/usr/lib/ruby/vendor_ruby/mail/network/delivery_methods/exim.rb install -D -m644 /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/lib/mail/network/retriever_methods/base.rb /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/debian/ruby-mail/usr/lib/ruby/vendor_ruby/mail/network/retriever_methods/base.rb install -D -m644 /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/lib/mail/network/retriever_methods/test_retriever.rb /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/debian/ruby-mail/usr/lib/ruby/vendor_ruby/mail/network/retriever_methods/test_retriever.rb install -D -m644 /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/lib/mail/network/retriever_methods/imap.rb /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/debian/ruby-mail/usr/lib/ruby/vendor_ruby/mail/network/retriever_methods/imap.rb install -D -m644 /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/lib/mail/network/retriever_methods/pop3.rb /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/debian/ruby-mail/usr/lib/ruby/vendor_ruby/mail/network/retriever_methods/pop3.rb install -D -m644 /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/lib/mail/matchers/has_sent_mail.rb /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/debian/ruby-mail/usr/lib/ruby/vendor_ruby/mail/matchers/has_sent_mail.rb install -D -m644 /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/lib/mail/matchers/attachment_matchers.rb /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/debian/ruby-mail/usr/lib/ruby/vendor_ruby/mail/matchers/attachment_matchers.rb install -D -m644 /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/lib/mail/body.rb /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/debian/ruby-mail/usr/lib/ruby/vendor_ruby/mail/body.rb install -D -m644 /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/lib/mail/field_list.rb /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/debian/ruby-mail/usr/lib/ruby/vendor_ruby/mail/field_list.rb install -D -m644 /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/lib/mail/encodings/binary.rb /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/debian/ruby-mail/usr/lib/ruby/vendor_ruby/mail/encodings/binary.rb install -D -m644 /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/lib/mail/encodings/8bit.rb /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/debian/ruby-mail/usr/lib/ruby/vendor_ruby/mail/encodings/8bit.rb install -D -m644 /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/lib/mail/encodings/7bit.rb /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/debian/ruby-mail/usr/lib/ruby/vendor_ruby/mail/encodings/7bit.rb install -D -m644 /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/lib/mail/encodings/identity.rb /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/debian/ruby-mail/usr/lib/ruby/vendor_ruby/mail/encodings/identity.rb install -D -m644 /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/lib/mail/encodings/base64.rb /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/debian/ruby-mail/usr/lib/ruby/vendor_ruby/mail/encodings/base64.rb install -D -m644 /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/lib/mail/encodings/unix_to_unix.rb /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/debian/ruby-mail/usr/lib/ruby/vendor_ruby/mail/encodings/unix_to_unix.rb install -D -m644 /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/lib/mail/encodings/transfer_encoding.rb /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/debian/ruby-mail/usr/lib/ruby/vendor_ruby/mail/encodings/transfer_encoding.rb install -D -m644 /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/lib/mail/encodings/quoted_printable.rb /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/debian/ruby-mail/usr/lib/ruby/vendor_ruby/mail/encodings/quoted_printable.rb install -D -m644 /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/lib/mail/parser_tools.rb /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/debian/ruby-mail/usr/lib/ruby/vendor_ruby/mail/parser_tools.rb install -D -m644 /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/lib/mail/fields/received_field.rb /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/debian/ruby-mail/usr/lib/ruby/vendor_ruby/mail/fields/received_field.rb install -D -m644 /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/lib/mail/fields/sender_field.rb /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/debian/ruby-mail/usr/lib/ruby/vendor_ruby/mail/fields/sender_field.rb install -D -m644 /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/lib/mail/fields/bcc_field.rb /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/debian/ruby-mail/usr/lib/ruby/vendor_ruby/mail/fields/bcc_field.rb install -D -m644 /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/lib/mail/fields/structured_field.rb /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/debian/ruby-mail/usr/lib/ruby/vendor_ruby/mail/fields/structured_field.rb install -D -m644 /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/lib/mail/fields/reply_to_field.rb /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/debian/ruby-mail/usr/lib/ruby/vendor_ruby/mail/fields/reply_to_field.rb install -D -m644 /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/lib/mail/fields/cc_field.rb /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/debian/ruby-mail/usr/lib/ruby/vendor_ruby/mail/fields/cc_field.rb install -D -m644 /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/lib/mail/fields/content_disposition_field.rb /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/debian/ruby-mail/usr/lib/ruby/vendor_ruby/mail/fields/content_disposition_field.rb install -D -m644 /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/lib/mail/fields/optional_field.rb /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/debian/ruby-mail/usr/lib/ruby/vendor_ruby/mail/fields/optional_field.rb install -D -m644 /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/lib/mail/fields/references_field.rb /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/debian/ruby-mail/usr/lib/ruby/vendor_ruby/mail/fields/references_field.rb install -D -m644 /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/lib/mail/fields/content_location_field.rb /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/debian/ruby-mail/usr/lib/ruby/vendor_ruby/mail/fields/content_location_field.rb install -D -m644 /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/lib/mail/fields/in_reply_to_field.rb /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/debian/ruby-mail/usr/lib/ruby/vendor_ruby/mail/fields/in_reply_to_field.rb install -D -m644 /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/lib/mail/fields/message_id_field.rb /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/debian/ruby-mail/usr/lib/ruby/vendor_ruby/mail/fields/message_id_field.rb install -D -m644 /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/lib/mail/fields/return_path_field.rb /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/debian/ruby-mail/usr/lib/ruby/vendor_ruby/mail/fields/return_path_field.rb install -D -m644 /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/lib/mail/fields/mime_version_field.rb /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/debian/ruby-mail/usr/lib/ruby/vendor_ruby/mail/fields/mime_version_field.rb install -D -m644 /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/lib/mail/fields/to_field.rb /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/debian/ruby-mail/usr/lib/ruby/vendor_ruby/mail/fields/to_field.rb install -D -m644 /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/lib/mail/fields/resent_date_field.rb /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/debian/ruby-mail/usr/lib/ruby/vendor_ruby/mail/fields/resent_date_field.rb install -D -m644 /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/lib/mail/fields/resent_sender_field.rb /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/debian/ruby-mail/usr/lib/ruby/vendor_ruby/mail/fields/resent_sender_field.rb install -D -m644 /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/lib/mail/fields/content_description_field.rb /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/debian/ruby-mail/usr/lib/ruby/vendor_ruby/mail/fields/content_description_field.rb install -D -m644 /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/lib/mail/fields/from_field.rb /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/debian/ruby-mail/usr/lib/ruby/vendor_ruby/mail/fields/from_field.rb install -D -m644 /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/lib/mail/fields/subject_field.rb /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/debian/ruby-mail/usr/lib/ruby/vendor_ruby/mail/fields/subject_field.rb install -D -m644 /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/lib/mail/fields/keywords_field.rb /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/debian/ruby-mail/usr/lib/ruby/vendor_ruby/mail/fields/keywords_field.rb install -D -m644 /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/lib/mail/fields/content_id_field.rb /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/debian/ruby-mail/usr/lib/ruby/vendor_ruby/mail/fields/content_id_field.rb install -D -m644 /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/lib/mail/fields/date_field.rb /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/debian/ruby-mail/usr/lib/ruby/vendor_ruby/mail/fields/date_field.rb install -D -m644 /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/lib/mail/fields/resent_to_field.rb /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/debian/ruby-mail/usr/lib/ruby/vendor_ruby/mail/fields/resent_to_field.rb install -D -m644 /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/lib/mail/fields/resent_from_field.rb /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/debian/ruby-mail/usr/lib/ruby/vendor_ruby/mail/fields/resent_from_field.rb install -D -m644 /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/lib/mail/fields/unstructured_field.rb /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/debian/ruby-mail/usr/lib/ruby/vendor_ruby/mail/fields/unstructured_field.rb install -D -m644 /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/lib/mail/fields/resent_cc_field.rb /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/debian/ruby-mail/usr/lib/ruby/vendor_ruby/mail/fields/resent_cc_field.rb install -D -m644 /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/lib/mail/fields/resent_message_id_field.rb /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/debian/ruby-mail/usr/lib/ruby/vendor_ruby/mail/fields/resent_message_id_field.rb install -D -m644 /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/lib/mail/fields/common/address_container.rb /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/debian/ruby-mail/usr/lib/ruby/vendor_ruby/mail/fields/common/address_container.rb install -D -m644 /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/lib/mail/fields/common/common_field.rb /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/debian/ruby-mail/usr/lib/ruby/vendor_ruby/mail/fields/common/common_field.rb install -D -m644 /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/lib/mail/fields/common/parameter_hash.rb /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/debian/ruby-mail/usr/lib/ruby/vendor_ruby/mail/fields/common/parameter_hash.rb install -D -m644 /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/lib/mail/fields/common/common_date.rb /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/debian/ruby-mail/usr/lib/ruby/vendor_ruby/mail/fields/common/common_date.rb install -D -m644 /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/lib/mail/fields/common/common_address.rb /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/debian/ruby-mail/usr/lib/ruby/vendor_ruby/mail/fields/common/common_address.rb install -D -m644 /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/lib/mail/fields/common/common_message_id.rb /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/debian/ruby-mail/usr/lib/ruby/vendor_ruby/mail/fields/common/common_message_id.rb install -D -m644 /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/lib/mail/fields/content_type_field.rb /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/debian/ruby-mail/usr/lib/ruby/vendor_ruby/mail/fields/content_type_field.rb install -D -m644 /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/lib/mail/fields/resent_bcc_field.rb /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/debian/ruby-mail/usr/lib/ruby/vendor_ruby/mail/fields/resent_bcc_field.rb install -D -m644 /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/lib/mail/fields/content_transfer_encoding_field.rb /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/debian/ruby-mail/usr/lib/ruby/vendor_ruby/mail/fields/content_transfer_encoding_field.rb install -D -m644 /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/lib/mail/fields/comments_field.rb /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/debian/ruby-mail/usr/lib/ruby/vendor_ruby/mail/fields/comments_field.rb install -D -m644 /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/lib/mail/network.rb /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/debian/ruby-mail/usr/lib/ruby/vendor_ruby/mail/network.rb install -D -m644 /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/lib/mail/indifferent_hash.rb /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/debian/ruby-mail/usr/lib/ruby/vendor_ruby/mail/indifferent_hash.rb install -D -m644 /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/lib/mail/core_extensions/smtp.rb /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/debian/ruby-mail/usr/lib/ruby/vendor_ruby/mail/core_extensions/smtp.rb install -D -m644 /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/lib/mail/core_extensions/string.rb /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/debian/ruby-mail/usr/lib/ruby/vendor_ruby/mail/core_extensions/string.rb install -D -m644 /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/lib/mail/attachments_list.rb /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/debian/ruby-mail/usr/lib/ruby/vendor_ruby/mail/attachments_list.rb install -D -m644 /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/lib/mail/header.rb /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/debian/ruby-mail/usr/lib/ruby/vendor_ruby/mail/header.rb install -D -m644 /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/lib/mail/envelope.rb /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/debian/ruby-mail/usr/lib/ruby/vendor_ruby/mail/envelope.rb install -D -m644 /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/lib/mail/parsers.rb /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/debian/ruby-mail/usr/lib/ruby/vendor_ruby/mail/parsers.rb install -D -m644 /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/lib/mail/field.rb /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/debian/ruby-mail/usr/lib/ruby/vendor_ruby/mail/field.rb install -D -m644 /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/lib/mail/message.rb /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/debian/ruby-mail/usr/lib/ruby/vendor_ruby/mail/message.rb ┌──────────────────────────────────────────────────────────────────────────────┐ │ Install Rubygems integration metadata │ └──────────────────────────────────────────────────────────────────────────────┘ generating gemspec at /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/debian/ruby-mail/usr/share/rubygems-integration/all/specifications/mail-2.7.1.gemspec dh_installchangelogs -pruby-mail /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/CHANGELOG.rdoc upstream /usr/bin/ruby2.7 /usr/bin/gem2deb-test-runner ┌──────────────────────────────────────────────────────────────────────────────┐ │ Checking Rubygems dependency resolution on ruby2.7 │ └──────────────────────────────────────────────────────────────────────────────┘ NOTE: Gem::Specification#has_rdoc= is deprecated with no replacement. It will be removed in Rubygems 4 Gem::Specification#has_rdoc= called from mail.gemspec.gem2deb:13. GEM_PATH=/build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/debian/ruby-mail/usr/share/rubygems-integration/all:/var/lib/gems/2.7.0:/usr/local/lib/ruby/gems/2.7.0:/usr/lib/ruby/gems/2.7.0:/usr/lib/x86_64-linux-gnu/ruby/gems/2.7.0:/usr/share/rubygems-integration/2.7.0:/usr/share/rubygems-integration/all:/usr/lib/x86_64-linux-gnu/rubygems-integration/2.7.0 ruby2.7 -e gem\ \"mail\" ┌──────────────────────────────────────────────────────────────────────────────┐ │ Run tests for ruby2.7 from debian/ruby-tests.rake │ └──────────────────────────────────────────────────────────────────────────────┘ RUBYLIB=/build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/debian/ruby-mail/usr/lib/ruby/vendor_ruby:. GEM_PATH=/build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/debian/ruby-mail/usr/share/rubygems-integration/all:/var/lib/gems/2.7.0:/usr/local/lib/ruby/gems/2.7.0:/usr/lib/ruby/gems/2.7.0:/usr/lib/x86_64-linux-gnu/ruby/gems/2.7.0:/usr/share/rubygems-integration/2.7.0:/usr/share/rubygems-integration/all:/usr/lib/x86_64-linux-gnu/rubygems-integration/2.7.0 ruby2.7 -S rake -f debian/ruby-tests.rake /usr/bin/ruby2.7 -I/usr/share/rubygems-integration/all/gems/rspec-support-3.9.3/lib:/usr/share/rubygems-integration/all/gems/rspec-core-3.9.2/lib /usr/share/rubygems-integration/all/gems/rspec-core-3.9.2/exe/rspec --pattern ./spec/\*\*/\*_spec.rb --format documentation Running Specs under Ruby Version 2.7.2 Running Specs for Mail Version 2.7.1 Attachments from direct content should work should work out magically the mime_type should assign the filename should assign mime-encoded multibyte filename from a supplied Hash should work should allow you to override the content_type should allow you to override the mime_type should allow you to override the mime_type decoding and encoding should set its content_transfer_encoding should encode its body to base64 should allow you to pass in an encoded attachment with an encoding should allow you set a mime type and encoding without overriding the encoding should not allow you to pass in an encoded attachment with an unknown encoding should be able to call read on the attachment to return the decoded data should only add one newline between attachment body and boundary multiple attachments should allow you to pass in more than one attachment inline attachments should set the content_disposition to inline or attachment as appropriate should return a cid should respond true to inline? getting the content ID from an attachment should return a content-id for the attachment on creation if passed inline => true should return a valid content-id on inline attachments should provide a URL escaped content_id (without brackets) for use inside an email setting the content type correctly should set the content type to multipart/mixed if none given and you add an attachment allows you to set the attachment before the content type should handle filenames with non-7bit characters correctly should not raise an exception with a filename that contains a non-7bit-character reading emails with attachments test emails should find the attachment using content location should find an attachment defined with 'name' and Content-Disposition: attachment should use the content-disposition filename over the content-type filename or name should decode an attachment should decode an attachment with linefeeds should find an attachment that has an encoded name value should find an attachment that has a name not surrounded by quotes should decode an attachment without ascii compatible filename should find attachments inside parts with content-type message/rfc822 attach filename decoding (issue 83) attachment order should be preserved instead when content type exists Mail::Body initialization should be instantiated should initialize on a nil value should accept text as raw source data should accept nil as a value and return an empty body should accept an array as the body and join it should accept an array as the body and join it encoding should accept text as raw source data should set its own encoding to us_ascii if it is ascii only body should allow you to set its encoding should allow you to specify an encoding should convert all new lines to crlf decoding should convert all new lines to crlf should not change a body on decode if not given an encoding type to decode should change return the raw text if it does not recognise the encoding should change a body on decode if given an encoding type to decode should change a body on decode if given an encoding type to decode splitting up a multipart document should store the boundary passed in should split at the boundry string given returning two message bodies should split with missing closing boundary should not split with empty space after missing closing boundary should split with multiple parts and missing closing boundary should ignore blank parts should keep the preamble text as its own preamble should return the parts as their own messages should return the first part as its own message should return the first part as its own message should separate out its parts should keep track of its parts should round trip its parts should allow you to change the boundary should split if boundary is not set detecting non ascii should say an empty string is all ascii should say if a body is ascii should say if a body is not ascii adding parts should allow you to add a part should allow you to sort the parts should allow you to sort the parts with an arbitrary sort order should allow you to sort the parts with an arbitrary sort order should sort the parts on encode should put the part types it doesn't know about at the end should allow you to sort the parts recursively should allow you to sort the parts recursively should maintain the relative order of the parts with the same content-type as they are added matching should still equal itself should match on the body part decoded if given a string to == should match on the body part decoded if given a string to == should match on the body part decoded if given a string to =~ should match on the body part decoded if given a string to == should match on the body part decoded if given a string to match should match on the body part decoded if given a string to match should match on the body part decoded if given a string to include? should match on the body part decoded if given a string to include? non US-ASCII charset should encoded invalid encoding should round trip Mail::Configuration network configurations defaults delivery_method to smtp should be available from the Mail.defaults method should configure sendmail should configure sendmail using a string should configure exim should configure an open SMTP connection should accept a plug-in delivery method Mail::AddressList parsing should parse an address list should raise an error if the input is useless should not raise an error if the input is just blank should raise an error if the input is useless should give the address passed in should give the addresses passed in should preserve the display name should handle and ignore nil addresses should handle truly horrific combinations of commas, spaces, and addresses should handle folding whitespace should handle malformed folding whitespace (PENDING: No reason given) should extract comments in addreses which are part of a group functionality should give all the groups when asked should ask the group for all its addresses should give all the addresses when asked should handle a really nasty obsolete address list should create an address instance for each address returned should provide a list of group names Mail::Address functionality should allow us to instantiate an empty address object and call inspect should allow us to instantiate an empty address object and call to_s should allow us to instantiate an empty address object and call format should allow us to instantiate an empty address object and call address should allow us to instantiate an empty address object and call local should allow us to instantiate an empty address object and call domain should allow us to instantiate an empty address object and call name should ignore funky local-only spammy addresses in angle brackets "-Earnings...Notification-" should ignore funky local-only spammy addresses in angle brackets <56253817> should give its address back on :to_s if there is no display name should give its format back on :to_s if there is a display name should give back the display name should preserve the display name passed in should preserve the display name passed in with token unsafe chars should decode the display name without calling #decoded first doesn't get stuck on decode or encode output mode should allow nil display name should give back the local part should give back the domain should give back the formated address should handle an address without a domain should handle comments should handle multiple comments should handle nested comments should give back the raw value should format junk addresses as raw text assigning values directly should allow you to assign an address should allow you to assign a display name should return an empty format a display name and no address defined should allow you to assign an address and a display name parsing basic email addresses should handle all OK local parts should handle all OK domains RFC 6532 UTF-8 chars local domain display name email addresses from the wild should handle |aamine@loveruby.net| should handle |Minero Aoki | should handle |Minero Aoki| should handle |"Minero Aoki" | should handle |Minero Aoki| should handle lots of dots should handle trailing dots should handle |"Joe & J. Harvey" | should handle |"spickett@tiac.net" | should handle |rls@intgp8.ih.att.com (-Schieve,R.L.)| should handle |jrh%cup.portal.com@portal.unix.portal.com| should handle |astrachan@austlcm.sps.mot.com ('paul astrachan/xvt3')| should handle 'TWINE57%SDELVB.decnet@SNYBUF.CS.SNYBUF.EDU (JAMES R. TWINE - THE NERD)' should be able to handle 'David Apfelbaum ' should handle |"JAMES R. TWINE - THE NERD" | should handle '/G=Owen/S=Smith/O=SJ-Research/ADMD=INTERSPAN/C=GB/@mhs-relay.ac.uk' should handle |"Stephen Burke, Liverpool" | should handle 'The Newcastle Info-Server ' should handle 'Suba.Peddada@eng.sun.com (Suba Peddada [CONTRACTOR])' should handle 'Paul Manser (0032 memo) ' should handle |"gregg (g.) woodcock" | should handle |Graham.Barr@tiuk.ti.com| should handle |a909937 (Graham Barr (0004 bodg))| should handle |david d `zoo' zuhn | should handle |(foo@bar.com (foobar), ned@foo.com (nedfoo) ) | should handle |Pete(A wonderful ) chap) | should handle |Joe Q. Public | should handle |Mary Smith <@machine.tld:mary@example.net>| should handle |jdoe@test . example| should handle |groupname+domain.com@example.com| should handle |=?UTF-8?B?8J+RjQ==?= <=?UTF-8?B?8J+RjQ==?=@=?UTF-8?B?8J+RjQ==?=.emoji>| should handle |"Mikel \"quotes\" Lindsaar" | should handle |"Mikel \" Lindsaar" | should handle |"Mikel \"quotes\" (and comments) Lindsaar" (comment1)| should expose group should have no group by default creating parts of an address should add an address should add a display name modifying an address should add an address should add a display name should take an address and a display name and join them should take a display name and an address and join them providing encoded and decoded outputs should provide an encoded output should provide an encoded output for non us-ascii should provide an encoded output for non us-ascii Mail::DateTimeElement should parse a date should raise an error if the input is nil should raise an error if the input is useless Mail::EnvelopeFromElement parsing a from envelope string should parse a full field should parse a full field with a double digit day should parse a full field with a single space day should parse a null sender, when specified as <> should parse a null sender, with a single space day accessor methods should return the address should return the date_time formatting should format delivery date using UNIX ctime style Mail::MessageIdsElement should parse a message_id should parse multiple message_ids should raise an error if the input is nil should raise an error if the input is useless should respond to message_ids should respond to message_id should not fail to parse a message id with dots in it Mail::PhraseList parsing should parse a phrase list should raise an error if the input is nil should not raise an error if the input is useless Mail::ReceivedElement should raise an error if the input is nil should raise an error if the input is useless should give back the date time should give back the info mail encoding should allow you to assign an email-wide charset should let you define a charset per part should replace invalid characters should replace characters of unknown and invalid encoding using default encoding should allow you to send in unencoded strings to fields and encode them should allow you to send in unencoded strings to address fields and encode them should allow you to send in unencoded strings to address fields and encode them should allow you to send in multiple unencoded strings to address fields and encode them should allow you to send unquoted non us-ascii strings, with spaces in them should allow you to send in multiple unencoded strings to any address field should handle groups should handle groups with funky characters quoting token safe chars should not quote the display name if unquoted should not quote the display name if already quoted quoting token unsafe chars should quote the display name should preserve quotes needed from the user and not double quote specifying an email-wide encoding should allow you to send in unencoded strings to fields and encode them should allow you to send in unencoded strings to address fields and encode them should allow you to send in multiple unencoded strings to address fields and encode them should allow you to send in multiple unencoded strings to any address field #pick_encoding picks binary for nil should support latin2 should support ISO_8859-1 should support cp-850 should support base64 should encode base 64 from text should decode base 64 text should encode base 64 from binary should decode base 64 text quoted-printable should encode quoted printable from text should encode quoted printable from crlf text should encode quoted printable from cr text should decode quoted printable should encode quoted printable from binary should decode quoted printable text should cope with inappropriate =0D line break encoding should cope with inappropriate =0A line break encoding should cope with inappropriate =0D=0A line break encoding should allow encoded =0D line breaks with soft line feeds should allow encoded =0A line breaks with soft line feeds should allow encoded =0D=0A line breaks with soft line feeds accepts blank message_encoding x-uuencode is registered as uuencode is registered as x-uuencode is registered as x-uue can transport itself decodes encodes encodes / decodes non-ascii can read itself Mail::Encodings base64 Encoding should return true for base64 should return true for Base64 should return true for :base64 should return the Base64 Encoding class should return the base64 Encoding class should return the base64 Encoding class quoted-printable Encoding should return true for quoted-printable should return true for Quoted-Printable should return true for :quoted_printable should return the QuotedPrintable Encoding class should return the QuotedPrintable Encoding class should return the QuotedPrintable Encoding class B encodings should just return the string if us-ascii and asked to B encoded string should accept other encodings should correctly encode long string mixing with single/multi-byte characters should complain if there is no encoding passed for Ruby < 1.9 should split the string up into bite sized chunks that can be wrapped easily should decode an encoded string should decode a long encoded string should decode UTF-16 encoded string should decode UTF-32 encoded string should decode a string that looks similar to an encoded string (contains '=?') should parse adjacent encoded-words separated by linear white-space should parse adjacent words with no space should collapse adjacent words with multiple encodings on one line seperated by non-spaces should decode a blank string should decode a string, even with an invalid encoding name should decode 8bit encoded string should decode ks_c_5601-1987 encoded string should decode shift-jis encoded string should decode GB18030 encoded string misidentified as GB2312 Q encodings should just return the string if us-ascii and asked to Q encoded string should complain if there is no encoding passed for Ruby < 1.9 should accept other character sets should decode an encoded string should decode q encoded =5F as underscore should not fold a long string that has no spaces should round trip a complex string properly should round trip another complex string (koi-8) should decode a blank string should decode a string with spaces should treat unrecognized charsets as binary mixed Q and B encodings should decode an encoded string parameter MIME encodings should leave an unencoded string alone should unencode an encoded string should unencoded an encoded string and return the right charset on 1.9 should unencode a complete string that included unencoded parts should encode a string should just quote US-ASCII with spaces should leave US-ASCII without spaces alone decoding a string and detecting the encoding type should detect an encoded Base64 string to the decoded string should detect a multiple encoded Base64 string to the decoded string should detect a multiple encoded Base64 string with a space to the decoded string should detect a multiple encoded Base64 string with a whitespace to the decoded string should decode B and Q encodings together if needed should detect a encoded and unencoded Base64 string to the decoded string should detect an encoded QP string to the decoded string should decode UTF-16 encoded string should decode UTF-32 encoded string should detect multiple encoded QP string to the decoded string should detect multiple encoded QP string with a space to the decoded string should detect multiple encoded QP string with a space to the decoded string should detect a encoded and unencoded QP string to the decoded string should detect a plain string and return it should handle a very long string efficiently should handle Base64 encoded ISO-2022-JP string altering an encoded text to decoded and visa versa decoding should detect an encoded Base64 string and return the decoded string should detect an encoded QP string and return the decoded string should detect an a string is already decoded and leave it alone encoding should encode a string into Base64 should leave a string that doesn't need encoding alone unquote and convert to should unquote quoted printable and convert to utf-8 should unquote base64 and convert to utf-8 should handle no charset should unquote multiple lines should unquote a string in the middle of the text should unquote and change to an ISO encoding if we really want should unquote Shift_JIS QP with trailing = handles Windows 1252 QP encoding should recognize iso646-us should unquote multiple strings in the middle of the text should handle multiline quoted headers with mixed content should handle quoted string with mixed content that have a plain string at the end should handle utf_8 quoted printable encoding and decoding should handle underscores in the text should handle underscores in the text should keep the underscores in the text should handle a new line in the text pre encoding non usascii text should not change an ascii string should encode a display that contains non usascii should encode a single token that contains non usascii should encode a display that contains non usascii with quotes as no quotes should encode a display name with us-ascii and non-usascii parts should encode a display name with us-ascii and non-usascii parts ignoring quotes should encode a quoted display name with us-ascii and non-usascii that ends with a non-usascii part should encode multiple addresses correctly should encode multiple addresses correctly when noninitial address contains non-usascii chars should encode multiple unquoted addresses correctly should encode multiple unquoted addresses correctly when noninitial address contains non-usascii chars should encode multiple un bracketed addresses and groups correctly should correctly match and encode non-usascii letters at the end of a quoted string address encoding should not do anything to a plain address should encode an address correctly should encode multiple addresses correctly should encode unicode local part should encode emoji local part should handle a single ascii address correctly from a string should handle multiple ascii addresses correctly from a string should handle ascii addresses correctly as an array should ignore single nil should ignore nil in arrays .charset_encoder can use a custom encoder uses converter for params can convert ansi with best effort .collapse_adjacent_encodings leaves blank intact leaves pure unencoded intact does not modify 1 encoded splits unencoded and encoded into separate parts splits adjacent encodings into separate parts splits adjacent encodings without unencoded into separate parts does not join encodings when separated by unencoded does not join different encodings does not keep the separator character between two different encodings .pick_encoding finds encoding uses binary for unfound Test emails from RFC2822 should handle the basic test email should handle the sender test email should handle multiple recipients test email should handle group address email test should handle reply messages should handle reply message 2 should handle the final reply message should handle the rfc resent example email should handle the RFC trace example email should handle the rfc whitespace test email should handle the rfc obsolete addressing should handle the rfc obsolete dates should handle the rfc obsolete whitespace email (PENDING: No reason given) should handle folding subject from the wild raw_email_encoded_stack_level_too_deep.eml should return an 'encoded' version without raising a SystemStackError should have two parts sig_only_email.eml should not error on multiart/signed emails should have one attachment called signature.asc handling invalid group lists should parse the email and encode without crashing should return an empty groups list empty address lists should parse the email and encode without crashing should return an empty groups list RFC6532 UTF8 headers subject from to invalid charsets in headers falls back to ASCII-8BIT for unrecognized charsets Mail::FieldList should be able to add new fields should be able to add new fields in the right order should add new Received items after the existing ones Mail::Field parsing parses full header fields parses missing whitespace parses added inapplicable whitespace initialization deprecates instantiation by parsing a full header field instantiates with name and value accepts arrays of values accepts omitted values should match up fields to class names should match up fields to class names regardless of case should say anything that is not a known field is an optional field should return an unstuctured field if the structured field parsing raises an error delegates to_s to its field delegates missing methods to its field should respond_to? its own methods and the same methods as its instantiated field class should change its type if you change the name should create a field without trying to parse if given a symbol should inherit charset error handling should populate the errors array if it finds a field it can't deal with helper methods should reply if it is responsible for a field name as a capitalized string - structured field should reply if it is responsible for a field as a lower case string - structured field should reply if it is responsible for a field as a symbol - structured field should say it is the "same" as another if their field types match should say it is not the "same" as another if their field types don't match should say it is not the "same" as nil should say it is == to another if their field and names match should say it is not == to another if their field names do not match should say it is not == to another if their field names match, but not their values should say it is not == to nil should sort according to the field order user defined fields should say it is the "same" as another if their field names match should say it is not == to another if their field names do not match passing an encoding should allow you to send in unencoded strings to fields and encode them should allow you to send in unencoded strings to address fields and encode them should allow you to send in unencoded strings without quotes to address fields and encode them should allow you to send in unencoded strings to address fields and encode them should allow you to send in multiple unencoded strings to address fields and encode them should allow you to send in multiple unencoded strings to any address field should allow an encoded value in the Subject field and decode it automatically (issue 44) should allow you to encoded text in the middle (issue 44) more tolerable to encoding definitions, ISO (issue 120) more tolerable to encoding definitions, ISO-long (issue 120) more tolerable to encoding definitions, UTF (issue 120) more tolerable to encoding definitions, ISO (issue 120) more tolerable to encoding definitions, Windows (issue 120) should support ascii encoded utf-8 subjects should support ascii encoded windows subjects value parsed returns parsed value unparsed returns origin unparsed value Mail::Field::ParseError should be structured Mail::BccField initialization should initialize should mix in the CommonAddress module should accept a string without the field name instance methods should return an address should return two addresses should return one address and a group should return the formatted line on to_s should return nothing by default on encoded as Bcc should not be in the mail should return the encoded line for one address when requested to include in headers should return the encoded line when requested to include in headers should return the decoded line Mail::CcField initialization should initialize should mix in the CommonAddress module should accept a string without the field name instance methods should return an address should return two addresses should return one address and a group should return the formatted line on to_s should return the encoded line for one address should return the encoded line should return the decoded line Mail::CommentsField should initialize should accept a string with the field name AddressContainer should allow you to append an address to an address field result should handle complex addresses correctly Mail::CommonAddress should yield each address object in turn address handling should give the addresses it is going to should split up the address list into individual addresses should give the formatted addresses should give the display names should give the actual address objects should handle groups as well should provide a list of groups should provide a list of addresses per group should provide a list of addresses that are just in the groups should preserve the display name should handle multiple addresses should handle missing display names with an angle address should handle empty display names with an angle address .value= should handle initializing as an empty string should encode to an empty string if it has no addresses or groups a unquoted multi-byte address is given should allow you to set an unquoted, multi-byte address value after initialization should keep the given value a quoted multi-byte address is given should allow you to set an quoted, multi-byte address value after initialization should keep the given value .<< should allow you to append an address a unquoted multi-byte address is given initialized with an empty string should allow you to append an unquoted, multi-byte address value should keep the given value initialized with an us-ascii address should allow you to append a quoted, multi-byte address value initialized with an multi-byte address should allow you to append a quoted, multi-byte address value should keep the given value a quoted multi-byte address is given initialized with an empty string should allow you to append a quoted, multi-byte address value should keep the given value initialized with an us-ascii address should allow you to append a quoted, multi-byte address value initialized with an multi-byte address should allow you to append a quoted, multi-byte address value should keep the given value encoding and decoding fields should allow us to encode an address field should allow us to encode a simple address field should allow us to encode an address field should allow us to decode an address field should allow us to decode a non ascii address field should allow us to decode a non ascii address field Mail::CommonAddress encoding and decoding fields should allow us to encode an date field should allow us to encode an resent date field should allow us to decode an address field Mail::CommonField multi-charset support should return '' on to_s if there is no value should leave ascii alone should encode a utf-8 string as utf-8 quoted printable should wrap an encoded at 60 characters should handle charsets in assigned addresses with content that looks like the field name does not strip from start does not strip from middle Mail::CommonMessageId encoding and decoding fields should allow us to encode a message id field should allow us to encode a message id field should allow us to encode an in reply to field should allow us to decode a message id field Mail::ParameterHash should return the values in the hash should return the values in the hash regardless of symbol or string should return the values in the hash using case-insensitive key matching should return the correct value if they are not encoded should return a name list concatenated should return a name list concatenated and unencoded allows for blank language allows for blank charset allows for blank charset and language converts from specified encoding to utf-8 should allow us to add a value should return an encoded value Mail::ContentDescriptionField initialization should initialize should accept a string without the field name Mail::ContentDispositionField initialization should initialize should accept a string without the field name should accept a nil value and generate a disposition type should render encoded should render encoded for inline should wrap a filename in double quotation marks only if the filename contains spaces and does not already have double quotation marks should render decoded should render decoded inline should handle upper and mixed case INLINE and AttachMent instance methods should give its disposition type should accept a blank disposition type handles nil value finding a filename should locate a filename if there is a filename should locate a name if there is no filename should return an empty string when filename or name is empty should locate an encoded name as a filename Mail::ContentIdField initialization should initialize should accept a string without the field name should accept a nil value and generate a content_id should allow it to be encoded should allow it to be decoded ensuring only one message ID should not accept a string with multiple message IDs but only return the first should change the message id if given a new message id instance methods should provide to_s should provide encoded should respond to :responsible_for? generating a message id should generate a message ID if it has no value should generate a random message ID Mail::ContentLocationField initialization should initialize should accept a string without the field name should render an encoded field should render a decoded field parsing the value should return an encoding string unquoted Mail::ContentTransferEncodingField initialization should initialize should accept a string without the field name should render an encoded field should render a decoded field parsing the value should return an encoding string should treat 7bits/7-bit and 8bits/8-bit as 7bit and 8bit should handle any valid 'x-token' value should handle an x-encoding should handle an ietf encoding (practically, any token) should replace the existing value should raise an error on bogus values should handle an empty content transfer encoding should handle a hyphen Mail::ContentTypeField initialization should initialize should accept a string without the field name should accept a nil value and generate a content_type should render encoded should render encoded with parameters should render quoted values encoded should render decoded should render quoted values decoded should render should wrap a filename in double quotation marks only if the filename contains spaces and does not already have double quotation marks should only wrap filenames in double quotation marks instance methods should return a content_type should return a content_type for the :string method should return a main_type should return a sub_type should return a parameter as a hash should return multiple parameters as a hash should return boundry parameters should be indifferent with the access class methods should give back an initialized instance with a unique boundary should give back an initialized instance with different type with a unique boundary should give unique boundaries Testing a bunch of email Content-Type fields should handle 'application/octet-stream; name*=iso-2022-jp'ja'01%20Quien%20Te%20Dij%8aat.%20Pitbull.mp3' should handle 'application/pdf;' should handle 'application/pdf; name="broken.pdf"' should handle 'application/pkcs7-signature;' should handle 'application/pkcs7-signature; name=smime.p7s' should handle 'application/x-gzip; NAME=blah.gz' should handle 'image/jpeg' should handle 'image/jpeg' should handle 'image/jpeg;' should handle 'image/png;' should handle 'message/delivery-status' should handle 'message/rfc822' should handle 'multipart/alternative;' should handle 'multipart/alternative; boundary="----=_NextPart_000_0093_01C81419.EB75E850"' should handle 'multipart/alternative; boundary=----=_NextPart_000_0093_01C81419.EB75E850' should handle 'Multipart/Alternative;boundary=MuLtIpArT_BoUnDaRy' should handle 'Multipart/Alternative;boundary=MuLtIpArT_BoUnDaRy' should handle 'multipart/alternative; boundary="----jkhkjgyurlkmn789809";; charset="us-ascii"' should handle 'multipart/mixed' should handle 'multipart/mixed;' should handle 'multipart/mixed; boundary=Apple-Mail-13-196941151' should handle 'multipart/mixed; boundary=mimepart_427e4cb4ca329_133ae40413c81ef' should handle 'multipart/report; report-type=delivery-status;' should handle 'multipart/signed;' should handle 'text/enriched;' should handle 'text/html;' should handle 'text/html; charset=iso-8859-1;' should handle 'TEXT/PLAIN; charset=ISO-8859-1;' should handle 'text/plain' should handle 'text/plain;' should handle 'text/plain; charset=ISO-8859-1' should handle 'text/plain; charset=ISO-8859-1;' should handle 'text/plain; charset=us-ascii;' should handle 'text/plain; charset=US-ASCII; format=flowed' should handle 'text/plain; charset=US-ASCII; format=flowed' should handle 'text/plain; charset=utf-8' should handle 'text/plain; charset=utf-8' should handle 'text/x-ruby-script;' should handle 'text/x-ruby-script; name="hello.rb"' should handle 'multipart/mixed; boundary="=_NextPart_Lycos_15031600484464_ID" should handle 'multipart/mixed; boundary="=_NextPart_2rfkindysadvnqw3nerasdf";windows-852 should handle 'multipart/alternative; boundary=----=_=NextPart_000_0093_01C81419.EB75E850 should handle 'multipart/alternative; boundary="----=_=NextPart_000_0093_01C81419.EB75E850" should handle 'multipart/related;boundary=1_4626B816_9F1690;Type="application/smil";Start=""' should handle 'IMAGE/JPEG; name="IM 006.jpg"' should handle 'unknown/unknown' finding a filename should locate a filename if there is a filename should locate a name if there is no filename should return an empty string when filename or name is empty should locate an encoded name as a filename should encode a non us-ascii filename handling badly formated content-type fields should handle missing sub-type on a text content type should handle missing ; after content-type initializing with an array should initialize with an array should allow many parameters to be passed in special case values needing sanity should handle 'text/plain;ISO-8559-1' should handle 'text/plain; charset = "iso-8859-1"' should handle text; params should handle text/html; charset="charset="GB2312"" should handle application/octet-stream; name=archiveshelp1[1].htm should handle text/plain;; format="flowed" set an empty content type to text/plain should just ignore illegal params like audio/x-midi; name=Part .exe should handle: rfc822; format=flowed; charset=iso-8859-15 should just get the mime type if all else fails with some real garbage shouldn't include separating semicolon in parameter value when sanitizing Mail::DateField initialization should initialize should be able to tell the time should mix in the CommonAddress module should accept a string without the field name should accept nil as a value should allow us to encode an date field should allow us to decode an address field should be able to parse a really bad spacing example should give today's date if no date is specified Mail::Envelope should initialize accessor methods should return the address should return the date_time Mail::FromField should handle non ascii should work without quotes should work with combinations of quotes and non ascii initialization should initialize should mix in the CommonAddress module should accept a string without the field name instance methods should return an address should return two addresses should return one address and a group should return the formatted line on to_s should return the encoded line should return the encoded line should return the decoded line Mail::InReplyToField should output lines shorter than 998 chars initialization should initialize should accept a string without the field name should provide encoded should handle many encoded message IDs should handle an array of message IDs should provide decoded should handle many decoded message IDs should handle an empty value handlign multiple message ids should handle many message IDs Mail::KeywordsField should output lines shorter than 998 chars initializing should initialize should accept a string without the field name giving a list of keywords should return a list of keywords should handle phrases should handle comments should handle comments should handle comments in quotes encoding and decoding should encode should decode Mail::MessageIdField initialization should initialize should accept a string without the field name should accept a nil value and generate a message_id ensuring only one message ID should not accept a string with multiple message IDs but only return the first should change the message id if given a new message id instance methods should provide to_s should provide encoded should provide decoded should respond to :responsible_for? generating a message id should generate a message ID if it has no value should generate a random message ID weird message IDs should be able to parse <000701c874a6$3df7eaf0$b9e7c0d0$@geille@fiscon.com> Mail::MimeVersionField initialization should initialize should accept a string without the field name parsing a version string should get a major value should get a minor value should get a version string should handle comments before the major version should handle comments before the major version without space should handle comments after the major version without space should handle comments before the minor version without space should handle comments after the minor version without space should handle comments after the minor version should accept nil as a value should provide an encoded value should provide an decoded value Mail::ReceivedField should initialize should be able to tell the time should accept a string without the field name should provide an encoded value should provide an encoded value with correct timezone should provide an decoded value should handle empty name-value lists with a comment only (qmail style) should handle a blank value Mail::ReferencesField should initialize should accept a string without the field name should accept multiple message ids should accept an array of message ids should accept no message ids should output lines shorter than 998 chars Mail::ReplyToField initialization should initialize should mix in the CommonAddress module should accept a string without the field name instance methods should return an address should return two addresses should return one address and a group should return the formatted line on to_s should return the encoded line Mail::ResentBccField initialization should initialize should mix in the CommonAddress module should accept a string without the field name instance methods should return an address should return two addresses should return one address and a group should return the formatted line on to_s should return the encoded line Mail::ResentCcField initialization should initialize should mix in the CommonAddress module should accept a string without the field name instance methods should return an address should return two addresses should return one address and a group should return the formatted line on to_s should return the encoded line Mail::ResentDateField should initialize should be able to tell the time should mix in the CommonAddress module should accept a string without the field name should give today's date if no date is specified Mail::ResentFromField initialization should initialize should mix in the CommonAddress module should accept a string without the field name instance methods should return an address should return two addresses should return one address and a group should return the formatted line on to_s should return the encoded line Mail::ResentMessageIdField should initialize should accept a string without the field name should output lines shorter than 998 chars Mail::ResentSenderField initialization should initialize should mix in the CommonAddress module should accept a string without the field name instance methods should return an address should return two addresses should return the formatted line on to_s should return the encoded line Mail::ResentToField initialization should initialize should mix in the CommonAddress module should accept a string without the field name instance methods should return an address should return two addresses should return one address and a group should return the formatted line on to_s should return the encoded line Mail::ReturnPathField should allow you to specify a field should encode the addr_spec in <> should accept <> should set the return path should set the return path should wrap the return path addr_spec in <> Mail::SenderField initialization should initialize should mix in the CommonAddress module should accept a string without the field name should reject headers with multiple mailboxes (PENDING: Sender accepts an address list now, but should only accept a single address) instance methods should return an address should return two addresses should return the formatted line on to_s should return the encoded line Mail::StructuredField initialization should be instantiated manipulation should allow us to set a text value at initialization should provide access to the text of the field once set should provide a means to change the value displaying encoded field and decoded value should provide a to_s function that returns the decoded string should return '' on to_s if there is no value should give an encoded value ready to insert into an email should return an empty string on encoded if it has no value should return the field name and value in proper format when called to_s structured field template methods should raise an error if attempting to call :encoded or :decoded on the parent StructuredField class Mail::ToField should not crash if it can't understand a name initialization should initialize should mix in the CommonAddress module should accept a string without the field name instance methods should return an address should return two addresses should return one address and a group should return the formatted line on to_s should return the encoded line should return the decoded line should get multiple address out from a group list should handle commas in the address should handle commas in the address for multiple fields unicode address should allow unicode local part jp should allow unicode local should allow unicode local (simple) should allow unicode local (complex) should allow emoji local Mail::UnstructuredField initialization should be instantiated manipulation should allow us to set a text value at initialization should provide access to the text of the field once set should provide a means to change the value displaying encoded field and decoded value should provide a to_s function that returns the field name and value should return '' on to_s if there is no value should give an encoded value ready to insert into an email should return nil on encoded if it has no value should handle array should handle string should give an decoded value ready to insert into an email should return a nil on decoded if it has no value should just add the CRLF at the end of the line should do encoded-words encoding correctly without extra equal sign should encode the space between two adjacent encoded-words should encode additional special characters inside encoded-word-encoded strings should decode a utf-7(B) encoded unstructured field folding should not fold itself if it is 78 chracters long should fold itself if it is 79 chracters long should fold itself if it is 997 chracters long should fold itself if it is 998 characters long should fold itself if it is 999 characters long should fold itself if it is non us-ascii should fold properly with my actual complicated header should fold properly with continuous spaces around the linebreak encoding non QP safe chars should encode an ascii string that has carriage returns if asked to iso-2022-jp Subject should encoded with ISO-2022-JP encoding Mail::Header initialization should instantiate empty should instantiate with a string passed in copying should instantiate with a string passed in instance methods should save away the raw source of the header that it is passed should say if it has a message_id field defined should say if it has a message_id field defined should say if it has a content_id field defined should say if it has a content_id field defined should know its own charset should know its own charset if set should not unset previously set charset if content-type is set without charset shouldn't die when queried for a charset and the content-type header is invalid should be Enumerable creating fields should recognise a bcc field should recognise a cc field should recognise a content-description field should recognise a content-disposition field should recognise an inline content-disposition field should recognise a content-id field should recognise a content-transfer-encoding field should recognise a content-type field should recognise a date field should recognise a from field should recognise a in-reply-to field should recognise a keywords field should recognise a message-id field should recognise a mime-version field should recognise a received field should recognise a references field should recognise a reply-to field should recognise a resent-bcc field should recognise a resent-cc field should recognise a resent-date field should recognise a resent-from field should recognise a resent-message-id field should recognise a resent-sender field should recognise a resent-to field should recognise a return-path field should recognise a sender field should recognise a to field should maintain header case should not accept field names containing colons parsing should split the header into separate fields should not split a wrapped header in two should accept any valid header field name should not try to accept colons in header field names should accept any valid header field value should split each field into an name and value should split each field into an name and value - even if whitespace is missing should preserve the order of the fields it is given should allow you to reference each field and value by literal string name should return an array of fields if there is more than one match should return nil if no value in the header should add a new field if the field does not exist should allow you to pass in an array of raw fields should reset the value of a single-only field if it already exists should allow you to delete a field by setting it to nil should delete all matching fields found if there are multiple options should delete only matching fields found should handle an empty X-* header value should accept X- option fields from MS-Exchange should return nil if asked for the value of a non existent field should allow you to replace a from field should maintain the class of the field folding and unfolding should unfold a header should preserve whitespace when unfolding a header should handle a crazy long folded header should convert all lonesome LFs to CRLF should convert all lonesome LFs to CRLF in UTF-8 too should convert all lonesome CRs to CRLF error handling should collect up any of its fields' errors handling date fields with multiple values should know which fields can only appear once should know which fields can only appear once should enforce appear-once rule even with mass assigned header should add additional fields that can appear more than once should delete all references to a field handling trace fields should instantiate one trace field object per header should add a new received header after the other received headers if they exist encoding should output a parsed version of itself to US-ASCII on encoded and tidy up and sort correctly should not blow up on encoding mismatches detecting required fields should not say it has a message id if it doesn't should say it has a message id if it does should not say it has a date if it doesn't should say it has a date id if it does should not say it has a mime-version if it doesn't should say it has a date id if it does mime version handling should return the mime version of the email should return nil if no mime-version header field should return the transfer-encoding of the email should return nil if no transfer-encoding header field should return the content-description of the email should return nil if no content-description header field configuration option .maximum_amount should be 1000 by default should limit amount of parsed headers mail should be able to be instantiated should be able to make a new email should accept headers and body should read a file Mail::Message initialization should instantiate empty should return a basic email should instantiate with a string should allow us to pass it a block should yield self if the given block takes any args should initialize a body and header class even if called with nothing to begin with should not report basic emails as bounced should be able to parse a basic email should be able to parse a basic email with linefeeds should be able to parse an email with @ in display name should be able to parse an email with only blank lines as body should be able to parse an email with a funky date header should be able to invoke subject on a funky subject header should use default charset should be able to parse an email missing an encoding should be able to parse every email example we have without raising an exception should be able to parse a large email without raising an exception should not raise a warning on having non US-ASCII characters in the header (should just handle it) should raise a warning (and keep parsing) on having an incorrectly formatted header should read in an email message and basically parse it should not fail parsing message with caps in content_type should be able to pass an empty reply-to header YAML serialization should serialize the basic information to YAML should deserialize after serializing should serialize a Message with a custom delivery_handler should load a serialized delivery handler should not deserialize a delivery_handler that does not exist should handle multipart mail splitting should split the body from the header should split when the body starts with a space should split if the body starts with an empty line should split if the body starts with a blank line should split after headers that contain "\r\n " should split only once if there are "\r\n\r\n"s in the body should allow headers that end in trailing whitespace envelope line handling should respond to 'envelope from' should strip off the envelope from field if present should strip off the envelope from field if present should not cause any problems if there is no envelope from present should ignore a plain text body that starts with ^From should handle a multipart message that has ^From in it accepting a plain text string email should accept some email text to parse and return an email should set a raw source instance variable to equal the passed in message should set the raw source instance variable to '' if no message is passed in should give the header class the header to parse should give the header class the header to parse even if there is no body should give the body class the body to parse should still ask the body for a new instance even though these is nothing to parse, yet should give the header the part before the line without spaces and the body the part without should allow for whitespace at the start of the email should read in an email message with the word 'From' in it multiple times and parse it should parse non-UTF8 sources should parse sources with charsets that we know but Ruby doesn't should be able to normalize CRLFs on non-UTF8 encodings should be able to normalize CRLFs on non-UTF8 encodings directly setting values of a message accessing fields directly should allow you to grab field objects if you really want to should give you back the fields in the header should delete a field if it is set to nil with :method= should return the to field should return the from field should return the subject should return the body decoded with to_s should return the body encoded if asked for should return the body decoded if asked for with :method(value) should return the to field should return the from field should return the subject should return the body decoded with to_s should return the body encoded if asked for should return the body decoded if asked for setting arbitrary headers should allow you to set them should allow you to read arbitrary headers should instantiate a new Header replacing header values should allow you to replace a from field should maintain the class of the field setting headers should accept them in block form should accept them in assignment form should accept them in key, value form as symbols should accept them in key, value form as strings should accept them as a hash with symbols should accept them as a hash with strings should let you set custom headers with a :headers => {hash} should assign the body to a part on creation should not overwrite bodies on creation should allow you to init on an array of addresses from a hash should allow you to init on an array of addresses directly should allow you to init on an array of addresses directly making a copy of a message with dup its headers should not be changed when you change the headers of the original its headers should be copies of the headers of the original handling missing required fields: every email Message-ID should say if it has a message id should preserve any message id that you pass it if add_message_id is called explicitly should generate a random message ID if nothing is passed to add_message_id should make an email and inject a message ID if none was set if told to_s should add the message id to the message permanently once sent to_s should add a body part if it is missing Date should say if it has a date should preserve any date that you pass it if add_date is called explicitly should generate a current date if nothing is passed to add_date should make an email and inject a date if none was set if told to_s should add the date to the message permanently once sent to_s mime emails rfc2046 can be decoded rfc2046 mime-version should say if it has a mime-version should preserve any mime version that you pass it if add_mime_version is called explicitly should generate a mime version if nothing is passed to add_date should make an email and inject a mime_version if none was set if told to_s should add the mime version to the message permanently once sent to_s content type should say if it has a content type should say if it does not have a content type should say if it has a charset should say if it has a charset should not raise a warning if there is no charset defined and only US-ASCII chars should set the content type to text/plain; charset=us-ascii should not set the charset if the file is an attachment should not set the charset if the content_type is not text should raise a warning if there is no content type and there is non ascii chars and default to text/plain, UTF-8 should raise a warning if there is no charset parameter and there is non ascii chars and default to text/plain, UTF-8 should not raise a warning if there is no charset parameter and the content-type is not text should not raise a warning if there is a charset defined and there is non ascii chars should be able to set a content type with an array and hash should be able to set a content type with an array and hash with a non-usascii field should allow us to specify a content type in a block content-transfer-encoding should use 7bit for only US-ASCII chars should use QP transfer encoding for 7bit text with lines longer than 998 octets should use QP transfer encoding for 8bit text with only a few 8bit characters should use base64 transfer encoding for 8-bit text with lots of 8bit characters should not use 8bit transfer encoding when 8bit is allowed output should make an email and allow you to call :to_s on it to get a string should raise an error and message if you try and call decoded on a multipart email should return the decoded body if you call decode and the message is not multipart decoding bodies should not change a body on decode if not given an encoding type to decode should change a body on decode if given an encoding type to decode should change a body on decode if given an encoding type to decode should not strip the raw mail source in case the trailing \r\n is meaningful text messages should be decoded using content type charset should respond true to text? uses the Ruby19 charset encoder helper methods should implement the spaceship operator on the date field should have a destinations method should have a from_addrs method should have a from_addrs method that is empty if nil should have a to_addrs method should have a to_addrs method that is empty if nil should have a cc_addrs method should have a cc_addrs method that is empty if nil should have a bcc_addrs method should have a bcc_addrs method that is empty if nil should give destinations even if some of the fields are blank should be able to encode with only one destination == should be implemented should ignore the message id value if both have a nil message id should ignore the message id value if self has a nil message id should ignore the message id value if other has a nil message id should not be == if both emails have different Message IDs nested parts adds a new text part when assigning the body on an already-multipart message should provide a way to instantiate a new part as you go down deliver should return self after delivery should pass self to a delivery agent should inform observers that the mail was sent should allow observers to be unregistered should inform observers that the mail was sent, even if a delivery agent is used should pass to the interceptor the email just before it gets sent should let the interceptor that the mail was sent should allow interceptors to be unregistered error handling should collect up any of its fields' errors header case should be preserved should handle mail[] and keep the header case parsing emails with non usascii in the header should work ordering messages should put all attachments as the last item should allow overwriting sort order attachment query methods shouldn't die with an invalid Content-Disposition header shouldn't die with an invalid Content-Type header without_attachments! should delete all attachments replying to a basic message should create a new message should be in-reply-to the original message should reference the original message should RE: the original subject should be sent to the original sender should be sent from the original recipient should accept args should accept a block to a message with an explicit reply-to address should be sent to the reply-to address to a message with more than one recipient should be sent from the first to address to a reply should be in-reply-to the original message should append to the original's references list should not append another RE: to a reply with an in-reply-to with a single message id but no references header should have a references consisting of the in-reply-to and message_id fields to a reply with an in-reply-to with multiple message ids but no references header should have no references header SMTP envelope From should respond should default to return_path, sender, or first from address can be overridden SMTP envelope To should respond should default to destinations can be overridden MIME Emails general helper methods should read a mime version from an email should return nil if the email has no mime version should read the content-transfer-encoding should read the content-description should return the content-type should return the charset should allow you to set the charset should return the main content-type should return the sub content-type should return the content-type parameters should recognize a multipart email should recognize a non multipart email should not report the email as :attachment? should report the email as :attachment? should recognize an attachment part should give how may (top level) parts there are should give the content_type of each part should report the mail :has_attachments? should only split on exact boundary matches multipart emails should add a boundary if there is none defined and a part is added should not add a boundary for a message that is only an attachment multipart/alternative emails should know what its boundary is if it is a multipart document should return nil if there is no content-type defined should assign the text part and allow you to reference should convert strings assigned to the text part into Mail::Part objects with sensible defaults should not assign a nil text part should assign the html part and allow you to reference should convert strings assigned to the html part into Mail::Part objects with sensible defaults should not assign a nil html part should set default content type on assigned text and html parts should set default content type on declared text and html parts should not override content type should add the html part and text part should remove the html part and back out of multipart/alternative if set to nil should remove the text part and back out of multipart/alternative if set to nil should set the content type to multipart/alternative if you assign html and text parts should set the content type to multipart/alternative if you declare html and text parts should not set the content type to multipart/alternative if you declare an html part but not a text part should not set the content type to multipart/alternative if you declare a text part but not an html part should add the end boundary tag should not put message-ids into parts should create a multipart/alternative email through a block should detect an html_part in an existing email should detect a text_part in an existing email with plain text attachment should detect an html_part in a multi level mime email should only the first part on a stupidly overly complex email finding attachments should return an array of attachments should return an array of attachments should find binary encoded attachments of type .zip should find binary encoded attachments of type .gif should find binary encoded attachments of type .jpg should find binary encoded attachments of type .png should find binary encoded attachments of type .tiff should find binary encoded attachments of type .pdf adding a file attachment should set to multipart/mixed if a text part and you add an attachment should set to multipart/mixed if you add an attachment and then a text part should add a part given a filename should give the part the right content type should return attachment objects should be return an aray of attachments should return the filename of each attachment should return the type/subtype of each attachment should return the content of each attachment should allow you to send in file data instead of having to read it should support :mime_type option should be able to add a body before adding a file should allow you to add a body as text part if you have added a file should allow you to add a body as text part if you have added a file and not truncate after newlines - issue 208 should not raise a warning if there is a charset defined and there are non ascii chars in the body Mail::Multibyte::Chars should upcase should downcase doesn't mutate input string encoding multipart/report emails should know if it is a multipart report type delivery-status reports should know if it is a deliver-status report should find its message/delivery-status part should handle a report that has a human readable message/delivery-status delivery-status part in a non report email does not return a delivery_status_part multipart reports with more than one address should not crash should not know that a multi address email was bounced temporary failure should be bounced should say action 'delayed' should give a final recipient should give an error code should give a diagostic code should give a remote-mta should be retryable permanent failure should be bounced should say action 'failed' should give a final recipient should give an error code should give a diagostic code should give a remote-mta should be retryable exim delivery agent should send an email using exim should still send an email if the settings have been set to nil should escape evil haxxor attemptes should raise an error if no sender is defined should raise an error if no recipient if defined return path should send an email with a return-path using exim should use the sender address is no return path is specified should use the from address is no return path or sender are specified should escape the return path address should not escape ~ in return path address SMTP Delivery Method general usage should send an email to a file should send multiple emails to multiple files should only create files based on the addr_spec of the destination should use the base name of the file name to prevent file system traversal should not raise errors if no sender is defined should raise an error if no recipient if defined Logger Delivery Method sends an email to $stdout with 'info' severity by default can be configured with a custom logger and severity sender and recipient validation should not raise errors if no sender is defined should raise an error if no recipient if defined Mail::Sendmail sends an email using sendmail spawns a sendmail process still sends an email if the arguments setting have been set to nil escapes evil haxxor attempts raises an error if no sender is defined raises an error if no recipient is defined SMTP From explicitly passes an envelope From address to sendmail escapes the From address does not escape ~ in From address SMTP To explicitly passes envelope To addresses to sendmail escapes the To address does not escape ~ in To address quotes the destinations to ensure leading -hyphen doesn't confuse sendmail SMTP Delivery Method dot-stuff unterminated last line of the message should send an email using open SMTP connection should be able to return actual SMTP protocol response should not raise errors if no sender is defined should raise an error if no recipient if defined SMTP Delivery Method general usage dot-stuff unterminated last line of the message should send emails from given settings should be able to send itself should be able to return actual SMTP protocol response enabling tls should use OpenSSL::SSL::VERIFY_NONE if a context should ignore OpenSSL::SSL::VERIFY_NONE if it is 0 enabling ssl should use OpenSSL::SSL::VERIFY_NONE if a context should ignore OpenSSL::SSL::VERIFY_NONE if it is 0 should not set verify mode when none is given should set verify mode if one is given enabling STARTTLS should default to automatically detecting STARTTLS should allow forcing STARTTLS SMTP Envelope uses the envelope From and To addresses supports the null sender in the envelope from address should not raise errors if there is no envelope From address should raise an error if no recipient if defined should raise on SMTP injection via MAIL FROM newlines should raise on SMTP injection via RCPT TO newlines should raise on SMTP injection via MAIL FROM overflow should raise on SMTP injection via RCPT TO overflow Mail::TestMailer should have no deliveries when first initiated should deliver an email to the Mail::TestMailer.deliveries array should clear the deliveries when told to should not raise errors if no sender is defined should raise an error if no recipient if defined should save settings passed to initialize IMAP Retriever find with and without block should find all emails with a given block should get all emails without a given block should get all emails and yield the imap, uid, and email when given a block of arity 3 should get all emails and yield the imap, uid, flag, and email when given a block of arity 4 find and options should handle the :count option should handle the :what option should handle the :order option should handle the :mailbox option should handle the :uid option should find the last 10 messages by default should search the mailbox 'INBOX' by default should handle the delete_after_find_option should handle the find_and_delete method should pass :search_charset to IMAP uid_search last should find the last received messages should find the last received message first should find the first received messages should find the first received message all should find all messages delete_all should delete all messages connection should raise an Error if no block is given should yield the connection object to the given block handling of options should set default options should not replace given configuration should ensure utf7 conversion for mailbox names error handling should finish the IMAP connection if an exception is raised STARTTLS calls starttls to upgrade conflicts with enable_ssl authentication mechanism should be login by default should be changeable POP3 Retriever find with and without block should find all emails with a given block should get all emails without a given block find and options should handle the :count option should handle the :what option should handle the :order option should find the last 10 messages by default should handle the delete_after_find option should handle the find_and_delete method last should find the last received messages should find the last received message first should find the first received messages should find the first received message all should find all messages delete_all should delete all mesages connection should raise an Error if no block is given should yield the connection object to the given block handling of options should set default options should not replace given configuration error handling should finish the POP3 connection is an exception is raised read_timeout option should override the POP3 default read_timeout Test Retriever should have no emails initially all should return all emails without a block should return all emails with a block find should handle the :count option should handle the :order option should handle the :what option should handle the both of :what and :order option with :count => 1 should handle the :delete_after_find option should handle the both of :delete_after_find and :count option should handle the :delete_after_find option with messages marked not for delete Mail default delivery and retriever methods should set the delivery method should default to settings for smtp should set the retriever method should default to settings for pop3 should allow us to overwrite anything we need on SMTP should allow us to overwrite anything we need on POP3 should allow you to pass in your own delivery method should ask the custom delivery agent for its settings should allow you to pass in your own retriever method should ask the custom retriever agent for its settings instance delivery methods should copy the defaults defined by Mail.defaults should be able to change the delivery_method should be able to change the delivery_method and pass in settings should not change the default when it changes the delivery_method should not change the default settings when it changes the delivery_method settings retrieving emails via POP3 should retrieve all emails via POP3 sending emails via SMTP should deliver a mail message should deliver itself deliveries adding to Mail.deliveries should add itself to the deliveries collection on mail on delivery perform_deliveries should call deliver! on the delivery method by default should not call deliver if perform deliveries is set to false should add to the deliveries array if perform_deliveries is true should not add to the deliveries array if perform_deliveries is false observers should tell its observers that it was told to deliver an email should tell its observers that it was told to deliver an email even if perform_deliveries is false should tell its observers that it was told to deliver an email even if it is using a delivery_handler raise_delivery_errors should pass on delivery errors if raised should not pass on delivery errors if raised raise_delivery_errors is set to false should pass through Exceptions even when raise_delivery_errors is set to false delivery_handler should allow you to hand off performing the actual delivery to another object mail should be told to :deliver once and then :deliver! once by the delivery handler mail only call its delivery_method once mail should not catch any exceptions when using a delivery_handler mail should not modify the Mail.deliveries object if using a delivery_handler that does not append to deliveries should be able to just yield and let mail do its thing AddressListsParser should parse an address should parse an address list separated by semicolons parsing an address with a space at the end only finds a single address parsing an address which begins with a comment extracts local string correctly RFC6532 UTF-8 headers extracts UTF-8 local string should parse an address ContentTransferEncodingParser should work trailing semi colons should parse should parse with pre white space should parse with trailing white space should parse with pre and trailing white space x-token values should work wild content-transfer-encoding should parse 7bits variant should parse 8bits variant should parse 7-bit variant should parse 8-bit variant Mail::Part should not add a default Content-ID should not add a default Content-ID to non-inline attachments should add a default Content-ID to inline attachments should not add a Date, MIME-Version, or Message-ID should preserve any content id that you put into it should return an inline content_id should URL escape its inline content_id should add a content_id if there is none and is asked for an inline_content_id should respond correctly to inline? handles un-parsable content_disposition headers should correctly parse plain text raw source and not truncate after newlines - issue 208 parts that have a missing header should not try to init a header if there is none delivery status reports should know if it is a delivery-status report should create a delivery_status_data header object should be bounced should say action 'delayed' should give a final recipient should give an error code should give a diagostic code should give a remote-mta should be retryable on a part without a certain field returns nil negotiating transfer encoding doesn't override part encoding when it's compatible with message retains specified encoding even though it isn't lowest cost PartsList should return itself on sort should not fail if we do not have a content_type should not fail if we do not have a content_type should sort attachments to end should have a parts reader should behave like an array is equal to itself is equal to its parts array can be mixed with an array should respond to Array methods should have a round-tripping YAML serialization Round Tripping should round trip a basic email should round trip a html multipart email should round trip an email preserves text attachment newlines Utilities Module token safe checking should return true if a string is token safe should return false if a string is token safe should work with mb_chars quoting should return true if a string is token safe should return false if a string is token safe should work with mb_chars atom safe checking should return true if a string is token safe should return false if a string is token safe should work with mb_chars quoting should return true if a string is token safe should return false if a string is token safe should work with mb_chars should quote mb_chars white space quoting phrases doesn't mutate original string given a non-unsafe string should not change the encoding given an unsafe string should not change the encoding escaping parenthesies should escape parens should not double escape parens should escape all parens unescaping parenthesis should work should work without parens should work using Multibyte.mb_chars should work without parens using Multibyte.mb_chars unescaping brackets should work should work without brackets should work using Multibyte.mb_chars should work without parens using Multibyte.mb_chars quoting phrases should quote a phrase if it is unsafe should properly quote a string, even if quoted but not escaped properly should quote correctly a phrase with an escaped quote in it should quote correctly a phrase with an escaped backslash followed by an escaped quote in it unquoting phrases should remove quotes from the edge should remove backslash escaping from quotes should remove backslash escaping from any char should be able to handle unquoted strings should preserve backslashes in unquoted strings should be able to handle unquoted quotes unescaping phrases should not modify a string with no backslashes should not modify a quoted string with no backslashes should remove backslash escaping from a string should remove backslash escaping from a quoted string parenthesizing phrases should parenthesize a phrase should properly parenthesize a string, and escape properly should properly parenthesize a string, and escape properly (other way) should properly parenthesize a string, even if parenthesized but not escaped properly should properly parenthesize a string, even if parenthesized but not escaped properly (other way) should parenthesize correctly a phrase with an escaped parentheses in it should parenthesize correctly a phrase with an escaped parentheses in it (other way) should parenthesize correctly a phrase with an escaped backslash followed by an escaped parentheses in it should parenthesize correctly a phrase with an escaped backslash followed by an escaped parentheses in it (other way) should parenthesize correctly a phrase with a set of parentheses bracketizing phrases should bracketize a phrase should properly bracketize a string, and escape properly should properly bracketize a string, and escape properly (other way) should properly bracketize a string, even if bracketized but not escaped properly should properly bracketize a string, even if bracketized but not escaped properly (other way) should bracketize correctly a phrase with an escaped brackets in it should bracketize correctly a phrase with an escaped brackets in it (other way) should bracketize correctly a phrase with an escaped backslash followed by an escaped brackets in it should bracketize correctly a phrase with an escaped backslash followed by an escaped brackets in it (other way) should bracketize correctly a phrase with a set of brackets url escaping should have a wrapper on URI.escape should have a wrapper on URI.unescape blank method should say nil is blank should say false is blank should say true is not blank should say an empty array is blank should say an empty hash is blank should say an empty string is blank not blank method should say a number is not blank should say a valueless hash is not blank should say a hash containing an empty hash is not blank to_lf converts single CR converts multiple CR converts single CRLF converts multiple CRLF leaves LF intact converts mixed line endings should handle japanese characters on NilClass returns an empty string on String subclasses returns Strings to_crlf converts single LF converts multiple LF converts single CR preserves single CRLF preserves multiple CRLF converts mixed line endings should handle japanese characters on NilClass returns an empty string on String subclasses returns Strings Ruby 1.8 Extensions string ascii detection should say it is US-ASCII only if it is should not say it is US-ASCII only if it isn't should not say it is US-ASCII only if it is a mix should handle edge cases .decode_base64 handles unpadded base64 correctly have_sent_email without any modifiers when no e-mail has been sent is expected not to send a matching email when e-mail has been sent is expected to send a matching email with #from and a matching sender is expected to send a matching email and a non-matching sender is expected not to send a matching email with #to and a matching recipient is expected to send a matching email is expected to send a matching email is expected to send a matching email is expected to send a matching email and a non-matching recipient is expected not to send a matching email with #cc and a matching recipient is expected to send a matching email is expected to send a matching email is expected to send a matching email is expected to send a matching email and a non-matching recipient is expected not to send a matching email with #bcc and a matching recipient is expected to send a matching email is expected to send a matching email is expected to send a matching email is expected to send a matching email and a non-matching recipient is expected not to send a matching email with #subject and a matching subject is expected to send a matching email and a non-matching subject is expected not to send a matching email is expected not to send a matching email is expected not to send a matching email with #subject_matching and a matching subject is expected to send a matching email and a non-matching subject is expected not to send a matching email with #with_body and a matching body is expected to send a matching email and a non-matching body is expected not to send a matching email is expected not to send a matching email is expected not to send a matching email with #with_attachments and matching attachments matching by filename is expected to send a matching email single attachment passed is expected to send a matching email array of attachments passed is expected to send a matching email any_attachment passed is expected to send a matching email chaining attachment matching is expected to send a matching email ce matching is expected to send a matching email attachment order is important is expected to send a matching email is expected not to send a matching email and non-matching attachments is expected not to send a matching email is expected not to send a matching email and any attachments is expected to send a matching email and no attachments is expected to send a matching email with #matching_body and a matching body is expected to send a matching email and a non-matching body is expected not to send a matching email with a huge chain of modifiers is expected to send a matching email with html-mail when html-mail has been sent with #html_part and a matching html_part.body is expected to send a matching email and a non-matching html_part.body is expected not to send a matching email with #text_part and a matching text_part.body is expected to send a matching email and a non-matching text_part.body is expected not to send a matching email Pending: (Failures listed here are expected and do not affect your suite's status) 1) Mail::AddressList parsing should handle malformed folding whitespace # No reason given Failure/Error: raise Mail::Field::IncompleteParseError.new(Mail::AddressList, data, p) Mail::Field::IncompleteParseError: Mail::AddressList can not parse |leads@sg.dc.com, sag@leads.gs.ry.com, sn@example-hotmail.com, e-s-a-g-8718@app.ar.com, jp@t-exmaple.com, cc@c-l-example.com|: Only able to parse up to "leads@sg.dc.com," # /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/lib/mail/parsers/address_lists_parser.rb:33230:in `parse' # /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/lib/mail/elements/address_list.rb:25:in `initialize' # /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/spec/mail/elements/address_list_spec.rb:75:in `new' # /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/spec/mail/elements/address_list_spec.rb:75:in `block (3 levels) in ' 2) Test emails from RFC2822 should handle the rfc obsolete whitespace email # No reason given Failure/Error: expect(mail.from).to eq 'John Doe ' expected: "John Doe " got: nil (compared using ==) # /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/spec/mail/example_emails_spec.rb:241:in `block (3 levels) in ' 3) Mail::SenderField initialization should reject headers with multiple mailboxes # Sender accepts an address list now, but should only accept a single address Failure/Error: expect { Mail::SenderField.new('Mikel Lindsaar , "Bob Smith" ') }.to raise_error(Mail::Field::ParseError) expected Mail::Field::ParseError but nothing was raised # /build/ruby-mail-FTRdLB/ruby-mail-2.7.1+dfsg1/spec/mail/fields/sender_field_spec.rb:27:in `block (3 levels) in ' Finished in 3.38 seconds (files took 1.15 seconds to load) 1647 examples, 0 failures, 3 pending ┌──────────────────────────────────────────────────────────────────────────────┐ │ dh_ruby --install finished │ └──────────────────────────────────────────────────────────────────────────────┘ dh_installdocs -i -O--buildsystem=ruby dh_ruby_fixdocs -i -O--buildsystem=ruby dh_installchangelogs -i -O--buildsystem=ruby dh_installinit -i -O--buildsystem=ruby dh_perl -i -O--buildsystem=ruby dh_link -i -O--buildsystem=ruby dh_strip_nondeterminism -i -O--buildsystem=ruby dh_compress -X.rb -i -O--buildsystem=ruby dh_fixperms -i -O--buildsystem=ruby dh_missing -i -O--buildsystem=ruby dh_installdeb -i -O--buildsystem=ruby dh_gencontrol -i -O--buildsystem=ruby dpkg-gencontrol: warning: Depends field of package ruby-mail: substitution variable ${shlibs:Depends} used, but is not defined dpkg-gencontrol: warning: package ruby-mail: substitution variable ${ruby:Depends} unused, but is defined dh_md5sums -i -O--buildsystem=ruby dh_builddeb -i -O--buildsystem=ruby dpkg-deb: building package 'ruby-mail' in '../ruby-mail_2.7.1+dfsg1-1.1_all.deb'. dpkg-genbuildinfo --build=all dpkg-genchanges --build=all >../ruby-mail_2.7.1+dfsg1-1.1_all.changes dpkg-genchanges: info: binary-only arch-indep upload (source code and arch-specific packages not included) dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) I: running special hook: sync-out /build/ruby-mail-FTRdLB /tmp/ruby-mail-2.7.1+dfsg1-1.17wg1c_av I: cleaning package lists and apt cache... I: creating tarball... I: done I: removing tempdir /tmp/mmdebstrap.NOcXFU8OYw... I: success in 327.1103 seconds md5: ruby-mail_2.7.1+dfsg1-1.1_all.deb: OK sha1: ruby-mail_2.7.1+dfsg1-1.1_all.deb: OK sha256: ruby-mail_2.7.1+dfsg1-1.1_all.deb: OK Checksums: OK