Input buildinfo: https://buildinfos.debian.net/buildinfo-pool/r/ruby-tty-prompt/ruby-tty-prompt_0.21.0-1_all.buildinfo Use metasnap for getting required timestamps New buildinfo file: /tmp/ruby-tty-prompt-0.21.0-1v48yfjnz/ruby-tty-prompt_0.21.0-1_all.buildinfo Get source package info: ruby-tty-prompt=0.21.0-1 Source URL: http://snapshot.notset.fr/mr/package/ruby-tty-prompt/0.21.0-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-11.1 automake=1:1.16.1-4 autopoint=0.19.8.1-10 autotools-dev=20180224.1 base-files=11 base-passwd=3.5.47 bash=5.0-6 binutils=2.34-4 binutils-common=2.34-4 binutils-x86-64-linux-gnu=2.34-4 bsdmainutils=11.1.2+b1 bsdutils=1:2.34-0.1 build-essential=12.8 bzip2=1.0.8-2 ca-certificates=20190110 coreutils=8.30-3+b1 cpp=4:9.2.1-3.1 cpp-9=9.2.1-31 dash=0.5.10.2-6 debconf=1.5.73 debhelper=12.9 debianutils=4.9.1 devscripts=2.20.2 dh-autoreconf=19 dh-strip-nondeterminism=1.6.3-2 diffutils=1:3.7-3 dirmngr=2.2.19-3 dpkg=1.19.7 dpkg-dev=1.19.7 dwz=0.13-5 fakeroot=1.24-1 fdisk=2.34-0.1 file=1:5.38-4 findutils=4.7.0-1 g++=4:9.2.1-3.1 g++-9=9.2.1-31 gcc=4:9.2.1-3.1 gcc-10-base=10-20200304-1 gcc-9=9.2.1-31 gcc-9-base=9.2.1-31 gem2deb=1.0.5+b1 gem2deb-test-runner=1.0.5+b1 gettext=0.19.8.1-10 gettext-base=0.19.8.1-10 gnupg=2.2.19-3 gnupg-l10n=2.2.19-3 gnupg-utils=2.2.19-3 gpg=2.2.19-3 gpg-agent=2.2.19-3 gpg-wks-client=2.2.19-3 gpg-wks-server=2.2.19-3 gpgconf=2.2.19-3 gpgsm=2.2.19-3 gpgv=2.2.19-3 grep=3.4-1 groff-base=1.22.4-4 gzip=1.10-1 hostname=3.23 init-system-helpers=1.57 intltool-debian=0.35.0+20060710.5 libacl1=2.2.53-6 libarchive-zip-perl=1.67-2 libasan5=9.2.1-31 libassuan0=2.5.3-7 libatomic1=10-20200304-1 libattr1=1:2.4.48-5 libaudit-common=1:2.8.5-2 libaudit1=1:2.8.5-2+b1 libb-hooks-op-check-perl=0.22-1+b2 libbinutils=2.34-4 libblkid1=2.34-0.1 libbsd0=0.10.0-1 libbz2-1.0=1.0.8-2 libc-bin=2.29-10 libc-dev-bin=2.29-10 libc6=2.29-10 libc6-dev=2.29-10 libcap-ng0=0.7.9-2.1+b2 libcc1-0=10-20200304-1 libclass-method-modifiers-perl=2.13-1 libcroco3=0.6.13-1 libcrypt-dev=1:4.4.15-1 libcrypt1=1:4.4.15-1 libctf-nobfd0=2.34-4 libctf0=2.34-4 libdb5.3=5.3.28+dfsg1-0.6 libdebconfclient0=0.251 libdebhelper-perl=12.9 libdevel-callchecker-perl=0.008-1+b1 libdpkg-perl=1.19.7 libdynaloader-functions-perl=0.003-1 libelf1=0.176-1.1 libencode-locale-perl=1.05-1 libexpat1=2.2.9-1 libfakeroot=1.24-1 libfdisk1=2.34-0.1 libffi7=3.3-3 libfile-homedir-perl=1.004-1 libfile-listing-perl=6.04-1 libfile-stripnondeterminism-perl=1.6.3-2 libfile-which-perl=1.23-1 libgcc-9-dev=9.2.1-31 libgcc-s1=10-20200304-1 libgcc1=1:10-20200304-1 libgcrypt20=1.8.5-5 libgdbm-compat4=1.18.1-5 libgdbm6=1.18.1-5 libglib2.0-0=2.62.5-1 libgmp-dev=2:6.2.0+dfsg-4 libgmp10=2:6.2.0+dfsg-4 libgmpxx4ldbl=2:6.2.0+dfsg-4 libgnutls30=3.6.12-2 libgomp1=10-20200304-1 libgpg-error0=1.37-1 libhogweed5=3.5.1+really3.5.1-2 libhtml-parser-perl=3.72-5 libhtml-tagset-perl=3.20-4 libhtml-tree-perl=5.07-2 libhttp-cookies-perl=6.08-1 libhttp-date-perl=6.05-1 libhttp-message-perl=6.22-1 libhttp-negotiate-perl=6.01-1 libicu63=63.2-2 libidn2-0=2.3.0-1 libimport-into-perl=1.002005-1 libio-html-perl=1.001-1 libio-pty-perl=1:1.12-1 libio-socket-ssl-perl=2.067-1 libipc-run-perl=20180523.0-2 libisl22=0.22.1-1 libitm1=10-20200304-1 libksba8=1.3.5-2 libldap-2.4-2=2.4.49+dfsg-2 libldap-common=2.4.49+dfsg-2 liblsan0=10-20200304-1 liblwp-mediatypes-perl=6.04-1 liblwp-protocol-https-perl=6.07-2 liblz4-1=1.9.2-2 liblzma5=5.2.4-1+b1 libmagic-mgc=1:5.38-4 libmagic1=1:5.38-4 libmodule-runtime-perl=0.016-1 libmoo-perl=2.003006-1 libmount1=2.34-0.1 libmpc3=1.1.0-1 libmpdec2=2.4.2-3 libmpfr6=4.0.2-1 libncursesw6=6.2-1 libnet-http-perl=6.19-1 libnet-ssleay-perl=1.88-2 libnettle7=3.5.1+really3.5.1-2 libnpth0=1.6-1 libp11-kit0=0.23.20-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+b2 libpcre2-8-0=10.34-7 libpcre3=2:8.39-12+b1 libperl5.30=5.30.0-9 libpipeline1=1.5.2-2 libpython3-stdlib=3.8.2-1 libpython3.8-minimal=3.8.2-1 libpython3.8-stdlib=3.8.2-1 libquadmath0=10-20200304-1 libreadline8=8.0-4 librole-tiny-perl=2.001004-1 libruby2.5=2.5.7-1+b1 libruby2.7=2.7.0-4 libsasl2-2=2.1.27+dfsg-2 libsasl2-modules-db=2.1.27+dfsg-2 libseccomp2=2.4.2-2 libselinux1=3.0-1+b1 libsemanage-common=3.0-1 libsemanage1=3.0-1+b1 libsepol1=3.0-1 libsigsegv2=2.12-2 libsmartcols1=2.34-0.1 libsqlite3-0=3.31.1-4 libssl1.1=1.1.1d-2 libstdc++-9-dev=9.2.1-31 libstdc++6=10-20200304-1 libstrictures-perl=2.000006-1 libsub-override-perl=0.09-2 libsub-quote-perl=2.006006-1 libsystemd0=244.3-1 libtasn1-6=4.16.0-2 libtimedate-perl=2.3200-1 libtinfo6=6.2-1 libtool=2.4.6-14 libtry-tiny-perl=0.30-1 libtsan0=10-20200304-1 libubsan1=10-20200304-1 libuchardet0=0.0.6-3 libudev1=244.3-1 libunistring2=0.9.10-2 liburi-perl=1.76-2 libuuid1=2.34-0.1 libwww-perl=6.43-1 libwww-robotrules-perl=6.02-1 libxml2=2.9.10+dfsg-4 libyaml-0-2=0.2.2-1 linux-libc-dev=5.4.19-1 login=1:4.8.1-1 lsb-base=11.1.0 m4=1.4.18-4 make=4.2.1-1.2 man-db=2.9.1-1 mawk=1.3.4.20200120-2 mime-support=3.64 ncurses-base=6.2-1 ncurses-bin=6.2-1 netbase=6.1 openssl=1.1.1d-2 passwd=1:4.8.1-1 patch=2.7.6-6 patchutils=0.3.4-2+b1 perl=5.30.0-9 perl-base=5.30.0-9 perl-modules-5.30=5.30.0-9 perl-openssl-defaults=4 pinentry-curses=1.1.0-3+b1 po-debconf=1.0.21 python3=3.8.2-1 python3-minimal=3.8.2-1 python3.8=3.8.2-1 python3.8-minimal=3.8.2-1 rake=13.0.1-2 readline-common=8.0-4 ruby=1:2.5.7.1 ruby-all-dev=1:2.5.7.1 ruby-did-you-mean=1.2.1-1 ruby-diff-lcs=1.3-1 ruby-equatable=0.6.1-2 ruby-minitest=5.13.0-1 ruby-necromancer=0.5.1-2 ruby-net-telnet=0.1.1-2 ruby-pastel=0.7.3-2 ruby-power-assert=1.1.5-1 ruby-rspec=3.9.0c1e0m1s2-1 ruby-rspec-core=3.9.0c1e0m1s2-1 ruby-rspec-expectations=3.9.0c1e0m1s2-1 ruby-rspec-mocks=3.9.0c1e0m1s2-1 ruby-rspec-support=3.9.0c1e0m1s2-1 ruby-setup=3.4.1-9 ruby-test-unit=3.3.4-1 ruby-tty-color=0.5.1-2 ruby-tty-cursor=0.7.1-1 ruby-tty-reader=0.7.0-1 ruby-tty-screen=0.7.1-2 ruby-wisper=2.0.1-2 ruby-xmlrpc=0.3.0-2 ruby2.5=2.5.7-1+b1 ruby2.5-dev=2.5.7-1+b1 ruby2.7=2.7.0-4 ruby2.7-dev=2.7.0-4 rubygems-integration=1.16 sed=4.7-1 sensible-utils=0.0.12+nmu1 sysvinit-utils=2.96-2.1 tar=1.30+dfsg-6+b1 util-linux=2.34-0.1 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/20200310T150458Z/ 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-tty-prompt=0.21.0-1 && mkdir -p /build/ruby-tty-prompt-AYyUpP && dpkg-source --no-check -x /*.dsc /build/ruby-tty-prompt-AYyUpP/ruby-tty-prompt-0.21.0 && chown -R builduser:builduser /build/ruby-tty-prompt-AYyUpP" --customize-hook=chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/ruby-tty-prompt-AYyUpP/ruby-tty-prompt-0.21.0 && env DEB_BUILD_OPTIONS="parallel=4" LANG="C.UTF-8" LC_ALL="C.UTF-8" SOURCE_DATE_EPOCH="1583846145" dpkg-buildpackage -uc -a amd64 --build=all" --customize-hook=sync-out /build/ruby-tty-prompt-AYyUpP /tmp/ruby-tty-prompt-0.21.0-1v48yfjnz bullseye /dev/null deb http://snapshot.notset.fr/archive/debian/20200310T150458Z 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.bFHeAUNw9A 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.bFHeAUNw9A Reading package lists... Building dependency tree... util-linux is already the newest version (2.34-0.1). The following NEW packages will be installed: fakeroot libfakeroot 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. Need to get 132 kB of archives. After this operation, 393 kB of additional disk space will be used. Get:1 http://snapshot.notset.fr/archive/debian/20200310T150458Z unstable/main amd64 libfakeroot amd64 1.24-1 [45.7 kB] Get:2 http://snapshot.notset.fr/archive/debian/20200310T150458Z unstable/main amd64 fakeroot amd64 1.24-1 [85.9 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 132 kB in 0s (648 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 ... 4511 files and directories currently installed.) Preparing to unpack .../libfakeroot_1.24-1_amd64.deb ... Unpacking libfakeroot:amd64 (1.24-1) ... Selecting previously unselected package fakeroot. Preparing to unpack .../fakeroot_1.24-1_amd64.deb ... Unpacking fakeroot (1.24-1) ... Setting up libfakeroot:amd64 (1.24-1) ... Setting up fakeroot (1.24-1) ... update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode Processing triggers for libc-bin (2.29-10) ... 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/20200310T150458Z/ unstable main' >> /etc/apt/sources.list && apt-get update"' exec /tmp/mmdebstrap.bFHeAUNw9A Get:1 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm InRelease [81.6 kB] Hit:2 http://snapshot.notset.fr/archive/debian/20200310T150458Z 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 (1176 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.bFHeAUNw9A I: running --customize-hook in shell: sh -c 'chroot "$1" env sh -c "apt-get source --only-source -d ruby-tty-prompt=0.21.0-1 && mkdir -p /build/ruby-tty-prompt-AYyUpP && dpkg-source --no-check -x /*.dsc /build/ruby-tty-prompt-AYyUpP/ruby-tty-prompt-0.21.0 && chown -R builduser:builduser /build/ruby-tty-prompt-AYyUpP"' exec /tmp/mmdebstrap.bFHeAUNw9A Reading package lists... NOTICE: 'ruby-tty-prompt' packaging is maintained in the 'Git' version control system at: https://salsa.debian.org/ruby-team/ruby-tty-prompt.git Please use: git clone https://salsa.debian.org/ruby-team/ruby-tty-prompt.git to retrieve the latest (possibly unreleased) updates to the package. Need to get 76.6 kB of source archives. Get:1 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main ruby-tty-prompt 0.21.0-1 (dsc) [1568 B] Get:2 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main ruby-tty-prompt 0.21.0-1 (tar) [72.7 kB] Get:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main ruby-tty-prompt 0.21.0-1 (diff) [2364 B] Fetched 76.6 kB in 0s (443 kB/s) Download complete and in download only mode W: Download is performed unsandboxed as root as file 'ruby-tty-prompt_0.21.0-1.dsc' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied) dpkg-source: info: extracting ruby-tty-prompt in /build/ruby-tty-prompt-AYyUpP/ruby-tty-prompt-0.21.0 dpkg-source: info: unpacking ruby-tty-prompt_0.21.0.orig.tar.gz dpkg-source: info: unpacking ruby-tty-prompt_0.21.0-1.debian.tar.xz I: running --customize-hook in shell: sh -c 'chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/ruby-tty-prompt-AYyUpP/ruby-tty-prompt-0.21.0 && env DEB_BUILD_OPTIONS="parallel=4" LANG="C.UTF-8" LC_ALL="C.UTF-8" SOURCE_DATE_EPOCH="1583846145" dpkg-buildpackage -uc -a amd64 --build=all"' exec /tmp/mmdebstrap.bFHeAUNw9A dpkg-buildpackage: info: source package ruby-tty-prompt dpkg-buildpackage: info: source version 0.21.0-1 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Gabriel Filion dpkg-source --before-build . debian/rules clean dh clean --buildsystem=ruby --with ruby dh_auto_clean -O--buildsystem=ruby dh_ruby --clean dh_ruby --clean dh_autoreconf_clean -O--buildsystem=ruby dh_clean -O--buildsystem=ruby debian/rules binary-indep dh binary-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 dh_testroot -i -O--buildsystem=ruby dh_prep -i -O--buildsystem=ruby dh_auto_install -i -O--buildsystem=ruby dh_ruby --install /build/ruby-tty-prompt-AYyUpP/ruby-tty-prompt-0.21.0/debian/ruby-tty-prompt dh_ruby --install /usr/bin/ruby2.5 -S gem build --config-file /dev/null --verbose /tmp/d20211011-1275442-11pncj6/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 if rake is semantically versioned, use: add_development_dependency 'rake', '~> 0' WARNING: See http://guides.rubygems.org/specification-reference/ for help Successfully built RubyGem Name: tty-prompt Version: 0.21.0 File: tty-prompt-0.21.0.gem /usr/bin/ruby2.5 -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/d20211011-1275442-11pncj6/tty-prompt-0.21.0.gem Failed to load /dev/null because it doesn't contain valid YAML hash /build/ruby-tty-prompt-AYyUpP/ruby-tty-prompt-0.21.0/debian/ruby-tty-prompt/usr/share/rubygems-integration/all/gems/tty-prompt-0.21.0/lib/tty-prompt.rb /build/ruby-tty-prompt-AYyUpP/ruby-tty-prompt-0.21.0/debian/ruby-tty-prompt/usr/share/rubygems-integration/all/gems/tty-prompt-0.21.0/lib/tty/prompt.rb /build/ruby-tty-prompt-AYyUpP/ruby-tty-prompt-0.21.0/debian/ruby-tty-prompt/usr/share/rubygems-integration/all/gems/tty-prompt-0.21.0/lib/tty/prompt/answers_collector.rb /build/ruby-tty-prompt-AYyUpP/ruby-tty-prompt-0.21.0/debian/ruby-tty-prompt/usr/share/rubygems-integration/all/gems/tty-prompt-0.21.0/lib/tty/prompt/block_paginator.rb /build/ruby-tty-prompt-AYyUpP/ruby-tty-prompt-0.21.0/debian/ruby-tty-prompt/usr/share/rubygems-integration/all/gems/tty-prompt-0.21.0/lib/tty/prompt/choice.rb /build/ruby-tty-prompt-AYyUpP/ruby-tty-prompt-0.21.0/debian/ruby-tty-prompt/usr/share/rubygems-integration/all/gems/tty-prompt-0.21.0/lib/tty/prompt/choices.rb /build/ruby-tty-prompt-AYyUpP/ruby-tty-prompt-0.21.0/debian/ruby-tty-prompt/usr/share/rubygems-integration/all/gems/tty-prompt-0.21.0/lib/tty/prompt/confirm_question.rb /build/ruby-tty-prompt-AYyUpP/ruby-tty-prompt-0.21.0/debian/ruby-tty-prompt/usr/share/rubygems-integration/all/gems/tty-prompt-0.21.0/lib/tty/prompt/converter_dsl.rb /build/ruby-tty-prompt-AYyUpP/ruby-tty-prompt-0.21.0/debian/ruby-tty-prompt/usr/share/rubygems-integration/all/gems/tty-prompt-0.21.0/lib/tty/prompt/converter_registry.rb /build/ruby-tty-prompt-AYyUpP/ruby-tty-prompt-0.21.0/debian/ruby-tty-prompt/usr/share/rubygems-integration/all/gems/tty-prompt-0.21.0/lib/tty/prompt/converters.rb /build/ruby-tty-prompt-AYyUpP/ruby-tty-prompt-0.21.0/debian/ruby-tty-prompt/usr/share/rubygems-integration/all/gems/tty-prompt-0.21.0/lib/tty/prompt/distance.rb /build/ruby-tty-prompt-AYyUpP/ruby-tty-prompt-0.21.0/debian/ruby-tty-prompt/usr/share/rubygems-integration/all/gems/tty-prompt-0.21.0/lib/tty/prompt/enum_list.rb /build/ruby-tty-prompt-AYyUpP/ruby-tty-prompt-0.21.0/debian/ruby-tty-prompt/usr/share/rubygems-integration/all/gems/tty-prompt-0.21.0/lib/tty/prompt/evaluator.rb /build/ruby-tty-prompt-AYyUpP/ruby-tty-prompt-0.21.0/debian/ruby-tty-prompt/usr/share/rubygems-integration/all/gems/tty-prompt-0.21.0/lib/tty/prompt/expander.rb /build/ruby-tty-prompt-AYyUpP/ruby-tty-prompt-0.21.0/debian/ruby-tty-prompt/usr/share/rubygems-integration/all/gems/tty-prompt-0.21.0/lib/tty/prompt/keypress.rb /build/ruby-tty-prompt-AYyUpP/ruby-tty-prompt-0.21.0/debian/ruby-tty-prompt/usr/share/rubygems-integration/all/gems/tty-prompt-0.21.0/lib/tty/prompt/list.rb /build/ruby-tty-prompt-AYyUpP/ruby-tty-prompt-0.21.0/debian/ruby-tty-prompt/usr/share/rubygems-integration/all/gems/tty-prompt-0.21.0/lib/tty/prompt/mask_question.rb /build/ruby-tty-prompt-AYyUpP/ruby-tty-prompt-0.21.0/debian/ruby-tty-prompt/usr/share/rubygems-integration/all/gems/tty-prompt-0.21.0/lib/tty/prompt/multi_list.rb /build/ruby-tty-prompt-AYyUpP/ruby-tty-prompt-0.21.0/debian/ruby-tty-prompt/usr/share/rubygems-integration/all/gems/tty-prompt-0.21.0/lib/tty/prompt/multiline.rb /build/ruby-tty-prompt-AYyUpP/ruby-tty-prompt-0.21.0/debian/ruby-tty-prompt/usr/share/rubygems-integration/all/gems/tty-prompt-0.21.0/lib/tty/prompt/paginator.rb /build/ruby-tty-prompt-AYyUpP/ruby-tty-prompt-0.21.0/debian/ruby-tty-prompt/usr/share/rubygems-integration/all/gems/tty-prompt-0.21.0/lib/tty/prompt/question.rb /build/ruby-tty-prompt-AYyUpP/ruby-tty-prompt-0.21.0/debian/ruby-tty-prompt/usr/share/rubygems-integration/all/gems/tty-prompt-0.21.0/lib/tty/prompt/question/checks.rb /build/ruby-tty-prompt-AYyUpP/ruby-tty-prompt-0.21.0/debian/ruby-tty-prompt/usr/share/rubygems-integration/all/gems/tty-prompt-0.21.0/lib/tty/prompt/question/modifier.rb /build/ruby-tty-prompt-AYyUpP/ruby-tty-prompt-0.21.0/debian/ruby-tty-prompt/usr/share/rubygems-integration/all/gems/tty-prompt-0.21.0/lib/tty/prompt/question/validation.rb /build/ruby-tty-prompt-AYyUpP/ruby-tty-prompt-0.21.0/debian/ruby-tty-prompt/usr/share/rubygems-integration/all/gems/tty-prompt-0.21.0/lib/tty/prompt/result.rb /build/ruby-tty-prompt-AYyUpP/ruby-tty-prompt-0.21.0/debian/ruby-tty-prompt/usr/share/rubygems-integration/all/gems/tty-prompt-0.21.0/lib/tty/prompt/slider.rb /build/ruby-tty-prompt-AYyUpP/ruby-tty-prompt-0.21.0/debian/ruby-tty-prompt/usr/share/rubygems-integration/all/gems/tty-prompt-0.21.0/lib/tty/prompt/statement.rb /build/ruby-tty-prompt-AYyUpP/ruby-tty-prompt-0.21.0/debian/ruby-tty-prompt/usr/share/rubygems-integration/all/gems/tty-prompt-0.21.0/lib/tty/prompt/suggestion.rb /build/ruby-tty-prompt-AYyUpP/ruby-tty-prompt-0.21.0/debian/ruby-tty-prompt/usr/share/rubygems-integration/all/gems/tty-prompt-0.21.0/lib/tty/prompt/symbols.rb /build/ruby-tty-prompt-AYyUpP/ruby-tty-prompt-0.21.0/debian/ruby-tty-prompt/usr/share/rubygems-integration/all/gems/tty-prompt-0.21.0/lib/tty/prompt/timer.rb /build/ruby-tty-prompt-AYyUpP/ruby-tty-prompt-0.21.0/debian/ruby-tty-prompt/usr/share/rubygems-integration/all/gems/tty-prompt-0.21.0/lib/tty/prompt/utils.rb /build/ruby-tty-prompt-AYyUpP/ruby-tty-prompt-0.21.0/debian/ruby-tty-prompt/usr/share/rubygems-integration/all/gems/tty-prompt-0.21.0/lib/tty/prompt/version.rb /build/ruby-tty-prompt-AYyUpP/ruby-tty-prompt-0.21.0/debian/ruby-tty-prompt/usr/share/rubygems-integration/all/gems/tty-prompt-0.21.0/lib/tty/test_prompt.rb Successfully installed tty-prompt-0.21.0 1 gem installed cd debian/ruby-tty-prompt/usr/share/rubygems-integration/all rm -rf bin rm -rf build_info rm -rf cache rm -rf doc rm -rf extensions cd gems/tty-prompt-0.21.0 rm -f find lib/ -type d -empty -delete cd - cd - /usr/bin/ruby2.5 /usr/bin/gem2deb-test-runner ┌──────────────────────────────────────────────────────────────────────────────┐ │ Checking Rubygems dependency resolution on ruby2.5 │ └──────────────────────────────────────────────────────────────────────────────┘ GEM_PATH=/build/ruby-tty-prompt-AYyUpP/ruby-tty-prompt-0.21.0/debian/ruby-tty-prompt/usr/share/rubygems-integration/all:/var/lib/gems/2.5.0:/usr/lib/ruby/gems/2.5.0:/usr/share/rubygems-integration/2.5.0:/usr/share/rubygems-integration/all:/usr/lib/x86_64-linux-gnu/rubygems-integration/2.5.0 ruby2.5 -e gem\ \"tty-prompt\" ┌──────────────────────────────────────────────────────────────────────────────┐ │ Run tests for ruby2.5 from debian/ruby-tests.rake │ └──────────────────────────────────────────────────────────────────────────────┘ RUBYLIB=. GEM_PATH=/build/ruby-tty-prompt-AYyUpP/ruby-tty-prompt-0.21.0/debian/ruby-tty-prompt/usr/share/rubygems-integration/all:/var/lib/gems/2.5.0:/usr/lib/ruby/gems/2.5.0:/usr/share/rubygems-integration/2.5.0:/usr/share/rubygems-integration/all:/usr/lib/x86_64-linux-gnu/rubygems-integration/2.5.0 ruby2.5 -S rake -f debian/ruby-tests.rake /usr/bin/ruby2.5 -I/usr/share/rubygems-integration/all/gems/rspec-support-3.9.2/lib:/usr/share/rubygems-integration/all/gems/rspec-core-3.9.1/lib /usr/share/rubygems-integration/all/gems/rspec-core-3.9.1/exe/rspec --pattern ./spec/\*\*/\*_spec.rb --format documentation Randomized with seed 9476 TTY::Prompt::Question convert regexp converts regex TTY::Prompt#mask validates input masks output by default masks output with custom character ignores mask if echo is off masks with unicode character TTY::Prompt#new sets input stream sets output stream sets prefix TTY::Prompt#slider changes all display symbols specifies default value changes all display symbols per instance specifies range through DSL specifies ranges & step doesn't allow values outside of range changes display colors TTY::Prompt::Question convert path converts pathname TTY::Prompt::Question#modify converts to upper case strips and collapses whitespace collapses whitespace preserves answer for unkown modification trims whitespace TTY::Prompt::Paginator#paginate paginates items not matching per_page count paginates items matching per_page count doesn't accept invalid pagination ignores per_page when less items starts with default selection ignores per_page when equal items finds both start and end index for current selection TTY::Prompt#ask permits empty default parameter asks a question with a prefix [?] asks an empty question asks a question with block asks question changes question color asks question with prepopulated value asks an empty question with prepopulated value permits nil default parameter asks an empty question and returns nil if EOF is sent to stdin overwrites global settings TTY::Prompt::Statement#new displays prompt message in color forces newline after the prompt message TTY::Prompt::Question::Validation#call validates with a proc validates with custom name fails validation when not maching pattern validates nil input validates successfully when the value matches pattern TTY::Prompt::Question#initialize is expected to eq true is expected to eq TTY::Prompt::Question::UndefinedSetting is expected to eq [] TTY::Prompt::Question convert bool handles default values converts single positive boolean fails to convert boolean handles default values converts positive boolean converts negative boolean TTY::Prompt::Choices.new creates choices collection TTY::Prompt confirmation #no? agrees with question customizes question through DSL assumes default false changes default disagrees with question defaults suffix and converter warns about invalid entry when using defaults #yes? warns about invalid entry when using defaults disagrees with question accepts regex conflicting characters as suffix assumes default true defaults suffix and converter agrees with question changes default defaults positive and negative customizes question through DSL customizes question through options TTY::Prompt::Result checks value to be valid checks value to be invalid TTY::Prompt.error displays message with option displays many messages displays one message TTY::Prompt#select sets choice name & value through DSL sets choice name & value through DSL verifies default index range verifies default index format allows navigation using events without errors doesn't paginate short selections changes help text changes help text through DSL sets choice value to proc and executes it sets default option through hash syntax sets prompt prefix selects by default first option changes selected item color & marker sets choices and single choice through DSL sets choice name through DSL sets choice name and value with :cycle option cycles pages left/right with disabled items cycles around disabled items cycles choices using left/right arrows doesn't cycle by default cycles around when configured to do so with filter doesn't exit when there are no matching entries filters and chooses the first of multiple matching entries filters based on alphanumeric and punctuation characters doesn't allow mixing enumeration and filter filters and chooses a uniquely matching entry, ignoring case cancels a selection with :disabled choice sets active to be first non-disabled choice omits disabled choice when navigating menu omits disabled choice when number key is pressed prevents setting default to disabled choice doesn't show disabled choice when filtering choices when paginated navigates evenly paged output with right arrow until end of selection navigates unevenly paged output with right arrow until the end of selection navigates pages left/right with disabled items paginates long selections through DSL paginates choices as hash object combines up/down navigation with left/right navigates left and right navigates pages up/down with disabled items paginates long selections TTY::Prompt::Question convert numbers converts integer fails to convert integer converts float fails to convert float TTY::Prompt::Question#keypress receives line feed with echo on asks for a keypress with echo on asks for a keypress with echo off timeouts when no key provided interrupts input TTY::Prompt::Choice#from creates disabled choice creates choice from hash with key property creats choice from array with hash elements creates choice from array with one element creats choice from array with key value pair creats choice from array with hash elements without value creates choice from hash value creates choice from string creates choice from an arbitrary object that responds to to_s call skips Choice instance creates choice from array with more than one element defaults value to name if value is nil creates choice from array with false TTY::Prompt::Question fails validation check fails range check fails range check passes range check fails required check passes validation check fails validation check with custom message passes required check fails required check with custom message fails validation check with inlined custom message TTY::Prompt#subscribe subscribes to key events only for the current prompt TTY::Prompt::Choices.each iterates over collection TTY::Prompt::Question#in reads letters within range overwrites default error message when wrong input reads number within string range reads number within digit range reads range from option provides default error message when wrong input TTY::Prompt::Question::Modifier#whitespace string with whitespaces removes whitespace collapses text trims whitespace chomps whitespace nil (empty user input) chomp returns nil collapse returns nil remove returns nil trim returns nil TTY::Prompt::Question::Validation#coerce coerces lambda into proc coerces into regex doesn't coerce symbols fails to coerce pattern into validation TTY::Prompt::Question convert string converts symbol converts string 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::Timer times out loop execution registers a tick event TTY::Prompt#expand informs about invalid input when automatically expanding hint expands help option and then defaults automatically expands hint fails to expand due to duplicate key fails to expand due to lack of key attribute expands chosen option with extra information fails to expand due to reserve key fails to expand due to wrong key length specifies options through DSL expands default option changes default option specifies options through DSL and executes value TTY::Prompt::Evaluator checks chained validation objects checks chained validation procs TTY::Prompt#suggest suggests a single match for one character suggests a single match for two characters suggests with different text and indentation suggests few matches TTY::Prompt::Question#validate provides custom error message for wrong input understands custom validation like :email validates input with regex validates input with proc provides default error message for wrong input TTY::Prompt::Choice#== 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 name attribute TTY::Prompt ok prints text in green TTY::Prompt::Choices#<< adds choice to collection TTY::Prompt::Question#default uses default value in block uses default value TTY::Prompt::Question::Modifier#letter_case string changes to uppercase capitalizes text changes to lower case nil (empty user input) up returns nil capitalize returns nil down returns nil TTY::Prompt::Question convert char reads single character TTY::Prompt#say prints an empty message without color prints message without ansi with tab or space prints with new line prints a message without newline prints a message with newline within text prints a message with newline prints a message with implicit newline prints a message with newline within text and blank space with color prints message with ansi color without newline prints message with ansi color TTY::Prompt::Question#multiline uses defualt when no input reads multiple lines with empty lines reads no lines changes help text TTY::Prompt::Distance.distance when single char is expected to eql 2 when similar is expected to eql 0 when similar is expected to eql 2 when nil is expected to eql 0 with one non empty is expected to eql 3 when empty is expected to eql 0 when unicode is expected to eql 1 when end similar is expected to eql 3 when prefix is expected to eql 3 when similar is expected to eql 1 when contain similar is expected to eql 2 TTY::Prompt#warn displays many messages displays message with option displays one message TTY::Prompt::BlockPaginator#paginate ignores per_page when equal items starts with default selection paginates items not matching per_page count finds both start and end index for current selection doesn't accept invalid pagination ignores per_page when less items paginates items matching per_page count TTY::Prompt::Question#echo asks with echo off asks with echo on TTY::Prompt::Question convert file converts to file TTY::Prompt::Converters enforces block argument TTY::Prompt::Question::Modifier#apply_to combines letter case & whitespace modifications doesn't apply modifiers combines whitespace & letter case modifications TTY::Prompt::Question#required uses required in validation check requires value to be present doesn't require value to be present requires value to be present with option TTY::Prompt::Question convert range fails to convert to range converts with valid range TTY::Prompt::Question convert date fails to convert date converts datetime converts date TTY::Prompt::Question convert custom converts response with custom conversion TTY::Prompt selects nothing when return pressed immediately raises error for defaults out of range sets choice name and value through DSL sets default options through DSL syntax sets default options through hash syntax changes selected item color & marker sets choice custom values changes help text and color selects item when space pressed but doesn't echo item if echo: false sets prompt prefix selects item when space pressed with :cycle doesn't cycle by default cycles choices using left/right arrows cycles when configured to do so with :disabled omits disabled choice when number key is pressed omits disabled choice when nagivating menu adjusts active index to match first non-disabled choice fails when default item is also disabled when paginated navigates evenly paged output with right arrow until end of selection doesn't paginate short selections navigates left and right combines up/down navigation with left/right paginates long selections paginates long selections through DSL navigates unevenly paged output with right arrow until the end of selection paginates choices as hash object with :max limits number of choices with filter doesn't lose the selection when switching between filters with :min requires number of choices TTY::Prompt::Choices#pluck plucks choice by key name TTY::Prompt changes colors for selection, hint and error changes global symbols displays error with unrecognized input selects option through DSL with key and value switches through pages with tab key shows pages matching input doesn't paginate short selections cycles around when configured to do so selects option by index from the list paginates long selections selects default option when return pressed immediately selects option through DSL doesn't cycle around by default changes global symbols through DSL raises configuration error when wrong default 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::Choices#find_by finds a matching choice by key name Top 2 slowest examples (0.31639 seconds, 10.5% of total time): TTY::Prompt::Question#modify strips and collapses whitespace 0.19442 seconds ./spec/unit/question/modify_spec.rb:35 TTY::Prompt#collect when receiving multiple answers collects as a list if values method used in chain 0.12197 seconds ./spec/unit/collect_spec.rb:30 Top 2 slowest example groups: TTY::Prompt#subscribe 0.10061 seconds average (0.10061 seconds / 1 example) ./spec/unit/subscribe_spec.rb:3 TTY::Prompt#collect 0.08892 seconds average (0.44461 seconds / 5 examples) ./spec/unit/collect_spec.rb:3 Finished in 3.01 seconds (files took 0.58591 seconds to load) 321 examples, 0 failures Randomized with seed 9476 /usr/bin/ruby2.7 /usr/bin/gem2deb-test-runner ┌──────────────────────────────────────────────────────────────────────────────┐ │ Checking Rubygems dependency resolution on ruby2.7 │ └──────────────────────────────────────────────────────────────────────────────┘ GEM_PATH=/build/ruby-tty-prompt-AYyUpP/ruby-tty-prompt-0.21.0/debian/ruby-tty-prompt/usr/share/rubygems-integration/all:/var/lib/gems/2.7.0:/usr/lib/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\ \"tty-prompt\" ┌──────────────────────────────────────────────────────────────────────────────┐ │ Run tests for ruby2.7 from debian/ruby-tests.rake │ └──────────────────────────────────────────────────────────────────────────────┘ RUBYLIB=. GEM_PATH=/build/ruby-tty-prompt-AYyUpP/ruby-tty-prompt-0.21.0/debian/ruby-tty-prompt/usr/share/rubygems-integration/all:/var/lib/gems/2.7.0:/usr/lib/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.2/lib:/usr/share/rubygems-integration/all/gems/rspec-core-3.9.1/lib /usr/share/rubygems-integration/all/gems/rspec-core-3.9.1/exe/rspec --pattern ./spec/\*\*/\*_spec.rb --format documentation Randomized with seed 21502 TTY::Prompt::Question::Validation#coerce doesn't coerce symbols coerces into regex coerces lambda into proc fails to coerce pattern into validation TTY::Prompt::Question::Modifier#whitespace string with whitespaces collapses text chomps whitespace removes whitespace trims whitespace nil (empty user input) trim returns nil collapse returns nil chomp returns nil remove returns nil TTY::Prompt::Distance.distance when empty is expected to eql 0 when nil is expected to eql 0 when similar is expected to eql 1 when contain similar is expected to eql 2 when unicode is expected to eql 1 when similar is expected to eql 2 when end similar is expected to eql 3 when similar is expected to eql 0 when single char is expected to eql 2 when prefix is expected to eql 3 with one non empty is expected to eql 3 TTY::Prompt::Question#in reads letters within range reads range from option reads number within string range reads number within digit range provides default error message when wrong input overwrites default error message when wrong input TTY::Prompt::Converters enforces block argument TTY::Prompt::Question convert regexp converts regex TTY::Prompt::Statement#new forces newline after the prompt message displays prompt message in color TTY::Prompt::Question convert range converts with valid range fails to convert to range TTY::Prompt::Question convert string converts string converts symbol TTY::Prompt::Timer times out loop execution registers a tick event TTY::Prompt#ask asks question with prepopulated value asks a question with a prefix [?] permits nil default parameter asks question asks an empty question with prepopulated value asks an empty question and returns nil if EOF is sent to stdin asks an empty question asks a question with block permits empty default parameter changes question color overwrites global settings TTY::Prompt::Choices#find_by finds a matching choice by key name TTY::Prompt#say prints an empty message with color prints message with ansi color without newline prints message with ansi color without color prints message without ansi with new line prints a message with newline within text and blank space prints a message with implicit newline prints a message without newline prints a message with newline within text prints a message with newline with tab or space prints TTY::Prompt::Question fails required check with custom message fails validation check with inlined custom message fails range check fails range check passes range check fails validation check passes validation check passes required check fails validation check with custom message fails required check TTY::Prompt::Question#keypress receives line feed with echo on interrupts input timeouts when no key provided asks for a keypress with echo on asks for a keypress with echo off TTY::Prompt::Evaluator checks chained validation procs checks chained validation objects TTY::Prompt::Question convert path converts pathname TTY::Prompt#select selects by default first option sets choice value to proc and executes it sets prompt prefix sets choice name & value through DSL sets choice name through DSL doesn't paginate short selections changes help text changes help text through DSL verifies default index range changes selected item color & marker sets choices and single choice through DSL allows navigation using events without errors sets default option through hash syntax sets choice name and value verifies default index format sets choice name & value through DSL when paginated paginates long selections through DSL paginates choices as hash object navigates unevenly paged output with right arrow until the end of selection navigates left and right navigates pages up/down with disabled items navigates evenly paged output with right arrow until end of selection navigates pages left/right with disabled items combines up/down navigation with left/right paginates long selections with :disabled choice omits disabled choice when navigating menu sets active to be first non-disabled choice prevents setting default to disabled choice doesn't show disabled choice when filtering choices omits disabled choice when number key is pressed with filter doesn't exit when there are no matching entries cancels a selection filters based on alphanumeric and punctuation characters doesn't allow mixing enumeration and filter filters and chooses a uniquely matching entry, ignoring case filters and chooses the first of multiple matching entries with :cycle option cycles around when configured to do so cycles pages left/right with disabled items cycles choices using left/right arrows doesn't cycle by default cycles around disabled items TTY::Prompt::Question#required requires value to be present doesn't require value to be present requires value to be present with option uses required in validation check TTY::Prompt#suggest suggests few matches suggests a single match for two characters suggests a single match for one character suggests with different text and indentation TTY::Prompt#collect collects more than one answer when receiving multiple answers collects as a list if values method used in chain with block overrides a non-array key on multiple answers collects as a list if values method used in chain with multiple keys collects into the appropriate keys TTY::Prompt.error displays many messages displays message with option displays one message TTY::Prompt::Question#validate understands custom validation like :email validates input with regex provides custom error message for wrong input validates input with proc provides default error message for wrong input TTY::Prompt::Question::Validation#call validates with a proc fails validation when not maching pattern validates successfully when the value matches pattern validates with custom name validates nil input TTY::Prompt::Choice#from creates choice from an arbitrary object that responds to to_s call creates choice from array with false creats choice from array with hash elements without value creates choice from string creates choice from hash with key property creates disabled choice creats choice from array with key value pair skips Choice instance creates choice from array with more than one element creates choice from hash value defaults value to name if value is nil creates choice from array with one element creats choice from array with hash elements TTY::Prompt::Choice#== is false with non-choice object is false with different name attribute is false with different value attribute is true with the same name and value attributes TTY::Prompt#expand specifies options through DSL and executes value fails to expand due to reserve key expands default option fails to expand due to lack of key attribute automatically expands hint expands help option and then defaults specifies options through DSL fails to expand due to wrong key length fails to expand due to duplicate key informs about invalid input when automatically expanding hint expands chosen option with extra information changes default option TTY::Prompt::Question#echo asks with echo off asks with echo on TTY::Prompt ok prints text in green TTY::Prompt::Choices.each iterates over collection TTY::Prompt#slider specifies range through DSL doesn't allow values outside of range specifies ranges & step changes all display symbols specifies default value changes all display symbols per instance changes display colors TTY::Prompt::Question convert bool converts positive boolean converts single positive boolean fails to convert boolean handles default values converts negative boolean handles default values TTY::Prompt#new sets output stream sets prefix sets input stream TTY::Prompt::Choices#<< adds choice to collection TTY::Prompt::Paginator#paginate starts with default selection paginates items not matching per_page count ignores per_page when equal items paginates items matching per_page count ignores per_page when less items doesn't accept invalid pagination finds both start and end index for current selection TTY::Prompt::Question#default uses default value uses default value in block TTY::Prompt::Question::Modifier#letter_case string capitalizes text changes to uppercase changes to lower case nil (empty user input) down returns nil capitalize returns nil up returns nil TTY::Prompt#subscribe subscribes to key events only for the current prompt TTY::Prompt::Result checks value to be invalid checks value to be valid TTY::Prompt::Question convert numbers fails to convert integer converts float converts integer fails to convert float TTY::Prompt#mask masks output by default masks with unicode character validates input ignores mask if echo is off masks output with custom character TTY::Prompt::Question::Modifier#apply_to combines whitespace & letter case modifications doesn't apply modifiers combines letter case & whitespace modifications TTY::Prompt::Question convert custom converts response with custom conversion TTY::Prompt::Question convert char reads single character TTY::Prompt confirmation #no? disagrees with question changes default assumes default false customizes question through DSL warns about invalid entry when using defaults defaults suffix and converter agrees with question #yes? disagrees with question warns about invalid entry when using defaults agrees with question accepts regex conflicting characters as suffix changes default assumes default true defaults suffix and converter customizes question through DSL customizes question through options defaults positive and negative TTY::Prompt::Question#initialize is expected to eq TTY::Prompt::Question::UndefinedSetting is expected to eq true is expected to eq [] TTY::Prompt changes help text and color sets choice name and value through DSL selects nothing when return pressed immediately changes selected item color & marker sets prompt prefix selects item when space pressed but doesn't echo item if echo: false raises error for defaults out of range sets default options through DSL syntax sets default options through hash syntax sets choice custom values selects item when space pressed with filter doesn't lose the selection when switching between filters with :max limits number of choices with :disabled fails when default item is also disabled adjusts active index to match first non-disabled choice omits disabled choice when number key is pressed omits disabled choice when nagivating menu when paginated doesn't paginate short selections paginates long selections paginates choices as hash object navigates evenly paged output with right arrow until end of selection navigates unevenly paged output with right arrow until the end of selection navigates left and right combines up/down navigation with left/right paginates long selections through DSL with :cycle doesn't cycle by default cycles choices using left/right arrows cycles when configured to do so with :min requires number of choices TTY::Prompt::Choices#pluck plucks choice by key name TTY::Prompt::Question convert date converts datetime fails to convert date converts date TTY::Prompt::Question#multiline reads no lines reads multiple lines with empty lines uses defualt when no input changes help text TTY::Prompt#warn displays many messages displays message with option displays one message TTY::Prompt::Question convert file converts to file TTY::Prompt selects option through DSL with key and value paginates long selections changes colors for selection, hint and error doesn't paginate short selections selects default option when return pressed immediately shows pages matching input cycles around when configured to do so selects option by index from the list changes global symbols through DSL displays error with unrecognized input switches through pages with tab key changes global symbols doesn't cycle around by default selects option through DSL raises configuration error when wrong default with :disabled choice omits disabled choice when navigating with numbers doesn't allow to choose disabled choice and defaults finds first non-disabled index fails when active item is also disabled TTY::Prompt::BlockPaginator#paginate starts with default selection finds both start and end index for current selection ignores per_page when less items doesn't accept invalid pagination ignores per_page when equal items paginates items not matching per_page count paginates items matching per_page count TTY::Prompt::Question#modify collapses whitespace strips and collapses whitespace converts to upper case trims whitespace preserves answer for unkown modification TTY::Prompt::Choices.new creates choices collection Top 2 slowest examples (0.74268 seconds, 9.8% of total time): TTY::Prompt#subscribe subscribes to key events only for the current prompt 0.39891 seconds ./spec/unit/subscribe_spec.rb:4 TTY::Prompt#collect when receiving multiple answers with multiple keys collects into the appropriate keys 0.34377 seconds ./spec/unit/collect_spec.rb:50 Top 2 slowest example groups: TTY::Prompt#subscribe 0.39923 seconds average (0.39923 seconds / 1 example) ./spec/unit/subscribe_spec.rb:3 TTY::Prompt#collect 0.29579 seconds average (1.48 seconds / 5 examples) ./spec/unit/collect_spec.rb:3 Finished in 7.61 seconds (files took 0.63218 seconds to load) 321 examples, 0 failures Randomized with seed 21502 ┌──────────────────────────────────────────────────────────────────────────────┐ │ dh_ruby --install finished │ └──────────────────────────────────────────────────────────────────────────────┘ dh_installdocs -i -O--buildsystem=ruby dh_ruby_fixdocs -i -O--buildsystem=ruby dh_installchangelogs -i -O--buildsystem=ruby dh_installexamples -i -O--buildsystem=ruby dh_installinit -i -O--buildsystem=ruby dh_installsystemduser -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-tty-prompt: substitution variable ${shlibs:Depends} used, but is not defined dh_md5sums -i -O--buildsystem=ruby dh_builddeb -i -O--buildsystem=ruby dpkg-deb: building package 'ruby-tty-prompt' in '../ruby-tty-prompt_0.21.0-1_all.deb'. dpkg-genbuildinfo --build=all dpkg-genchanges --build=all >../ruby-tty-prompt_0.21.0-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-tty-prompt-AYyUpP /tmp/ruby-tty-prompt-0.21.0-1v48yfjnz I: cleaning package lists and apt cache... I: creating tarball... I: done I: removing tempdir /tmp/mmdebstrap.bFHeAUNw9A... I: success in 387.8314 seconds md5: ruby-tty-prompt_0.21.0-1_all.deb: OK sha1: ruby-tty-prompt_0.21.0-1_all.deb: OK sha256: ruby-tty-prompt_0.21.0-1_all.deb: OK Checksums: OK