Diff of the two buildlogs: -- --- b1/build.log 2023-05-08 17:33:23.309367106 +0000 +++ b2/build.log 2023-05-08 17:36:12.349973748 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Mon May 8 05:20:20 -12 2023 -I: pbuilder-time-stamp: 1683566420 +I: Current time: Tue May 9 07:33:31 +14 2023 +I: pbuilder-time-stamp: 1683567211 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bookworm-reproducible-base.tgz] I: copying local configuration @@ -16,7 +16,7 @@ I: copying [./ruby-guard_2.18.0.orig.tar.gz] I: copying [./ruby-guard_2.18.0-3.debian.tar.xz] I: Extracting source -gpgv: Signature made Tue Dec 27 15:23:35 2022 -12 +gpgv: Signature made Wed Dec 28 17:23:35 2022 +14 gpgv: using RSA key 0B29D88E42E6B765B8D8EA507839619DD439668E gpgv: Can't check signature: No public key dpkg-source: warning: cannot verify inline signature for ./ruby-guard_2.18.0-3.dsc: no acceptable signature found @@ -32,135 +32,167 @@ dpkg-source: info: applying fix-ftbfs-with-rspec-mock-3.12-and-ruby-3+.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/6248/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/22765/tmp/hooks/D01_modify_environment starting +debug: Running on jtx1a. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 May 9 07:34 /bin/sh -> /bin/bash +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/22765/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/22765/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='armhf' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=3' - DISTRIBUTION='bookworm' - HOME='/root' - HOST_ARCH='armhf' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="15" [3]="1" [4]="release" [5]="arm-unknown-linux-gnueabihf") + BASH_VERSION='5.2.15(1)-release' + BUILDDIR=/build + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=armhf + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=4' + DIRSTACK=() + DISTRIBUTION=bookworm + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=arm + HOST_ARCH=armhf IFS=' ' - INVOCATION_ID='1531224a551f498881ea8b96005f7d97' - 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='6248' - PS1='# ' - PS2='> ' + INVOCATION_ID=5692307596cd43abb5d397d87d36ea82 + LANG=C + LANGUAGE=it_CH:it + LC_ALL=C + MACHTYPE=arm-unknown-linux-gnueabihf + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnueabihf + 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=22765 PS4='+ ' - PWD='/' - SHELL='/bin/bash' - SHLVL='2' - SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.yR3iLx8H/pbuilderrc_ow1a --distribution bookworm --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.yR3iLx8H/b1 --logfile b1/build.log ruby-guard_2.18.0-3.dsc' - SUDO_GID='113' - SUDO_UID='107' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://10.0.0.15:3142/' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.yR3iLx8H/pbuilderrc_EeUP --distribution bookworm --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.yR3iLx8H/b2 --logfile b2/build.log --extrapackages usrmerge ruby-guard_2.18.0-3.dsc' + SUDO_GID=114 + SUDO_UID=108 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://10.0.0.15:3142/ I: uname -a - Linux cbxi4a 5.10.0-22-armmp #1 SMP Debian 5.10.178-3 (2023-04-22) armv7l GNU/Linux + Linux i-capture-the-hostname 5.10.0-22-arm64 #1 SMP Debian 5.10.178-3 (2023-04-22) aarch64 GNU/Linux I: ls -l /bin total 5072 - -rwxr-xr-x 1 root root 838488 Apr 23 09:24 bash - -rwxr-xr-x 3 root root 67144 Sep 18 2022 bunzip2 - -rwxr-xr-x 3 root root 67144 Sep 18 2022 bzcat - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzcmp -> bzdiff - -rwxr-xr-x 1 root root 2225 Sep 18 2022 bzdiff - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzegrep -> bzgrep - -rwxr-xr-x 1 root root 4893 Nov 27 2021 bzexe - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzfgrep -> bzgrep - -rwxr-xr-x 1 root root 3775 Sep 18 2022 bzgrep - -rwxr-xr-x 3 root root 67144 Sep 18 2022 bzip2 - -rwxr-xr-x 1 root root 67112 Sep 18 2022 bzip2recover - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzless -> bzmore - -rwxr-xr-x 1 root root 1297 Sep 18 2022 bzmore - -rwxr-xr-x 1 root root 67632 Sep 20 2022 cat - -rwxr-xr-x 1 root root 67676 Sep 20 2022 chgrp - -rwxr-xr-x 1 root root 67644 Sep 20 2022 chmod - -rwxr-xr-x 1 root root 67684 Sep 20 2022 chown - -rwxr-xr-x 1 root root 133532 Sep 20 2022 cp - -rwxr-xr-x 1 root root 132868 Jan 5 01:20 dash - -rwxr-xr-x 1 root root 133220 Sep 20 2022 date - -rwxr-xr-x 1 root root 67732 Sep 20 2022 dd - -rwxr-xr-x 1 root root 68104 Sep 20 2022 df - -rwxr-xr-x 1 root root 133632 Sep 20 2022 dir - -rwxr-xr-x 1 root root 59128 Mar 22 21:02 dmesg - lrwxrwxrwx 1 root root 8 Dec 19 01:33 dnsdomainname -> hostname - lrwxrwxrwx 1 root root 8 Dec 19 01:33 domainname -> hostname - -rwxr-xr-x 1 root root 67560 Sep 20 2022 echo - -rwxr-xr-x 1 root root 41 Jan 24 02:43 egrep - -rwxr-xr-x 1 root root 67548 Sep 20 2022 false - -rwxr-xr-x 1 root root 41 Jan 24 02:43 fgrep - -rwxr-xr-x 1 root root 55748 Mar 22 21:02 findmnt - -rwsr-xr-x 1 root root 26208 Mar 22 20:15 fusermount - -rwxr-xr-x 1 root root 128608 Jan 24 02:43 grep - -rwxr-xr-x 2 root root 2346 Apr 9 2022 gunzip - -rwxr-xr-x 1 root root 6447 Apr 9 2022 gzexe - -rwxr-xr-x 1 root root 64220 Apr 9 2022 gzip - -rwxr-xr-x 1 root root 67032 Dec 19 01:33 hostname - -rwxr-xr-x 1 root root 67720 Sep 20 2022 ln - -rwxr-xr-x 1 root root 35132 Mar 22 21:51 login - -rwxr-xr-x 1 root root 133632 Sep 20 2022 ls - -rwxr-xr-x 1 root root 136808 Mar 22 21:02 lsblk - -rwxr-xr-x 1 root root 67800 Sep 20 2022 mkdir - -rwxr-xr-x 1 root root 67764 Sep 20 2022 mknod - -rwxr-xr-x 1 root root 67596 Sep 20 2022 mktemp - -rwxr-xr-x 1 root root 38504 Mar 22 21:02 more - -rwsr-xr-x 1 root root 38496 Mar 22 21:02 mount - -rwxr-xr-x 1 root root 9824 Mar 22 21:02 mountpoint - -rwxr-xr-x 1 root root 133532 Sep 20 2022 mv - lrwxrwxrwx 1 root root 8 Dec 19 01:33 nisdomainname -> hostname - lrwxrwxrwx 1 root root 14 Apr 2 18:25 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 67608 Sep 20 2022 pwd - lrwxrwxrwx 1 root root 4 Apr 23 09:24 rbash -> bash - -rwxr-xr-x 1 root root 67600 Sep 20 2022 readlink - -rwxr-xr-x 1 root root 67672 Sep 20 2022 rm - -rwxr-xr-x 1 root root 67600 Sep 20 2022 rmdir - -rwxr-xr-x 1 root root 67400 Nov 2 2022 run-parts - -rwxr-xr-x 1 root root 133372 Jan 5 07:55 sed - lrwxrwxrwx 1 root root 4 Jan 5 01:20 sh -> dash - -rwxr-xr-x 1 root root 67584 Sep 20 2022 sleep - -rwxr-xr-x 1 root root 67644 Sep 20 2022 stty - -rwsr-xr-x 1 root root 50800 Mar 22 21:02 su - -rwxr-xr-x 1 root root 67584 Sep 20 2022 sync - -rwxr-xr-x 1 root root 336764 Apr 6 02:25 tar - -rwxr-xr-x 1 root root 67144 Nov 2 2022 tempfile - -rwxr-xr-x 1 root root 133224 Sep 20 2022 touch - -rwxr-xr-x 1 root root 67548 Sep 20 2022 true - -rwxr-xr-x 1 root root 9768 Mar 22 20:15 ulockmgr_server - -rwsr-xr-x 1 root root 22108 Mar 22 21:02 umount - -rwxr-xr-x 1 root root 67572 Sep 20 2022 uname - -rwxr-xr-x 2 root root 2346 Apr 9 2022 uncompress - -rwxr-xr-x 1 root root 133632 Sep 20 2022 vdir - -rwxr-xr-x 1 root root 42608 Mar 22 21:02 wdctl - lrwxrwxrwx 1 root root 8 Dec 19 01:33 ypdomainname -> hostname - -rwxr-xr-x 1 root root 1984 Apr 9 2022 zcat - -rwxr-xr-x 1 root root 1678 Apr 9 2022 zcmp - -rwxr-xr-x 1 root root 6460 Apr 9 2022 zdiff - -rwxr-xr-x 1 root root 29 Apr 9 2022 zegrep - -rwxr-xr-x 1 root root 29 Apr 9 2022 zfgrep - -rwxr-xr-x 1 root root 2081 Apr 9 2022 zforce - -rwxr-xr-x 1 root root 8103 Apr 9 2022 zgrep - -rwxr-xr-x 1 root root 2206 Apr 9 2022 zless - -rwxr-xr-x 1 root root 1842 Apr 9 2022 zmore - -rwxr-xr-x 1 root root 4577 Apr 9 2022 znew -I: user script /srv/workspace/pbuilder/6248/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 838488 Apr 24 11:24 bash + -rwxr-xr-x 3 root root 67144 Sep 19 2022 bunzip2 + -rwxr-xr-x 3 root root 67144 Sep 19 2022 bzcat + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzcmp -> bzdiff + -rwxr-xr-x 1 root root 2225 Sep 19 2022 bzdiff + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzegrep -> bzgrep + -rwxr-xr-x 1 root root 4893 Nov 28 2021 bzexe + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzfgrep -> bzgrep + -rwxr-xr-x 1 root root 3775 Sep 19 2022 bzgrep + -rwxr-xr-x 3 root root 67144 Sep 19 2022 bzip2 + -rwxr-xr-x 1 root root 67112 Sep 19 2022 bzip2recover + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzless -> bzmore + -rwxr-xr-x 1 root root 1297 Sep 19 2022 bzmore + -rwxr-xr-x 1 root root 67632 Sep 21 2022 cat + -rwxr-xr-x 1 root root 67676 Sep 21 2022 chgrp + -rwxr-xr-x 1 root root 67644 Sep 21 2022 chmod + -rwxr-xr-x 1 root root 67684 Sep 21 2022 chown + -rwxr-xr-x 1 root root 133532 Sep 21 2022 cp + -rwxr-xr-x 1 root root 132868 Jan 6 03:20 dash + -rwxr-xr-x 1 root root 133220 Sep 21 2022 date + -rwxr-xr-x 1 root root 67732 Sep 21 2022 dd + -rwxr-xr-x 1 root root 68104 Sep 21 2022 df + -rwxr-xr-x 1 root root 133632 Sep 21 2022 dir + -rwxr-xr-x 1 root root 59128 Mar 23 23:02 dmesg + lrwxrwxrwx 1 root root 8 Dec 20 03:33 dnsdomainname -> hostname + lrwxrwxrwx 1 root root 8 Dec 20 03:33 domainname -> hostname + -rwxr-xr-x 1 root root 67560 Sep 21 2022 echo + -rwxr-xr-x 1 root root 41 Jan 25 04:43 egrep + -rwxr-xr-x 1 root root 67548 Sep 21 2022 false + -rwxr-xr-x 1 root root 41 Jan 25 04:43 fgrep + -rwxr-xr-x 1 root root 55748 Mar 23 23:02 findmnt + -rwsr-xr-x 1 root root 26208 Mar 23 22:15 fusermount + -rwxr-xr-x 1 root root 128608 Jan 25 04:43 grep + -rwxr-xr-x 2 root root 2346 Apr 10 2022 gunzip + -rwxr-xr-x 1 root root 6447 Apr 10 2022 gzexe + -rwxr-xr-x 1 root root 64220 Apr 10 2022 gzip + -rwxr-xr-x 1 root root 67032 Dec 20 03:33 hostname + -rwxr-xr-x 1 root root 67720 Sep 21 2022 ln + -rwxr-xr-x 1 root root 35132 Mar 23 23:51 login + -rwxr-xr-x 1 root root 133632 Sep 21 2022 ls + -rwxr-xr-x 1 root root 136808 Mar 23 23:02 lsblk + -rwxr-xr-x 1 root root 67800 Sep 21 2022 mkdir + -rwxr-xr-x 1 root root 67764 Sep 21 2022 mknod + -rwxr-xr-x 1 root root 67596 Sep 21 2022 mktemp + -rwxr-xr-x 1 root root 38504 Mar 23 23:02 more + -rwsr-xr-x 1 root root 38496 Mar 23 23:02 mount + -rwxr-xr-x 1 root root 9824 Mar 23 23:02 mountpoint + -rwxr-xr-x 1 root root 133532 Sep 21 2022 mv + lrwxrwxrwx 1 root root 8 Dec 20 03:33 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Apr 3 20:25 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 67608 Sep 21 2022 pwd + lrwxrwxrwx 1 root root 4 Apr 24 11:24 rbash -> bash + -rwxr-xr-x 1 root root 67600 Sep 21 2022 readlink + -rwxr-xr-x 1 root root 67672 Sep 21 2022 rm + -rwxr-xr-x 1 root root 67600 Sep 21 2022 rmdir + -rwxr-xr-x 1 root root 67400 Nov 3 2022 run-parts + -rwxr-xr-x 1 root root 133372 Jan 6 09:55 sed + lrwxrwxrwx 1 root root 9 May 9 07:34 sh -> /bin/bash + -rwxr-xr-x 1 root root 67584 Sep 21 2022 sleep + -rwxr-xr-x 1 root root 67644 Sep 21 2022 stty + -rwsr-xr-x 1 root root 50800 Mar 23 23:02 su + -rwxr-xr-x 1 root root 67584 Sep 21 2022 sync + -rwxr-xr-x 1 root root 336764 Apr 7 04:25 tar + -rwxr-xr-x 1 root root 67144 Nov 3 2022 tempfile + -rwxr-xr-x 1 root root 133224 Sep 21 2022 touch + -rwxr-xr-x 1 root root 67548 Sep 21 2022 true + -rwxr-xr-x 1 root root 9768 Mar 23 22:15 ulockmgr_server + -rwsr-xr-x 1 root root 22108 Mar 23 23:02 umount + -rwxr-xr-x 1 root root 67572 Sep 21 2022 uname + -rwxr-xr-x 2 root root 2346 Apr 10 2022 uncompress + -rwxr-xr-x 1 root root 133632 Sep 21 2022 vdir + -rwxr-xr-x 1 root root 42608 Mar 23 23:02 wdctl + lrwxrwxrwx 1 root root 8 Dec 20 03:33 ypdomainname -> hostname + -rwxr-xr-x 1 root root 1984 Apr 10 2022 zcat + -rwxr-xr-x 1 root root 1678 Apr 10 2022 zcmp + -rwxr-xr-x 1 root root 6460 Apr 10 2022 zdiff + -rwxr-xr-x 1 root root 29 Apr 10 2022 zegrep + -rwxr-xr-x 1 root root 29 Apr 10 2022 zfgrep + -rwxr-xr-x 1 root root 2081 Apr 10 2022 zforce + -rwxr-xr-x 1 root root 8103 Apr 10 2022 zgrep + -rwxr-xr-x 1 root root 2206 Apr 10 2022 zless + -rwxr-xr-x 1 root root 1842 Apr 10 2022 zmore + -rwxr-xr-x 1 root root 4577 Apr 10 2022 znew +I: user script /srv/workspace/pbuilder/22765/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -363,7 +395,7 @@ Get: 141 http://deb.debian.org/debian bookworm/main armhf ruby-rspec-mocks all 3.12.0c0e1m1s0-1 [79.5 kB] Get: 142 http://deb.debian.org/debian bookworm/main armhf ruby-rspec all 3.12.0c0e1m1s0-1 [5084 B] Get: 143 http://deb.debian.org/debian bookworm/main armhf ruby-thor all 1.2.1-2 [46.4 kB] -Fetched 45.2 MB in 9s (4841 kB/s) +Fetched 45.2 MB in 4s (10.1 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libpython3.11-minimal:armhf. (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 ... 19329 files and directories currently installed.) @@ -958,8 +990,19 @@ Writing extended state information... Building tag database... -> Finished parsing the build-deps +Reading package lists... +Building dependency tree... +Reading state information... +usrmerge is already the newest version (35). +0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/ruby-guard-2.18.0/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../ruby-guard_2.18.0-3_source.changes +I: user script /srv/workspace/pbuilder/22765/tmp/hooks/A99_set_merged_usr starting +Re-configuring usrmerge... +removed '/etc/unsupported-skip-usrmerge-conversion' +The system has been successfully converted. +I: user script /srv/workspace/pbuilder/22765/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/ruby-guard-2.18.0/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../ruby-guard_2.18.0-3_source.changes dpkg-buildpackage: info: source package ruby-guard dpkg-buildpackage: info: source version 2.18.0-3 dpkg-buildpackage: info: source distribution unstable @@ -1087,54 +1130,60 @@ All examples were filtered out; ignoring {:focus=>true} -Randomized with seed 5307 +Randomized with seed 60849 -Guard::Internals::Traps - .handle - with an unsupported signal name - does not set a handler - with a supported signal name - sets up a handler +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 empty array when no plugin is found + returns an array of plugins if plugins are 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 + with no arguments + returns all plugins + 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 matching a regexp + 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 string + returns an array of plugins if plugins are found + #remove + removes given plugin -Guard::Commands::Reload - with a valid Guard group scope - triggers the :reload action with the given scope - without scope - triggers the :reload action - with an invalid scope - does not trigger the action - with a valid Guard plugin scope - triggers the :reload action with the given scope +Guard::Watcher::Pattern::DeprecatedRegexp + .deprecated? + is expected to be deprecated + is expected to be deprecated + Matcher returned by .convert + 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) + with foo.rb$ + creates a Matcher with (?-mix:foo.rb$) Guard::Internals::Session #guardfile_ignore_bang= - when unset - is expected to eq [] when set from guardfile is expected to eq [/foo/] - #guardfile_notification= - when set multiple times from guardfile - merges results when unset - is expected to eq {:notifiers=>{}, :notify=>true} - when set from guardfile - is expected to eq {:notifiers=>{:foo=>{:bar=>:baz}}, :notify=>true} - .convert_scope - returns a group scope - returns multiple group scopes - returns a plugin scope - returns a plugin and group scope - returns multiple plugin scopes - returns the unkown scopes + is expected to eq [] #guardfile_scope - with a plugins scope - sets the plugins + with a groups scope + sets the groups with a plugin scope sets the plugins + with a plugins scope + sets the plugins with a group scope sets the groups - with a groups scope - sets the groups #clearing when not set when clearing is not set from commandline @@ -1142,594 +1191,74 @@ when clearing is set from commandline is expected not to be clearing when set from guardfile - when set to :on - is expected to be clearing when set to :off is expected not to be clearing - #guardfile_ignore= - when unset - is expected to eq [] + when set to :on + is expected to be clearing + #guardfile_notification= when set multiple times from guardfile - is expected to eq [/foo/, /bar/] + merges results when set from guardfile - is expected to eq [/foo/] + is expected to eq {:notifiers=>{:foo=>{:bar=>:baz}}, :notify=>true} + when unset + is expected to eq {:notifiers=>{}, :notify=>true} #initialize - with the plugin option - initializes the plugin scope - with the group option - initializes the group scope #listener_args + with multiple watchdirs + is expected to eq [:to, "/usr", "/bin", {}] with a single watchdir is expected to eq [:to, "/usr", {}] with latency option is expected to eq [:to, "/build/ruby-guard-2.18.0", {:latency=>1.5}] - with multiple watchdirs - is expected to eq [:to, "/usr", "/bin", {}] with force_polling option is expected to eq [:to, "/build/ruby-guard-2.18.0", {:force_polling=>true}] - -Guard::Cli::Environments::Bundler - #verify - with an existing Gemfile - without Bundler - without Rubygems Gemfile handling - shows the Bundler warning - with Rubygems Gemfile autodetection or custom Gemfile - does not show the Bundler warning - with Bundler - does not show the Bundler warning - without an existing Gemfile - does not show the Bundler warning - -Guard::Internals::Tracing - Module method tracing - when tracing - with command arguments - when #system - is expected to eq true - outputs command arguments - with no command arguments - when backticks - is expected to eq "" - outputs command - when #system - is expected to eq true - outputs command - when not tracing - with no command arguments - when #system - does not output anything - is expected to eq true - when backticks - is expected to eq "" - does not output anything - with command arguments - when #system - is expected to eq true - does not output anything - -Guard::Internals::Scope - #titles - example at ./spec/lib/guard/internals/scope_spec.rb:93 (PENDING: Not yet implemented) - #to_hash - :group - when set from interactor - uses interactor scope - when not set in interactor - when set in commandline - uses commandline scope - when not set in commandline - when set in Guardfile - uses guardfile scope - :plugin - when not set in interactor - when set in commandline - uses commandline scope - when not set in commandline - when set in Guardfile - uses guardfile scope - when set from interactor - uses interactor scope - -Guard::Commands::Scope - 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 - with an invalid scope - does not change the scope and shows unknown scopes - -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 - .setup - displays an error message when no guard are defined in Guardfile - initializes the interactor - connects to the notifier - initializes the listener - returns itself for chaining - evaluates the Guardfile - trapping signals - sets up USR2 trap for unpausing - sets up USR1 trap for pausing - sets up INT trap for cancelling or quitting interactor - .interactor - with interactions enabled - is expected to have received new(false) 1 time - with interactions disabled - is expected to have received new(true) 1 time with the plugin option - passes options to session - UI - when clearing is configured - is expected to have received reset_and_clear(*(any args)) 1 time + initializes the plugin scope with the group option - passes options to session - listener - without ignores - is expected not to have received ignore(*(any args)) 0 times - is expected not to have received ignore!(*(any args)) 0 times - with ignores 'ignore(/foo/)' and 'ignore!(/bar/)' - is expected to have received ignore([/foo/]) 1 time - is expected to have received ignore!([/bar/]) 1 time - #relevant_changes? - example at ./spec/lib/guard_spec.rb:247 (PENDING: Not yet implemented) - ._relative_pathname - with file in parent directory - is expected to eq # - with file on another drive (e.g. Windows) - is expected to eq # - with file in project directory - is expected to eq # - with file within project - is expected to eq # - -Guard::Jobs::PryWrapper - #background -  kills the Pry thread - #_prompt(ending_char) - Guard is using Pry < 0.13 - displays 'guard' - does not call Pry::Prompt.new - Guard is using Pry >= 0.13 - calls Pry::Prompt.new - with a plugins scope - displays the group scope title in the prompt - Guard is not paused - displays 'guard' - Guard is paused - displays 'pause' - with a groups scope - displays the group scope title in the prompt - #foreground -  prevents the Pry thread from being killed too quickly -  waits for Pry thread to finish -  return :stopped when brought into background - #_setup - Guard is using Pry < 0.13 - calls Pry.config.history.file= - Guard is using Pry >= 0.13 - calls Pry.config.history_file= - -Guard::Deprecated::Guard - .plugins - show deprecation warning - provides a similar implementation - evaluate_guardfile - evaluates the guardfile - show deprecation warning - .add_group - show deprecation warning - adds a group - .add_guard - delegates to Guard.plugins - displays a deprecation warning to the user - .plugin - show deprecation warning - provides a similar implementation - .group - provides a similar implementation - show deprecation warning - .running - show deprecation warning - .get_guard_class - displays a deprecation warning to the user - delegates to Guard::PluginUtil - :fail_gracefully - pass it to get_guard_class - evaluator - show deprecation warning - .scope - provides a similar implementation - show deprecation warning - reset_evaluator - show deprecation warning - .guards - delegates to Plugins - displays a deprecation warning to the user - .scope= - show deprecation warning - provides a similar implementation - .add_plugin - show deprecation warning - adds a plugin - .listener= - show deprecation warning - provides and alternative implementation - .locate_guard - delegates to Guard::PluginUtil - 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 - show deprecation warning - .guard_gem_names - displays a deprecation warning to the user - delegates to Guard::PluginUtil - -Guard::Plugin - #hook - notifies the hooks - passes the hooks name - accepts extra arguments - .add_callback - can add a run_on_modifications callback - can add multiple callbacks - .notify - sends :call to the given Guard class's start_begin callback - runs callbacks only for the guard given - sends :call to the given Guard class's start_begin callback - runs only the given callbacks - with a plugin instance - .non_namespaced_name - remove the Guard:: namespace and downcase - #name - outputs the short plugin name - #title - outputs the plugin title - #to_s - output the short plugin name - .template - reads the default template - .non_namespaced_classname - remove the Guard:: namespace - #initialize - assigns the defined watchers - assigns the defined options - with a group in the options - assigns the given group - with a callback - adds the callback - without a group in the options - assigns a default group - -Guard::Config - is expected to respond to #silence_deprecations? - is expected to respond to #strict? - .strict? - when GUARD_STRICT is set to a 'true' value - is expected to be strict - when GUARD_STRICT is set to a 'false' value - is expected not to be strict - -Guard::Guardfile::Evaluator - #inline? - when no content is provided - is expected not to be inline - when contents is provided - is expected to be inline - when guardfile_contents is provided - is expected to 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 - when provided :contents is nil - does not raise error and skip it - with Guardfile as guardfile.rb - evalutates guardfile.rb - with no Guardfile at all - displays an error message and exits - with empty Guardfile content - displays an error message about no plugins - with a problem reading a Guardfile -/build/ruby-guard-2.18.0/spec/lib/guard/guardfile/evaluator_spec.rb:73:in `block (6 levels) in ': Permission denied - permission error (Errno::EACCES) - from /build/ruby-guard-2.18.0/spec/spec_helper.rb:91:in `block in stub_file' - from /usr/share/rubygems-integration/all/gems/rspec-mocks-3.12.1/lib/rspec/mocks/message_expectation.rb:761:in `block in call' - from /usr/share/rubygems-integration/all/gems/rspec-mocks-3.12.1/lib/rspec/mocks/message_expectation.rb:760:in `map' - from /usr/share/rubygems-integration/all/gems/rspec-mocks-3.12.1/lib/rspec/mocks/message_expectation.rb:760:in `call' - from /usr/share/rubygems-integration/all/gems/rspec-mocks-3.12.1/lib/rspec/mocks/message_expectation.rb:621:in `invoke_incrementing_actual_calls_by' - from /usr/share/rubygems-integration/all/gems/rspec-mocks-3.12.1/lib/rspec/mocks/message_expectation.rb:474:in `invoke' - from /usr/share/rubygems-integration/all/gems/rspec-mocks-3.12.1/lib/rspec/mocks/proxy.rb:208:in `message_received' - from /usr/share/rubygems-integration/all/gems/rspec-mocks-3.12.1/lib/rspec/mocks/method_double.rb:91:in `proxy_method_invoked' - from /usr/share/rubygems-integration/all/gems/rspec-mocks-3.12.1/lib/rspec/mocks/verifying_proxy.rb:161:in `proxy_method_invoked' - from /usr/share/rubygems-integration/all/gems/rspec-mocks-3.12.1/lib/rspec/mocks/method_double.rb:67:in `block (2 levels) in define_proxy_method' - from /build/ruby-guard-2.18.0/lib/guard/guardfile/evaluator.rb:202:in `_read' - from /build/ruby-guard-2.18.0/lib/guard/guardfile/evaluator.rb:189:in `block in _use_default!' - from /build/ruby-guard-2.18.0/lib/guard/guardfile/evaluator.rb:187:in `each' - from /build/ruby-guard-2.18.0/lib/guard/guardfile/evaluator.rb:187:in `_use_default!' - from /build/ruby-guard-2.18.0/lib/guard/guardfile/evaluator.rb:90:in `evaluate' - from /build/ruby-guard-2.18.0/spec/lib/guard/guardfile/evaluator_spec.rb:79:in `block (6 levels) in ' - from /usr/share/rubygems-integration/all/gems/rspec-expectations-3.12.1/lib/rspec/matchers/built_in/raise_error.rb:59:in `matches?' - from /usr/share/rubygems-integration/all/gems/rspec-expectations-3.12.1/lib/rspec/expectations/handler.rb:51:in `block in handle_matcher' - from /usr/share/rubygems-integration/all/gems/rspec-expectations-3.12.1/lib/rspec/expectations/handler.rb:27:in `with_matcher' - from /usr/share/rubygems-integration/all/gems/rspec-expectations-3.12.1/lib/rspec/expectations/handler.rb:48:in `handle_matcher' - from /usr/share/rubygems-integration/all/gems/rspec-expectations-3.12.1/lib/rspec/expectations/expectation_target.rb:65:in `to' - from /usr/share/rubygems-integration/all/gems/rspec-expectations-3.12.1/lib/rspec/expectations/expectation_target.rb:139:in `to' - from /build/ruby-guard-2.18.0/spec/lib/guard/guardfile/evaluator_spec.rb:79:in `block (5 levels) in ' - from /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib/rspec/core/example.rb:263:in `instance_exec' - from /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib/rspec/core/example.rb:263:in `block in run' - from /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib/rspec/core/example.rb:511:in `block in with_around_and_singleton_context_hooks' - from /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib/rspec/core/example.rb:468:in `block in with_around_example_hooks' - from /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib/rspec/core/hooks.rb:486:in `block in run' - from /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib/rspec/core/hooks.rb:624:in `run_around_example_hooks_for' - from /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib/rspec/core/hooks.rb:486:in `run' - from /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib/rspec/core/example.rb:468:in `with_around_example_hooks' - from /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib/rspec/core/example.rb:511:in `with_around_and_singleton_context_hooks' - from /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib/rspec/core/example.rb:259:in `run' - from /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib/rspec/core/example_group.rb:646:in `block in run_examples' - from /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib/rspec/core/example_group.rb:642:in `map' - from /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib/rspec/core/example_group.rb:642:in `run_examples' - from /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib/rspec/core/example_group.rb:607:in `run' - from /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib/rspec/core/example_group.rb:608:in `block in run' - from /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib/rspec/core/example_group.rb:608:in `map' - from /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib/rspec/core/example_group.rb:608:in `run' - from /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib/rspec/core/example_group.rb:608:in `block in run' - from /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib/rspec/core/example_group.rb:608:in `map' - from /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib/rspec/core/example_group.rb:608:in `run' - from /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib/rspec/core/example_group.rb:608:in `block in run' - from /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib/rspec/core/example_group.rb:608:in `map' - from /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib/rspec/core/example_group.rb:608:in `run' - from /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs' - from /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib/rspec/core/runner.rb:121:in `map' - from /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs' - from /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib/rspec/core/configuration.rb:2070:in `with_suite_hooks' - from /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib/rspec/core/runner.rb:116:in `block in run_specs' - from /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib/rspec/core/reporter.rb:74:in `report' - from /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib/rspec/core/runner.rb:115:in `run_specs' - from /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib/rspec/core/runner.rb:89:in `run' - from /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib/rspec/core/runner.rb:71:in `run' - from /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib/rspec/core/runner.rb:45:in `invoke' - from /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/exe/rspec:4:in `
' - displays an error message and exits - with an invalid Guardfile - displays an error message and raises original exception - with a non-existing Guardfile given - raises error - .guardfile_include? - when plugin is not present - returns false - when plugin is present - returns true - -Guard::DslReader - notification - handles arguments without errors - #ignore! signature - matches base signature - guard - when it is a Symbol - works without errors - reports the name as a String - when it is a String - works without errors - reports the name as a String - #scope signature - matches base signature - #callback signature - matches base signature - #group signature - matches base signature - #watch signature - matches base signature - #interactor signature - matches base signature - #initialize signature - matches base signature - #directories signature - matches base signature - #logger signature - matches base signature - #guard signature - matches base signature - #notification signature - matches base signature - #ignore signature - matches base signature - plugin_names - returns encountered names - #clearing signature - matches base signature - -Guard::UI::Config - #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 - with defaults - provides a logger config - #device - when not set - when accessed as a symbol - returns $stderr - when accessed as a string - returns $stderr - when accessed as a method - returns $stderr - -Guard::Group - #name - is expected to eq :foo - when initialized from a string - is expected to eq :foo - #options - when provided - is expected to eq {:halt_on_fail=>true} - #to_s - is expected to eq "#" - #title - is expected to eq "Foo" - -Guard::Watcher::Pattern::Matcher - #match - when constructed with valid matcher object - when matched against a Pathname - passes the Pathname to the matcher - returns the match result - when matched against a String - returns the match result - passes a Pathname to the matcher - #== - returns true for equal matchers - returns false for unequal matchers - integration - #match result - when constructed with valid regexp - when matched file is an unclean Pathname - when filename matches - is expected to eq ["foo.rb"] - when filename does not match - is expected to be nil - when matched file contains a $ - is expected to eq ["foo.rb"] - when matched file is a string - when filename matches - is expected to eq ["foo.rb"] - when filename does not match - is expected to be nil - -Guard::Internals::Groups - #add - with existing groups - add the given group - add the given group with options - 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 string argument - 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 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 - -Guard::Commands::All - with a valid Guard group scope - runs the :run_all action with the given scope - with an invalid scope - does not run the action - with a valid Guard plugin scope - runs the :run_all action with the given scope - without scope - runs the :run_all action - -Guard::Watcher::Pattern - .create - when a custom matcher - is expected to be a kind of Guard::Watcher::Pattern::Matcher - when an regexp string is given - is expected to be a kind of Guard::Watcher::Pattern::Matcher - shows a warning - when a regexp is given - is expected to be a kind of Guard::Watcher::Pattern::Matcher - when a string is given - is expected to be a kind of Guard::Watcher::Pattern::SimplePath - when a Pathname is given - is expected to be a kind of Guard::Watcher::Pattern::PathnamePath + initializes the group scope + #guardfile_ignore= + when set multiple times from guardfile + is expected to eq [/foo/, /bar/] + when set from guardfile + is expected to eq [/foo/] + when unset + is expected to eq [] + .convert_scope + returns a group scope + returns multiple plugin scopes + returns a plugin and group scope + returns the unkown scopes + returns a plugin scope + returns multiple group scopes -Guard::PluginUtil - #plugin_location - returns the path of a Guard gem - .plugin_names - returns the list of embedded guard gems (PENDING: Temporarily skipped with xdescribe) - returns the list of guard gems (PENDING: Temporarily skipped with xdescribe) - ignores guard-compat (PENDING: Temporarily skipped with xdescribe) - #initialize - accepts a name without guard- - accepts a name with guard- - #add_to_guardfile - when the Guard is not in the Guardfile - appends the template to the Guardfile - when Guardfile is empty - appends the template to the Guardfile - when the Guard is already in the Guardfile - shows an info message (PENDING: Temporarily skipped with xcontext) - #initialize_plugin - with a plugin inheriting from Guard::Plugin - instantiate the plugin using the new API - #plugin_class - reports an error if the class is not found - when set to fail gracefully - does not print error messages on fail - with a name like VSpec - returns the Guard class - with a name with dashes - returns the Guard class - with a nested Guard class - resolves the Guard class from symbol - resolves the Guard class from string - with an inline Guard class - returns the Guard class - with a name with underscores - returns the Guard class +Guard::Options + .initialize + merges the sensible defaults to the given options + has indifferent access + can be passed defaults + handles nil options Guard::CLI - #version - shows the current version - #show - outputs the Guard::DslDescriber.list result - calls the evaluation - #notifiers - outputs the notifiers list - calls the evaluation #init - exits with given exit code - passes plugin names delegates to Guard::Environment.start passes options + exits with given exit code + passes plugin names + #show + calls the evaluation + outputs the Guard::DslDescriber.list result #list calls the evaluation outputs the Guard plugins list + #version + shows the current version #start - passes options delegates to Guard::Environment.start exits with given exit code + passes options + #notifiers + outputs the notifiers list + calls the evaluation Guard::Notifier toggle_notification @@ -1739,351 +1268,212 @@ when currently off resumes notifications .notify - with no options - notifies with multiple parameters notifies + with no options + notifies with a runtime error shows an error -Guard::Internals::Debugging - #start - traces Kernel.` - traces Open3.popen3 - traces Kernel.spawn - traces Kernel.system - when not started - sets logger to debug - makes threads abort on exceptions - when already started - does not set log level - #stop - when not started - does not set logger level - when already started - untraces Open3.popen3 - sets logger level to info - untraces Kernel.system - untraces Kernel.` - -Guard::Terminal - is expected to 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::Commander - .reload - reloads Guard - clears the screen - .run_all - with a given scope - runs all with the scope - with an empty scope - runs all - .show - shows list of plugins - .pause - when unpaused - with :unpaused - does nothing - with invalid parameter - raises an ArgumentError - with nil - shows a message - pauses - with :toggle - pauses - shows a message - with :paused - pauses - shows a message - when already paused - with :paused - does nothing - with :unpaused - unpauses - shows a message - with :toggle - shows a message - unpauses - with invalid parameter - raises an ArgumentError - with nil - shows a message - unpauses - .stop - stops the listener - turns off the interactor - tell the runner to run the :stop task - turns the notifier off - .start - tell the runner to run the :start task - displays an info message - calls Guard setup - start the listener - when listener.start raises an error - calls Commander#stop - when finished - stops everything - when setup raises an error - calls Commander#stop - -Guard::Deprecated::Guardfile - .create_guardfile - displays a deprecation warning to the user - delegates to Guard::Guardfile::Generator - .initialize_all_templates - 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 - -Guard::DslDescriber - .notifiers - shows the notifiers and their options - properly connects and disconnects - #list - lists the available Guards declared as strings or symbols - .show - shows the Guards and their options - Guard::UI - .warning + .debug 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 + logs the message with the given severity with the :except option - allows logging other messages prevents logging matching messages - .options= - sets the logger options + allows logging other messages + with the :only option + allows logging matching messages + prevents logging other messages .logger with no logger set yet - sets the logger device returns the logger instance - .error + sets the logger device + .warning behaves like a logger method - resets the line with the :reset option logs the message with the given severity - with the :only option - prevents logging other messages - allows logging matching messages + resets the line with the :reset option with the :except option allows logging other messages prevents logging matching messages - .level= - when logger is set up - sets the logger's config level - sets the logger's level - when logger is not set up yet - sets the logger's config level - does not autocreate the logger + with the :only option + allows logging matching messages + prevents logging other messages + .action_with_scopes + 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 groups scope + shows the group scoped action + with a plugins scope + shows the plugin scoped action .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 + clears the output only once when the command fails shows a warning - when clear option is disabled - does not clear the output + .error + behaves like a logger method + resets the line with the :reset option + logs the message with the given severity + with the :only option + prevents logging other messages + allows logging matching messages + with the :except option + allows logging other messages + prevents logging matching messages .deprecation - with GUARD_GEM_SILENCE_DEPRECATIONS set to 1 - silences deprecations with GUARD_GEM_SILENCE_DEPRECATIONS unset behaves like a logger method - resets the line with the :reset option logs the message with the given severity + resets the line with the :reset option with the :only option allows logging matching messages prevents logging other messages with the :except option - allows logging other messages prevents logging matching messages - .action_with_scopes - with a plugins scope - shows the plugin scoped action - with a groups scope - shows the group 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 - .debug + allows logging other messages + with GUARD_GEM_SILENCE_DEPRECATIONS set to 1 + silences deprecations + .level= + when logger is not set up yet + sets the logger's config level + does not autocreate the logger + when logger is set up + sets the logger's config level + sets the logger's level + .options= + sets the logger options + .info 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 prevents logging matching messages allows logging other messages - .info - 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::Dsl - #logger - options - with logger only filter from an array of symbols and string - is expected to have received options=({:only=>/rspec|cucumber/i}) 1 time - with logger template - is expected to have received options=({:template=>":message - :severity"}) 1 time - with logger except filter from a string - is expected to have received options=({:except=>/jasmine/i}) 1 time - with logger only filter from a string - is expected to have received options=({:only=>/jasmine/i}) 1 time - with a logger time format - is expected to have received options=({:time_format=>"%Y"}) 1 time - with logger level :error - is expected to have received options=({:level=>:error}) 1 time - with logger except filter from array of symbols and string - is expected to have received options=({:except=>/rspec|cucumber|jasmine/i}) 1 time - with logger level 'error' - is expected to have received options=({:level=>:error}) 1 time - with a logger only filter from a symbol - is expected to have received options=({:only=>/cucumber/i}) 1 time - with logger except filter from a symbol - is expected to have received options=({:except=>/jasmine/i}) 1 time - with invalid options - when having both the :only and :except options - removes the options - shows a warning - for the log level - does not set the invalid value - shows a warning - #group - with a valid guardfile - evaluates all groups - group named "all" - raises an error - with multiple names - adds all given groups - group named :all - raises an error - no plugins in group - displays an error - #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 - #clear - with clear :off - disables clearing the screen after every task - with clear :on - enabled clearing the screen after every task - #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 - #interactor - with interactor options - passes the options to the interactor - with interactor :off - disables the interactions with :off - #notification - with multiple notifications - adds multiple notifiers - when notification - adds a notification to the notifier - #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 - #guard - with double-quoted name - loads a guard specified as a double quoted string from the DSL - with plugins in custom and default groups - assigns plugins to correct groups - with options - passes options to plugin - with symbol for name - loads a guard specified as a symbol from the DSL - with groups - adds plugin with group info - with name as symbol in parens - adds the plugin - with single-quoted name - loads a guard specified as a quoted string from the DSL - #filter alias method - is expected to eq # - #callback - without a guard block - fails - with - creates callbacks for the guard - #ignore - with ignore regexps - adds ignored regexps to the listener - with multiple ignore calls - adds all ignored regexps to the listener - #scope - with any parameters - sets the guardfile's default scope - #filter! alias method - is expected to eq # - -Guard::Commands::Show - tells Guard to output DSL description +Guard::PluginUtil + #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_location + returns the path of a Guard gem + .plugin_names + ignores guard-compat (PENDING: Temporarily skipped with xdescribe) + returns the list of embedded guard gems (PENDING: Temporarily skipped with xdescribe) + returns the list of guard gems (PENDING: Temporarily skipped with xdescribe) + #plugin_class + reports an error if the class is not found + with an inline Guard class + returns the Guard class + with a name with dashes + returns the Guard class + with a nested Guard class + resolves the Guard class from symbol + resolves the Guard class from string + with a name with underscores + returns the Guard class + when set to fail gracefully + does not print error messages on fail + with a name like VSpec + returns the Guard class + #initialize_plugin + with a plugin inheriting from Guard::Plugin + instantiate the plugin using the new API + #initialize + accepts a name without guard- + accepts a name with guard- -Guard::Watcher::Pattern::SimplePath - #match result - when constructed with filename string - when matched file is a string - when filename matches - is expected to eq ["foo.rb"] - when filename does not match - is expected to be nil - when matched file is an unclean Pathname - when filename does not match - is expected to be nil - when filename matches - is expected to eq ["foo.rb"] +Guard::Internals::Groups + #add + with existing groups + add the given group + add the given group with options + 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 existing groups + with a symbol argument matching a group + returns an array of groups if plugins are found + with a regexp argument matching a group + returns an array of groups + with a string argument + 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 no arguments + returns all groups + with a regexp argument not matching a group + returns an empty array when no group is found + with only default groups + initializes the groups -Guard::Jobs::Sleep - #foreground - returns :stopped when put to background - sleeps +Guard::Jobs::PryWrapper + #_prompt(ending_char) + Guard is using Pry < 0.13 + does not call Pry::Prompt.new + displays 'guard' + Guard is using Pry >= 0.13 + calls Pry::Prompt.new + 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' #background - wakes up main thread +  kills the Pry thread + #foreground +  prevents the Pry thread from being killed too quickly +  return :stopped when brought into background +  waits for Pry thread to finish + #_setup + Guard is using Pry >= 0.13 + calls Pry.config.history_file= + Guard is using Pry < 0.13 + calls Pry.config.history.file= + +Guard::Watcher::Pattern::MatchResult + #[] + with a valid match + when asked for a name match via a symbol + returns the value by name + when asked for the non-first item + returns the value at given index + when asked for the first item + returns the full original value + #initialize + with valid arguments + does not fail Guard::Cli::Environments::EvaluateOnly #evaluate - initializes Guard with options calls Guard.init - evaluates the guardfile + initializes Guard with options passes options to evaluator + evaluates the guardfile when a Guard::Guardfile::Evaluator::NoPluginsError error occurs /usr/share/rubygems-integration/all/gems/rspec-mocks-3.12.1/lib/rspec/mocks/message_expectation.rb:188:in `block in and_raise': Guard::Guardfile::Evaluator::NoPluginsError error! (Guard::Guardfile::Evaluator::NoPluginsError) from /usr/share/rubygems-integration/all/gems/rspec-mocks-3.12.1/lib/rspec/mocks/message_expectation.rb:761:in `block in call' @@ -2097,14 +1487,7 @@ from /usr/share/rubygems-integration/all/gems/rspec-mocks-3.12.1/lib/rspec/mocks/verifying_proxy.rb:161:in `proxy_method_invoked' from /usr/share/rubygems-integration/all/gems/rspec-mocks-3.12.1/lib/rspec/mocks/method_double.rb:67:in `block (2 levels) in define_proxy_method' from /build/ruby-guard-2.18.0/lib/guard/cli/environments/evaluate_only.rb:21:in `evaluate' - from /build/ruby-guard-2.18.0/spec/lib/guard/cli/environments/evaluate_only_spec.rb:62:in `block (6 levels) in ' - from /usr/share/rubygems-integration/all/gems/rspec-expectations-3.12.1/lib/rspec/matchers/built_in/raise_error.rb:59:in `matches?' - from /usr/share/rubygems-integration/all/gems/rspec-expectations-3.12.1/lib/rspec/expectations/handler.rb:51:in `block in handle_matcher' - from /usr/share/rubygems-integration/all/gems/rspec-expectations-3.12.1/lib/rspec/expectations/handler.rb:27:in `with_matcher' - from /usr/share/rubygems-integration/all/gems/rspec-expectations-3.12.1/lib/rspec/expectations/handler.rb:48:in `handle_matcher' - from /usr/share/rubygems-integration/all/gems/rspec-expectations-3.12.1/lib/rspec/expectations/expectation_target.rb:65:in `to' - from /usr/share/rubygems-integration/all/gems/rspec-expectations-3.12.1/lib/rspec/expectations/expectation_target.rb:139:in `to' - from /build/ruby-guard-2.18.0/spec/lib/guard/cli/environments/evaluate_only_spec.rb:62:in `block (5 levels) in ' + from /build/ruby-guard-2.18.0/spec/lib/guard/cli/environments/evaluate_only_spec.rb:68:in `block (5 levels) in ' from /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib/rspec/core/example.rb:263:in `instance_exec' from /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib/rspec/core/example.rb:263:in `block in run' from /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib/rspec/core/example.rb:511:in `block in with_around_and_singleton_context_hooks' @@ -2136,7 +1519,7 @@ from /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib/rspec/core/runner.rb:71:in `run' from /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib/rspec/core/runner.rb:45:in `invoke' from /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/exe/rspec:4:in `
' - aborts + shows error message /usr/share/rubygems-integration/all/gems/rspec-mocks-3.12.1/lib/rspec/mocks/message_expectation.rb:188:in `block in and_raise': Guard::Guardfile::Evaluator::NoPluginsError error! (Guard::Guardfile::Evaluator::NoPluginsError) from /usr/share/rubygems-integration/all/gems/rspec-mocks-3.12.1/lib/rspec/mocks/message_expectation.rb:761:in `block in call' from /usr/share/rubygems-integration/all/gems/rspec-mocks-3.12.1/lib/rspec/mocks/message_expectation.rb:760:in `map' @@ -2149,7 +1532,14 @@ from /usr/share/rubygems-integration/all/gems/rspec-mocks-3.12.1/lib/rspec/mocks/verifying_proxy.rb:161:in `proxy_method_invoked' from /usr/share/rubygems-integration/all/gems/rspec-mocks-3.12.1/lib/rspec/mocks/method_double.rb:67:in `block (2 levels) in define_proxy_method' from /build/ruby-guard-2.18.0/lib/guard/cli/environments/evaluate_only.rb:21:in `evaluate' - from /build/ruby-guard-2.18.0/spec/lib/guard/cli/environments/evaluate_only_spec.rb:68:in `block (5 levels) in ' + from /build/ruby-guard-2.18.0/spec/lib/guard/cli/environments/evaluate_only_spec.rb:62:in `block (6 levels) in ' + from /usr/share/rubygems-integration/all/gems/rspec-expectations-3.12.1/lib/rspec/matchers/built_in/raise_error.rb:59:in `matches?' + from /usr/share/rubygems-integration/all/gems/rspec-expectations-3.12.1/lib/rspec/expectations/handler.rb:51:in `block in handle_matcher' + from /usr/share/rubygems-integration/all/gems/rspec-expectations-3.12.1/lib/rspec/expectations/handler.rb:27:in `with_matcher' + from /usr/share/rubygems-integration/all/gems/rspec-expectations-3.12.1/lib/rspec/expectations/handler.rb:48:in `handle_matcher' + from /usr/share/rubygems-integration/all/gems/rspec-expectations-3.12.1/lib/rspec/expectations/expectation_target.rb:65:in `to' + from /usr/share/rubygems-integration/all/gems/rspec-expectations-3.12.1/lib/rspec/expectations/expectation_target.rb:139:in `to' + from /build/ruby-guard-2.18.0/spec/lib/guard/cli/environments/evaluate_only_spec.rb:62:in `block (5 levels) in ' from /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib/rspec/core/example.rb:263:in `instance_exec' from /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib/rspec/core/example.rb:263:in `block in run' from /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib/rspec/core/example.rb:511:in `block in with_around_and_singleton_context_hooks' @@ -2181,9 +1571,9 @@ from /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib/rspec/core/runner.rb:71:in `run' from /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib/rspec/core/runner.rb:45:in `invoke' from /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/exe/rspec:4:in `
' - shows error message - when a Guard::Guardfile::Evaluator::NoCustomGuardfile error occurs -/usr/share/rubygems-integration/all/gems/rspec-mocks-3.12.1/lib/rspec/mocks/message_expectation.rb:188:in `block in and_raise': Guard::Guardfile::Evaluator::NoCustomGuardfile error! (Guard::Guardfile::Evaluator::NoCustomGuardfile) + aborts + when a Guard::Guardfile::Evaluator::NoGuardfileError error occurs +/usr/share/rubygems-integration/all/gems/rspec-mocks-3.12.1/lib/rspec/mocks/message_expectation.rb:188:in `block in and_raise': Guard::Guardfile::Evaluator::NoGuardfileError error! (Guard::Guardfile::Evaluator::NoGuardfileError) from /usr/share/rubygems-integration/all/gems/rspec-mocks-3.12.1/lib/rspec/mocks/message_expectation.rb:761:in `block in call' from /usr/share/rubygems-integration/all/gems/rspec-mocks-3.12.1/lib/rspec/mocks/message_expectation.rb:760:in `map' from /usr/share/rubygems-integration/all/gems/rspec-mocks-3.12.1/lib/rspec/mocks/message_expectation.rb:760:in `call' @@ -2195,14 +1585,7 @@ from /usr/share/rubygems-integration/all/gems/rspec-mocks-3.12.1/lib/rspec/mocks/verifying_proxy.rb:161:in `proxy_method_invoked' from /usr/share/rubygems-integration/all/gems/rspec-mocks-3.12.1/lib/rspec/mocks/method_double.rb:67:in `block (2 levels) in define_proxy_method' from /build/ruby-guard-2.18.0/lib/guard/cli/environments/evaluate_only.rb:21:in `evaluate' - from /build/ruby-guard-2.18.0/spec/lib/guard/cli/environments/evaluate_only_spec.rb:62:in `block (6 levels) in ' - from /usr/share/rubygems-integration/all/gems/rspec-expectations-3.12.1/lib/rspec/matchers/built_in/raise_error.rb:59:in `matches?' - from /usr/share/rubygems-integration/all/gems/rspec-expectations-3.12.1/lib/rspec/expectations/handler.rb:51:in `block in handle_matcher' - from /usr/share/rubygems-integration/all/gems/rspec-expectations-3.12.1/lib/rspec/expectations/handler.rb:27:in `with_matcher' - from /usr/share/rubygems-integration/all/gems/rspec-expectations-3.12.1/lib/rspec/expectations/handler.rb:48:in `handle_matcher' - from /usr/share/rubygems-integration/all/gems/rspec-expectations-3.12.1/lib/rspec/expectations/expectation_target.rb:65:in `to' - from /usr/share/rubygems-integration/all/gems/rspec-expectations-3.12.1/lib/rspec/expectations/expectation_target.rb:139:in `to' - from /build/ruby-guard-2.18.0/spec/lib/guard/cli/environments/evaluate_only_spec.rb:62:in `block (5 levels) in ' + from /build/ruby-guard-2.18.0/spec/lib/guard/cli/environments/evaluate_only_spec.rb:68:in `block (5 levels) in ' from /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib/rspec/core/example.rb:263:in `instance_exec' from /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib/rspec/core/example.rb:263:in `block in run' from /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib/rspec/core/example.rb:511:in `block in with_around_and_singleton_context_hooks' @@ -2234,8 +1617,8 @@ from /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib/rspec/core/runner.rb:71:in `run' from /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib/rspec/core/runner.rb:45:in `invoke' from /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/exe/rspec:4:in `
' - aborts -/usr/share/rubygems-integration/all/gems/rspec-mocks-3.12.1/lib/rspec/mocks/message_expectation.rb:188:in `block in and_raise': Guard::Guardfile::Evaluator::NoCustomGuardfile error! (Guard::Guardfile::Evaluator::NoCustomGuardfile) + shows error message +/usr/share/rubygems-integration/all/gems/rspec-mocks-3.12.1/lib/rspec/mocks/message_expectation.rb:188:in `block in and_raise': Guard::Guardfile::Evaluator::NoGuardfileError error! (Guard::Guardfile::Evaluator::NoGuardfileError) from /usr/share/rubygems-integration/all/gems/rspec-mocks-3.12.1/lib/rspec/mocks/message_expectation.rb:761:in `block in call' from /usr/share/rubygems-integration/all/gems/rspec-mocks-3.12.1/lib/rspec/mocks/message_expectation.rb:760:in `map' from /usr/share/rubygems-integration/all/gems/rspec-mocks-3.12.1/lib/rspec/mocks/message_expectation.rb:760:in `call' @@ -2247,7 +1630,14 @@ from /usr/share/rubygems-integration/all/gems/rspec-mocks-3.12.1/lib/rspec/mocks/verifying_proxy.rb:161:in `proxy_method_invoked' from /usr/share/rubygems-integration/all/gems/rspec-mocks-3.12.1/lib/rspec/mocks/method_double.rb:67:in `block (2 levels) in define_proxy_method' from /build/ruby-guard-2.18.0/lib/guard/cli/environments/evaluate_only.rb:21:in `evaluate' - from /build/ruby-guard-2.18.0/spec/lib/guard/cli/environments/evaluate_only_spec.rb:68:in `block (5 levels) in ' + from /build/ruby-guard-2.18.0/spec/lib/guard/cli/environments/evaluate_only_spec.rb:62:in `block (6 levels) in ' + from /usr/share/rubygems-integration/all/gems/rspec-expectations-3.12.1/lib/rspec/matchers/built_in/raise_error.rb:59:in `matches?' + from /usr/share/rubygems-integration/all/gems/rspec-expectations-3.12.1/lib/rspec/expectations/handler.rb:51:in `block in handle_matcher' + from /usr/share/rubygems-integration/all/gems/rspec-expectations-3.12.1/lib/rspec/expectations/handler.rb:27:in `with_matcher' + from /usr/share/rubygems-integration/all/gems/rspec-expectations-3.12.1/lib/rspec/expectations/handler.rb:48:in `handle_matcher' + from /usr/share/rubygems-integration/all/gems/rspec-expectations-3.12.1/lib/rspec/expectations/expectation_target.rb:65:in `to' + from /usr/share/rubygems-integration/all/gems/rspec-expectations-3.12.1/lib/rspec/expectations/expectation_target.rb:139:in `to' + from /build/ruby-guard-2.18.0/spec/lib/guard/cli/environments/evaluate_only_spec.rb:62:in `block (5 levels) in ' from /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib/rspec/core/example.rb:263:in `instance_exec' from /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib/rspec/core/example.rb:263:in `block in run' from /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib/rspec/core/example.rb:511:in `block in with_around_and_singleton_context_hooks' @@ -2279,7 +1669,7 @@ from /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib/rspec/core/runner.rb:71:in `run' from /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib/rspec/core/runner.rb:45:in `invoke' from /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/exe/rspec:4:in `
' - shows error message + aborts when a Guard::Dsl::Error error occurs /usr/share/rubygems-integration/all/gems/rspec-mocks-3.12.1/lib/rspec/mocks/message_expectation.rb:188:in `block in and_raise': Guard::Dsl::Error error! (Guard::Dsl::Error) from /usr/share/rubygems-integration/all/gems/rspec-mocks-3.12.1/lib/rspec/mocks/message_expectation.rb:761:in `block in call' @@ -2378,8 +1768,8 @@ from /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib/rspec/core/runner.rb:45:in `invoke' from /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/exe/rspec:4:in `
' shows error message - when a Guard::Guardfile::Evaluator::NoGuardfileError error occurs -/usr/share/rubygems-integration/all/gems/rspec-mocks-3.12.1/lib/rspec/mocks/message_expectation.rb:188:in `block in and_raise': Guard::Guardfile::Evaluator::NoGuardfileError error! (Guard::Guardfile::Evaluator::NoGuardfileError) + when a Guard::Guardfile::Evaluator::NoCustomGuardfile error occurs +/usr/share/rubygems-integration/all/gems/rspec-mocks-3.12.1/lib/rspec/mocks/message_expectation.rb:188:in `block in and_raise': Guard::Guardfile::Evaluator::NoCustomGuardfile error! (Guard::Guardfile::Evaluator::NoCustomGuardfile) from /usr/share/rubygems-integration/all/gems/rspec-mocks-3.12.1/lib/rspec/mocks/message_expectation.rb:761:in `block in call' from /usr/share/rubygems-integration/all/gems/rspec-mocks-3.12.1/lib/rspec/mocks/message_expectation.rb:760:in `map' from /usr/share/rubygems-integration/all/gems/rspec-mocks-3.12.1/lib/rspec/mocks/message_expectation.rb:760:in `call' @@ -2424,7 +1814,7 @@ from /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib/rspec/core/runner.rb:45:in `invoke' from /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/exe/rspec:4:in `
' shows error message -/usr/share/rubygems-integration/all/gems/rspec-mocks-3.12.1/lib/rspec/mocks/message_expectation.rb:188:in `block in and_raise': Guard::Guardfile::Evaluator::NoGuardfileError error! (Guard::Guardfile::Evaluator::NoGuardfileError) +/usr/share/rubygems-integration/all/gems/rspec-mocks-3.12.1/lib/rspec/mocks/message_expectation.rb:188:in `block in and_raise': Guard::Guardfile::Evaluator::NoCustomGuardfile error! (Guard::Guardfile::Evaluator::NoCustomGuardfile) from /usr/share/rubygems-integration/all/gems/rspec-mocks-3.12.1/lib/rspec/mocks/message_expectation.rb:761:in `block in call' from /usr/share/rubygems-integration/all/gems/rspec-mocks-3.12.1/lib/rspec/mocks/message_expectation.rb:760:in `map' from /usr/share/rubygems-integration/all/gems/rspec-mocks-3.12.1/lib/rspec/mocks/message_expectation.rb:760:in `call' @@ -2477,26 +1867,441 @@ from /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/exe/rspec:4:in `
' aborts +Guard::DslDescriber + .notifiers + shows the notifiers and their options + properly connects and disconnects + #list + lists the available Guards declared as strings or symbols + .show + shows the Guards and their options + +Guard::Terminal + is expected to respond to #clear + .clear + when on Windows + clears the screen + when the clear command fails + fails + when on UNIX + when the clear command exists + clears the screen using 'clear' + when the clear command fails + fails + +Guard::Commander + .run_all + with a given scope + runs all with the scope + with an empty scope + runs all + .pause + when already paused + with :paused + does nothing + with :unpaused + shows a message + unpauses + with :toggle + shows a message + unpauses + with invalid parameter + raises an ArgumentError + with nil + unpauses + shows a message + when unpaused + with :paused + pauses + shows a message + with invalid parameter + raises an ArgumentError + with :unpaused + does nothing + with nil + shows a message + pauses + with :toggle + pauses + shows a message + .show + shows list of plugins + .stop + stops the listener + tell the runner to run the :stop task + turns the notifier off + turns off the interactor + .start + tell the runner to run the :start task + displays an info message + start the listener + calls Guard setup + when listener.start raises an error + calls Commander#stop + when finished + stops everything + when setup raises an error + calls Commander#stop + .reload + clears the screen + reloads Guard + +Guard::Jobs::Sleep + #foreground + returns :stopped when put to background + sleeps + #background + wakes up main thread + +Guard::Watcher::Pattern::SimplePath + #match result + when constructed with filename string + when matched file is an unclean Pathname + when filename matches + is expected to eq ["foo.rb"] + when filename does not match + is expected to be nil + when matched file is a string + when filename does not match + is expected to be nil + when filename matches + is expected to eq ["foo.rb"] + +Guard::Watcher + #== + returns false for unequal watchers + returns true for equal watchers + .match_files + 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 + without a watcher action + with a regex pattern + returns the paths that matches the regex + with a string pattern + returns the path that matches the string + with a watcher action without parameter + for a watcher that matches information objects + combines the results of different actions + returns the evaluated addition argument in an array + returns a single file specified within the action + returns nothing if the action returns empty string + returns multiple files 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 response is empty + returns a single file specified within the action + returns multiple files specified within the action + returns nothing if the action returns nothing + when action returns non-string or array of non-strings + returns nothing + with a watcher action that takes a parameter + for a watcher that matches file strings + returns nothing if the action response is empty + returns nothing if action returns non-string or non-string array + returns nothing if the action returns nothing + returns a substituted single file specified within the action + returns multiple files specified within the action + combines results of different actions + 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 a hash specified within the action + returns the evaluated addition argument + the path + returns nothing if the action returns is IO::NULL + with an exception that is raised + displays the error and backtrace + integration + #match + with a named regexp pattern + with a watcher that matches a file + provides the match by name + is expected to eq "bar" + #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 + with a valid pattern + with a valid file name to match + when matching is not successful + returns nil + when matching is successful + returns the match result + +Guard::Internals::Traps + .handle + with a supported signal name + sets up a handler + with an unsupported signal name + does not set a handler + +Guard::DslReader + #notification signature + matches base signature + notification + handles arguments without errors + #clearing signature + matches base signature + #initialize signature + matches base signature + #interactor signature + matches base signature + plugin_names + returns encountered names + #directories signature + matches base signature + #group signature + matches base signature + #guard signature + matches base signature + #watch signature + matches base signature + #callback signature + matches base signature + #logger 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 + #ignore signature + matches base signature + #scope signature + matches base signature + #ignore! signature + matches base signature + +Guard::Internals::Scope + #titles + example at ./spec/lib/guard/internals/scope_spec.rb:93 (PENDING: Not yet implemented) + #to_hash + :group + when set from interactor + uses interactor scope + when not set in interactor + when set in commandline + uses commandline scope + when not set in commandline + when set in Guardfile + uses guardfile scope + :plugin + when set from interactor + uses interactor scope + when not set in interactor + when set in commandline + uses commandline scope + when not set in commandline + when set in Guardfile + uses guardfile scope + +Guard + .setup + evaluates the Guardfile + displays an error message when no guard are defined in Guardfile + returns itself for chaining + initializes the listener + initializes the interactor + connects to the notifier + with the group option + passes options to session + listener + without ignores + is expected not to have received ignore!(*(any args)) 0 times + is expected not to have received ignore(*(any args)) 0 times + with ignores 'ignore(/foo/)' and 'ignore!(/bar/)' + is expected to have received ignore([/foo/]) 1 time + is expected to have received ignore!([/bar/]) 1 time + UI + when clearing is configured + is expected to have received reset_and_clear(*(any args)) 1 time + with the plugin option + passes options to session + trapping signals + sets up USR1 trap for pausing + sets up USR2 trap for unpausing + sets up INT trap for cancelling or quitting interactor + .interactor + with interactions enabled + is expected to have received new(false) 1 time + with interactions disabled + is expected to have received new(true) 1 time + ._relative_pathname + with file in project directory + is expected to eq # + with file in parent directory + is expected to eq # + with file within project + is expected to eq # + with file on another drive (e.g. Windows) + is expected to eq # + #relevant_changes? + example at ./spec/lib/guard_spec.rb:247 (PENDING: Not yet implemented) + +Guard::Deprecated::Guard + .locate_guard + displays a deprecation warning to the user + delegates to Guard::PluginUtil + .guard_gem_names + displays a deprecation warning to the user + delegates to Guard::PluginUtil + .add_group + show deprecation warning + adds a group + .guards + displays a deprecation warning to the user + delegates to Plugins + .add_guard + displays a deprecation warning to the user + delegates to Guard.plugins + .lock + show deprecation warning + .get_guard_class + delegates to Guard::PluginUtil + displays a deprecation warning to the user + :fail_gracefully + pass it to get_guard_class + .running + show deprecation warning + evaluate_guardfile + show deprecation warning + evaluates the guardfile + .scope + show deprecation warning + provides a similar implementation + .group + show deprecation warning + provides a similar implementation + .groups + provides a similar implementation + show deprecation warning + .listener= + show deprecation warning + provides and alternative implementation + reset_evaluator + show deprecation warning + evaluator + show deprecation warning + .add_plugin + adds a plugin + show deprecation warning + options + show deprecation warning + :clear + when being read + when set + provides an alternative implementation + when not set + provides an alternative implementation + when being set to true + sets the clearing option accordingly + when being set to false + sets the clearing option accordingly + .plugins + show deprecation warning + provides a similar implementation + .plugin + provides a similar implementation + show deprecation warning + .scope= + provides a similar implementation + show deprecation warning + +Guard::Deprecated::Watcher + .match_guardfile? + displays a deprecation warning to the user + matches against current guardfile + +Guard::Runner + #_supervise + executes the task on the passed guard + with a task that succeeds + with arguments + does not remove the Guard + returns the result of the task + without any arguments + passes the result of the supervised method to the :end hook + does not remove the Guard + calls :begin and :end hooks + 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 + with a task that raises an exception + returns the exception + removes the Guard + display an error to the user + calls the default begin hook but not the default end hook + #run + marks an action as unit of work + executes supervised task on all registered plugins implementing it + with interrupted task + catches the thrown symbol + with a scope + executes the supervised task on the specified plugin only + with no scope + executes the supervised task using current scope + #run_on_changes + always calls UI.clearable + with modified files but modified paths is empty + does not call run anything + with modified paths + executes the :run_first_task_found task + with no changes + does not run any task + with added files but added paths is empty + does not call run anything + with non-matching removed paths + does not call tasks + with added paths + executes the :run_on_additions task + when clearable + clear UI + with matching removed paths + executes the :run_on_removals task + .stopping_symbol_for + for a group without :halt_on_fail + returns :task_has_failed + for a group with :halt_on_fail + returns :no_catch + Guard::Interactor - .options & .options= - returns {} by default - options set to { foo: :bar } - returns { foo: :bar } + when disabled + #foreground + sleeps + #handle_interrupt + interrupts sleep + #background + wakes up from sleep job selection when disabled from the DSL - when enabled from the commandline - uses only sleeper - is expected not to be enabled when disabled from the commandline is expected not to be enabled uses only sleeper + when enabled from the commandline + is expected not to be enabled + uses only sleeper when enabled from the DSL - when disabled from the commandline + when enabled from the commandline + uses only pry is expected to be enabled + when disabled from the commandline uses only sleeper - when enabled from the commandline is expected to be enabled - uses only pry when enabled #handle_interrupt interrupts Pry @@ -2504,142 +2309,176 @@ hides Pry #foreground starts Pry - when disabled - #handle_interrupt - interrupts sleep - #foreground - sleeps - #background - wakes up from sleep .enabled & .enabled= returns true by default interactor not enabled returns false + .options & .options= + returns {} by default + options set to { foo: :bar } + returns { foo: :bar } -Guard::Deprecated::Dsl - .evaluate_guardfile - delegates to Guard::Guardfile::Generator - displays a deprecation warning to the user - -Guard::Commands::Notification - toggles the Guard notifier - -Guard::Watcher::Pattern::MatchResult - #[] - 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::Plugin #initialize - with valid arguments - does not fail - -Guard::Options - .initialize - handles nil options - has indifferent access - can be passed defaults - merges the sensible defaults to the given options - -Guard::Watcher::Pattern::PathnamePath - #match result - when constructed with an unclean Pathname - when matched file is an unclean Pathname - when filename does not match - is expected to be nil - when filename matches - is expected to eq [#] - when matched file is a string - when filename matches - is expected to eq [#] - when filename does not match - is expected to be nil + assigns the defined watchers + assigns the defined options + with a group in the options + assigns the given group + without a group in the options + assigns a default group + with a callback + adds the callback + with a plugin instance + .template + reads the default template + #title + outputs the plugin title + #name + outputs the short plugin name + #to_s + output the short plugin name + .non_namespaced_classname + remove the Guard:: namespace + .non_namespaced_name + remove the Guard:: namespace and downcase + .notify + sends :call to the given Guard class's start_begin callback + sends :call to the given Guard class's start_begin callback + runs only the given callbacks + runs callbacks only for the guard given + .add_callback + can add multiple callbacks + can add a run_on_modifications callback + #hook + notifies the hooks + accepts extra arguments + passes the hooks name -Guard::Guardfile::Generator - has a valid Guardfile template - #initialize_all_templates - calls Guard.initialize_template on all installed plugins - #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 - #create_guardfile - with an existing Guardfile - does not display information - aborts - does not copy the Guardfile template or notify the user - displays an error message - without an existing Guardfile - does not display any kind of error or abort - copies the Guardfile template and notifies the user +Guard::Commands::All + 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 + with a valid Guard plugin scope + runs the :run_all action with the given scope -GuardReloader - when not running with bundler - when running with rubygems_gemdeps - sets up rubygems - when not running with rubygems_gemdeps - when not run as binstub - when Gemfile exists - shows a warning - when no Gemfile exists - shows no warning - when running as binstub - when the relative Gemfile exists - sets the Gemfile - sets up bundler - when the relative Gemfile does not exist - does not setup bundler - shows no warning - does not setup rubygems - when running with bundler - sets up bundler +Guard::Commands::Pause + tells Guard to pause -Guard::Deprecated::Watcher - .match_guardfile? - matches against current guardfile - displays a deprecation warning to the user +Guard::Group + #options + when provided + is expected to eq {:halt_on_fail=>true} + #to_s + is expected to eq "#" + #title + is expected to eq "Foo" + #name + is expected to eq :foo + when initialized from a string + is expected to eq :foo -Guard::Internals::Plugins - #all - 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 - 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 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 as a string - returns an array of plugins if plugins are found - find a plugin by as string - returns an array of plugins if plugins are found - with no arguments - returns all plugins - find plugins matching a regexp - returns an array of plugins if plugins are found - returns an empty array when no plugin is found - #remove - removes given plugin +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 a valid Guard plugin scope + runs the :scope= action with the given scope + with an invalid scope + does not change the scope and shows unknown scopes Guard::Cli::Environments::Valid + #initialize_guardfile + with bare option + returns an exit code + Only creates the Guardfile without initializing any Guard template + with no bare option + initializes each passed template + initializes templates of all installed Guards + evaluates created or existing guardfile + creates a Guardfile + returns an exit code + when passed an unknown guard name + returns an exit code + when passed a guard name + initializes the template of the passed Guard + when the Guardfile is empty + adds the template + works without without errors #start_guard without no_bundler_warning option verifies bundler presence without a valid bundler setup does not start guard + return value + matches return value of Guard.start + with no_bundler_warning option + starts guard + does not verify bundler presence with a valid bundler setup - start guard with options starts guard returns exit code - when a Guard::Guardfile::Evaluator::NoCustomGuardfile error occurs -/usr/share/rubygems-integration/all/gems/rspec-mocks-3.12.1/lib/rspec/mocks/message_expectation.rb:188:in `block in and_raise': Guard::Guardfile::Evaluator::NoCustomGuardfile error! (Guard::Guardfile::Evaluator::NoCustomGuardfile) + start guard with options + when a Guard::Guardfile::Evaluator::NoPluginsError error occurs +/usr/share/rubygems-integration/all/gems/rspec-mocks-3.12.1/lib/rspec/mocks/message_expectation.rb:188:in `block in and_raise': Guard::Guardfile::Evaluator::NoPluginsError error! (Guard::Guardfile::Evaluator::NoPluginsError) + from /usr/share/rubygems-integration/all/gems/rspec-mocks-3.12.1/lib/rspec/mocks/message_expectation.rb:761:in `block in call' + from /usr/share/rubygems-integration/all/gems/rspec-mocks-3.12.1/lib/rspec/mocks/message_expectation.rb:760:in `map' + from /usr/share/rubygems-integration/all/gems/rspec-mocks-3.12.1/lib/rspec/mocks/message_expectation.rb:760:in `call' + from /usr/share/rubygems-integration/all/gems/rspec-mocks-3.12.1/lib/rspec/mocks/message_expectation.rb:621:in `invoke_incrementing_actual_calls_by' + from /usr/share/rubygems-integration/all/gems/rspec-mocks-3.12.1/lib/rspec/mocks/message_expectation.rb:474:in `invoke' + from /usr/share/rubygems-integration/all/gems/rspec-mocks-3.12.1/lib/rspec/mocks/proxy.rb:208:in `message_received' + from /usr/share/rubygems-integration/all/gems/rspec-mocks-3.12.1/lib/rspec/mocks/proxy.rb:360:in `message_received' + from /usr/share/rubygems-integration/all/gems/rspec-mocks-3.12.1/lib/rspec/mocks/method_double.rb:91:in `proxy_method_invoked' + from /usr/share/rubygems-integration/all/gems/rspec-mocks-3.12.1/lib/rspec/mocks/verifying_proxy.rb:161:in `proxy_method_invoked' + from /usr/share/rubygems-integration/all/gems/rspec-mocks-3.12.1/lib/rspec/mocks/method_double.rb:67:in `block (2 levels) in define_proxy_method' + from /build/ruby-guard-2.18.0/lib/guard/cli/environments/valid.rb:16:in `start_guard' + from /build/ruby-guard-2.18.0/spec/lib/guard/cli/environments/valid_spec.rb:62:in `block (7 levels) in ' + from /usr/share/rubygems-integration/all/gems/rspec-expectations-3.12.1/lib/rspec/matchers/built_in/raise_error.rb:59:in `matches?' + from /usr/share/rubygems-integration/all/gems/rspec-expectations-3.12.1/lib/rspec/expectations/handler.rb:51:in `block in handle_matcher' + from /usr/share/rubygems-integration/all/gems/rspec-expectations-3.12.1/lib/rspec/expectations/handler.rb:27:in `with_matcher' + from /usr/share/rubygems-integration/all/gems/rspec-expectations-3.12.1/lib/rspec/expectations/handler.rb:48:in `handle_matcher' + from /usr/share/rubygems-integration/all/gems/rspec-expectations-3.12.1/lib/rspec/expectations/expectation_target.rb:65:in `to' + from /usr/share/rubygems-integration/all/gems/rspec-expectations-3.12.1/lib/rspec/expectations/expectation_target.rb:139:in `to' + from /build/ruby-guard-2.18.0/spec/lib/guard/cli/environments/valid_spec.rb:62:in `block (6 levels) in ' + from /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib/rspec/core/example.rb:263:in `instance_exec' + from /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib/rspec/core/example.rb:263:in `block in run' + from /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib/rspec/core/example.rb:511:in `block in with_around_and_singleton_context_hooks' + from /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib/rspec/core/example.rb:468:in `block in with_around_example_hooks' + from /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib/rspec/core/hooks.rb:486:in `block in run' + from /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib/rspec/core/hooks.rb:624:in `run_around_example_hooks_for' + from /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib/rspec/core/hooks.rb:486:in `run' + from /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib/rspec/core/example.rb:468:in `with_around_example_hooks' + from /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib/rspec/core/example.rb:511:in `with_around_and_singleton_context_hooks' + from /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib/rspec/core/example.rb:259:in `run' + from /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib/rspec/core/example_group.rb:646:in `block in run_examples' + from /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib/rspec/core/example_group.rb:642:in `map' + from /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib/rspec/core/example_group.rb:642:in `run_examples' + from /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib/rspec/core/example_group.rb:607:in `run' + from /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib/rspec/core/example_group.rb:608:in `block in run' + from /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib/rspec/core/example_group.rb:608:in `map' + from /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib/rspec/core/example_group.rb:608:in `run' + from /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib/rspec/core/example_group.rb:608:in `block in run' + from /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib/rspec/core/example_group.rb:608:in `map' + from /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib/rspec/core/example_group.rb:608:in `run' + from /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib/rspec/core/example_group.rb:608:in `block in run' + from /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib/rspec/core/example_group.rb:608:in `map' + from /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib/rspec/core/example_group.rb:608:in `run' + from /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs' + from /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib/rspec/core/runner.rb:121:in `map' + from /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs' + from /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib/rspec/core/configuration.rb:2070:in `with_suite_hooks' + from /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib/rspec/core/runner.rb:116:in `block in run_specs' + from /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib/rspec/core/reporter.rb:74:in `report' + from /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib/rspec/core/runner.rb:115:in `run_specs' + from /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib/rspec/core/runner.rb:89:in `run' + from /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib/rspec/core/runner.rb:71:in `run' + from /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib/rspec/core/runner.rb:45:in `invoke' + from /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/exe/rspec:4:in `
' + aborts +/usr/share/rubygems-integration/all/gems/rspec-mocks-3.12.1/lib/rspec/mocks/message_expectation.rb:188:in `block in and_raise': Guard::Guardfile::Evaluator::NoPluginsError error! (Guard::Guardfile::Evaluator::NoPluginsError) from /usr/share/rubygems-integration/all/gems/rspec-mocks-3.12.1/lib/rspec/mocks/message_expectation.rb:761:in `block in call' from /usr/share/rubygems-integration/all/gems/rspec-mocks-3.12.1/lib/rspec/mocks/message_expectation.rb:760:in `map' from /usr/share/rubygems-integration/all/gems/rspec-mocks-3.12.1/lib/rspec/mocks/message_expectation.rb:760:in `call' @@ -2687,7 +2526,8 @@ from /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib/rspec/core/runner.rb:45:in `invoke' from /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/exe/rspec:4:in `
' shows error message -/usr/share/rubygems-integration/all/gems/rspec-mocks-3.12.1/lib/rspec/mocks/message_expectation.rb:188:in `block in and_raise': Guard::Guardfile::Evaluator::NoCustomGuardfile error! (Guard::Guardfile::Evaluator::NoCustomGuardfile) + when a Guard::Dsl::Error error occurs +/usr/share/rubygems-integration/all/gems/rspec-mocks-3.12.1/lib/rspec/mocks/message_expectation.rb:188:in `block in and_raise': Guard::Dsl::Error error! (Guard::Dsl::Error) from /usr/share/rubygems-integration/all/gems/rspec-mocks-3.12.1/lib/rspec/mocks/message_expectation.rb:761:in `block in call' from /usr/share/rubygems-integration/all/gems/rspec-mocks-3.12.1/lib/rspec/mocks/message_expectation.rb:760:in `map' from /usr/share/rubygems-integration/all/gems/rspec-mocks-3.12.1/lib/rspec/mocks/message_expectation.rb:760:in `call' @@ -2699,14 +2539,7 @@ from /usr/share/rubygems-integration/all/gems/rspec-mocks-3.12.1/lib/rspec/mocks/verifying_proxy.rb:161:in `proxy_method_invoked' from /usr/share/rubygems-integration/all/gems/rspec-mocks-3.12.1/lib/rspec/mocks/method_double.rb:67:in `block (2 levels) in define_proxy_method' from /build/ruby-guard-2.18.0/lib/guard/cli/environments/valid.rb:16:in `start_guard' - from /build/ruby-guard-2.18.0/spec/lib/guard/cli/environments/valid_spec.rb:62:in `block (7 levels) in ' - from /usr/share/rubygems-integration/all/gems/rspec-expectations-3.12.1/lib/rspec/matchers/built_in/raise_error.rb:59:in `matches?' - from /usr/share/rubygems-integration/all/gems/rspec-expectations-3.12.1/lib/rspec/expectations/handler.rb:51:in `block in handle_matcher' - from /usr/share/rubygems-integration/all/gems/rspec-expectations-3.12.1/lib/rspec/expectations/handler.rb:27:in `with_matcher' - from /usr/share/rubygems-integration/all/gems/rspec-expectations-3.12.1/lib/rspec/expectations/handler.rb:48:in `handle_matcher' - from /usr/share/rubygems-integration/all/gems/rspec-expectations-3.12.1/lib/rspec/expectations/expectation_target.rb:65:in `to' - from /usr/share/rubygems-integration/all/gems/rspec-expectations-3.12.1/lib/rspec/expectations/expectation_target.rb:139:in `to' - from /build/ruby-guard-2.18.0/spec/lib/guard/cli/environments/valid_spec.rb:62:in `block (6 levels) in ' + from /build/ruby-guard-2.18.0/spec/lib/guard/cli/environments/valid_spec.rb:68:in `block (6 levels) in ' from /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib/rspec/core/example.rb:263:in `instance_exec' from /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib/rspec/core/example.rb:263:in `block in run' from /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib/rspec/core/example.rb:511:in `block in with_around_and_singleton_context_hooks' @@ -2741,9 +2574,8 @@ from /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib/rspec/core/runner.rb:71:in `run' from /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib/rspec/core/runner.rb:45:in `invoke' from /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/exe/rspec:4:in `
' - aborts - when a Guard::Guardfile::Evaluator::NoGuardfileError error occurs -/usr/share/rubygems-integration/all/gems/rspec-mocks-3.12.1/lib/rspec/mocks/message_expectation.rb:188:in `block in and_raise': Guard::Guardfile::Evaluator::NoGuardfileError error! (Guard::Guardfile::Evaluator::NoGuardfileError) + shows error message +/usr/share/rubygems-integration/all/gems/rspec-mocks-3.12.1/lib/rspec/mocks/message_expectation.rb:188:in `block in and_raise': Guard::Dsl::Error error! (Guard::Dsl::Error) from /usr/share/rubygems-integration/all/gems/rspec-mocks-3.12.1/lib/rspec/mocks/message_expectation.rb:761:in `block in call' from /usr/share/rubygems-integration/all/gems/rspec-mocks-3.12.1/lib/rspec/mocks/message_expectation.rb:760:in `map' from /usr/share/rubygems-integration/all/gems/rspec-mocks-3.12.1/lib/rspec/mocks/message_expectation.rb:760:in `call' @@ -2798,7 +2630,8 @@ from /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib/rspec/core/runner.rb:45:in `invoke' from /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/exe/rspec:4:in `
' aborts -/usr/share/rubygems-integration/all/gems/rspec-mocks-3.12.1/lib/rspec/mocks/message_expectation.rb:188:in `block in and_raise': Guard::Guardfile::Evaluator::NoGuardfileError error! (Guard::Guardfile::Evaluator::NoGuardfileError) + when a Guard::Guardfile::Evaluator::NoCustomGuardfile error occurs +/usr/share/rubygems-integration/all/gems/rspec-mocks-3.12.1/lib/rspec/mocks/message_expectation.rb:188:in `block in and_raise': Guard::Guardfile::Evaluator::NoCustomGuardfile error! (Guard::Guardfile::Evaluator::NoCustomGuardfile) from /usr/share/rubygems-integration/all/gems/rspec-mocks-3.12.1/lib/rspec/mocks/message_expectation.rb:761:in `block in call' from /usr/share/rubygems-integration/all/gems/rspec-mocks-3.12.1/lib/rspec/mocks/message_expectation.rb:760:in `map' from /usr/share/rubygems-integration/all/gems/rspec-mocks-3.12.1/lib/rspec/mocks/message_expectation.rb:760:in `call' @@ -2846,8 +2679,7 @@ from /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib/rspec/core/runner.rb:45:in `invoke' from /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/exe/rspec:4:in `
' shows error message - when a Guard::Dsl::Error error occurs -/usr/share/rubygems-integration/all/gems/rspec-mocks-3.12.1/lib/rspec/mocks/message_expectation.rb:188:in `block in and_raise': Guard::Dsl::Error error! (Guard::Dsl::Error) +/usr/share/rubygems-integration/all/gems/rspec-mocks-3.12.1/lib/rspec/mocks/message_expectation.rb:188:in `block in and_raise': Guard::Guardfile::Evaluator::NoCustomGuardfile error! (Guard::Guardfile::Evaluator::NoCustomGuardfile) from /usr/share/rubygems-integration/all/gems/rspec-mocks-3.12.1/lib/rspec/mocks/message_expectation.rb:761:in `block in call' from /usr/share/rubygems-integration/all/gems/rspec-mocks-3.12.1/lib/rspec/mocks/message_expectation.rb:760:in `map' from /usr/share/rubygems-integration/all/gems/rspec-mocks-3.12.1/lib/rspec/mocks/message_expectation.rb:760:in `call' @@ -2902,7 +2734,8 @@ from /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib/rspec/core/runner.rb:45:in `invoke' from /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/exe/rspec:4:in `
' aborts -/usr/share/rubygems-integration/all/gems/rspec-mocks-3.12.1/lib/rspec/mocks/message_expectation.rb:188:in `block in and_raise': Guard::Dsl::Error error! (Guard::Dsl::Error) + when a Guard::Guardfile::Evaluator::NoGuardfileError error occurs +/usr/share/rubygems-integration/all/gems/rspec-mocks-3.12.1/lib/rspec/mocks/message_expectation.rb:188:in `block in and_raise': Guard::Guardfile::Evaluator::NoGuardfileError error! (Guard::Guardfile::Evaluator::NoGuardfileError) from /usr/share/rubygems-integration/all/gems/rspec-mocks-3.12.1/lib/rspec/mocks/message_expectation.rb:761:in `block in call' from /usr/share/rubygems-integration/all/gems/rspec-mocks-3.12.1/lib/rspec/mocks/message_expectation.rb:760:in `map' from /usr/share/rubygems-integration/all/gems/rspec-mocks-3.12.1/lib/rspec/mocks/message_expectation.rb:760:in `call' @@ -2914,7 +2747,14 @@ from /usr/share/rubygems-integration/all/gems/rspec-mocks-3.12.1/lib/rspec/mocks/verifying_proxy.rb:161:in `proxy_method_invoked' from /usr/share/rubygems-integration/all/gems/rspec-mocks-3.12.1/lib/rspec/mocks/method_double.rb:67:in `block (2 levels) in define_proxy_method' from /build/ruby-guard-2.18.0/lib/guard/cli/environments/valid.rb:16:in `start_guard' - from /build/ruby-guard-2.18.0/spec/lib/guard/cli/environments/valid_spec.rb:68:in `block (6 levels) in ' + from /build/ruby-guard-2.18.0/spec/lib/guard/cli/environments/valid_spec.rb:62:in `block (7 levels) in ' + from /usr/share/rubygems-integration/all/gems/rspec-expectations-3.12.1/lib/rspec/matchers/built_in/raise_error.rb:59:in `matches?' + from /usr/share/rubygems-integration/all/gems/rspec-expectations-3.12.1/lib/rspec/expectations/handler.rb:51:in `block in handle_matcher' + from /usr/share/rubygems-integration/all/gems/rspec-expectations-3.12.1/lib/rspec/expectations/handler.rb:27:in `with_matcher' + from /usr/share/rubygems-integration/all/gems/rspec-expectations-3.12.1/lib/rspec/expectations/handler.rb:48:in `handle_matcher' + from /usr/share/rubygems-integration/all/gems/rspec-expectations-3.12.1/lib/rspec/expectations/expectation_target.rb:65:in `to' + from /usr/share/rubygems-integration/all/gems/rspec-expectations-3.12.1/lib/rspec/expectations/expectation_target.rb:139:in `to' + from /build/ruby-guard-2.18.0/spec/lib/guard/cli/environments/valid_spec.rb:62:in `block (6 levels) in ' from /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib/rspec/core/example.rb:263:in `instance_exec' from /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib/rspec/core/example.rb:263:in `block in run' from /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib/rspec/core/example.rb:511:in `block in with_around_and_singleton_context_hooks' @@ -2949,9 +2789,8 @@ from /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib/rspec/core/runner.rb:71:in `run' from /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib/rspec/core/runner.rb:45:in `invoke' from /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/exe/rspec:4:in `
' - shows error message - when a Guard::Guardfile::Evaluator::NoPluginsError error occurs -/usr/share/rubygems-integration/all/gems/rspec-mocks-3.12.1/lib/rspec/mocks/message_expectation.rb:188:in `block in and_raise': Guard::Guardfile::Evaluator::NoPluginsError error! (Guard::Guardfile::Evaluator::NoPluginsError) + aborts +/usr/share/rubygems-integration/all/gems/rspec-mocks-3.12.1/lib/rspec/mocks/message_expectation.rb:188:in `block in and_raise': Guard::Guardfile::Evaluator::NoGuardfileError error! (Guard::Guardfile::Evaluator::NoGuardfileError) from /usr/share/rubygems-integration/all/gems/rspec-mocks-3.12.1/lib/rspec/mocks/message_expectation.rb:761:in `block in call' from /usr/share/rubygems-integration/all/gems/rspec-mocks-3.12.1/lib/rspec/mocks/message_expectation.rb:760:in `map' from /usr/share/rubygems-integration/all/gems/rspec-mocks-3.12.1/lib/rspec/mocks/message_expectation.rb:760:in `call' @@ -2999,26 +2838,77 @@ from /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib/rspec/core/runner.rb:45:in `invoke' from /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/exe/rspec:4:in `
' shows error message -/usr/share/rubygems-integration/all/gems/rspec-mocks-3.12.1/lib/rspec/mocks/message_expectation.rb:188:in `block in and_raise': Guard::Guardfile::Evaluator::NoPluginsError error! (Guard::Guardfile::Evaluator::NoPluginsError) + +Guard::UI::Logger::Config + #level= + with a valid value + stores the level + defaults + flushes device by default + +Guard::Watcher::Pattern::PathnamePath + #match result + when constructed with an unclean Pathname + when matched file is a string + when filename matches + is expected to eq [#] + when filename does not match + is expected to be nil + when matched file is an unclean Pathname + when filename matches + is expected to eq [#] + when filename does not match + is expected to be nil + +Guard::Deprecated::Guardfile + .initialize_template + 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 + .initialize_all_templates + delegates to Guard::Guardfile::Generator + displays a deprecation warning to the user + +Guard::Guardfile::Evaluator + .evaluate + error cases + with a non-existing Guardfile given + raises error + when provided :contents is nil + does not raise error and skip it + with empty Guardfile content + displays an error message about no plugins + with no Guardfile at all + displays an error message and exits + with an invalid Guardfile + displays an error message and raises original exception + with a problem reading a Guardfile +/build/ruby-guard-2.18.0/spec/lib/guard/guardfile/evaluator_spec.rb:73:in `block (6 levels) in ': Permission denied - permission error (Errno::EACCES) + from /build/ruby-guard-2.18.0/spec/spec_helper.rb:91:in `block in stub_file' from /usr/share/rubygems-integration/all/gems/rspec-mocks-3.12.1/lib/rspec/mocks/message_expectation.rb:761:in `block in call' from /usr/share/rubygems-integration/all/gems/rspec-mocks-3.12.1/lib/rspec/mocks/message_expectation.rb:760:in `map' from /usr/share/rubygems-integration/all/gems/rspec-mocks-3.12.1/lib/rspec/mocks/message_expectation.rb:760:in `call' from /usr/share/rubygems-integration/all/gems/rspec-mocks-3.12.1/lib/rspec/mocks/message_expectation.rb:621:in `invoke_incrementing_actual_calls_by' from /usr/share/rubygems-integration/all/gems/rspec-mocks-3.12.1/lib/rspec/mocks/message_expectation.rb:474:in `invoke' from /usr/share/rubygems-integration/all/gems/rspec-mocks-3.12.1/lib/rspec/mocks/proxy.rb:208:in `message_received' - from /usr/share/rubygems-integration/all/gems/rspec-mocks-3.12.1/lib/rspec/mocks/proxy.rb:360:in `message_received' from /usr/share/rubygems-integration/all/gems/rspec-mocks-3.12.1/lib/rspec/mocks/method_double.rb:91:in `proxy_method_invoked' from /usr/share/rubygems-integration/all/gems/rspec-mocks-3.12.1/lib/rspec/mocks/verifying_proxy.rb:161:in `proxy_method_invoked' from /usr/share/rubygems-integration/all/gems/rspec-mocks-3.12.1/lib/rspec/mocks/method_double.rb:67:in `block (2 levels) in define_proxy_method' - from /build/ruby-guard-2.18.0/lib/guard/cli/environments/valid.rb:16:in `start_guard' - from /build/ruby-guard-2.18.0/spec/lib/guard/cli/environments/valid_spec.rb:62:in `block (7 levels) in ' + from /build/ruby-guard-2.18.0/lib/guard/guardfile/evaluator.rb:202:in `_read' + from /build/ruby-guard-2.18.0/lib/guard/guardfile/evaluator.rb:189:in `block in _use_default!' + from /build/ruby-guard-2.18.0/lib/guard/guardfile/evaluator.rb:187:in `each' + from /build/ruby-guard-2.18.0/lib/guard/guardfile/evaluator.rb:187:in `_use_default!' + from /build/ruby-guard-2.18.0/lib/guard/guardfile/evaluator.rb:90:in `evaluate' + from /build/ruby-guard-2.18.0/spec/lib/guard/guardfile/evaluator_spec.rb:79:in `block (6 levels) in ' from /usr/share/rubygems-integration/all/gems/rspec-expectations-3.12.1/lib/rspec/matchers/built_in/raise_error.rb:59:in `matches?' from /usr/share/rubygems-integration/all/gems/rspec-expectations-3.12.1/lib/rspec/expectations/handler.rb:51:in `block in handle_matcher' from /usr/share/rubygems-integration/all/gems/rspec-expectations-3.12.1/lib/rspec/expectations/handler.rb:27:in `with_matcher' from /usr/share/rubygems-integration/all/gems/rspec-expectations-3.12.1/lib/rspec/expectations/handler.rb:48:in `handle_matcher' from /usr/share/rubygems-integration/all/gems/rspec-expectations-3.12.1/lib/rspec/expectations/expectation_target.rb:65:in `to' from /usr/share/rubygems-integration/all/gems/rspec-expectations-3.12.1/lib/rspec/expectations/expectation_target.rb:139:in `to' - from /build/ruby-guard-2.18.0/spec/lib/guard/cli/environments/valid_spec.rb:62:in `block (6 levels) in ' + from /build/ruby-guard-2.18.0/spec/lib/guard/guardfile/evaluator_spec.rb:79:in `block (5 levels) in ' from /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib/rspec/core/example.rb:263:in `instance_exec' from /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib/rspec/core/example.rb:263:in `block in run' from /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib/rspec/core/example.rb:511:in `block in with_around_and_singleton_context_hooks' @@ -3053,109 +2943,294 @@ from /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib/rspec/core/runner.rb:71:in `run' from /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib/rspec/core/runner.rb:45:in `invoke' from /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/exe/rspec:4:in `
' - aborts - with no_bundler_warning option - does not verify bundler presence - starts guard - return value - matches return value of Guard.start - #initialize_guardfile - with no bare option - returns an exit code - evaluates created or existing guardfile - initializes templates of all installed Guards - initializes each passed template - creates a Guardfile - when passed an unknown guard name - returns an exit code - when passed a guard name - initializes the template of the passed Guard - 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 + displays an error message and exits + with Guardfile as guardfile.rb + evalutates guardfile.rb + selection of the Guardfile data contents + with a valid :contents option + with inline content and other Guardfiles available + gives ultimate precedence to inline content + .guardfile_include? + when plugin is not present + returns false + when plugin is present + returns true + #inline? + when contents is provided + is expected to be inline + when no content is provided + is expected not to be inline + when guardfile_contents is provided + is expected to be inline -Guard::UI::Logger::Config - #level= - with a valid value - stores the level - defaults - flushes device by default +Guard::Watcher::Pattern + .create + when a custom matcher + is expected to be a kind of Guard::Watcher::Pattern::Matcher + when a Pathname is given + is expected to be a kind of Guard::Watcher::Pattern::PathnamePath + when an regexp string is given + is expected to be a kind of Guard::Watcher::Pattern::Matcher + shows a warning + when a string is given + is expected to be a kind of Guard::Watcher::Pattern::SimplePath + when a regexp is given + is expected to be a kind of Guard::Watcher::Pattern::Matcher -Guard::Runner - .stopping_symbol_for - for a group without :halt_on_fail - returns :task_has_failed - for a group with :halt_on_fail - returns :no_catch - #run_on_changes - always calls UI.clearable - with no changes - does not run any task - with matching removed paths - executes the :run_on_removals task - with non-matching removed paths - does not call tasks - with modified files but modified paths is empty - does not call run anything - with added files but added paths is empty - does not call run anything - when clearable - clear UI - with added paths - executes the :run_on_additions task - with modified paths - executes the :run_first_task_found task - #_supervise - executes the task on the passed guard - with a task that raises an exception - calls the default begin hook but not the default end hook - returns the exception - display an error to the user - removes the Guard - 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 - without any arguments - calls :begin and :end hooks - passes the result of the supervised method to the :end hook - returns the result of the task - does not remove the Guard - with arguments - does not remove the Guard - returns the result of the 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 interrupted task - catches the thrown symbol - with a scope - executes the supervised task on the specified plugin only +Guard::Internals::Debugging + #start + traces Kernel.` + traces Kernel.system + traces Open3.popen3 + traces Kernel.spawn + when not started + sets logger to debug + makes threads abort on exceptions + when already started + does not set log level + #stop + when not started + does not set logger level + when already started + untraces Open3.popen3 + untraces Kernel.` + untraces Kernel.system + sets logger level to info -Guard::Commands::Pause - tells Guard to pause +Guard::Dsl + #filter alias method + is expected to eq # + #ignore + with ignore regexps + adds ignored regexps to the listener + with multiple ignore calls + adds all ignored regexps to the listener + #clear + with clear :off + disables clearing the screen after every task + with clear :on + enabled clearing the screen after every task + #guard + with groups + adds plugin with group info + with options + passes options to plugin + with name as symbol in parens + adds the plugin + with symbol for name + loads a guard specified as a symbol from the DSL + with plugins in custom and default groups + assigns plugins to correct groups + 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 + #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 + #callback + with + creates callbacks for the guard + without a guard block + fails + #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 + #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 + #logger + with invalid options + when having both the :only and :except options + removes the options + shows a warning + for the log level + does not set the invalid value + shows a warning + options + with a logger time format + is expected to have received options=({:time_format=>"%Y"}) 1 time + with logger except filter from a symbol + is expected to have received options=({:except=>/jasmine/i}) 1 time + with logger except filter from a string + is expected to have received options=({:except=>/jasmine/i}) 1 time + with logger only filter from a string + is expected to have received options=({:only=>/jasmine/i}) 1 time + with logger only filter from an array of symbols and string + is expected to have received options=({:only=>/rspec|cucumber/i}) 1 time + with logger template + is expected to have received options=({:template=>":message - :severity"}) 1 time + with a logger only filter from a symbol + is expected to have received options=({:only=>/cucumber/i}) 1 time + with logger except filter from array of symbols and string + is expected to have received options=({:except=>/rspec|cucumber|jasmine/i}) 1 time + with logger level 'error' + is expected to have received options=({:level=>:error}) 1 time + with logger level :error + is expected to have received options=({:level=>:error}) 1 time + #filter! alias method + is expected to eq # + #interactor + with interactor :off + disables the interactions with :off + with interactor options + passes the options to the interactor + #scope + with any parameters + sets the guardfile's default scope + #group + no plugins in group + displays an error + with multiple names + adds all given groups + group named :all + raises an error + with a valid guardfile + evaluates all groups + group named "all" + raises an error + #notification + when notification + adds a notification to the notifier + with multiple notifications + adds multiple notifiers -Guard::Watcher::Pattern::DeprecatedRegexp - Matcher returned by .convert - with .*rb - creates a Matcher with (?-mix:.*rb) - 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) - .deprecated? - is expected to be deprecated - is expected to be deprecated +Guard::Commands::Reload + with an invalid scope + does not trigger the action + without scope + triggers the :reload action + with a valid Guard plugin scope + triggers the :reload action with the given scope + with a valid Guard group scope + triggers the :reload action with the given scope + +Guard::Commands::Notification + toggles the Guard notifier + +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 bundler + does not setup rubygems + 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::Show + tells Guard to output DSL description + +Guard::Internals::Tracing + Module method tracing + when not tracing + with command arguments + when #system + does not output anything + is expected to eq true + with no command arguments + when #system + does not output anything + is expected to eq true + when backticks + is expected to eq "" + does not output anything + when tracing + with command arguments + when #system + is expected to eq true + outputs command arguments + with no command arguments + when backticks + is expected to eq "" + outputs command + when #system + outputs command + is expected to eq true + +Guard::Deprecated::Evaluator + #reevaluate_guardfile + displays a deprecation warning to the user + #evaluate_guardfile + displays a deprecation warning to the user + calls the recommended method + +Guard::Guardfile::Generator + has a valid Guardfile template + #initialize_template + when the passed guard can't be found + notifies the user about the problem + with an installed Guard implementation + initializes the Guard + with a user defined template + copies the Guardfile template and initializes the Guard + #initialize_all_templates + calls Guard.initialize_template on all installed plugins + #create_guardfile + without an existing Guardfile + copies the Guardfile template and notifies the user + does not display any kind of error or abort + with an existing Guardfile + displays an error message + does not display information + aborts + does not copy the Guardfile template or notify the user + +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 + provides a logger config + passes deprecated options to logger + +Guard::Config + is expected to respond to #silence_deprecations? + is expected to respond to #strict? + .strict? + when GUARD_STRICT is set to a 'true' value + is expected to be strict + when GUARD_STRICT is set to a 'false' value + is expected not to be strict + +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::Internals::State #initialize @@ -3165,93 +3240,61 @@ when debug is set to false does not set up debugging -Guard::Watcher - #action - sets the action to the supplied block - sets the action to nothing by default - integration - #match - with a named regexp pattern - with a watcher that matches a file - provides the match by name - is expected to eq "bar" +Guard::Watcher::Pattern::Matcher #== - returns true for equal watchers - returns false for unequal watchers + returns true for equal matchers + returns false for unequal matchers + integration + #match result + when constructed with valid regexp + when matched file is an unclean Pathname + when filename does not match + is expected to be nil + when filename matches + is expected to eq ["foo.rb"] + when matched file contains a $ + is expected to eq ["foo.rb"] + when matched file is a string + when filename does not match + is expected to be nil + when filename matches + is expected to eq ["foo.rb"] #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 - #initialize - with a pattern parameter - creates a matcher - with no arguments - raises an error - .match_files - with a watcher action that takes a parameter - for a watcher that matches information objects - returns a hash specified within the action - returns nothing if the action response is empty string - returns nothing if the action returns is IO::NULL - returns the evaluated addition argument + the path - combinines results of different actions - returns a substituted single file specified within the action - for a watcher that matches file strings - returns a substituted single file specified within the action - returns multiple files specified within the action - returns nothing if action returns non-string or non-string array - combines results of different actions - returns nothing if the action response is empty - returns nothing if the action returns nothing - 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 - 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 without parameter - for a watcher that matches information objects - returns multiple files specified within the action - returns nothing if the action response is empty string - returns a single file specified within the action - returns nothing if the action returns empty string - returns the evaluated addition argument in an array - combines the results of different actions - for a watcher that matches file strings - returns a single file specified within the action - returns nothing if the action returns nothing - returns nothing if the action response is empty - combines files from results of different actions - returns multiple files specified within the action - when action returns non-string or array of non-strings - returns nothing + when constructed with valid matcher object + when matched against a Pathname + returns the match result + passes the Pathname to the matcher + when matched against a String + returns the match result + passes a Pathname to the matcher -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::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 + without Rubygems Gemfile handling + shows the Bundler warning + with Rubygems Gemfile autodetection or custom Gemfile + does not show the Bundler warning + +Guard::Deprecated::Dsl + .evaluate_guardfile + displays a deprecation warning to the user + delegates to Guard::Guardfile::Generator Pending: (Failures listed here are expected and do not affect your suite's status) - 1) Guard::Internals::Scope#titles - # Not yet implemented - # ./spec/lib/guard/internals/scope_spec.rb:93 + 1) Guard::PluginUtil#add_to_guardfile when the Guard is already in the Guardfile shows an info message + # Temporarily skipped with xcontext + # ./spec/lib/guard/plugin_util_spec.rb:235 - 2) Guard#relevant_changes? - # Not yet implemented - # ./spec/lib/guard_spec.rb:247 + 2) Guard::PluginUtil.plugin_names ignores guard-compat + # Temporarily skipped with xdescribe + # ./spec/lib/guard/plugin_util_spec.rb:50 3) Guard::PluginUtil.plugin_names returns the list of embedded guard gems # Temporarily skipped with xdescribe @@ -3261,18 +3304,18 @@ # Temporarily skipped with xdescribe # ./spec/lib/guard/plugin_util_spec.rb:42 - 5) Guard::PluginUtil.plugin_names ignores guard-compat - # Temporarily skipped with xdescribe - # ./spec/lib/guard/plugin_util_spec.rb:50 + 5) Guard::Internals::Scope#titles + # Not yet implemented + # ./spec/lib/guard/internals/scope_spec.rb:93 - 6) Guard::PluginUtil#add_to_guardfile when the Guard is already in the Guardfile shows an info message - # Temporarily skipped with xcontext - # ./spec/lib/guard/plugin_util_spec.rb:235 + 6) Guard#relevant_changes? + # Not yet implemented + # ./spec/lib/guard_spec.rb:247 -Finished in 4 minutes 17.9 seconds (files took 11.72 seconds to load) +Finished in 37.77 seconds (files took 1.51 seconds to load) 627 examples, 0 failures, 6 pending -Randomized with seed 5307 +Randomized with seed 60849 ┌──────────────────────────────────────────────────────────────────────────────┐ @@ -3306,12 +3349,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: not including original source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/22765/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/22765/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/6248 and its subdirectories -I: Current time: Mon May 8 05:33:18 -12 2023 -I: pbuilder-time-stamp: 1683567198 +I: removing directory /srv/workspace/pbuilder/22765 and its subdirectories +I: Current time: Tue May 9 07:36:08 +14 2023 +I: pbuilder-time-stamp: 1683567368