Diff of the two buildlogs: -- --- b1/build.log 2021-07-11 14:43:33.035549320 +0000 +++ b2/build.log 2021-07-11 14:44:48.580713139 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sat Aug 13 09:05:07 -12 2022 -I: pbuilder-time-stamp: 1660424707 +I: Current time: Mon Jul 12 04:43:35 +14 2021 +I: pbuilder-time-stamp: 1626014615 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/buster-reproducible-base.tgz] I: copying local configuration @@ -17,7 +17,7 @@ I: Extracting source gpgv: unknown type of key resource 'trustedkeys.kbx' gpgv: keyblock resource '/root/.gnupg/trustedkeys.kbx': General error -gpgv: Signature made Mon Apr 29 00:12:11 2019 -12 +gpgv: Signature made Tue Apr 30 02:12:11 2019 +14 gpgv: using RSA key 0B29D88E42E6B765B8D8EA507839619DD439668E gpgv: Can't check signature: No public key dpkg-source: warning: failed to verify signature on ./ruby-guard_2.15.0-3.dsc @@ -32,136 +32,170 @@ dpkg-source: info: applying add_workarounds_for_cli_inheriting_from_thor.patch I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/49127/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/42812/tmp/hooks/D01_modify_environment starting +debug: Running on ionos1-amd64. +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 +Removing 'diversion of /bin/sh to /bin/sh.distrib by dash' +Adding 'diversion of /bin/sh to /bin/sh.distrib by bash' +Removing 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by dash' +Adding 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by 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/42812/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/42812/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='amd64' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=16' - DISTRIBUTION='' - HOME='/root' - HOST_ARCH='amd64' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:hostcomplete:interactive_comments:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="0" [2]="3" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu") + BASH_VERSION='5.0.3(1)-release' + BUILDDIR=/build + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=amd64 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=15' + DIRSTACK=() + DISTRIBUTION= + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='db3f8725cee04e319b007798c66b1749' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - 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='49127' - PS1='# ' - PS2='> ' + INVOCATION_ID=cce9bce01136468c93c7f922a08f9c25 + LANG=C + LANGUAGE=et_EE:et + LC_ALL=C + MACHTYPE=x86_64-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=42812 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/tmp.IlpeOVSLzs/pbuilderrc_CzU6 --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/buster-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.IlpeOVSLzs/b1 --logfile b1/build.log ruby-guard_2.15.0-3.dsc' - SUDO_GID='111' - SUDO_UID='106' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://85.184.249.68: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/tmp.IlpeOVSLzs/pbuilderrc_KMbl --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/buster-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.IlpeOVSLzs/b2 --logfile b2/build.log ruby-guard_2.15.0-3.dsc' + SUDO_GID=110 + SUDO_UID=105 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://78.137.99.97:3128 I: uname -a - Linux ionos15-amd64 5.10.0-0.bpo.7-amd64 #1 SMP Debian 5.10.40-1~bpo10+1 (2021-06-04) x86_64 GNU/Linux + Linux i-capture-the-hostname 4.19.0-17-amd64 #1 SMP Debian 4.19.194-2 (2021-06-21) x86_64 GNU/Linux I: ls -l /bin total 5116 - -rwxr-xr-x 1 root root 1168776 Apr 17 2019 bash - -rwxr-xr-x 3 root root 38984 Jul 10 2019 bunzip2 - -rwxr-xr-x 3 root root 38984 Jul 10 2019 bzcat - lrwxrwxrwx 1 root root 6 Jul 10 2019 bzcmp -> bzdiff - -rwxr-xr-x 1 root root 2227 Jul 10 2019 bzdiff - lrwxrwxrwx 1 root root 6 Jul 10 2019 bzegrep -> bzgrep - -rwxr-xr-x 1 root root 4877 Jun 24 2019 bzexe - lrwxrwxrwx 1 root root 6 Jul 10 2019 bzfgrep -> bzgrep - -rwxr-xr-x 1 root root 3641 Jul 10 2019 bzgrep - -rwxr-xr-x 3 root root 38984 Jul 10 2019 bzip2 - -rwxr-xr-x 1 root root 14328 Jul 10 2019 bzip2recover - lrwxrwxrwx 1 root root 6 Jul 10 2019 bzless -> bzmore - -rwxr-xr-x 1 root root 1297 Jul 10 2019 bzmore - -rwxr-xr-x 1 root root 43744 Feb 28 2019 cat - -rwxr-xr-x 1 root root 64320 Feb 28 2019 chgrp - -rwxr-xr-x 1 root root 64288 Feb 28 2019 chmod - -rwxr-xr-x 1 root root 72512 Feb 28 2019 chown - -rwxr-xr-x 1 root root 146880 Feb 28 2019 cp - -rwxr-xr-x 1 root root 121464 Jan 17 2019 dash - -rwxr-xr-x 1 root root 109408 Feb 28 2019 date - -rwxr-xr-x 1 root root 76712 Feb 28 2019 dd - -rwxr-xr-x 1 root root 93744 Feb 28 2019 df - -rwxr-xr-x 1 root root 138856 Feb 28 2019 dir - -rwxr-xr-x 1 root root 84288 Jan 9 2019 dmesg - lrwxrwxrwx 1 root root 8 Sep 26 2018 dnsdomainname -> hostname - lrwxrwxrwx 1 root root 8 Sep 26 2018 domainname -> hostname - -rwxr-xr-x 1 root root 39520 Feb 28 2019 echo - -rwxr-xr-x 1 root root 28 Jan 7 2019 egrep - -rwxr-xr-x 1 root root 35424 Feb 28 2019 false - -rwxr-xr-x 1 root root 28 Jan 7 2019 fgrep - -rwxr-xr-x 1 root root 68880 Jan 9 2019 findmnt - -rwsr-xr-x 1 root root 34896 Apr 22 2020 fusermount - -rwxr-xr-x 1 root root 198976 Jan 7 2019 grep - -rwxr-xr-x 2 root root 2345 Jan 5 2019 gunzip - -rwxr-xr-x 1 root root 6375 Jan 5 2019 gzexe - -rwxr-xr-x 1 root root 98048 Jan 5 2019 gzip - -rwxr-xr-x 1 root root 26696 Sep 26 2018 hostname - -rwxr-xr-x 1 root root 68552 Feb 28 2019 ln - -rwxr-xr-x 1 root root 56760 Jul 26 2018 login - -rwxr-xr-x 1 root root 138856 Feb 28 2019 ls - -rwxr-xr-x 1 root root 108624 Jan 9 2019 lsblk - -rwxr-xr-x 1 root root 89088 Feb 28 2019 mkdir - -rwxr-xr-x 1 root root 68544 Feb 28 2019 mknod - -rwxr-xr-x 1 root root 43808 Feb 28 2019 mktemp - -rwxr-xr-x 1 root root 43008 Jan 9 2019 more - -rwsr-xr-x 1 root root 51280 Jan 9 2019 mount - -rwxr-xr-x 1 root root 14408 Jan 9 2019 mountpoint - -rwxr-xr-x 1 root root 138728 Feb 28 2019 mv - lrwxrwxrwx 1 root root 8 Sep 26 2018 nisdomainname -> hostname - lrwxrwxrwx 1 root root 14 Feb 14 2019 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 39616 Feb 28 2019 pwd - lrwxrwxrwx 1 root root 4 Apr 17 2019 rbash -> bash - -rwxr-xr-x 1 root root 47776 Feb 28 2019 readlink - -rwxr-xr-x 1 root root 68416 Feb 28 2019 rm - -rwxr-xr-x 1 root root 47776 Feb 28 2019 rmdir - -rwxr-xr-x 1 root root 23312 Jan 21 2019 run-parts - -rwxr-xr-x 1 root root 122224 Dec 22 2018 sed - lrwxrwxrwx 1 root root 4 Aug 9 02:47 sh -> dash - -rwxr-xr-x 1 root root 39552 Feb 28 2019 sleep - -rwxr-xr-x 1 root root 80672 Feb 28 2019 stty - -rwsr-xr-x 1 root root 63568 Jan 9 2019 su - -rwxr-xr-x 1 root root 35488 Feb 28 2019 sync - -rwxr-xr-x 1 root root 445560 Apr 23 2019 tar - -rwxr-xr-x 1 root root 14440 Jan 21 2019 tempfile - -rwxr-xr-x 1 root root 97152 Feb 28 2019 touch - -rwxr-xr-x 1 root root 35424 Feb 28 2019 true - -rwxr-xr-x 1 root root 14328 Apr 22 2020 ulockmgr_server - -rwsr-xr-x 1 root root 34888 Jan 9 2019 umount - -rwxr-xr-x 1 root root 39584 Feb 28 2019 uname - -rwxr-xr-x 2 root root 2345 Jan 5 2019 uncompress - -rwxr-xr-x 1 root root 138856 Feb 28 2019 vdir - -rwxr-xr-x 1 root root 34896 Jan 9 2019 wdctl - -rwxr-xr-x 1 root root 946 Jan 21 2019 which - lrwxrwxrwx 1 root root 8 Sep 26 2018 ypdomainname -> hostname - -rwxr-xr-x 1 root root 1983 Jan 5 2019 zcat - -rwxr-xr-x 1 root root 1677 Jan 5 2019 zcmp - -rwxr-xr-x 1 root root 5879 Jan 5 2019 zdiff - -rwxr-xr-x 1 root root 29 Jan 5 2019 zegrep - -rwxr-xr-x 1 root root 29 Jan 5 2019 zfgrep - -rwxr-xr-x 1 root root 2080 Jan 5 2019 zforce - -rwxr-xr-x 1 root root 7584 Jan 5 2019 zgrep - -rwxr-xr-x 1 root root 2205 Jan 5 2019 zless - -rwxr-xr-x 1 root root 1841 Jan 5 2019 zmore - -rwxr-xr-x 1 root root 4552 Jan 5 2019 znew -I: user script /srv/workspace/pbuilder/49127/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 1168776 Apr 18 2019 bash + -rwxr-xr-x 3 root root 38984 Jul 11 2019 bunzip2 + -rwxr-xr-x 3 root root 38984 Jul 11 2019 bzcat + lrwxrwxrwx 1 root root 6 Jul 11 2019 bzcmp -> bzdiff + -rwxr-xr-x 1 root root 2227 Jul 11 2019 bzdiff + lrwxrwxrwx 1 root root 6 Jul 11 2019 bzegrep -> bzgrep + -rwxr-xr-x 1 root root 4877 Jun 25 2019 bzexe + lrwxrwxrwx 1 root root 6 Jul 11 2019 bzfgrep -> bzgrep + -rwxr-xr-x 1 root root 3641 Jul 11 2019 bzgrep + -rwxr-xr-x 3 root root 38984 Jul 11 2019 bzip2 + -rwxr-xr-x 1 root root 14328 Jul 11 2019 bzip2recover + lrwxrwxrwx 1 root root 6 Jul 11 2019 bzless -> bzmore + -rwxr-xr-x 1 root root 1297 Jul 11 2019 bzmore + -rwxr-xr-x 1 root root 43744 Mar 1 2019 cat + -rwxr-xr-x 1 root root 64320 Mar 1 2019 chgrp + -rwxr-xr-x 1 root root 64288 Mar 1 2019 chmod + -rwxr-xr-x 1 root root 72512 Mar 1 2019 chown + -rwxr-xr-x 1 root root 146880 Mar 1 2019 cp + -rwxr-xr-x 1 root root 121464 Jan 18 2019 dash + -rwxr-xr-x 1 root root 109408 Mar 1 2019 date + -rwxr-xr-x 1 root root 76712 Mar 1 2019 dd + -rwxr-xr-x 1 root root 93744 Mar 1 2019 df + -rwxr-xr-x 1 root root 138856 Mar 1 2019 dir + -rwxr-xr-x 1 root root 84288 Jan 10 2019 dmesg + lrwxrwxrwx 1 root root 8 Sep 27 2018 dnsdomainname -> hostname + lrwxrwxrwx 1 root root 8 Sep 27 2018 domainname -> hostname + -rwxr-xr-x 1 root root 39520 Mar 1 2019 echo + -rwxr-xr-x 1 root root 28 Jan 8 2019 egrep + -rwxr-xr-x 1 root root 35424 Mar 1 2019 false + -rwxr-xr-x 1 root root 28 Jan 8 2019 fgrep + -rwxr-xr-x 1 root root 68880 Jan 10 2019 findmnt + -rwsr-xr-x 1 root root 34896 Apr 23 2020 fusermount + -rwxr-xr-x 1 root root 198976 Jan 8 2019 grep + -rwxr-xr-x 2 root root 2345 Jan 6 2019 gunzip + -rwxr-xr-x 1 root root 6375 Jan 6 2019 gzexe + -rwxr-xr-x 1 root root 98048 Jan 6 2019 gzip + -rwxr-xr-x 1 root root 26696 Sep 27 2018 hostname + -rwxr-xr-x 1 root root 68552 Mar 1 2019 ln + -rwxr-xr-x 1 root root 56760 Jul 27 2018 login + -rwxr-xr-x 1 root root 138856 Mar 1 2019 ls + -rwxr-xr-x 1 root root 108624 Jan 10 2019 lsblk + -rwxr-xr-x 1 root root 89088 Mar 1 2019 mkdir + -rwxr-xr-x 1 root root 68544 Mar 1 2019 mknod + -rwxr-xr-x 1 root root 43808 Mar 1 2019 mktemp + -rwxr-xr-x 1 root root 43008 Jan 10 2019 more + -rwsr-xr-x 1 root root 51280 Jan 10 2019 mount + -rwxr-xr-x 1 root root 14408 Jan 10 2019 mountpoint + -rwxr-xr-x 1 root root 138728 Mar 1 2019 mv + lrwxrwxrwx 1 root root 8 Sep 27 2018 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Feb 15 2019 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 39616 Mar 1 2019 pwd + lrwxrwxrwx 1 root root 4 Apr 18 2019 rbash -> bash + -rwxr-xr-x 1 root root 47776 Mar 1 2019 readlink + -rwxr-xr-x 1 root root 68416 Mar 1 2019 rm + -rwxr-xr-x 1 root root 47776 Mar 1 2019 rmdir + -rwxr-xr-x 1 root root 23312 Jan 22 2019 run-parts + -rwxr-xr-x 1 root root 122224 Dec 23 2018 sed + lrwxrwxrwx 1 root root 4 Jul 12 04:43 sh -> bash + lrwxrwxrwx 1 root root 4 Jul 7 22:24 sh.distrib -> dash + -rwxr-xr-x 1 root root 39552 Mar 1 2019 sleep + -rwxr-xr-x 1 root root 80672 Mar 1 2019 stty + -rwsr-xr-x 1 root root 63568 Jan 10 2019 su + -rwxr-xr-x 1 root root 35488 Mar 1 2019 sync + -rwxr-xr-x 1 root root 445560 Apr 24 2019 tar + -rwxr-xr-x 1 root root 14440 Jan 22 2019 tempfile + -rwxr-xr-x 1 root root 97152 Mar 1 2019 touch + -rwxr-xr-x 1 root root 35424 Mar 1 2019 true + -rwxr-xr-x 1 root root 14328 Apr 23 2020 ulockmgr_server + -rwsr-xr-x 1 root root 34888 Jan 10 2019 umount + -rwxr-xr-x 1 root root 39584 Mar 1 2019 uname + -rwxr-xr-x 2 root root 2345 Jan 6 2019 uncompress + -rwxr-xr-x 1 root root 138856 Mar 1 2019 vdir + -rwxr-xr-x 1 root root 34896 Jan 10 2019 wdctl + -rwxr-xr-x 1 root root 946 Jan 22 2019 which + lrwxrwxrwx 1 root root 8 Sep 27 2018 ypdomainname -> hostname + -rwxr-xr-x 1 root root 1983 Jan 6 2019 zcat + -rwxr-xr-x 1 root root 1677 Jan 6 2019 zcmp + -rwxr-xr-x 1 root root 5879 Jan 6 2019 zdiff + -rwxr-xr-x 1 root root 29 Jan 6 2019 zegrep + -rwxr-xr-x 1 root root 29 Jan 6 2019 zfgrep + -rwxr-xr-x 1 root root 2080 Jan 6 2019 zforce + -rwxr-xr-x 1 root root 7584 Jan 6 2019 zgrep + -rwxr-xr-x 1 root root 2205 Jan 6 2019 zless + -rwxr-xr-x 1 root root 1841 Jan 6 2019 zmore + -rwxr-xr-x 1 root root 4552 Jan 6 2019 znew +I: user script /srv/workspace/pbuilder/42812/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -365,7 +399,7 @@ Get: 144 http://deb.debian.org/debian buster/main amd64 ruby-thread-order all 1.1.0-1 [5096 B] Get: 145 http://deb.debian.org/debian buster/main amd64 ruby-rspec-core all 3.8.0c0e1m0s0-1 [190 kB] Get: 146 http://deb.debian.org/debian buster/main amd64 ruby-thor all 0.19.4-1 [47.0 kB] -Fetched 43.5 MB in 1s (30.1 MB/s) +Fetched 43.5 MB in 1s (50.1 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libbsd0: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 ... 19195 files and directories currently installed.) @@ -981,7 +1015,7 @@ fakeroot is already the newest version (1.23-1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/ruby-guard-2.15.0/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b +I: Running cd /build/ruby-guard-2.15.0/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b dpkg-buildpackage: info: source package ruby-guard dpkg-buildpackage: info: source version 2.15.0-3 dpkg-buildpackage: info: source distribution unstable @@ -1118,26 +1152,253 @@ All examples were filtered out; ignoring {:focus=>true} -Randomized with seed 2567 +Randomized with seed 10829 -Guard::Watcher::Pattern - .create - when a custom matcher - should be a kind of Guard::Watcher::Pattern::Matcher - when an regexp string is given - shows a warning - should be a kind of Guard::Watcher::Pattern::Matcher - when a regexp is given - should be a kind of Guard::Watcher::Pattern::Matcher - when a string is given - should be a kind of Guard::Watcher::Pattern::SimplePath - when a Pathname is given - should be a kind of Guard::Watcher::Pattern::PathnamePath +Guard::Internals::Tracing + Module method tracing + when tracing + with command arguments + when #system + outputs command arguments + should eq true + with no command arguments + when backticks + outputs command + should eq "" + when #system + should eq true + outputs command + when not tracing + with command arguments + when #system + should eq true + does not output anything + with no command arguments + when backticks + should eq "" + does not output anything + when #system + should eq true + does not output anything + +Guard::Interactor + .enabled & .enabled= + returns true by default + interactor not enabled + returns false + when disabled + #handle_interrupt + interrupts sleep + #background + wakes up from sleep + #foreground + sleeps + .options & .options= + returns {} by default + options set to { foo: :bar } + returns { foo: :bar } + job selection + when enabled from the DSL + when disabled from the commandline + uses only sleeper + should be enabled + when enabled from the commandline + should be enabled + uses only pry + when disabled from the DSL + when enabled from the commandline + should not be enabled + uses only sleeper + when disabled from the commandline + uses only sleeper + should not be enabled + when enabled + #foreground + starts Pry + #background + hides Pry + #handle_interrupt + interrupts Pry + +Guard::Watcher::Pattern::SimplePath + #match result + when constructed with filename string + when matched file is an unclean Pathname + when filename matches + should eq ["foo.rb"] + when filename does not match + should be nil + when matched file is a string + when filename matches + should eq ["foo.rb"] + when filename does not match + should be nil Guard::Deprecated::Watcher .match_guardfile? - displays a deprecation warning to the user matches against current guardfile + displays a deprecation warning to the user + +Guard::DslDescriber + #list + lists the available Guards declared as strings or symbols + .show + shows the Guards and their options + .notifiers + shows the notifiers and their options + properly connects and disconnects + +Guard::Watcher::Pattern::MatchResult + #initialize + with valid arguments + does not fail + #[] + with a valid match + when asked for the non-first item + returns the value at given index + when asked for the first item + returns the full original value + when asked for a name match via a symbol + returns the value by name + +Guard::Watcher::Pattern::Matcher + integration + #match result + when constructed with valid regexp + when matched file is a string + when filename does not match + should be nil + when filename matches + should eq ["foo.rb"] + when matched file is an unclean Pathname + when filename matches + should eq ["foo.rb"] + when filename does not match + should be nil + when matched file contains a $ + should eq ["foo.rb"] + #match + when constructed with valid matcher object + when matched against a String + returns the match result + passes a Pathname to the matcher + when matched against a Pathname + returns the match result + passes the Pathname to the matcher + #== + returns true for equal matchers + returns false for unequal matchers + +Guard::Commands::Notification + toggles the Guard notifier + +Guard::Plugin + .notify + sends :call to the given Guard class's start_begin callback + runs only the given callbacks + sends :call to the given Guard class's start_begin callback + runs callbacks only for the guard given + .add_callback + can add multiple callbacks + can add a run_on_modifications callback + with a plugin instance + .non_namespaced_classname + remove the Guard:: namespace + #name + outputs the short plugin name + #title + outputs the plugin title + #to_s + output the short plugin name + .non_namespaced_name + remove the Guard:: namespace and downcase + .template + reads the default template + #initialize + assigns the defined options + assigns the defined watchers + without a group in the options + assigns a default group + with a group in the options + assigns the given group + with a callback + adds the callback + #hook + passes the hooks name + notifies the hooks + accepts extra arguments + +Guard::Jobs::Sleep + #foreground + returns :stopped when put to background + sleeps + #background + wakes up main thread + +Guard::Watcher::Pattern::DeprecatedRegexp + Matcher returned by .convert + with ^foo.rb + creates a Matcher with (?-mix:^foo.rb) + with foo.rb$ + creates a Matcher with (?-mix:foo.rb$) + with .*rb + creates a Matcher with (?-mix:.*rb) + with foo\.rb + creates a Matcher with (?-mix:foo\.rb) + .deprecated? + should be deprecated + should be deprecated + +GuardReloader + when not running with bundler + when not running with rubygems_gemdeps + when not run as binstub + when no Gemfile exists + shows no warning + when Gemfile exists + shows a warning + when running as binstub + when the relative Gemfile exists + sets up bundler + sets the Gemfile + when the relative Gemfile does not exist + does not setup rubygems + shows no warning + does not setup bundler + when running with rubygems_gemdeps + sets up rubygems + when running with bundler + sets up bundler + +Guard::Guardfile::Evaluator + .evaluate + selection of the Guardfile data contents + with a valid :contents option + with inline content and other Guardfiles available + gives ultimate precedence to inline content + error cases + with a problem reading a Guardfile + displays an error message and exits + when provided :contents is nil + does not raise error and skip it + with a non-existing Guardfile given + raises error + with an invalid Guardfile + displays an error message and raises original exception + with no Guardfile at all + displays an error message and exits + with empty Guardfile content + displays an error message about no plugins + .guardfile_include? + when plugin is present + returns true + when plugin is not present + returns false + #inline? + when no content is provided + should not be inline + when content is provided + should be inline Guard::Internals::Traps .handle @@ -1146,47 +1407,11 @@ with an unsupported signal name does not set a handler -Guard::Internals::Groups - #add - with existing groups - add the given group with options - add the given group - with an existing group - does not add duplicate groups when name is a symbol - does not add duplicate groups when name is a string - #all - with only default groups - initializes the groups - with existing groups - with a symbol argument matching a group - returns an array of groups if plugins are found - with a symbol argument not matching a group - returns an empty array when no group is found - with a regexp argument matching a group - returns an array of groups - with no arguments - returns all groups - with a regexp argument not matching a group - returns an empty array when no group is found - with a string argument - returns an array of groups if plugins are found - -Guard::Commands::All - with a valid Guard plugin scope - runs the :run_all action with the given scope - without scope - runs the :run_all action - with a valid Guard group scope - runs the :run_all action with the given scope - with an invalid scope - does not run the action - -Guard::Commands::Notification - toggles the Guard notifier - Guard::Internals::Scope + #titles + example at ./spec/lib/guard/internals/scope_spec.rb:93 (PENDING: Not yet implemented) #to_hash - :group + :plugin when set from interactor uses interactor scope when not set in interactor @@ -1195,331 +1420,88 @@ uses guardfile scope when set in commandline uses commandline scope - :plugin - when set from interactor - uses interactor scope + :group when not set in interactor when not set in commandline when set in Guardfile uses guardfile scope when set in commandline uses commandline scope - #titles - example at ./spec/lib/guard/internals/scope_spec.rb:93 (PENDING: Not yet implemented) + when set from interactor + uses interactor scope -Guard::Internals::Session - #guardfile_ignore= - when set from guardfile - should eq [/foo/] - when set multiple times from guardfile - should eq [/foo/, /bar/] - when unset - should eq [] - #clearing - when not set - when clearing is set from commandline - should not be clearing - when clearing is not set from commandline - should not be clearing - when set from guardfile - when set to :on - should be clearing - when set to :off - should not be clearing - #guardfile_ignore_bang= - when unset - should eq [] - when set from guardfile - should eq [/foo/] - #initialize - with the group option - initializes the group scope - with the plugin option - initializes the plugin scope - #listener_args - with multiple watchdirs - should eq [:to, "/usr", "/bin", {}] - with force_polling option - should eq [:to, "/build/ruby-guard-2.15.0", {:force_polling=>true}] - with a single watchdir - should eq [:to, "/usr", {}] - with latency option - should eq [:to, "/build/ruby-guard-2.15.0", {:latency=>1.5}] - .convert_scope - returns a plugin and group scope - returns a group scope - returns the unkown scopes - returns multiple group scopes - returns a plugin scope - returns multiple plugin scopes - #guardfile_scope - with a groups scope - sets the groups - with a plugins scope - sets the plugins - with a group scope - sets the groups - with a plugin scope - sets the plugins - #guardfile_notification= - when unset - should eq {:notifiers=>{}, :notify=>true} - when set from guardfile - should eq {:notifiers=>{:foo=>{:bar=>:baz}}, :notify=>true} - when set multiple times from guardfile - merges results +Guard::UI::Logger::Config + defaults + flushes device by default + #level= + with a valid value + stores the level -Guard::UI::Config - #device - when not set - when accessed as a string - returns $stderr - when accessed as a method - returns $stderr - when accessed as a symbol - returns $stderr - #logger_config - with defaults - provides a logger config - with deprecated options set - when set using a symbol - provides a logger config - passes deprecated options to logger - when set using a string - passes deprecated options to logger - provides a logger config +Guard::Commands::Change + without a file + does not run the :run_on_changes action + with multiple files + runs the :run_on_changes action with the given files + with a file + runs the :run_on_changes action with the given file Guard::Group + #title + should eq "Foo" + #options + when provided + should eq {:halt_on_fail=>true} #name should eq :foo when initialized from a string should eq :foo #to_s should eq "#" - #title - should eq "Foo" - #options - when provided - should eq {:halt_on_fail=>true} -Guard::Internals::Plugins - #all - find a plugin by as symbol - returns an array of plugins if plugins are found - returns an empty array when no plugin is found - find a plugin by as string - returns an array of plugins if plugins are found - find plugins by their group & name - returns an array of plugins if plugins are found - returns an empty array when no plugin is found - find plugins by their group as a string - returns an array of plugins if plugins are found - find plugins matching a regexp - returns an empty array when no plugin is found - returns an array of plugins if plugins are found - with no arguments - returns all plugins - find plugins by their group as a symbol - returns an empty array when no plugin is found - returns an array of plugins if plugins are found - #remove - removes given plugin - -Guard::Commands::Change - without a file - does not run the :run_on_changes action - with a file - runs the :run_on_changes action with the given file - with multiple files - runs the :run_on_changes action with the given files - -Guard::Jobs::Sleep - #foreground - sleeps - returns :stopped when put to background - #background - wakes up main thread - -Guard - #relevant_changes? - example at ./spec/lib/guard_spec.rb:247 (PENDING: Not yet implemented) - ._relative_pathname - with file in project directory - should eq # - with file on another drive (e.g. Windows) - should eq # - with file in parent directory - should eq # - with file within project - should eq # - .setup - initializes the interactor - evaluates the Guardfile - returns itself for chaining - displays an error message when no guard are defined in Guardfile - initializes the listener - connects to the notifier - listener - with ignores 'ignore(/foo/)' and 'ignore!(/bar/)' - should have received ignore!([/bar/]) 1 time - should have received ignore([/foo/]) 1 time - without ignores - should not have received ignore!(*(any args)) 0 times - should not have received ignore(*(any args)) 0 times - with the group option - passes options to session - with the plugin option - passes options to session - UI - when clearing is configured - should have received reset_and_clear(*(any args)) 1 time - .interactor - with interactions enabled - should have received new(false) 1 time - with interactions disabled - should have received new(true) 1 time - trapping signals - sets up USR1 trap for pausing - sets up USR2 trap for unpausing - sets up INT trap for cancelling or quitting interactor - -Guard::Options - .initialize - merges the sensible defaults to the given options - handles nil options - has indifferent access - can be passed defaults - -Guard::Internals::Debugging - #stop - when not started - does not set logger level - when already started - untraces Open3.popen3 - sets logger level to info - untraces Kernel.` - untraces Kernel.system - #start - traces Kernel.system - traces Open3.popen3 - traces Kernel.` - traces Kernel.spawn - when not started - sets logger to debug - makes threads abort on exceptions - when already started - does not set log level - -Guard::Watcher::Pattern::PathnamePath - #match result - when constructed with an unclean Pathname - when matched file is an unclean Pathname - when filename does not match - should be nil - when filename matches - should eq [#] - when matched file is a string - when filename does not match - should be nil - when filename matches - should eq [#] - -Guard::Interactor - .options & .options= - returns {} by default - options set to { foo: :bar } - returns { foo: :bar } - when disabled - #foreground - sleeps - #background - wakes up from sleep - #handle_interrupt - interrupts sleep - .enabled & .enabled= - returns true by default - interactor not enabled - returns false - job selection - when enabled from the DSL - when enabled from the commandline - should be enabled - uses only pry - when disabled from the commandline - uses only sleeper - should be enabled - when disabled from the DSL - when disabled from the commandline - should not be enabled - uses only sleeper - when enabled from the commandline - uses only sleeper - should not be enabled - when enabled - #background - hides Pry - #foreground - starts Pry - #handle_interrupt - interrupts Pry - -Guard::Guardfile::Generator - has a valid Guardfile template - #initialize_template - with a user defined template - copies the Guardfile template and initializes the Guard - with an installed Guard implementation - initializes the Guard - when the passed guard can't be found - notifies the user about the problem - #initialize_all_templates - calls Guard.initialize_template on all installed plugins - #create_guardfile - without an existing Guardfile - does not display any kind of error or abort - copies the Guardfile template and notifies the user - with an existing Guardfile - does not copy the Guardfile template or notify the user - displays an error message - does not display information - aborts +Guard::Deprecated::Evaluator + #evaluate_guardfile + displays a deprecation warning to the user + calls the recommended method + #reevaluate_guardfile + displays a deprecation warning to the user Guard::Cli::Environments::EvaluateOnly #evaluate evaluates the guardfile + initializes Guard with options calls Guard.init passes options to evaluator - initializes Guard with options - when a Guard::Guardfile::Evaluator::NoGuardfileError error occurs + when a Guard::Dsl::Error error occurs shows error message aborts - when a Guard::Guardfile::Evaluator::NoCustomGuardfile error occurs - shows error message + when a Guard::Guardfile::Evaluator::NoGuardfileError error occurs aborts - when a Guard::Guardfile::Evaluator::NoPluginsError error occurs shows error message + when a Guard::Guardfile::Evaluator::NoPluginsError error occurs aborts - when a Guard::Dsl::Error error occurs - aborts shows error message + when a Guard::Guardfile::Evaluator::NoCustomGuardfile error occurs + shows error message + aborts -Guard::Commands::Reload - with an invalid scope - does not trigger the action - with a valid Guard group scope - triggers the :reload action with the given scope - with a valid Guard plugin scope - triggers the :reload action with the given scope - without scope - triggers the :reload action +Guard::Internals::State + #initialize + debugging + when debug is set to true + sets up debugging + when debug is set to false + does not set up debugging Guard::Cli::Environments::Valid #initialize_guardfile - with no bare option + with bare option + Only creates the Guardfile without initializing any Guard template returns an exit code + with no bare option initializes templates of all installed Guards - creates a Guardfile evaluates created or existing guardfile + creates a Guardfile + returns an exit code initializes each passed template when passed an unknown guard name returns an exit code @@ -1528,400 +1510,136 @@ when the Guardfile is empty works without without errors adds the template - with bare option - returns an exit code - Only creates the Guardfile without initializing any Guard template #start_guard - without no_bundler_warning option - verifies bundler presence - without a valid bundler setup - does not start guard with a valid bundler setup - returns exit code start guard with options + returns exit code starts guard - when a Guard::Dsl::Error error occurs + when a Guard::Guardfile::Evaluator::NoPluginsError error occurs aborts shows error message - when a Guard::Guardfile::Evaluator::NoGuardfileError error occurs - shows error message - aborts - when a Guard::Guardfile::Evaluator::NoPluginsError error occurs + when a Guard::Dsl::Error error occurs shows error message aborts when a Guard::Guardfile::Evaluator::NoCustomGuardfile error occurs aborts shows error message - with no_bundler_warning option - does not verify bundler presence - starts guard + when a Guard::Guardfile::Evaluator::NoGuardfileError error occurs + aborts + shows error message return value matches return value of Guard.start + with no_bundler_warning option + starts guard + does not verify bundler presence + without no_bundler_warning option + verifies bundler presence + without a valid bundler setup + does not start guard -Guard::Commands::Pause - tells Guard to pause - -Guard::Internals::State - #initialize - debugging - when debug is set to true - sets up debugging - when debug is set to false - does not set up debugging - -Guard::Watcher::Pattern::MatchResult - #initialize - with valid arguments - does not fail - #[] - with a valid match - when asked for the non-first item - returns the value at given index - when asked for the first item - returns the full original value - when asked for a name match via a symbol - returns the value by name - -Guard::Watcher::Pattern::DeprecatedRegexp - Matcher returned by .convert - with foo\.rb - creates a Matcher with (?-mix:foo\.rb) - with ^foo.rb - creates a Matcher with (?-mix:^foo.rb) - with foo.rb$ - creates a Matcher with (?-mix:foo.rb$) - with .*rb - creates a Matcher with (?-mix:.*rb) - .deprecated? - should be deprecated - should be deprecated - -Guard::Commands::Scope - with an invalid scope - does not change the scope and shows unknown scopes - without scope - does not call :scope= and shows usage - with a valid Guard plugin scope - runs the :scope= action with the given scope - with a valid Guard group scope - sets up the scope with the given scope - -Guard::UI::Logger::Config - defaults - flushes device by default - #level= - with a valid value - stores the level - -Guard::Guardfile::Evaluator - .guardfile_include? - when plugin is present - returns true - when plugin is not present - returns false - #inline? - when content is provided - should be inline - when no content is provided - should not be inline - .evaluate - selection of the Guardfile data contents - with a valid :contents option - with inline content and other Guardfiles available - gives ultimate precedence to inline content - error cases - with a problem reading a Guardfile - displays an error message and exits - with empty Guardfile content - displays an error message about no plugins - with an invalid Guardfile - displays an error message and raises original exception - when provided :contents is nil - does not raise error and skip it - with no Guardfile at all - displays an error message and exits - with a non-existing Guardfile given - raises error - -Guard::DslDescriber - .show - shows the Guards and their options - #list - lists the available Guards declared as strings or symbols - .notifiers - properly connects and disconnects - shows the notifiers and their options - -Guard::Jobs::PryWrapper - #_prompt(ending_char) - with a groups scope - displays the group scope title in the prompt - with a plugins scope - displays the group scope title in the prompt - Guard is paused - displays "pause" - Guard is not paused - displays "guard" - Guard is using a lower version of Pry - displays "guard" - #background -  kills the Pry thread - #foreground -  return :stopped when brought into background -  prevents the Pry thread from being killed too quickly -  waits for Pry thread to finish - -Guard::Plugin - with a plugin instance - #to_s - output the short plugin name - #title - outputs the plugin title - #name - outputs the short plugin name - .non_namespaced_name - remove the Guard:: namespace and downcase - .non_namespaced_classname - remove the Guard:: namespace - .template - reads the default template - .add_callback - can add a run_on_modifications callback - can add multiple callbacks - #hook - notifies the hooks - accepts extra arguments - passes the hooks name +Guard::Notifier .notify - sends :call to the given Guard class's start_begin callback - sends :call to the given Guard class's start_begin callback - runs callbacks only for the guard given - runs only the given callbacks - #initialize - assigns the defined watchers - assigns the defined options - with a callback - adds the callback - without a group in the options - assigns a default group - with a group in the options - assigns the given group - -Guard::Runner - #_supervise - executes the task on the passed guard - with a task that raises an exception - returns the exception - removes the Guard - calls the default begin hook but not the default end hook - display an error to the user - with a task that throws :task_has_failed - in a group - with halt_on_fail: false - catches :task_has_failed - with halt_on_fail: true - throws :task_has_failed - with a task that succeeds - with arguments - does not remove the Guard - returns the result of the task - without any arguments - returns the result of the task - passes the result of the supervised method to the :end hook - does not remove the Guard - calls :begin and :end hooks - #run_on_changes - always calls UI.clearable - with added paths - executes the :run_on_additions task - when clearable - clear UI - with modified files but modified paths is empty - does not call run anything - with modified paths - executes the :run_first_task_found task - with non-matching removed paths - does not call tasks - with no changes - does not run any task - with added files but added paths is empty - does not call run anything - with matching removed paths - executes the :run_on_removals task - #run - marks an action as unit of work - executes supervised task on all registered plugins implementing it - with no scope - executes the supervised task using current scope - with a scope - executes the supervised task on the specified plugin only - with interrupted task - catches the thrown symbol - .stopping_symbol_for - for a group without :halt_on_fail - returns :task_has_failed - for a group with :halt_on_fail - returns :no_catch + with no options + notifies + with a runtime error + shows an error + with multiple parameters + notifies + toggle_notification + with available notifiers + when currently on + suspends notifications + when currently off + resumes notifications -Guard::Cli::Environments::Bundler - #verify - without an existing Gemfile - does not show the Bundler warning - with an existing Gemfile - with Bundler - does not show the Bundler warning - without Bundler - with Rubygems Gemfile autodetection or custom Gemfile - does not show the Bundler warning - without Rubygems Gemfile handling - shows the Bundler warning +Guard::Config + should respond to #silence_deprecations? + should respond to #strict? + .strict? + when GUARD_STRICT is set to a 'false' value + should not be strict + when GUARD_STRICT is set to a 'true' value + should be strict Guard::Deprecated::Guard - .plugin + reset_evaluator + show deprecation warning + .guards + delegates to Plugins + displays a deprecation warning to the user + options + show deprecation warning + :clear + when being set to true + sets the clearing option accordingly + when being set to false + sets the clearing option accordingly + when being read + when set + provides an alternative implementation + when not set + provides an alternative implementation + .groups provides a similar implementation show deprecation warning - .lock + .guard_gem_names + delegates to Guard::PluginUtil + displays a deprecation warning to the user + .add_group + adds a group show deprecation warning - .running + .plugin show deprecation warning - .listener= - provides and alternative implementation + provides a similar implementation + evaluator show deprecation warning - evaluate_guardfile + .scope= show deprecation warning - evaluates the guardfile - .add_group - adds a group + provides a similar implementation + .listener= show deprecation warning + provides and alternative implementation .get_guard_class - displays a deprecation warning to the user delegates to Guard::PluginUtil + displays a deprecation warning to the user :fail_gracefully pass it to get_guard_class - .guards - displays a deprecation warning to the user - delegates to Plugins - .scope= - show deprecation warning - provides a similar implementation - .guard_gem_names - displays a deprecation warning to the user - delegates to Guard::PluginUtil .group show deprecation warning provides a similar implementation - .groups - provides a similar implementation + evaluate_guardfile + evaluates the guardfile + show deprecation warning + .running show deprecation warning .add_plugin adds a plugin show deprecation warning + .add_guard + displays a deprecation warning to the user + delegates to Guard.plugins + .lock + show deprecation warning .locate_guard displays a deprecation warning to the user delegates to Guard::PluginUtil - evaluator - show deprecation warning .plugins show deprecation warning provides a similar implementation - .add_guard - displays a deprecation warning to the user - delegates to Guard.plugins - options - show deprecation warning - :clear - when being set to true - sets the clearing option accordingly - when being set to false - sets the clearing option accordingly - when being read - when not set - provides an alternative implementation - when set - provides an alternative implementation .scope - show deprecation warning provides a similar implementation - reset_evaluator show deprecation warning -Guard::Commands::Show - tells Guard to output DSL description - -Guard::CLI - #version - shows the current version - #start - exits with given exit code - delegates to Guard::Environment.start - passes options - #show - calls the evaluation - outputs the Guard::DslDescriber.list result - #list - calls the evaluation - outputs the Guard plugins list - #notifiers - calls the evaluation - outputs the notifiers list - #init - exits with given exit code - passes plugin names - delegates to Guard::Environment.start - passes options - -Guard::Commander - .stop - turns off the interactor - stops the listener - turns the notifier off - tell the runner to run the :stop task - .show - shows list of plugins - .reload - clears the screen - reloads Guard - .start - calls Guard setup - start the listener - displays an info message - tell the runner to run the :start task - when finished - stops everything - .run_all - with an empty scope - runs all - with a given scope - runs all with the scope - .pause - when unpaused - with :toggle - shows a message - pauses - with :unpaused - does nothing - with invalid parameter - raises an ArgumentError - with nil - pauses - shows a message - with :paused - pauses - shows a message - when already paused - with nil - unpauses - shows a message - with :unpaused - shows a message - unpauses - with :toggle - shows a message - unpauses - with :paused - does nothing - with invalid parameter - raises an ArgumentError +Guard::Deprecated::Guardfile + .initialize_template + delegates to Guard::Guardfile::Generator + displays a deprecation warning to the user + .initialize_all_templates + delegates to Guard::Guardfile::Generator + displays a deprecation warning to the user + .create_guardfile + displays a deprecation warning to the user + delegates to Guard::Guardfile::Generator Guard::Watcher integration @@ -1930,356 +1648,122 @@ with a watcher that matches a file should eq "bar" provides the match by name - #== - returns false for unequal watchers - returns true for equal watchers - #match - with a valid pattern - with a valid file name to match - when matching is successful - returns the match result - when matching is not successful - returns nil - #action - sets the action to the supplied block - sets the action to nothing by default #initialize with a pattern parameter creates a matcher with no arguments raises an error .match_files - for ambiguous watchers - when the :first_match option is turned on - returns only the files from the first watcher - when the :first_match option is turned off - returns multiple files by combining the results of the watchers without a watcher action with a string pattern returns the path that matches the string with a regex pattern returns the paths that matches the regex - with a watcher action that takes a parameter - for a watcher that matches file strings - returns nothing if the action returns nothing - returns nothing if action returns non-string or non-string array - combines results of different actions - returns a substituted single file specified within the action - returns multiple files specified within the action - returns nothing if the action response is empty - for a watcher that matches information objects - returns nothing if the action response is empty string - returns a substituted single file specified within the action - combinines results of different actions - returns nothing if the action returns is IO::NULL - returns a hash specified within the action - returns the evaluated addition argument + the path with an exception that is raised displays the error and backtrace + for ambiguous watchers + when the :first_match option is turned off + returns multiple files by combining the results of the watchers + when the :first_match option is turned on + returns only the files from the first watcher with a watcher action without parameter for a watcher that matches information objects - returns multiple files specified within the action - combines the results of different actions - returns nothing if the action returns empty string returns the evaluated addition argument in an array - returns a single file specified within the action returns nothing if the action response is empty string - for a watcher that matches file strings - combines files from results of different actions + returns nothing if the action returns empty string returns a single file specified within the action - returns nothing if the action returns nothing + returns multiple files specified within the action + combines the results of different actions + for a watcher that matches file strings returns nothing if the action response is empty returns multiple files specified within the action + returns nothing if the action returns nothing + combines files from results of different actions + returns a single file specified within the action when action returns non-string or array of non-strings returns nothing - -Guard::Notifier - .notify - with multiple parameters - notifies - with a runtime error - shows an error - with no options - notifies - toggle_notification - with available notifiers - when currently on - suspends notifications - when currently off - resumes notifications - -Guard::Terminal - should respond to #clear - .clear - when on UNIX - when the clear command fails - fails - when the clear command exists - clears the screen using 'clear' - when on Windows - clears the screen - when the clear command fails - fails - -Guard::Watcher::Pattern::Matcher + with a watcher action that takes a parameter + for a watcher that matches information objects + returns the evaluated addition argument + the path + returns a substituted single file specified within the action + returns nothing if the action response is empty string + returns a hash specified within the action + combinines results of different actions + returns nothing if the action returns is IO::NULL + for a watcher that matches file strings + returns multiple files specified within the action + returns nothing if the action response is empty + returns nothing if the action returns nothing + returns nothing if action returns non-string or non-string array + combines results of different actions + returns a substituted single file specified within the action #== - returns false for unequal matchers - returns true for equal matchers - integration - #match result - when constructed with valid regexp - when matched file is a string - when filename does not match - should be nil - when filename matches - should eq ["foo.rb"] - when matched file contains a $ - should eq ["foo.rb"] - when matched file is an unclean Pathname - when filename matches - should eq ["foo.rb"] - when filename does not match - should be nil + returns true for equal watchers + returns false for unequal watchers + #action + sets the action to nothing by default + sets the action to the supplied block #match - when constructed with valid matcher object - when matched against a String - returns the match result - passes a Pathname to the matcher - when matched against a Pathname - returns the match result - passes the Pathname to the matcher - -Guard::DslReader - #group signature - matches base signature - #ignore signature - matches base signature - #directories signature - matches base signature - #scope signature - matches base signature - #interactor signature - matches base signature - #guard signature - matches base signature - #notification signature - matches base signature - #callback signature - matches base signature - #clearing signature - matches base signature - #watch signature - matches base signature - plugin_names - returns encountered names - #initialize signature - matches base signature - #ignore! signature - matches base signature - guard - when it is a String - reports the name as a String - works without errors - when it is a Symbol - works without errors - reports the name as a String - #logger signature - matches base signature - notification - handles arguments without errors - -Guard::Dsl - #ignore - with multiple ignore calls - adds all ignored regexps to the listener - with ignore regexps - adds ignored regexps to the listener - #ignore! - when ignoring *.txt and *.zip and ignoring! only foo* - replaces listener ignores, but keeps ignore! ignores - when ignoring only foo* and *bar* - replaces listener regexps - #callback - with - creates callbacks for the guard - without a guard block - fails - #guard - with single-quoted name - loads a guard specified as a quoted string from the DSL - with double-quoted name - loads a guard specified as a double quoted string from the DSL - with name as symbol in parens - adds the plugin - with plugins in custom and default groups - assigns plugins to correct groups - with options - passes options to plugin - with groups - adds plugin with group info - with symbol for name - loads a guard specified as a symbol from the DSL - #filter! alias method - should eq # - #clear - with clear :on - enabled clearing the screen after every task - with clear :off - disables clearing the screen after every task - #watch - with watchers - should receive watchers when specified - with watch in main scope - should create an implicit no-op guard when outside a guard block - #interactor - with interactor options - passes the options to the interactor - with interactor :off - disables the interactions with :off - #notification - when notification - adds a notification to the notifier - with multiple notifications - adds multiple notifiers - #scope - with any parameters - sets the guardfile's default scope - #directories - with valid directories - sets the watchdirs to given values - with non-existing directory - fails with an error - with no parameters - sets the watchdirs to empty - #group - group named "all" - raises an error - with a valid guardfile - evaluates all groups - group named :all - raises an error - with multiple names - adds all given groups - no plugins in group - displays an error - #logger - with invalid options - when having both the :only and :except options - shows a warning - removes the options - for the log level - shows a warning - does not set the invalid value - options - with logger except filter from array of symbols and string - should have received options=({:except=>/rspec|cucumber|jasmine/i}) 1 time - with logger level 'error' - should have received options=({:level=>:error}) 1 time - with logger except filter from a string - should have received options=({:except=>/jasmine/i}) 1 time - with logger only filter from an array of symbols and string - should have received options=({:only=>/rspec|cucumber/i}) 1 time - with logger only filter from a string - should have received options=({:only=>/jasmine/i}) 1 time - with a logger only filter from a symbol - should have received options=({:only=>/cucumber/i}) 1 time - with logger template - should have received options=({:template=>":message - :severity"}) 1 time - with logger level :error - should have received options=({:level=>:error}) 1 time - with a logger time format - should have received options=({:time_format=>"%Y"}) 1 time - with logger except filter from a symbol - should have received options=({:except=>/jasmine/i}) 1 time - #filter alias method - should eq # - -Guard::Internals::Tracing - Module method tracing - when tracing - with command arguments - when #system - outputs command arguments - should eq true - with no command arguments - when backticks - should eq "" - outputs command - when #system - outputs command - should eq true - when not tracing - with command arguments - when #system - does not output anything - should eq true - with no command arguments - when backticks - does not output anything - should eq "" - when #system - should eq true - does not output anything + with a valid pattern + with a valid file name to match + when matching is successful + returns the match result + when matching is not successful + returns nil -GuardReloader - when not running with bundler - when running with rubygems_gemdeps - sets up rubygems - when not running with rubygems_gemdeps - when running as binstub - when the relative Gemfile does not exist - shows no warning - does not setup rubygems - does not setup bundler - when the relative Gemfile exists - sets up bundler - sets the Gemfile - when not run as binstub - when no Gemfile exists - shows no warning - when Gemfile exists - shows a warning - when running with bundler - sets up bundler +Guard::Commands::Reload + with a valid Guard group scope + triggers the :reload action with the given scope + with a valid Guard plugin scope + triggers the :reload action with the given scope + with an invalid scope + does not trigger the action + without scope + triggers the :reload action -Guard::Config - should respond to #silence_deprecations? - should respond to #strict? - .strict? - when GUARD_STRICT is set to a 'true' value - should be strict - when GUARD_STRICT is set to a 'false' value - should not be strict +Guard::Watcher::Pattern + .create + when a custom matcher + should be a kind of Guard::Watcher::Pattern::Matcher + when a regexp is given + should be a kind of Guard::Watcher::Pattern::Matcher + when an regexp string is given + shows a warning + should be a kind of Guard::Watcher::Pattern::Matcher + when a Pathname is given + should be a kind of Guard::Watcher::Pattern::PathnamePath + when a string is given + should be a kind of Guard::Watcher::Pattern::SimplePath -Guard::Deprecated::Guardfile - .create_guardfile - displays a deprecation warning to the user - delegates to Guard::Guardfile::Generator - .initialize_template - delegates to Guard::Guardfile::Generator - displays a deprecation warning to the user - .initialize_all_templates - displays a deprecation warning to the user - delegates to Guard::Guardfile::Generator +Guard::Options + .initialize + merges the sensible defaults to the given options + can be passed defaults + has indifferent access + handles nil options -Guard::Watcher::Pattern::SimplePath - #match result - when constructed with filename string - when matched file is an unclean Pathname - when filename does not match - should be nil - when filename matches - should eq ["foo.rb"] - when matched file is a string - when filename does not match - should be nil - when filename matches - should eq ["foo.rb"] +Guard::Internals::Debugging + #stop + when not started + does not set logger level + when already started + untraces Kernel.` + untraces Open3.popen3 + untraces Kernel.system + sets logger level to info + #start + traces Kernel.system + traces Kernel.spawn + traces Kernel.` + traces Open3.popen3 + when already started + does not set log level + when not started + makes threads abort on exceptions + sets logger to debug Guard::UI - .options= - sets the logger options - .info + .debug behaves like a logger method resets the line with the :reset option logs the message with the given severity @@ -2289,68 +1773,66 @@ with the :except option allows logging other messages prevents logging matching messages - .level= - when logger is not set up yet - does not autocreate the logger - sets the logger's config level - when logger is set up - sets the logger's level - sets the logger's config level - .debug + .info behaves like a logger method - resets the line with the :reset option logs the message with the given severity - with the :except option - allows logging other messages - prevents logging matching messages + resets the line with the :reset option with the :only option - prevents logging other messages allows logging matching messages + prevents logging other messages + with the :except option + prevents logging matching messages + allows logging other messages .action_with_scopes + with a plugins scope + shows the plugin scoped action without a scope - with a global group scope - shows the global group scoped action with a global plugin scope shows the global plugin scoped action + with a global group scope + shows the global group scoped action with a groups scope shows the group scoped action - with a plugins scope - shows the plugin scoped action + .warning + behaves like a logger method + resets the line with the :reset option + logs the message with the given severity + with the :except option + prevents logging matching messages + allows logging other messages + with the :only option + allows logging matching messages + prevents logging other messages .clear with UI set up and ready when clear option is disabled does not clear the output when clear option is enabled + when the screen has just been cleared + does not clear + when forced + clears the outputs if forced when the screen is marked as needing clearing clears the output only once clears the output when the command fails shows a warning - when the screen has just been cleared - does not clear - when forced - clears the outputs if forced - .error - behaves like a logger method - resets the line with the :reset option - logs the message with the given severity - with the :except option - allows logging other messages - prevents logging matching messages - with the :only option - allows logging matching messages - prevents logging other messages - .warning - behaves like a logger method - logs the message with the given severity - resets the line with the :reset option - with the :only option - prevents logging other messages - allows logging matching messages - with the :except option - allows logging other messages - prevents logging matching messages + .options= + sets the logger options + .level= + when logger is set up + sets the logger's config level + sets the logger's level + when logger is not set up yet + does not autocreate the logger + sets the logger's config level + .logger + with no logger set yet + sets the logger device + returns the logger instance .deprecation + with GUARD_GEM_SILENCE_DEPRECATIONS set to 1 + silences deprecations with GUARD_GEM_SILENCE_DEPRECATIONS unset behaves like a logger method logs the message with the given severity @@ -2359,62 +1841,614 @@ allows logging matching messages prevents logging other messages with the :except option - prevents logging matching messages allows logging other messages - with GUARD_GEM_SILENCE_DEPRECATIONS set to 1 - silences deprecations - .logger - with no logger set yet - sets the logger device - returns the logger instance + prevents logging matching messages + .error + behaves like a logger method + resets the line with the :reset option + logs the message with the given severity + with the :only option + allows logging matching messages + prevents logging other messages + with the :except option + allows logging other messages + prevents logging matching messages + +Guard::Internals::Session + #guardfile_ignore_bang= + when unset + should eq [] + when set from guardfile + should eq [/foo/] + .convert_scope + returns a plugin and group scope + returns the unkown scopes + returns a plugin scope + returns multiple group scopes + returns a group scope + returns multiple plugin scopes + #guardfile_notification= + when unset + should eq {:notifiers=>{}, :notify=>true} + when set multiple times from guardfile + merges results + when set from guardfile + should eq {:notifiers=>{:foo=>{:bar=>:baz}}, :notify=>true} + #guardfile_ignore= + when set from guardfile + should eq [/foo/] + when unset + should eq [] + when set multiple times from guardfile + should eq [/foo/, /bar/] + #guardfile_scope + with a groups scope + sets the groups + with a group scope + sets the groups + with a plugin scope + sets the plugins + with a plugins scope + sets the plugins + #clearing + when set from guardfile + when set to :on + should be clearing + when set to :off + should not be clearing + when not set + when clearing is set from commandline + should not be clearing + when clearing is not set from commandline + should not be clearing + #initialize + #listener_args + with latency option + should eq [:to, "/build/ruby-guard-2.15.0", {:latency=>1.5}] + with multiple watchdirs + should eq [:to, "/usr", "/bin", {}] + with force_polling option + should eq [:to, "/build/ruby-guard-2.15.0", {:force_polling=>true}] + with a single watchdir + should eq [:to, "/usr", {}] + with the plugin option + initializes the plugin scope + with the group option + initializes the group scope + +Guard::Watcher::Pattern::PathnamePath + #match result + when constructed with an unclean Pathname + when matched file is a string + when filename does not match + should be nil + when filename matches + should eq [#] + when matched file is an unclean Pathname + when filename matches + should eq [#] + when filename does not match + should be nil + +Guard::Commands::All + with a valid Guard plugin scope + runs the :run_all action with the given scope + with a valid Guard group scope + runs the :run_all action with the given scope + with an invalid scope + does not run the action + without scope + runs the :run_all action + +Guard::Guardfile::Generator + has a valid Guardfile template + #initialize_all_templates + calls Guard.initialize_template on all installed plugins + #create_guardfile + without an existing Guardfile + does not display any kind of error or abort + copies the Guardfile template and notifies the user + with an existing Guardfile + does not display information + aborts + does not copy the Guardfile template or notify the user + displays an error message + #initialize_template + with an installed Guard implementation + initializes the Guard + with a user defined template + copies the Guardfile template and initializes the Guard + when the passed guard can't be found + notifies the user about the problem + +Guard + ._relative_pathname + with file in parent directory + should eq # + with file in project directory + should eq # + with file on another drive (e.g. Windows) + should eq # + with file within project + should eq # + #relevant_changes? + example at ./spec/lib/guard_spec.rb:247 (PENDING: Not yet implemented) + .setup + connects to the notifier + displays an error message when no guard are defined in Guardfile + initializes the interactor + initializes the listener + returns itself for chaining + evaluates the Guardfile + .interactor + with interactions disabled + should have received new(true) 1 time + with interactions enabled + should have received new(false) 1 time + UI + when clearing is configured + should have received reset_and_clear(*(any args)) 1 time + listener + without ignores + should not have received ignore!(*(any args)) 0 times + should not have received ignore(*(any args)) 0 times + with ignores 'ignore(/foo/)' and 'ignore!(/bar/)' + should have received ignore!([/bar/]) 1 time + should have received ignore([/foo/]) 1 time + with the group option + passes options to session + trapping signals + sets up INT trap for cancelling or quitting interactor + sets up USR2 trap for unpausing + sets up USR1 trap for pausing + with the plugin option + passes options to session + +Guard::Commands::Pause + tells Guard to pause + +Guard::Cli::Environments::Bundler + #verify + without an existing Gemfile + does not show the Bundler warning + with an existing Gemfile + with Bundler + does not show the Bundler warning + without Bundler + with Rubygems Gemfile autodetection or custom Gemfile + does not show the Bundler warning + without Rubygems Gemfile handling + shows the Bundler warning + +Guard::CLI + #show + calls the evaluation + outputs the Guard::DslDescriber.list result + #notifiers + calls the evaluation + outputs the notifiers list + #init + delegates to Guard::Environment.start + passes plugin names + passes options + exits with given exit code + #start + delegates to Guard::Environment.start + exits with given exit code + passes options + #version + shows the current version + #list + calls the evaluation + outputs the Guard plugins list + +Guard::UI::Config + #device + when not set + when accessed as a method + returns $stderr + when accessed as a symbol + returns $stderr + when accessed as a string + returns $stderr + #logger_config + with deprecated options set + when set using a string + provides a logger config + passes deprecated options to logger + when set using a symbol + provides a logger config + passes deprecated options to logger + with defaults + provides a logger config + +Guard::Internals::Plugins + #all + find a plugin by as string + returns an array of plugins if plugins are found + find a plugin by as symbol + returns an array of plugins if plugins are found + returns an empty array when no plugin is found + find plugins by their group & name + returns an empty array when no plugin is found + returns an array of plugins if plugins are found + find plugins by their group as a symbol + returns an array of plugins if plugins are found + returns an empty array when no plugin is found + find plugins by their group as a string + returns an array of plugins if plugins are found + with no arguments + returns all plugins + find plugins matching a regexp + returns an empty array when no plugin is found + returns an array of plugins if plugins are found + #remove + removes given plugin + +Guard::Internals::Groups + #add + with existing groups + add the given group with options + add the given group + with an existing group + does not add duplicate groups when name is a string + does not add duplicate groups when name is a symbol + #all + with existing groups + with a string argument + returns an array of groups if plugins are found + with a symbol argument matching a group + returns an array of groups if plugins are found + with a regexp argument not matching a group + returns an empty array when no group is found + with a regexp argument matching a group + returns an array of groups + with a symbol argument not matching a group + returns an empty array when no group is found + with no arguments + returns all groups + with only default groups + initializes the groups + +Guard::Dsl + #directories + with non-existing directory + fails with an error + with valid directories + sets the watchdirs to given values + with no parameters + sets the watchdirs to empty + #interactor + with interactor :off + disables the interactions with :off + with interactor options + passes the options to the interactor + #callback + without a guard block + fails + with + creates callbacks for the guard + #group + no plugins in group + displays an error + with a valid guardfile + evaluates all groups + with multiple names + adds all given groups + group named "all" + raises an error + group named :all + raises an error + #ignore! + when ignoring *.txt and *.zip and ignoring! only foo* + replaces listener ignores, but keeps ignore! ignores + when ignoring only foo* and *bar* + replaces listener regexps + #clear + with clear :on + enabled clearing the screen after every task + with clear :off + disables clearing the screen after every task + #guard + with options + passes options to plugin + with groups + adds plugin with group info + with double-quoted name + loads a guard specified as a double quoted string from the DSL + with single-quoted name + loads a guard specified as a quoted string from the DSL + with plugins in custom and default groups + assigns plugins to correct groups + with name as symbol in parens + adds the plugin + with symbol for name + loads a guard specified as a symbol from the DSL + #filter alias method + should eq # + #ignore + with ignore regexps + adds ignored regexps to the listener + with multiple ignore calls + adds all ignored regexps to the listener + #watch + with watch in main scope + should create an implicit no-op guard when outside a guard block + with watchers + should receive watchers when specified + #notification + when notification + adds a notification to the notifier + with multiple notifications + adds multiple notifiers + #filter! alias method + should eq # + #scope + with any parameters + sets the guardfile's default scope + #logger + with invalid options + for the log level + does not set the invalid value + shows a warning + when having both the :only and :except options + removes the options + shows a warning + options + with a logger only filter from a symbol + should have received options=({:only=>/cucumber/i}) 1 time + with a logger time format + should have received options=({:time_format=>"%Y"}) 1 time + with logger except filter from a symbol + should have received options=({:except=>/jasmine/i}) 1 time + with logger template + should have received options=({:template=>":message - :severity"}) 1 time + with logger except filter from array of symbols and string + should have received options=({:except=>/rspec|cucumber|jasmine/i}) 1 time + with logger only filter from a string + should have received options=({:only=>/jasmine/i}) 1 time + with logger except filter from a string + should have received options=({:except=>/jasmine/i}) 1 time + with logger only filter from an array of symbols and string + should have received options=({:only=>/rspec|cucumber/i}) 1 time + with logger level :error + should have received options=({:level=>:error}) 1 time + with logger level 'error' + should have received options=({:level=>:error}) 1 time + +Guard::Jobs::PryWrapper + #foreground +  return :stopped when brought into background +  prevents the Pry thread from being killed too quickly +  waits for Pry thread to finish + #_prompt(ending_char) + Guard is paused + displays "pause" + with a plugins scope + displays the group scope title in the prompt + Guard is using a lower version of Pry + displays "guard" + Guard is not paused + displays "guard" + with a groups scope + displays the group scope title in the prompt + #background +  kills the Pry thread + +Guard::Runner + #_supervise + executes the task on the passed guard + with a task that raises an exception + returns the exception + calls the default begin hook but not the default end hook + display an error to the user + removes the Guard + with a task that succeeds + without any arguments + does not remove the Guard + passes the result of the supervised method to the :end hook + calls :begin and :end hooks + returns the result of the task + with arguments + does not remove the Guard + returns the result of the task + with a task that throws :task_has_failed + in a group + with halt_on_fail: true + throws :task_has_failed + with halt_on_fail: false + catches :task_has_failed + #run + executes supervised task on all registered plugins implementing it + marks an action as unit of work + with a scope + executes the supervised task on the specified plugin only + with interrupted task + catches the thrown symbol + with no scope + executes the supervised task using current scope + .stopping_symbol_for + for a group with :halt_on_fail + returns :no_catch + for a group without :halt_on_fail + returns :task_has_failed + #run_on_changes + always calls UI.clearable + with matching removed paths + executes the :run_on_removals task + when clearable + clear UI + with added paths + executes the :run_on_additions task + with no changes + does not run any task + with modified files but modified paths is empty + does not call run anything + with non-matching removed paths + does not call tasks + with added files but added paths is empty + does not call run anything + with modified paths + executes the :run_first_task_found task Guard::PluginUtil - #plugin_location - returns the path of a Guard gem - #initialize_plugin - with a plugin inheriting from Guard::Plugin - instantiate the plugin using the new API - #add_to_guardfile - when the Guard is not in the Guardfile - appends the template to the Guardfile - when the Guard is already in the Guardfile - shows an info message (PENDING: Temporarily skipped with xcontext) - when Guardfile is empty - appends the template to the Guardfile #plugin_class reports an error if the class is not found - with a name with underscores + with a name with dashes + returns the Guard class + with a name like VSpec returns the Guard class with an inline Guard class returns the Guard class with a nested Guard class - resolves the Guard class from string resolves the Guard class from symbol - with a name like VSpec - returns the Guard class - with a name with dashes - returns the Guard class + resolves the Guard class from string when set to fail gracefully does not print error messages on fail + with a name with underscores + returns the Guard class #initialize accepts a name without guard- accepts a name with guard- + #plugin_location + returns the path of a Guard gem + #initialize_plugin + with a plugin inheriting from Guard::Plugin + instantiate the plugin using the new API + #add_to_guardfile + when the Guard is not in the Guardfile + appends the template to the Guardfile + when the Guard is already in the Guardfile + shows an info message (PENDING: Temporarily skipped with xcontext) + when Guardfile is empty + appends the template to the Guardfile .plugin_names - returns the list of guard gems (PENDING: Temporarily skipped with xdescribe) ignores guard-compat (PENDING: Temporarily skipped with xdescribe) + returns the list of guard gems (PENDING: Temporarily skipped with xdescribe) returns the list of embedded guard gems (PENDING: Temporarily skipped with xdescribe) -Guard::Deprecated::Evaluator - #reevaluate_guardfile - displays a deprecation warning to the user - #evaluate_guardfile - calls the recommended method - displays a deprecation warning to the user - Guard::Deprecated::Dsl .evaluate_guardfile - delegates to Guard::Guardfile::Generator displays a deprecation warning to the user + delegates to Guard::Guardfile::Generator + +Guard::Terminal + should respond to #clear + .clear + when on Windows + clears the screen + when the clear command fails + fails + when on UNIX + when the clear command fails + fails + when the clear command exists + clears the screen using 'clear' + +Guard::DslReader + guard + when it is a String + works without errors + reports the name as a String + when it is a Symbol + works without errors + reports the name as a String + #notification signature + matches base signature + notification + handles arguments without errors + #watch signature + matches base signature + #logger signature + matches base signature + #initialize signature + matches base signature + #ignore! signature + matches base signature + #ignore signature + matches base signature + #callback signature + matches base signature + #group signature + matches base signature + #scope signature + matches base signature + #guard signature + matches base signature + #directories signature + matches base signature + plugin_names + returns encountered names + #clearing signature + matches base signature + #interactor signature + matches base signature + +Guard::Commands::Scope + with a valid Guard group scope + sets up the scope with the given scope + without scope + does not call :scope= and shows usage + with an invalid scope + does not change the scope and shows unknown scopes + with a valid Guard plugin scope + runs the :scope= action with the given scope + +Guard::Commands::Show + tells Guard to output DSL description + +Guard::Commander + .stop + turns the notifier off + stops the listener + tell the runner to run the :stop task + turns off the interactor + .reload + reloads Guard + clears the screen + .start + tell the runner to run the :start task + calls Guard setup + start the listener + displays an info message + when finished + stops everything + .run_all + with an empty scope + runs all + with a given scope + runs all with the scope + .show + shows list of plugins + .pause + when unpaused + with :unpaused + does nothing + with :paused + pauses + shows a message + with nil + pauses + shows a message + with invalid parameter + raises an ArgumentError + with :toggle + shows a message + pauses + when already paused + with nil + shows a message + unpauses + with :unpaused + unpauses + shows a message + with invalid parameter + raises an ArgumentError + with :toggle + shows a message + unpauses + with :paused + does nothing Pending: (Failures listed here are expected and do not affect your suite's status) @@ -2430,22 +2464,22 @@ # Temporarily skipped with xcontext # ./spec/lib/guard/plugin_util_spec.rb:235 - 4) Guard::PluginUtil.plugin_names returns the list of guard gems + 4) Guard::PluginUtil.plugin_names ignores guard-compat # Temporarily skipped with xdescribe - # ./spec/lib/guard/plugin_util_spec.rb:42 + # ./spec/lib/guard/plugin_util_spec.rb:50 - 5) Guard::PluginUtil.plugin_names ignores guard-compat + 5) Guard::PluginUtil.plugin_names returns the list of guard gems # Temporarily skipped with xdescribe - # ./spec/lib/guard/plugin_util_spec.rb:50 + # ./spec/lib/guard/plugin_util_spec.rb:42 6) Guard::PluginUtil.plugin_names returns the list of embedded guard gems # Temporarily skipped with xdescribe # ./spec/lib/guard/plugin_util_spec.rb:46 -Finished in 21.25 seconds (files took 0.91129 seconds to load) +Finished in 21.22 seconds (files took 0.89052 seconds to load) 619 examples, 0 failures, 6 pending -Randomized with seed 2567 +Randomized with seed 10829 ┌──────────────────────────────────────────────────────────────────────────────┐ @@ -2478,12 +2512,14 @@ dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) I: copying local configuration +I: user script /srv/workspace/pbuilder/42812/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/42812/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/49127 and its subdirectories -I: Current time: Sat Aug 13 09:06:32 -12 2022 -I: pbuilder-time-stamp: 1660424792 +I: removing directory /srv/workspace/pbuilder/42812 and its subdirectories +I: Current time: Mon Jul 12 04:44:48 +14 2021 +I: pbuilder-time-stamp: 1626014688