Diff of the two buildlogs: -- --- b1/build.log 2023-05-08 10:45:59.344296096 +0000 +++ b2/build.log 2023-05-08 10:46:32.934825189 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sun May 7 22:44:50 -12 2023 -I: pbuilder-time-stamp: 1683542690 +I: Current time: Mon Jun 10 07:09:00 +14 2024 +I: pbuilder-time-stamp: 1717952940 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bookworm-reproducible-base.tgz] I: copying local configuration @@ -17,7 +17,7 @@ I: copying [./ruby-tty-prompt_0.23.1.orig.tar.gz] I: copying [./ruby-tty-prompt_0.23.1-1.debian.tar.xz] I: Extracting source -gpgv: Signature made Thu Oct 21 12:49:11 2021 -12 +gpgv: Signature made Fri Oct 22 14:49:11 2021 +14 gpgv: using RSA key 8ED6C3F8BAC9DB7FC130A870F823A2729883C97C gpgv: issuer "kanashiro@debian.org" gpgv: Can't check signature: No public key @@ -27,137 +27,169 @@ dpkg-source: info: unpacking ruby-tty-prompt_0.23.1-1.debian.tar.xz I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/17586/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/85184/tmp/hooks/D01_modify_environment starting +debug: Running on ionos6-i386. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Jun 10 07:09 /bin/sh -> /bin/bash +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/85184/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/85184/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='i386' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=8' - DISTRIBUTION='bookworm' - HOME='/root' - HOST_ARCH='i386' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="15" [3]="1" [4]="release" [5]="i686-pc-linux-gnu") + BASH_VERSION='5.2.15(1)-release' + BUILDDIR=/build + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=i386 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=15' + DIRSTACK=() + DISTRIBUTION=bookworm + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=i686 + HOST_ARCH=i386 IFS=' ' - INVOCATION_ID='4ce3d10d95c14e7785458b8667a297ae' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - LD_LIBRARY_PATH='/usr/lib/libeatmydata' - LD_PRELOAD='libeatmydata.so' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='17586' - PS1='# ' - PS2='> ' + INVOCATION_ID=6d41b5c874c746c0b14bcfcf29e1717c + LANG=C + LANGUAGE=de_CH:de + LC_ALL=C + LD_LIBRARY_PATH=/usr/lib/libeatmydata + LD_PRELOAD=libeatmydata.so + MACHTYPE=i686-pc-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=85184 PS4='+ ' - PWD='/' - SHELL='/bin/bash' - SHLVL='2' - SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.moI4cnap/pbuilderrc_XTfv --distribution bookworm --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.moI4cnap/b1 --logfile b1/build.log ruby-tty-prompt_0.23.1-1.dsc' - SUDO_GID='112' - SUDO_UID='107' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://78.137.99.97:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.moI4cnap/pbuilderrc_EvM8 --distribution bookworm --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.moI4cnap/b2 --logfile b2/build.log --extrapackages usrmerge ruby-tty-prompt_0.23.1-1.dsc' + SUDO_GID=112 + SUDO_UID=107 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://85.184.249.68:3128 I: uname -a - Linux ionos2-i386 5.10.0-22-686-pae #1 SMP Debian 5.10.178-3 (2023-04-22) i686 GNU/Linux + Linux i-capture-the-hostname 5.10.0-22-amd64 #1 SMP Debian 5.10.178-3 (2023-04-22) x86_64 GNU/Linux I: ls -l /bin total 6036 - -rwxr-xr-x 1 root root 1408088 Apr 23 09:24 bash - -rwxr-xr-x 3 root root 38404 Sep 18 2022 bunzip2 - -rwxr-xr-x 3 root root 38404 Sep 18 2022 bzcat - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzcmp -> bzdiff - -rwxr-xr-x 1 root root 2225 Sep 18 2022 bzdiff - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzegrep -> bzgrep - -rwxr-xr-x 1 root root 4893 Nov 27 2021 bzexe - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzfgrep -> bzgrep - -rwxr-xr-x 1 root root 3775 Sep 18 2022 bzgrep - -rwxr-xr-x 3 root root 38404 Sep 18 2022 bzip2 - -rwxr-xr-x 1 root root 17892 Sep 18 2022 bzip2recover - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzless -> bzmore - -rwxr-xr-x 1 root root 1297 Sep 18 2022 bzmore - -rwxr-xr-x 1 root root 42920 Sep 20 2022 cat - -rwxr-xr-x 1 root root 79816 Sep 20 2022 chgrp - -rwxr-xr-x 1 root root 67496 Sep 20 2022 chmod - -rwxr-xr-x 1 root root 79816 Sep 20 2022 chown - -rwxr-xr-x 1 root root 162024 Sep 20 2022 cp - -rwxr-xr-x 1 root root 136916 Jan 5 01:20 dash - -rwxr-xr-x 1 root root 137160 Sep 20 2022 date - -rwxr-xr-x 1 root root 100364 Sep 20 2022 dd - -rwxr-xr-x 1 root root 108940 Sep 20 2022 df - -rwxr-xr-x 1 root root 162152 Sep 20 2022 dir - -rwxr-xr-x 1 root root 87760 Mar 22 22:20 dmesg - lrwxrwxrwx 1 root root 8 Dec 19 01:33 dnsdomainname -> hostname - lrwxrwxrwx 1 root root 8 Dec 19 01:33 domainname -> hostname - -rwxr-xr-x 1 root root 38760 Sep 20 2022 echo - -rwxr-xr-x 1 root root 41 Jan 24 02:43 egrep - -rwxr-xr-x 1 root root 34664 Sep 20 2022 false - -rwxr-xr-x 1 root root 41 Jan 24 02:43 fgrep - -rwxr-xr-x 1 root root 84272 Mar 22 22:20 findmnt - -rwsr-xr-x 1 root root 30240 Mar 22 20:38 fusermount - -rwxr-xr-x 1 root root 218680 Jan 24 02:43 grep - -rwxr-xr-x 2 root root 2346 Apr 9 2022 gunzip - -rwxr-xr-x 1 root root 6447 Apr 9 2022 gzexe - -rwxr-xr-x 1 root root 100952 Apr 9 2022 gzip - -rwxr-xr-x 1 root root 21916 Dec 19 01:33 hostname - -rwxr-xr-x 1 root root 75756 Sep 20 2022 ln - -rwxr-xr-x 1 root root 55600 Mar 22 23:43 login - -rwxr-xr-x 1 root root 162152 Sep 20 2022 ls - -rwxr-xr-x 1 root root 214568 Mar 22 22:20 lsblk - -rwxr-xr-x 1 root root 96328 Sep 20 2022 mkdir - -rwxr-xr-x 1 root root 84008 Sep 20 2022 mknod - -rwxr-xr-x 1 root root 38792 Sep 20 2022 mktemp - -rwxr-xr-x 1 root root 63016 Mar 22 22:20 more - -rwsr-xr-x 1 root root 58912 Mar 22 22:20 mount - -rwxr-xr-x 1 root root 13856 Mar 22 22:20 mountpoint - -rwxr-xr-x 1 root root 157932 Sep 20 2022 mv - lrwxrwxrwx 1 root root 8 Dec 19 01:33 nisdomainname -> hostname - lrwxrwxrwx 1 root root 14 Apr 2 18:25 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 38792 Sep 20 2022 pwd - lrwxrwxrwx 1 root root 4 Apr 23 09:24 rbash -> bash - -rwxr-xr-x 1 root root 51080 Sep 20 2022 readlink - -rwxr-xr-x 1 root root 75720 Sep 20 2022 rm - -rwxr-xr-x 1 root root 51080 Sep 20 2022 rmdir - -rwxr-xr-x 1 root root 22308 Nov 2 2022 run-parts - -rwxr-xr-x 1 root root 133224 Jan 5 07:55 sed - lrwxrwxrwx 1 root root 4 Jan 5 01:20 sh -> dash - -rwxr-xr-x 1 root root 38760 Sep 20 2022 sleep - -rwxr-xr-x 1 root root 87976 Sep 20 2022 stty - -rwsr-xr-x 1 root root 83492 Mar 22 22:20 su - -rwxr-xr-x 1 root root 38792 Sep 20 2022 sync - -rwxr-xr-x 1 root root 598456 Apr 6 02:25 tar - -rwxr-xr-x 1 root root 13860 Nov 2 2022 tempfile - -rwxr-xr-x 1 root root 120776 Sep 20 2022 touch - -rwxr-xr-x 1 root root 34664 Sep 20 2022 true - -rwxr-xr-x 1 root root 17892 Mar 22 20:38 ulockmgr_server - -rwsr-xr-x 1 root root 30236 Mar 22 22:20 umount - -rwxr-xr-x 1 root root 38760 Sep 20 2022 uname - -rwxr-xr-x 2 root root 2346 Apr 9 2022 uncompress - -rwxr-xr-x 1 root root 162152 Sep 20 2022 vdir - -rwxr-xr-x 1 root root 71216 Mar 22 22:20 wdctl - lrwxrwxrwx 1 root root 8 Dec 19 01:33 ypdomainname -> hostname - -rwxr-xr-x 1 root root 1984 Apr 9 2022 zcat - -rwxr-xr-x 1 root root 1678 Apr 9 2022 zcmp - -rwxr-xr-x 1 root root 6460 Apr 9 2022 zdiff - -rwxr-xr-x 1 root root 29 Apr 9 2022 zegrep - -rwxr-xr-x 1 root root 29 Apr 9 2022 zfgrep - -rwxr-xr-x 1 root root 2081 Apr 9 2022 zforce - -rwxr-xr-x 1 root root 8103 Apr 9 2022 zgrep - -rwxr-xr-x 1 root root 2206 Apr 9 2022 zless - -rwxr-xr-x 1 root root 1842 Apr 9 2022 zmore - -rwxr-xr-x 1 root root 4577 Apr 9 2022 znew -I: user script /srv/workspace/pbuilder/17586/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 1408088 Apr 24 2023 bash + -rwxr-xr-x 3 root root 38404 Sep 19 2022 bunzip2 + -rwxr-xr-x 3 root root 38404 Sep 19 2022 bzcat + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzcmp -> bzdiff + -rwxr-xr-x 1 root root 2225 Sep 19 2022 bzdiff + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzegrep -> bzgrep + -rwxr-xr-x 1 root root 4893 Nov 28 2021 bzexe + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzfgrep -> bzgrep + -rwxr-xr-x 1 root root 3775 Sep 19 2022 bzgrep + -rwxr-xr-x 3 root root 38404 Sep 19 2022 bzip2 + -rwxr-xr-x 1 root root 17892 Sep 19 2022 bzip2recover + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzless -> bzmore + -rwxr-xr-x 1 root root 1297 Sep 19 2022 bzmore + -rwxr-xr-x 1 root root 42920 Sep 21 2022 cat + -rwxr-xr-x 1 root root 79816 Sep 21 2022 chgrp + -rwxr-xr-x 1 root root 67496 Sep 21 2022 chmod + -rwxr-xr-x 1 root root 79816 Sep 21 2022 chown + -rwxr-xr-x 1 root root 162024 Sep 21 2022 cp + -rwxr-xr-x 1 root root 136916 Jan 6 2023 dash + -rwxr-xr-x 1 root root 137160 Sep 21 2022 date + -rwxr-xr-x 1 root root 100364 Sep 21 2022 dd + -rwxr-xr-x 1 root root 108940 Sep 21 2022 df + -rwxr-xr-x 1 root root 162152 Sep 21 2022 dir + -rwxr-xr-x 1 root root 87760 Mar 24 2023 dmesg + lrwxrwxrwx 1 root root 8 Dec 20 2022 dnsdomainname -> hostname + lrwxrwxrwx 1 root root 8 Dec 20 2022 domainname -> hostname + -rwxr-xr-x 1 root root 38760 Sep 21 2022 echo + -rwxr-xr-x 1 root root 41 Jan 25 2023 egrep + -rwxr-xr-x 1 root root 34664 Sep 21 2022 false + -rwxr-xr-x 1 root root 41 Jan 25 2023 fgrep + -rwxr-xr-x 1 root root 84272 Mar 24 2023 findmnt + -rwsr-xr-x 1 root root 30240 Mar 23 2023 fusermount + -rwxr-xr-x 1 root root 218680 Jan 25 2023 grep + -rwxr-xr-x 2 root root 2346 Apr 10 2022 gunzip + -rwxr-xr-x 1 root root 6447 Apr 10 2022 gzexe + -rwxr-xr-x 1 root root 100952 Apr 10 2022 gzip + -rwxr-xr-x 1 root root 21916 Dec 20 2022 hostname + -rwxr-xr-x 1 root root 75756 Sep 21 2022 ln + -rwxr-xr-x 1 root root 55600 Mar 24 2023 login + -rwxr-xr-x 1 root root 162152 Sep 21 2022 ls + -rwxr-xr-x 1 root root 214568 Mar 24 2023 lsblk + -rwxr-xr-x 1 root root 96328 Sep 21 2022 mkdir + -rwxr-xr-x 1 root root 84008 Sep 21 2022 mknod + -rwxr-xr-x 1 root root 38792 Sep 21 2022 mktemp + -rwxr-xr-x 1 root root 63016 Mar 24 2023 more + -rwsr-xr-x 1 root root 58912 Mar 24 2023 mount + -rwxr-xr-x 1 root root 13856 Mar 24 2023 mountpoint + -rwxr-xr-x 1 root root 157932 Sep 21 2022 mv + lrwxrwxrwx 1 root root 8 Dec 20 2022 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Apr 3 2023 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 38792 Sep 21 2022 pwd + lrwxrwxrwx 1 root root 4 Apr 24 2023 rbash -> bash + -rwxr-xr-x 1 root root 51080 Sep 21 2022 readlink + -rwxr-xr-x 1 root root 75720 Sep 21 2022 rm + -rwxr-xr-x 1 root root 51080 Sep 21 2022 rmdir + -rwxr-xr-x 1 root root 22308 Nov 3 2022 run-parts + -rwxr-xr-x 1 root root 133224 Jan 6 2023 sed + lrwxrwxrwx 1 root root 9 Jun 10 07:09 sh -> /bin/bash + -rwxr-xr-x 1 root root 38760 Sep 21 2022 sleep + -rwxr-xr-x 1 root root 87976 Sep 21 2022 stty + -rwsr-xr-x 1 root root 83492 Mar 24 2023 su + -rwxr-xr-x 1 root root 38792 Sep 21 2022 sync + -rwxr-xr-x 1 root root 598456 Apr 7 2023 tar + -rwxr-xr-x 1 root root 13860 Nov 3 2022 tempfile + -rwxr-xr-x 1 root root 120776 Sep 21 2022 touch + -rwxr-xr-x 1 root root 34664 Sep 21 2022 true + -rwxr-xr-x 1 root root 17892 Mar 23 2023 ulockmgr_server + -rwsr-xr-x 1 root root 30236 Mar 24 2023 umount + -rwxr-xr-x 1 root root 38760 Sep 21 2022 uname + -rwxr-xr-x 2 root root 2346 Apr 10 2022 uncompress + -rwxr-xr-x 1 root root 162152 Sep 21 2022 vdir + -rwxr-xr-x 1 root root 71216 Mar 24 2023 wdctl + lrwxrwxrwx 1 root root 8 Dec 20 2022 ypdomainname -> hostname + -rwxr-xr-x 1 root root 1984 Apr 10 2022 zcat + -rwxr-xr-x 1 root root 1678 Apr 10 2022 zcmp + -rwxr-xr-x 1 root root 6460 Apr 10 2022 zdiff + -rwxr-xr-x 1 root root 29 Apr 10 2022 zegrep + -rwxr-xr-x 1 root root 29 Apr 10 2022 zfgrep + -rwxr-xr-x 1 root root 2081 Apr 10 2022 zforce + -rwxr-xr-x 1 root root 8103 Apr 10 2022 zgrep + -rwxr-xr-x 1 root root 2206 Apr 10 2022 zless + -rwxr-xr-x 1 root root 1842 Apr 10 2022 zmore + -rwxr-xr-x 1 root root 4577 Apr 10 2022 znew +I: user script /srv/workspace/pbuilder/85184/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -340,7 +372,7 @@ Get: 135 http://deb.debian.org/debian bookworm/main i386 ruby-tty-screen all 0.8.1-2 [8924 B] Get: 136 http://deb.debian.org/debian bookworm/main i386 ruby-wisper all 2.0.1-2 [12.7 kB] Get: 137 http://deb.debian.org/debian bookworm/main i386 ruby-tty-reader all 0.9.0-1 [18.1 kB] -Fetched 47.4 MB in 1s (49.8 MB/s) +Fetched 47.4 MB in 2s (27.4 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libpython3.11-minimal:i386. (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 ... 19604 files and directories currently installed.) @@ -911,8 +943,19 @@ Writing extended state information... Building tag database... -> Finished parsing the build-deps +Reading package lists... +Building dependency tree... +Reading state information... +usrmerge is already the newest version (35). +0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/ruby-tty-prompt-0.23.1/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../ruby-tty-prompt_0.23.1-1_source.changes +I: user script /srv/workspace/pbuilder/85184/tmp/hooks/A99_set_merged_usr starting +Re-configuring usrmerge... +removed '/etc/unsupported-skip-usrmerge-conversion' +The system has been successfully converted. +I: user script /srv/workspace/pbuilder/85184/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/ruby-tty-prompt-0.23.1/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../ruby-tty-prompt_0.23.1-1_source.changes dpkg-buildpackage: info: source package ruby-tty-prompt dpkg-buildpackage: info: source version 0.23.1-1 dpkg-buildpackage: info: source distribution unstable @@ -941,7 +984,7 @@ dh_prep -O--buildsystem=ruby dh_auto_install --destdir=debian/ruby-tty-prompt/ -O--buildsystem=ruby dh_ruby --install /build/ruby-tty-prompt-0.23.1/debian/ruby-tty-prompt -/usr/bin/ruby3.1 -S gem build --config-file /dev/null --verbose /tmp/d20230507-4515-57n9fc/gemspec +/usr/bin/ruby3.1 -S gem build --config-file /dev/null --verbose /tmp/d20240610-91911-5wi3um/gemspec Failed to load /dev/null because it doesn't contain valid YAML hash WARNING: open-ended dependency on rake (>= 0, development) is not recommended use a bounded requirement, such as '~> x.y' @@ -953,7 +996,7 @@ Name: tty-prompt Version: 0.23.1 File: tty-prompt-0.23.1.gem -/usr/bin/ruby3.1 -S gem install --config-file /dev/null --verbose --local --verbose --no-document --ignore-dependencies --install-dir debian/ruby-tty-prompt/usr/share/rubygems-integration/all /tmp/d20230507-4515-57n9fc/tty-prompt-0.23.1.gem +/usr/bin/ruby3.1 -S gem install --config-file /dev/null --verbose --local --verbose --no-document --ignore-dependencies --install-dir debian/ruby-tty-prompt/usr/share/rubygems-integration/all /tmp/d20240610-91911-5wi3um/tty-prompt-0.23.1.gem Failed to load /dev/null because it doesn't contain valid YAML hash /build/ruby-tty-prompt-0.23.1/debian/ruby-tty-prompt/usr/share/rubygems-integration/all/gems/tty-prompt-0.23.1/lib/tty-prompt.rb /build/ruby-tty-prompt-0.23.1/debian/ruby-tty-prompt/usr/share/rubygems-integration/all/gems/tty-prompt-0.23.1/lib/tty/prompt.rb @@ -1022,707 +1065,707 @@ RUBYLIB=. GEM_PATH=/build/ruby-tty-prompt-0.23.1/debian/ruby-tty-prompt/usr/share/rubygems-integration/all:/build/ruby-tty-prompt-0.23.1/debian/.debhelper/generated/_source/home/.local/share/gem/ruby/3.1.0:/var/lib/gems/3.1.0:/usr/local/lib/ruby/gems/3.1.0:/usr/lib/ruby/gems/3.1.0:/usr/lib/i386-linux-gnu/ruby/gems/3.1.0:/usr/share/rubygems-integration/3.1.0:/usr/share/rubygems-integration/all:/usr/lib/i386-linux-gnu/rubygems-integration/3.1.0 ruby3.1 -S rake -f debian/ruby-tests.rake /usr/bin/ruby3.1 -I/usr/share/rubygems-integration/all/gems/rspec-support-3.12.0/lib:/usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/exe/rspec --pattern ./spec/\*\*/\*_spec.rb --format documentation -Randomized with seed 46412 +Randomized with seed 26130 -TTY::Prompt confirmation - #yes? +TTY::Prompt::Question#modify No entry for terminal type "unknown"; using dumb terminal settings. No entry for terminal type "unknown"; using dumb terminal settings. No entry for terminal type "unknown"; using dumb terminal settings. - obeys quiet mode - customizes question through DSL - changes default - warns about invalid entry when using defaults - fails to infer default value from a word - customizes question through options - assumes default true - accepts regex conflicting characters as suffix - defaults suffix and converter - defaults positive and negative - disagrees with question - agrees with question - infers default value from a word - #no? - disagrees with question - customizes question through DSL - defaults suffix and converter - assumes default false - agrees with question - warns about invalid entry when using defaults - changes default - -TTY::Prompt::Question convert bool - fails to convert boolean - converts single positive boolean - handles default values - converts positive boolean - converts negative boolean - handles default values - -TTY::Prompt::Question convert numbers - converts integer - fails to convert float - converts float - fails to convert integer - -TTY::Prompt::Question convert file - converts to file - -TTY::Prompt::Question::Modifier#letter_case - nil (empty user input) - down returns nil - up returns nil - capitalize returns nil - string - changes to uppercase - changes to lower case - capitalizes text + preserves answer for unkown modification + trims whitespace + converts to upper case + collapses whitespace + strips and collapses whitespace -TTY::Prompt#ok - prints multiple lines in green - prints text in green - changes color to cyan +TTY::Prompt::Converters + :char + converts "" to nil + converts "input" to "i" + :time + converts "11:12:13" to 2024-06-10 11:12:13 +1400 + converts "unknown" to "undefined" + :float + converts "unknown" to "undefined" + converts "12.3" to 12.3 + :array/:list + converts "t,t,f" to [true, true, false] + converts "1,2,3" to [1, 2, 3] + converts "t,t,f" to [true, true, false] + converts "a,b,c" to ["a", "b", "c"] + converts "a,b,c" to [:a, :b, :c] + converts "a, b\\, c" to ["a", "b, c"] + converts "t,t,f" to [true, true, false] + converts "1,2,3" to [1, 2, 3] + converts "1,2,3" to [1, 2, 3] + converts ["a", "b", "c"] to ["a", "b", "c"] + converts "a,b,c" to [:a, :b, :c] + converts "1,2,3" to [1.0, 2.0, 3.0] + converts ",," to [] + converts "a , b , c" to ["a", "b", "c"] + converts "a, , c" to ["a", "c"] + converts "a,b,c" to [/a/, /b/, /c/] + converts "1,2,3" to [1, 2, 3] + converts "1,2,3" to [1.0, 2.0, 3.0] + converts ",b,c" to ["b", "c"] + :hash/:map + converts "a:1 b:2 c:3" to {:a=>1, :b=>2, :c=>3} + converts "a=1" to {:a=>"1"} + converts ["a=1", "b=2", "c=3"] to {:a=>"1", :b=>"2", :c=>"3"} + converts "a:1 b:2 c:3" to {"a"=>1, "b"=>2, "c"=>3} + converts "a:t b:f c:t" to {:a=>true, :b=>false, :c=>true} + converts "a=&b=2" to {:a=>"", :b=>"2"} + converts "a:t b:f c:t" to {:a=>/t/, :b=>/f/, :c=>/t/} + converts "a=1&b=2" to {:a=>"1", :b=>"2"} + converts "a:1 b:2 c:3" to {:a=>1.0, :b=>2.0, :c=>3.0} + converts "a=1&b=2&a=3" to {:a=>["1", "3"], :b=>"2"} + converts "a:1 b:2 a:3" to {:a=>["1", "3"], :b=>"2"} + converts "a:1 b:2" to {:a=>"1", :b=>"2"} + converts "a:t b:f c:t" to {:a=>:t, :b=>:f, :c=>:t} + converts "a:1 b:2 c:3" to {:a=>1, :b=>2, :c=>3} + converts "a:t b:f c:t" to {:a=>true, :b=>false, :c=>true} + converts ["a:1", "b:2", "c:3"] to {:a=>"1", :b=>"2", :c=>"3"} + converts "a:1 b:2 c:3" to {"a"=>1, "b"=>2, "c"=>3} + converts "" to {} + :datetime + converts "unknown" to "undefined" + converts "2020/05/21 11:12:13" to # + :string + converts "input\n" to "input" + converts "" to "" + :range + converts "unknown" to "undefined" + converts "a..z" to "a".."z" + converts "a . . . z" to "a"..."z" + converts "1.2-5.0" to 1.2..5.0 + converts "1...10" to 1...10 + converts "1..10" to 1..10 + converts "-5--1" to -5..-1 + converts "1-10" to 1..10 + converts "1 , 10" to 1..10 + converts "1 . . . 10" to 1...10 + converts "1.0" to 1.0..1.0 + converts "1" to 1..1 + converts 1..10 to 1..10 + :path + converts "/foo/bar/baz" to # + :integer + converts "unknown" to "undefined" + converts "12" to 12 + :date + converts "2020/05/21" to # + converts "unknown" to "undefined" + :regexp + converts "unknown" to /unknown/ + converts "\\d+" to /\d+/ + :uri + converts "http://foobar.com" to # + :boolean + converts "t" to true + converts "FALSE" to false + converts "true" to true + converts "f" to false + converts "no" to false + converts "y" to true + converts "YES" to true + converts "0" to false + converts "unknown" to "undefined" + converts "1" to true -TTY::Prompt::Question convert date - fails to convert date - converts date - converts datetime +TTY::Prompt::Question#default + uses default value + uses default value in block TTY::Prompt::BlockPaginator#paginate - finds both start and end index for current selection + ignores per_page when equal items doesn't accept invalid pagination - paginates items matching per_page count + starts with default selection + finds both start and end index for current selection ignores per_page when less items - ignores per_page when equal items + paginates items matching per_page count paginates items not matching per_page count - starts with default selection - -TTY::Prompt::Choices#enabled - returns only choices which aren't disabled - -TTY::Prompt::Timer - times out loop execution - registers a tick event -TTY::Prompt::Question::Modifier#apply_to - combines whitespace & letter case modifications - doesn't apply modifiers - combines letter case & whitespace modifications +TTY::Prompt#new + sets output stream + sets prefix + sets input stream -TTY::Prompt#expand - expands default option - expands chosen option with extra information - fails to expand due to duplicate key - specifies options through DSL - fails to expand due to lack of key attribute - fails to expand due to wrong key length - expands help option and then defaults - automatically expands hint - informs about invalid input when automatically expanding hint - sets quiet mode through DSL - changes default option - fails to expand due to reserve key +TTY::Prompt + selects option by index from the list + selects option through DSL + sets choice value to nil through DSL + raises when default name matches a disabled choice + raises when default choice name is not found + shows pages matching input + changes global symbols through DSL + selects default option when return pressed immediately sets quiet mode - specifies options through DSL and executes value + doesn't cycle around by default + paginates long selections + selects option through DSL with key and value + cycles around when configured to do so + displays error with unrecognized input + sets quiet mode through DSL + selects default choice by name + changes colors for selection, hint and error + changes global symbols + raises configuration error when default is higher than number of choices + switches through pages with tab key + doesn't paginate short selections + with :disabled choice + doesn't allow to choose disabled choice and defaults + finds first non-disabled index + omits disabled choice when navigating with numbers + fails when active item is also disabled -TTY::Prompt#suggest - suggests a single match for one character - suggests few matches - suggests with different text and indentation - suggests a single match for two characters +TTY::Prompt#inspect + inspects instance attributes -TTY::Prompt::Choices#each - iterates over collection +TTY::Prompt::Choices#enabled + returns only choices which aren't disabled -TTY::Prompt::Question convert to hash - converts answer to a hash of boolean values - converts answer to a hash of integer values - converts answer to a hash +TTY::Prompt::Question#validate + provides default error message for wrong input + validates input with regex + understands custom validation like :email + provides custom error message for wrong input + validates input with proc + deprecates :validation option -TTY::Prompt::Question#echo - asks with echo off - asks with echo on +TTY::Prompt::Choices#find_by + finds a matching choice by :name key + finds a matching choice by :key key + finds no matching choice + finds a matching choice by :value key -TTY::Prompt::Choice#== - is true with the same name and value attributes - is false with non-choice object - is false with different name attribute - is false with different key attribute - is false with different value attribute +TTY::Prompt confirmation + #yes? + defaults positive and negative + warns about invalid entry when using defaults + fails to infer default value from a word + defaults suffix and converter + disagrees with question + changes default + customizes question through options + customizes question through DSL + assumes default true + infers default value from a word + agrees with question + accepts regex conflicting characters as suffix + obeys quiet mode + #no? + warns about invalid entry when using defaults + assumes default false + defaults suffix and converter + changes default + customizes question through DSL + disagrees with question + agrees with question -TTY::Prompt::Question convert regexp - converts regex +TTY::Prompt::Timer + times out loop execution + registers a tick event -TTY::Prompt::Question#default - sets quiet mode +TTY::Prompt::Question#required + requires value to be present + doesn't require value to be present + uses required in validation check + requires value to be present with option + +TTY::Prompt::Question#keypress + asks for a keypress with echo on + asks for a keypress with echo off + timeouts when no key provided + interrupts input + receives line feed with echo on TTY::Prompt::Question#in reads number within string range - provides default error message when wrong input reads number within digit range reads range from option - reads letters within range overwrites default error message when wrong input + provides default error message when wrong input + reads letters within range -TTY::Utils - #deep_copy - copies "" - copies ["foo", {:bar=>"baz"}, :fum, 11] - #blank? - detects blank of " " as true - detects blank of nil as true - detects blank of "\n\t " as true - detects blank of "foo" as false - detects blank of "" as true - detects blank of :foo as false - -TTY::Prompt::Paginator#paginate - ignores per_page when less items - starts with default selection - doesn't accept invalid pagination - finds both start and end index for current selection - ignores per_page when equal items - paginates items matching per_page count - paginates items not matching per_page count - -TTY::Prompt::Statement.new - forces newline after the prompt message - displays prompt message in color - -TTY::Prompt#new - sets input stream - sets output stream - sets prefix +TTY::Prompt::Distance.distance + when prefix + is expected to eql 3 + when similar + is expected to eql 2 + when empty + is expected to eql 0 + with one non empty + is expected to eql 3 + when unicode + is expected to eql 1 + when nil + is expected to eql 0 + when similar + is expected to eql 1 + when end similar + is expected to eql 3 + when single char + is expected to eql 2 + when contain similar + is expected to eql 2 + when similar + is expected to eql 0 TTY::Prompt + changes to always show help + sets choice name and value through DSL + sets prompt prefix + sets choice custom values + selects nothing when return pressed immediately sets default options through DSL syntax - changes help text and color changes selected item color & marker - sets choice custom values - sets choice name and value through DSL - selects item when space pressed raises error for defaults out of range - changes to always show help - selects nothing when return pressed immediately - changes to never show help sets choice value to nil through DSL + changes help text and color + sets prompt to quiet mode + selects item when space pressed + selects item when space pressed but doesn't echo item if echo: false sets default choices using names - sets prompt prefix sets default options through hash syntax - selects item when space pressed but doesn't echo item if echo: false - sets prompt to quiet mode + changes to never show help + with :min + requires number of choices + with filter + doesn't lose the selection when switching between filters + with :cycle + doesn't cycle by default + cycles when configured to do so + cycles filtered choices left and right + cycles choices using left/right arrows + with :disabled + adjusts active index to match first non-disabled choice + omits disabled choice when number key is pressed + fails when default item is also disabled + selects all non-disabled choices when ctrl+a is pressed + omits disabled choice when nagivating menu + with :max + limits number of choices + disables Ctrl+a/Ctrl+r selection when :max option is specified when paginated - navigates unevenly paged output with right arrow until the end of selection - doesn't paginate short selections paginates choices as hash object paginates long selections - paginates long selections through DSL navigates left and right + paginates long selections through DSL reverts selection accross pages with Ctrl+r + doesn't paginate short selections + navigates unevenly paged output with right arrow until the end of selection combines up/down navigation with left/right - selects all paged choices with ctrl+a navigates evenly paged output with right arrow until end of selection - with :max - limits number of choices - disables Ctrl+a/Ctrl+r selection when :max option is specified - with :disabled - fails when default item is also disabled - adjusts active index to match first non-disabled choice - selects all non-disabled choices when ctrl+a is pressed - omits disabled choice when number key is pressed - omits disabled choice when nagivating menu - with :min - requires number of choices - with :cycle - cycles filtered choices left and right - cycles when configured to do so - doesn't cycle by default - cycles choices using left/right arrows - with filter - doesn't lose the selection when switching between filters + selects all paged choices with ctrl+a -TTY::Prompt::Distance.distance - when similar - is expected to eql 0 - when similar - is expected to eql 2 - with one non empty - is expected to eql 3 - when contain similar - is expected to eql 2 - when empty - is expected to eql 0 - when nil - is expected to eql 0 - when similar - is expected to eql 1 - when prefix - is expected to eql 3 - when single char - is expected to eql 2 - when unicode - is expected to eql 1 - when end similar - is expected to eql 3 +TTY::Prompt::SelectedChoices + inserts choices by the index order + inserts and deletes choices + clears choices + initializes with selected choices -TTY::Prompt::Choice#from - creates choice from a string - creates choice from array with name and nil value - creates choice from a hash with name, value and key keys - creates choice from an array with a hash with name and value keys - creates choice from an array with key-value pair - creates choice from an array with a hash without value key - creates choice from a symbol - creates choice from a hash with a nil value - creates choice from a hash with a value - creates choice from an array with name and false value - creates choice from an arbitrary object that responds to to_s call - skips Choice instance - creates choice from an array with name and a value - creates choice from an array with name only and defaults value - creates disabled choice +TTY::Prompt#subscribe + subscribes to key events only for the current prompt -TTY::Prompt#inspect - inspects instance attributes +TTY::Prompt#suggest + suggests with different text and indentation + suggests few matches + suggests a single match for two characters + suggests a single match for one character + +TTY::Prompt::Evaluator + checks chained validation procs + checks chained validation objects TTY::Prompt::Question + passes required check + fails range check + fails convert check with custom message passes convert check - fails validation check - fails validation check with custom message fails range check + fails required check + fails validation check with custom message + fails convert check + passes range check passes validation check fails validation check with inlined custom message - passes range check - passes required check - fails required check fails required check with custom message - fails convert check with custom message - fails convert check - fails range check - -TTY::Prompt#subscribe - subscribes to key events only for the current prompt - -TTY::Prompt::Question convert char - reads single character - -TTY::Prompt - changes global symbols - selects default option when return pressed immediately - sets choice value to nil through DSL - sets quiet mode through DSL - changes colors for selection, hint and error - switches through pages with tab key - shows pages matching input - selects option through DSL - doesn't paginate short selections - selects option by index from the list - raises configuration error when default is higher than number of choices - selects option through DSL with key and value - doesn't cycle around by default - raises when default choice name is not found - displays error with unrecognized input - cycles around when configured to do so - paginates long selections - changes global symbols through DSL - raises when default name matches a disabled choice - sets quiet mode - selects default choice by name - with :disabled choice - finds first non-disabled index - fails when active item is also disabled - doesn't allow to choose disabled choice and defaults - omits disabled choice when navigating with numbers + fails validation check -TTY::Prompt::SelectedChoices - clears choices - initializes with selected choices - inserts choices by the index order - inserts and deletes choices +TTY::Prompt#collect + collects more than one answer + when receiving multiple answers + overrides a non-array key on multiple answers + collects as a list if values method used in chain + collects as a list if values method used in chain with block + with multiple keys + collects into the appropriate keys -TTY::Prompt::Evaluator - checks chained validation objects - checks chained validation procs +TTY::Prompt::Question convert date + converts date + fails to convert date + converts datetime TTY::Prompt::Question convert to array - converts answer to an array of booleans converts answer to an array of integers + converts answer to an array of booleans converts answer to an array -TTY::Prompt::Question::Validation#coerce - coerces into regex - doesn't coerce symbols - fails to coerce pattern into validation - coerces lambda into proc +TTY::Prompt::Question#echo + asks with echo on + asks with echo off -TTY::Prompt#collect - collects more than one answer - when receiving multiple answers - collects as a list if values method used in chain with block - collects as a list if values method used in chain - overrides a non-array key on multiple answers - with multiple keys - collects into the appropriate keys +TTY::Prompt::Choice#== + is false with different name attribute + is false with different value attribute + is false with non-choice object + is true with the same name and value attributes + is false with different key attribute -TTY::Prompt::Question#required - uses required in validation check - requires value to be present - requires value to be present with option - doesn't require value to be present +TTY::Prompt::Choices.new + creates choices collection + +TTY::Prompt::Question::Modifier#letter_case + nil (empty user input) + down returns nil + capitalize returns nil + up returns nil + string + changes to uppercase + capitalizes text + changes to lower case + +TTY::Prompt::Question convert bool + converts positive boolean + handles default values + converts single positive boolean + converts negative boolean + handles default values + fails to convert boolean + +TTY::Prompt::Result + checks value to be valid + checks value to be invalid + +TTY::Prompt#expand + informs about invalid input when automatically expanding hint + fails to expand due to wrong key length + fails to expand due to lack of key attribute + automatically expands hint + fails to expand due to duplicate key + expands chosen option with extra information + specifies options through DSL + sets quiet mode through DSL + expands default option + fails to expand due to reserve key + changes default option + specifies options through DSL and executes value + sets quiet mode + expands help option and then defaults TTY::Prompt::Question convert range fails to convert to range converts with valid range -TTY::Prompt::Question#default - uses default value - uses default value in block - -TTY::Prompt#error - changes default red color to cyan - displays message with option - displays many messages - displays one message +TTY::Prompt#ok + changes color to cyan + prints multiple lines in green + prints text in green -TTY::Prompt::Question::Validation#call - fails validation when not maching pattern - validates with a proc - validates successfully when the value matches pattern - validates with custom name - validates nil input +TTY::Prompt#mask + masks output with custom character + ignores mask if echo is off + validates input + masks with unicode character + masks output by default -TTY::Prompt::Choices#pluck - plucks choice by key name +TTY::Prompt::Choices#<< + adds choice to collection -TTY::Prompt::Converters - :time - converts "11:12:13" to 2023-05-07 11:12:13 -1200 - converts "unknown" to "undefined" - :regexp - converts "\\d+" to /\d+/ - converts "unknown" to /unknown/ - :string - converts "input\n" to "input" - converts "" to "" - :date - converts "2020/05/21" to # - converts "unknown" to "undefined" - :array/:list - converts "a,b,c" to [:a, :b, :c] - converts "1,2,3" to [1, 2, 3] - converts ",b,c" to ["b", "c"] - converts "a,b,c" to ["a", "b", "c"] - converts "a, b\\, c" to ["a", "b, c"] - converts "1,2,3" to [1, 2, 3] - converts "1,2,3" to [1, 2, 3] - converts "a,b,c" to [/a/, /b/, /c/] - converts "1,2,3" to [1.0, 2.0, 3.0] - converts ",," to [] - converts "t,t,f" to [true, true, false] - converts ["a", "b", "c"] to ["a", "b", "c"] - converts "1,2,3" to [1.0, 2.0, 3.0] - converts "t,t,f" to [true, true, false] - converts "a , b , c" to ["a", "b", "c"] - converts "1,2,3" to [1, 2, 3] - converts "a,b,c" to [:a, :b, :c] - converts "t,t,f" to [true, true, false] - converts "a, , c" to ["a", "c"] - :integer - converts "unknown" to "undefined" - converts "12" to 12 - :boolean - converts "1" to true - converts "t" to true - converts "f" to false - converts "0" to false - converts "YES" to true - converts "y" to true - converts "FALSE" to false - converts "unknown" to "undefined" - converts "no" to false - converts "true" to true - :range - converts "unknown" to "undefined" - converts "1 . . . 10" to 1...10 - converts 1..10 to 1..10 - converts "a . . . z" to "a"..."z" - converts "-5--1" to -5..-1 - converts "1.2-5.0" to 1.2..5.0 - converts "1" to 1..1 - converts "1...10" to 1...10 - converts "1 , 10" to 1..10 - converts "1..10" to 1..10 - converts "1-10" to 1..10 - converts "a..z" to "a".."z" - converts "1.0" to 1.0..1.0 - :hash/:map - converts "a:t b:f c:t" to {:a=>true, :b=>false, :c=>true} - converts "a:1 b:2 c:3" to {:a=>1.0, :b=>2.0, :c=>3.0} - converts "" to {} - converts "a:1 b:2 c:3" to {:a=>1, :b=>2, :c=>3} - converts "a:t b:f c:t" to {:a=>true, :b=>false, :c=>true} - converts "a:1 b:2" to {:a=>"1", :b=>"2"} - converts "a:1 b:2 c:3" to {"a"=>1, "b"=>2, "c"=>3} - converts "a:1 b:2 a:3" to {:a=>["1", "3"], :b=>"2"} - converts "a=&b=2" to {:a=>"", :b=>"2"} - converts "a=1&b=2&a=3" to {:a=>["1", "3"], :b=>"2"} - converts "a:1 b:2 c:3" to {"a"=>1, "b"=>2, "c"=>3} - converts "a=1" to {:a=>"1"} - converts "a:t b:f c:t" to {:a=>:t, :b=>:f, :c=>:t} - converts ["a=1", "b=2", "c=3"] to {:a=>"1", :b=>"2", :c=>"3"} - converts "a:t b:f c:t" to {:a=>/t/, :b=>/f/, :c=>/t/} - converts ["a:1", "b:2", "c:3"] to {:a=>"1", :b=>"2", :c=>"3"} - converts "a=1&b=2" to {:a=>"1", :b=>"2"} - converts "a:1 b:2 c:3" to {:a=>1, :b=>2, :c=>3} - :path - converts "/foo/bar/baz" to # - :char - converts "" to nil - converts "input" to "i" - :datetime - converts "unknown" to "undefined" - converts "2020/05/21 11:12:13" to # - :uri - converts "http://foobar.com" to # - :float - converts "12.3" to 12.3 - converts "unknown" to "undefined" +TTY::Prompt::Question convert path + converts pathname -TTY::Prompt::Question#initialize - is expected to eq true - is expected to eq [] - is expected to eq TTY::Prompt::Question::UndefinedSetting +TTY::Prompt::Question convert numbers + fails to convert integer + fails to convert float + converts float + converts integer -TTY::Prompt::Question#modify - strips and collapses whitespace - converts to upper case - preserves answer for unkown modification - trims whitespace - collapses whitespace +TTY::Prompt#ask + permits nil default parameter + sets quiet mode + asks question with prepopulated value + asks question + asks a question with a prefix [?] + overwrites global settings + asks an empty question and returns nil if EOF is sent to stdin + asks a question with block + asks an empty question + permits empty default parameter + changes question color + asks an empty question with prepopulated value + sets quiet mode through DSL TTY::Prompt#decorate - decorates with a callable object + doesn't decorate empty string decorates with a proc + doesn't decorate without additional arguments decorates string with named colors - doesn't decorate empty string doesn't decorate when disabled - doesn't decorate without additional arguments + decorates with a callable object -TTY::Prompt#slider - changes all display symbols - changes display colors - changes to always show help - specifies ranges & step +TTY::Prompt::Question#multiline + changes help text sets quiet mode - sets default choice by name - formats via proc - specifies default value + reads multiple lines with empty lines + uses defualt when no input + reads no lines + +TTY::Prompt::Question convert string + converts string + converts symbol + +TTY::Prompt::Choice#from + creates choice from a hash with a nil value + creates choice from a hash with a value + creates choice from an array with name only and defaults value + creates choice from array with name and nil value + creates disabled choice + creates choice from a string + creates choice from an arbitrary object that responds to to_s call + creates choice from an array with name and false value + creates choice from an array with key-value pair + creates choice from an array with name and a value + creates choice from a hash with name, value and key keys + creates choice from an array with a hash with name and value keys + skips Choice instance + creates choice from an array with a hash without value key + creates choice from a symbol + +TTY::Prompt::Question::Modifier#apply_to + combines whitespace & letter case modifications + combines letter case & whitespace modifications + doesn't apply modifiers + +TTY::Prompt#warn + displays many messages + displays message with option + changes default yellow color to cyan + displays one message + +TTY::Utils + #deep_copy + copies "" + copies ["foo", {:bar=>"baz"}, :fum, 11] + #blank? + detects blank of :foo as false + detects blank of "\n\t " as true + detects blank of "" as true + detects blank of nil as true + detects blank of " " as true + detects blank of "foo" as false + +TTY::Prompt::Question::Modifier#whitespace + nil (empty user input) + collapse returns nil + chomp returns nil + remove returns nil + trim returns nil + string with whitespaces + removes whitespace + collapses text + chomps whitespace + trims whitespace + +TTY::Prompt::Question convert to hash + converts answer to a hash + converts answer to a hash of integer values + converts answer to a hash of boolean values + +TTY::Prompt#slider + doesn't allow values outside of range mixes choices as values and via DSL and keeps ordering - specifies range through DSL - changes all display symbols per instance + sets default choice by name + specifies choices through DSL + specifies choices through DSL + changes to always show help specifies quiet mode through DSL - sets choice value to proc and executes it + changes all display symbols + specifies range through DSL + specifies default value + formats via proc + changes display colors changes to never show help - specifies choices through DSL sets default choice by index number - doesn't allow values outside of range - specifies choices through DSL + sets choice value to proc and executes it specifies choices instead of calculated range + specifies ranges & step + sets quiet mode + changes all display symbols per instance -TTY::Prompt::Result - checks value to be valid - checks value to be invalid +TTY::Prompt::Choices#each + iterates over collection -TTY::Prompt::Question#keypress - receives line feed with echo on - timeouts when no key provided - asks for a keypress with echo on - interrupts input - asks for a keypress with echo off +TTY::Prompt::Question::Validation#call + validates successfully when the value matches pattern + validates nil input + validates with custom name + fails validation when not maching pattern + validates with a proc + +TTY::Prompt::Question convert file + converts to file + +TTY::Prompt::Question convert regexp + converts regex + +TTY::Prompt::ConverterRegistry + register + registers new conversion under single name + fails to register conversion + registers new conversion under multiple names + fetch + retrieves converter from the registry + fails to retrieve conversion + retrieves uppcase named converter + contain + contains conversion + checks conversion with object type + doesn't have conversion + +TTY::Prompt#say + prints an empty message + without color + prints message without ansi + with tab or space + prints + with color + prints message with ansi color without newline + prints message with ansi color + with new line + prints a message with newline + prints a message with newline within text + prints a message without newline + prints a message with newline within text and blank space + prints a message with implicit newline + +TTY::Prompt::Choices#pluck + plucks choice by key name TTY::Prompt#select + changes selected item color & marker + selects default choice by name allows navigation using events without errors + sets quiet mode through DSL sets choice value to nil sets choice name and value - sets quiet mode through DSL - changes to never show help - changes to always show help + raises when default choice doesn't match any choices + sets prompt prefix + sets choice name through DSL + changes help text + configures quiet mode verifies default index range - changes selected item color & marker - sets choice value to proc and executes it + changes to always show help sets choices and single choice through DSL doesn't paginate short selections - selects by default first option - configures quiet mode sets choice name & value through DSL - sets choice name & value through DSL - changes help text - sets choice name through DSL - sets prompt prefix - verifies default index format - raises when default choice matches disabled choice - selects default choice by name + selects by default first option + changes to never show help changes help text through DSL + raises when default choice matches disabled choice sets default option through hash syntax - raises when default choice doesn't match any choices + sets choice value to proc and executes it + sets choice name & value through DSL + verifies default index format when paginated navigates unevenly paged output with right arrow until the end of selection + combines up/down navigation with left/right paginates choices as hash object - paginates long selections through DSL + navigates pages left/right with disabled items paginates long selections navigates left and right - navigates pages up/down with disabled items navigates evenly paged output with right arrow until end of selection - combines up/down navigation with left/right - navigates pages left/right with disabled items + navigates pages up/down with disabled items + paginates long selections through DSL with :cycle option doesn't cycle by default - cycles around when configured to do so cycles filtered choices left and right + cycles around when configured to do so + cycles around disabled items cycles choices using left/right arrows cycles pages left/right with disabled items - cycles around disabled items + with :disabled choice + prevents setting default to disabled choice + omits disabled choice when number key is pressed + omits disabled choice when navigating menu + doesn't show disabled choice when filtering choices + sets active to be first non-disabled choice with filter - filters and chooses a uniquely matching entry, ignoring case - filters and chooses the first of multiple matching entries - doesn't allow mixing enumeration and filter cancels a selection + filters and chooses the first of multiple matching entries navigates left and right with filtered items doesn't exit when there are no matching entries + filters and chooses a uniquely matching entry, ignoring case + doesn't allow mixing enumeration and filter filters based on alphanumeric and punctuation characters - with :disabled choice - doesn't show disabled choice when filtering choices - omits disabled choice when navigating menu - sets active to be first non-disabled choice - prevents setting default to disabled choice - omits disabled choice when number key is pressed - -TTY::Prompt::Choices#find_by - finds a matching choice by :value key - finds a matching choice by :key key - finds a matching choice by :name key - finds no matching choice - -TTY::Prompt::Question#multiline - uses defualt when no input - changes help text - sets quiet mode - reads no lines - reads multiple lines with empty lines - -TTY::Prompt::Question convert string - converts string - converts symbol - -TTY::Prompt#ask - asks an empty question and returns nil if EOF is sent to stdin - sets quiet mode through DSL - permits empty default parameter - asks an empty question - asks a question with block - sets quiet mode - permits nil default parameter - asks question with prepopulated value - overwrites global settings - asks an empty question with prepopulated value - changes question color - asks a question with a prefix [?] - asks question - -TTY::Prompt::Choices.new - creates choices collection - -TTY::Prompt::Question#validate - validates input with regex - deprecates :validation option - validates input with proc - provides custom error message for wrong input - provides default error message for wrong input - understands custom validation like :email - -TTY::Prompt::Question::Modifier#whitespace - string with whitespaces - removes whitespace - collapses text - trims whitespace - chomps whitespace - nil (empty user input) - trim returns nil - remove returns nil - collapse returns nil - chomp returns nil TTY::Prompt::Question convert custom converts response with custom conversion -TTY::Prompt#say - prints an empty message - with color - prints message with ansi color without newline - prints message with ansi color - with new line - prints a message with newline within text and blank space - prints a message with implicit newline - prints a message with newline within text - prints a message with newline - prints a message without newline - without color - prints message without ansi - with tab or space - prints +TTY::Prompt::Question#initialize + is expected to eq [] + is expected to eq TTY::Prompt::Question::UndefinedSetting + is expected to eq true -TTY::Prompt::Choices#<< - adds choice to collection +TTY::Prompt::Question#default + sets quiet mode -TTY::Prompt::Question convert path - converts pathname +TTY::Prompt::Question::Validation#coerce + coerces lambda into proc + coerces into regex + doesn't coerce symbols + fails to coerce pattern into validation -TTY::Prompt#warn +TTY::Prompt::Statement.new + forces newline after the prompt message + displays prompt message in color + +TTY::Prompt#error displays many messages - displays one message displays message with option - changes default yellow color to cyan + displays one message + changes default red color to cyan -TTY::Prompt::ConverterRegistry - register - registers new conversion under single name - fails to register conversion - registers new conversion under multiple names - fetch - retrieves uppcase named converter - retrieves converter from the registry - fails to retrieve conversion - contain - checks conversion with object type - doesn't have conversion - contains conversion +TTY::Prompt::Question convert char + reads single character -TTY::Prompt#mask - masks output with custom character - validates input - ignores mask if echo is off - masks output by default - masks with unicode character +TTY::Prompt::Paginator#paginate + doesn't accept invalid pagination + ignores per_page when less items + paginates items matching per_page count + finds both start and end index for current selection + paginates items not matching per_page count + starts with default selection + ignores per_page when equal items -Top 2 slowest examples (0.06274 seconds, 7.1% of total time): - TTY::Prompt::Timer times out loop execution - 0.03235 seconds ./spec/unit/timer_spec.rb:4 +Top 2 slowest examples (0.06241 seconds, 10.5% of total time): TTY::Prompt::Timer registers a tick event - 0.03039 seconds ./spec/unit/timer_spec.rb:15 + 0.03135 seconds ./spec/unit/timer_spec.rb:15 + TTY::Prompt::Timer times out loop execution + 0.03106 seconds ./spec/unit/timer_spec.rb:4 Top 2 slowest example groups: TTY::Prompt::Timer - 0.0317 seconds average (0.0634 seconds / 2 examples) ./spec/unit/timer_spec.rb:3 + 0.03154 seconds average (0.06307 seconds / 2 examples) ./spec/unit/timer_spec.rb:3 TTY::Prompt#subscribe - 0.00992 seconds average (0.00992 seconds / 1 example) ./spec/unit/subscribe_spec.rb:3 + 0.00707 seconds average (0.00707 seconds / 1 example) ./spec/unit/subscribe_spec.rb:3 -Finished in 0.88257 seconds (files took 0.55407 seconds to load) +Finished in 0.5952 seconds (files took 0.3213 seconds to load) 494 examples, 0 failures -Randomized with seed 46412 +Randomized with seed 26130 ┌──────────────────────────────────────────────────────────────────────────────┐ @@ -1755,12 +1798,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: including full source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/85184/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/85184/tmp/hooks/B01_cleanup finished I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env -I: removing directory /srv/workspace/pbuilder/17586 and its subdirectories -I: Current time: Sun May 7 22:45:58 -12 2023 -I: pbuilder-time-stamp: 1683542758 +I: removing directory /srv/workspace/pbuilder/85184 and its subdirectories +I: Current time: Mon Jun 10 07:09:32 +14 2024 +I: pbuilder-time-stamp: 1717952972