Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/rubygem-guard.spec'], chrootPath='/var/lib/mock/rhel+epel-8-x86_64-1687865236.834967/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0x7f8347158490>timeout=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.11cbfq9l:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.11cbfq9l:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'bf6da156b25a4f99b73c822f3822c082', '-D', '/var/lib/mock/rhel+epel-8-x86_64-1687865236.834967/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.11cbfq9l:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;<mock-chroot>\\007"', '--setenv=PS1=<mock-chroot> \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/rubygem-guard.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/rubygem-guard-2.18.0-2.el8.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/rubygem-guard.spec'], chrootPath='/var/lib/mock/rhel+epel-8-x86_64-1687865236.834967/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0x7f8347158490>timeout=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.11cbfq9l:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.11cbfq9l:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '7cfebcb9cc19442daee09bd7986dc248', '-D', '/var/lib/mock/rhel+epel-8-x86_64-1687865236.834967/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.11cbfq9l:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;<mock-chroot>\\007"', '--setenv=PS1=<mock-chroot> \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/rubygem-guard.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.bZSP5X + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf guard-2.18.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/guard-2.18.0-spec.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/gem unpack /builddir/build/SOURCES/guard-2.18.0.gem Unpacked gem: '/builddir/build/BUILD/guard-2.18.0' + /usr/bin/gem spec /builddir/build/SOURCES/guard-2.18.0.gem --ruby + STATUS=0 + '[' 0 -ne 0 ']' + cd guard-2.18.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + pushd /builddir/build/BUILD ~/build/BUILD ~/build/BUILD/guard-2.18.0 + echo 'Patch #0 (rubygem-guard-2.18.0-Fix-RSpec-3.12-kwargs-compatibility.patch):' Patch #0 (rubygem-guard-2.18.0-Fix-RSpec-3.12-kwargs-compatibility.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file spec/lib/guard/commander_spec.rb patching file spec/lib/guard/commands/scope_spec.rb patching file spec/lib/guard/deprecated/dsl_spec.rb patching file spec/lib/guard/deprecated/guard_spec.rb patching file spec/lib/guard/deprecated/guardfile_spec.rb patching file spec/lib/guard/dsl_spec.rb patching file spec/lib/guard/internals/plugins_spec.rb patching file spec/lib/guard/internals/state_spec.rb patching file spec/lib/guard/notifier_spec.rb patching file spec/lib/guard/ui/config_spec.rb patching file spec/lib/guard/ui_spec.rb patching file spec/lib/guard_spec.rb + popd ~/build/BUILD/guard-2.18.0 + sed -i -e '\|^#!|d' lib/guard/rake_task.rb + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.I1LVPs + umask 022 + cd /builddir/build/BUILD + cd guard-2.18.0 + gem build ../guard-2.18.0.gemspec WARNING: open-ended dependency on thor (>= 0.18.1) is not recommended if thor is semantically versioned, use: add_runtime_dependency 'thor', '~> 0.18', '>= 0.18.1' WARNING: open-ended dependency on pry (>= 0.13.0) is not recommended if pry is semantically versioned, use: add_runtime_dependency 'pry', '~> 0.13', '>= 0.13.0' WARNING: open-ended dependency on formatador (>= 0.2.4) is not recommended if formatador is semantically versioned, use: add_runtime_dependency 'formatador', '~> 0.2', '>= 0.2.4' WARNING: See http://guides.rubygems.org/specification-reference/ for help Successfully built RubyGem Name: guard Version: 2.18.0 File: guard-2.18.0.gem + mkdir -p ./usr/share/gems + CONFIGURE_ARGS='--with-cflags='\''-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection'\'' ' + gem install -V --local --build-root . --force --document=ri,rdoc guard-2.18.0.gem WARNING: You build with buildroot. Build root: /builddir/build/BUILD/guard-2.18.0 Bin dir: /builddir/build/BUILD/guard-2.18.0/usr/bin Gem home: /builddir/build/BUILD/guard-2.18.0/usr/share/gems /builddir/build/BUILD/guard-2.18.0/usr/share/gems/gems/guard-2.18.0/CHANGELOG.md /builddir/build/BUILD/guard-2.18.0/usr/share/gems/gems/guard-2.18.0/LICENSE /builddir/build/BUILD/guard-2.18.0/usr/share/gems/gems/guard-2.18.0/README.md /builddir/build/BUILD/guard-2.18.0/usr/share/gems/gems/guard-2.18.0/bin/_guard-core /builddir/build/BUILD/guard-2.18.0/usr/share/gems/gems/guard-2.18.0/bin/guard /builddir/build/BUILD/guard-2.18.0/usr/share/gems/gems/guard-2.18.0/images/failed.png /builddir/build/BUILD/guard-2.18.0/usr/share/gems/gems/guard-2.18.0/images/pending.png /builddir/build/BUILD/guard-2.18.0/usr/share/gems/gems/guard-2.18.0/images/success.png /builddir/build/BUILD/guard-2.18.0/usr/share/gems/gems/guard-2.18.0/lib/guard.rb /builddir/build/BUILD/guard-2.18.0/usr/share/gems/gems/guard-2.18.0/lib/guard/aruba_adapter.rb /builddir/build/BUILD/guard-2.18.0/usr/share/gems/gems/guard-2.18.0/lib/guard/cli.rb /builddir/build/BUILD/guard-2.18.0/usr/share/gems/gems/guard-2.18.0/lib/guard/cli/environments/bundler.rb /builddir/build/BUILD/guard-2.18.0/usr/share/gems/gems/guard-2.18.0/lib/guard/cli/environments/evaluate_only.rb /builddir/build/BUILD/guard-2.18.0/usr/share/gems/gems/guard-2.18.0/lib/guard/cli/environments/valid.rb /builddir/build/BUILD/guard-2.18.0/usr/share/gems/gems/guard-2.18.0/lib/guard/commander.rb /builddir/build/BUILD/guard-2.18.0/usr/share/gems/gems/guard-2.18.0/lib/guard/commands/all.rb /builddir/build/BUILD/guard-2.18.0/usr/share/gems/gems/guard-2.18.0/lib/guard/commands/change.rb /builddir/build/BUILD/guard-2.18.0/usr/share/gems/gems/guard-2.18.0/lib/guard/commands/notification.rb /builddir/build/BUILD/guard-2.18.0/usr/share/gems/gems/guard-2.18.0/lib/guard/commands/pause.rb /builddir/build/BUILD/guard-2.18.0/usr/share/gems/gems/guard-2.18.0/lib/guard/commands/reload.rb /builddir/build/BUILD/guard-2.18.0/usr/share/gems/gems/guard-2.18.0/lib/guard/commands/scope.rb /builddir/build/BUILD/guard-2.18.0/usr/share/gems/gems/guard-2.18.0/lib/guard/commands/show.rb /builddir/build/BUILD/guard-2.18.0/usr/share/gems/gems/guard-2.18.0/lib/guard/config.rb /builddir/build/BUILD/guard-2.18.0/usr/share/gems/gems/guard-2.18.0/lib/guard/deprecated/dsl.rb /builddir/build/BUILD/guard-2.18.0/usr/share/gems/gems/guard-2.18.0/lib/guard/deprecated/evaluator.rb /builddir/build/BUILD/guard-2.18.0/usr/share/gems/gems/guard-2.18.0/lib/guard/deprecated/guard.rb /builddir/build/BUILD/guard-2.18.0/usr/share/gems/gems/guard-2.18.0/lib/guard/deprecated/guardfile.rb /builddir/build/BUILD/guard-2.18.0/usr/share/gems/gems/guard-2.18.0/lib/guard/deprecated/watcher.rb /builddir/build/BUILD/guard-2.18.0/usr/share/gems/gems/guard-2.18.0/lib/guard/dsl.rb /builddir/build/BUILD/guard-2.18.0/usr/share/gems/gems/guard-2.18.0/lib/guard/dsl_describer.rb /builddir/build/BUILD/guard-2.18.0/usr/share/gems/gems/guard-2.18.0/lib/guard/dsl_reader.rb /builddir/build/BUILD/guard-2.18.0/usr/share/gems/gems/guard-2.18.0/lib/guard/group.rb /builddir/build/BUILD/guard-2.18.0/usr/share/gems/gems/guard-2.18.0/lib/guard/guardfile.rb /builddir/build/BUILD/guard-2.18.0/usr/share/gems/gems/guard-2.18.0/lib/guard/guardfile/evaluator.rb /builddir/build/BUILD/guard-2.18.0/usr/share/gems/gems/guard-2.18.0/lib/guard/guardfile/generator.rb /builddir/build/BUILD/guard-2.18.0/usr/share/gems/gems/guard-2.18.0/lib/guard/interactor.rb /builddir/build/BUILD/guard-2.18.0/usr/share/gems/gems/guard-2.18.0/lib/guard/internals/debugging.rb /builddir/build/BUILD/guard-2.18.0/usr/share/gems/gems/guard-2.18.0/lib/guard/internals/groups.rb /builddir/build/BUILD/guard-2.18.0/usr/share/gems/gems/guard-2.18.0/lib/guard/internals/helpers.rb /builddir/build/BUILD/guard-2.18.0/usr/share/gems/gems/guard-2.18.0/lib/guard/internals/plugins.rb /builddir/build/BUILD/guard-2.18.0/usr/share/gems/gems/guard-2.18.0/lib/guard/internals/queue.rb /builddir/build/BUILD/guard-2.18.0/usr/share/gems/gems/guard-2.18.0/lib/guard/internals/scope.rb /builddir/build/BUILD/guard-2.18.0/usr/share/gems/gems/guard-2.18.0/lib/guard/internals/session.rb /builddir/build/BUILD/guard-2.18.0/usr/share/gems/gems/guard-2.18.0/lib/guard/internals/state.rb /builddir/build/BUILD/guard-2.18.0/usr/share/gems/gems/guard-2.18.0/lib/guard/internals/tracing.rb /builddir/build/BUILD/guard-2.18.0/usr/share/gems/gems/guard-2.18.0/lib/guard/internals/traps.rb /builddir/build/BUILD/guard-2.18.0/usr/share/gems/gems/guard-2.18.0/lib/guard/jobs/base.rb /builddir/build/BUILD/guard-2.18.0/usr/share/gems/gems/guard-2.18.0/lib/guard/jobs/pry_wrapper.rb /builddir/build/BUILD/guard-2.18.0/usr/share/gems/gems/guard-2.18.0/lib/guard/jobs/sleep.rb /builddir/build/BUILD/guard-2.18.0/usr/share/gems/gems/guard-2.18.0/lib/guard/notifier.rb /builddir/build/BUILD/guard-2.18.0/usr/share/gems/gems/guard-2.18.0/lib/guard/options.rb /builddir/build/BUILD/guard-2.18.0/usr/share/gems/gems/guard-2.18.0/lib/guard/plugin.rb /builddir/build/BUILD/guard-2.18.0/usr/share/gems/gems/guard-2.18.0/lib/guard/plugin_util.rb /builddir/build/BUILD/guard-2.18.0/usr/share/gems/gems/guard-2.18.0/lib/guard/rake_task.rb /builddir/build/BUILD/guard-2.18.0/usr/share/gems/gems/guard-2.18.0/lib/guard/runner.rb /builddir/build/BUILD/guard-2.18.0/usr/share/gems/gems/guard-2.18.0/lib/guard/templates/Guardfile /builddir/build/BUILD/guard-2.18.0/usr/share/gems/gems/guard-2.18.0/lib/guard/terminal.rb /builddir/build/BUILD/guard-2.18.0/usr/share/gems/gems/guard-2.18.0/lib/guard/ui.rb /builddir/build/BUILD/guard-2.18.0/usr/share/gems/gems/guard-2.18.0/lib/guard/ui/colors.rb /builddir/build/BUILD/guard-2.18.0/usr/share/gems/gems/guard-2.18.0/lib/guard/ui/config.rb /builddir/build/BUILD/guard-2.18.0/usr/share/gems/gems/guard-2.18.0/lib/guard/ui/logger.rb /builddir/build/BUILD/guard-2.18.0/usr/share/gems/gems/guard-2.18.0/lib/guard/version.rb /builddir/build/BUILD/guard-2.18.0/usr/share/gems/gems/guard-2.18.0/lib/guard/watcher.rb /builddir/build/BUILD/guard-2.18.0/usr/share/gems/gems/guard-2.18.0/lib/guard/watcher/pattern.rb /builddir/build/BUILD/guard-2.18.0/usr/share/gems/gems/guard-2.18.0/lib/guard/watcher/pattern/deprecated_regexp.rb /builddir/build/BUILD/guard-2.18.0/usr/share/gems/gems/guard-2.18.0/lib/guard/watcher/pattern/match_result.rb /builddir/build/BUILD/guard-2.18.0/usr/share/gems/gems/guard-2.18.0/lib/guard/watcher/pattern/matcher.rb /builddir/build/BUILD/guard-2.18.0/usr/share/gems/gems/guard-2.18.0/lib/guard/watcher/pattern/pathname_path.rb /builddir/build/BUILD/guard-2.18.0/usr/share/gems/gems/guard-2.18.0/lib/guard/watcher/pattern/simple_path.rb /builddir/build/BUILD/guard-2.18.0/usr/share/gems/gems/guard-2.18.0/lib/tasks/releaser.rb /builddir/build/BUILD/guard-2.18.0/usr/share/gems/gems/guard-2.18.0/man/guard.1 /builddir/build/BUILD/guard-2.18.0/usr/share/gems/gems/guard-2.18.0/man/guard.1.html /builddir/build/BUILD/guard-2.18.0/usr/bin/guard /builddir/build/BUILD/guard-2.18.0/usr/bin/_guard-core Successfully installed guard-2.18.0 Parsing documentation for guard-2.18.0 Parsing sources... 1% [ 1/62] lib/guard.rb 3% [ 2/62] lib/guard/aruba_adapter.rb 4% [ 3/62] lib/guard/cli.rb 6% [ 4/62] lib/guard/cli/environments/bundler.rb 8% [ 5/62] lib/guard/cli/environments/evaluate_only.rb 9% [ 6/62] lib/guard/cli/environments/valid.rb 11% [ 7/62] lib/guard/commander.rb 12% [ 8/62] lib/guard/commands/all.rb 14% [ 9/62] lib/guard/commands/change.rb 16% [10/62] lib/guard/commands/notification.rb 17% [11/62] lib/guard/commands/pause.rb 19% [12/62] lib/guard/commands/reload.rb 20% [13/62] lib/guard/commands/scope.rb 22% [14/62] lib/guard/commands/show.rb 24% [15/62] lib/guard/config.rb 25% [16/62] lib/guard/deprecated/dsl.rb 27% [17/62] lib/guard/deprecated/evaluator.rb 29% [18/62] lib/guard/deprecated/guard.rb 30% [19/62] lib/guard/deprecated/guardfile.rb 32% [20/62] lib/guard/deprecated/watcher.rb 33% [21/62] lib/guard/dsl.rb 35% [22/62] lib/guard/dsl_describer.rb 37% [23/62] lib/guard/dsl_reader.rb 38% [24/62] lib/guard/group.rb 40% [25/62] lib/guard/guardfile.rb 41% [26/62] lib/guard/guardfile/evaluator.rb 43% [27/62] lib/guard/guardfile/generator.rb 45% [28/62] lib/guard/interactor.rb 46% [29/62] lib/guard/internals/debugging.rb 48% [30/62] lib/guard/internals/groups.rb 50% [31/62] lib/guard/internals/helpers.rb 51% [32/62] lib/guard/internals/plugins.rb 53% [33/62] lib/guard/internals/queue.rb 54% [34/62] lib/guard/internals/scope.rb 56% [35/62] lib/guard/internals/session.rb 58% [36/62] lib/guard/internals/state.rb 59% [37/62] lib/guard/internals/tracing.rb 61% [38/62] lib/guard/internals/traps.rb 62% [39/62] lib/guard/jobs/base.rb 64% [40/62] lib/guard/jobs/pry_wrapper.rb 66% [41/62] lib/guard/jobs/sleep.rb 67% [42/62] lib/guard/notifier.rb 69% [43/62] lib/guard/options.rb 70% [44/62] lib/guard/plugin.rb 72% [45/62] lib/guard/plugin_util.rb 74% [46/62] lib/guard/rake_task.rb 75% [47/62] lib/guard/runner.rb 77% [48/62] lib/guard/templates/Guardfile 79% [49/62] lib/guard/terminal.rb 80% [50/62] lib/guard/ui.rb 82% [51/62] lib/guard/ui/colors.rb 83% [52/62] lib/guard/ui/config.rb 85% [53/62] lib/guard/ui/logger.rb 87% [54/62] lib/guard/version.rb 88% [55/62] lib/guard/watcher.rb 90% [56/62] lib/guard/watcher/pattern.rb 91% [57/62] lib/guard/watcher/pattern/deprecated_regexp.rb 93% [58/62] lib/guard/watcher/pattern/match_result.rb 95% [59/62] lib/guard/watcher/pattern/matcher.rb 96% [60/62] lib/guard/watcher/pattern/pathname_path.rb 98% [61/62] lib/guard/watcher/pattern/simple_path.rb 100% [62/62] lib/tasks/releaser.rb Installing ri documentation for guard-2.18.0 Installing darkfish documentation for guard-2.18.0 Done installing documentation for guard after 0 seconds 1 gem installed + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.54ojZo + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rubygem-guard-2.18.0-2.el8.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rubygem-guard-2.18.0-2.el8.x86_64 ++ dirname /builddir/build/BUILDROOT/rubygem-guard-2.18.0-2.el8.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rubygem-guard-2.18.0-2.el8.x86_64 + cd guard-2.18.0 + mkdir -p /builddir/build/BUILDROOT/rubygem-guard-2.18.0-2.el8.x86_64/usr/share/gems + cp -a ./usr/share/gems/build_info ./usr/share/gems/cache ./usr/share/gems/doc ./usr/share/gems/extensions ./usr/share/gems/gems ./usr/share/gems/specifications /builddir/build/BUILDROOT/rubygem-guard-2.18.0-2.el8.x86_64/usr/share/gems/ + mkdir -p /builddir/build/BUILDROOT/rubygem-guard-2.18.0-2.el8.x86_64/usr/bin + cp -a ./usr/bin/_guard-core ./usr/bin/guard /builddir/build/BUILDROOT/rubygem-guard-2.18.0-2.el8.x86_64/usr/bin/ + mkdir -p /builddir/build/BUILDROOT/rubygem-guard-2.18.0-2.el8.x86_64/usr/share/man/man1 + mv /builddir/build/BUILDROOT/rubygem-guard-2.18.0-2.el8.x86_64/usr/share/gems/gems/guard-2.18.0/man/guard.1 /builddir/build/BUILDROOT/rubygem-guard-2.18.0-2.el8.x86_64/usr/share/man/man1/ + find /builddir/build/BUILDROOT/rubygem-guard-2.18.0-2.el8.x86_64/usr/share/gems/gems/guard-2.18.0/bin -type f + xargs chmod a+x + /usr/lib/rpm/find-debuginfo.sh -j2 --strict-build-id -m -i --build-id-seed 2.18.0-2.el8 --unique-debug-suffix -2.18.0-2.el8.x86_64 --unique-debug-src-base rubygem-guard-2.18.0-2.el8.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/guard-2.18.0 + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile '' 1 + /usr/lib/rpm/brp-python-hardlink + PYTHON3=/usr/bin/python3.6 + /usr/lib/rpm/redhat/brp-mangle-shebangs mangling shebang in /usr/share/gems/gems/guard-2.18.0/bin/guard from /usr/bin/env ruby to #!/usr/bin/ruby mangling shebang in /usr/share/gems/gems/guard-2.18.0/bin/_guard-core from /usr/bin/env ruby to #!/usr/bin/ruby Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.9uyuSp + umask 022 + cd /builddir/build/BUILD ~/build/BUILD/guard-2.18.0/usr/share/gems/gems/guard-2.18.0 ~/build/BUILD/guard-2.18.0 + cd guard-2.18.0 + pushd ./usr/share/gems/gems/guard-2.18.0 + ln -s /builddir/build/BUILD/spec spec + ln -s /builddir/build/BUILD/features features + sed -i '/simplecov/ s/^/#/' spec/spec_helper.rb + sed -i '/SimpleCov.start do/,/^end/ s/^/#/' spec/spec_helper.rb + sed -i 's/path = File.expand_path("..\/..\/..\/bin\/guard", __dir__)/path = File.expand_path("..\/..\/..\/guard-2.18.0\/bin\/guard", __dir__)/' spec/lib/guard/bin_spec.rb + sed -i '/it "shows an info message" do/,/^ end$/ s/^/#/' spec/lib/guard/plugin_util_spec.rb + rspec -rspec_helper -f d spec Run options: include {:focus=>true} All examples were filtered out; ignoring {:focus=>true} Randomized with seed 59390 Guard::Internals::Tracing Module method tracing when tracing with no command arguments when backticks outputs command is expected to eq "" when #system outputs command is expected to eq true with command arguments when #system outputs command arguments is expected to eq true when not tracing with command arguments when #system does not output anything is expected to eq true with no command arguments when #system is expected to eq true does not output anything when backticks does not output anything is expected to eq "" Guard #relevant_changes? example at ./spec/lib/guard_spec.rb:247 (PENDING: Not yet implemented) .setup initializes the listener evaluates the Guardfile initializes the interactor returns itself for chaining displays an error message when no guard are defined in Guardfile connects to the notifier 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 .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 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 with the group option passes options to session trapping signals sets up USR2 trap for unpausing sets up USR1 trap for pausing sets up INT trap for cancelling or quitting interactor ._relative_pathname with file on another drive (e.g. Windows) is expected to eq #<Pathname:d:/project/foo> with file within project is expected to eq #<Pathname:spec/models/foo_spec.rb> with file in project directory is expected to eq #<Pathname:foo> with file in parent directory is expected to eq #<Pathname:../foo> Guard::Deprecated::Guard .get_guard_class displays a deprecation warning to the user delegates to Guard::PluginUtil :fail_gracefully pass it to get_guard_class reset_evaluator show deprecation warning .groups show deprecation warning provides a similar implementation .scope provides a similar implementation show deprecation warning .scope= provides a similar implementation show deprecation warning .listener= show deprecation warning provides and alternative implementation .guard_gem_names displays a deprecation warning to the user delegates to Guard::PluginUtil .add_guard delegates to Guard.plugins displays a deprecation warning to the user .plugins provides a similar implementation show deprecation warning .locate_guard delegates to Guard::PluginUtil displays a deprecation warning to the user .group show deprecation warning provides a similar implementation .plugin show deprecation warning provides a similar implementation .lock show deprecation warning evaluate_guardfile evaluates the guardfile show deprecation warning options show deprecation warning :clear when being set to false sets the clearing option accordingly when being set to true sets the clearing option accordingly when being read when not set provides an alternative implementation when set provides an alternative implementation .guards delegates to Plugins displays a deprecation warning to the user .add_plugin adds a plugin show deprecation warning .running show deprecation warning evaluator show deprecation warning .add_group adds a group show deprecation warning Guard::PluginUtil #initialize_plugin with a plugin inheriting from Guard::Plugin instantiate the plugin using the new API .plugin_names returns the list of guard gems returns the list of embedded guard gems ignores guard-compat #initialize accepts a name without guard- accepts a name with guard- #add_to_guardfile when Guardfile is empty appends the template to the Guardfile when the Guard is not in the Guardfile appends the template to the Guardfile #plugin_location returns the path of a Guard gem #plugin_class reports an error if the class is not found with a name with dashes returns the Guard class with a name like VSpec returns the Guard class with a name with underscores returns the Guard class with an inline Guard class returns the Guard class with a nested Guard class resolves the Guard class from symbol resolves the Guard class from string when set to fail gracefully does not print error messages on fail Guard::Commands::Pause tells Guard to pause Guard::Deprecated::Dsl .evaluate_guardfile displays a deprecation warning to the user delegates to Guard::Guardfile::Generator Guard::Config is expected to respond to #strict? is expected to respond to #silence_deprecations? .strict? when GUARD_STRICT is set to a 'false' value is expected not to be strict when GUARD_STRICT is set to a 'true' value is expected to be strict Guard::Deprecated::Guardfile .initialize_all_templates displays a deprecation warning to the user delegates to Guard::Guardfile::Generator .initialize_template displays a deprecation warning to the user delegates to Guard::Guardfile::Generator .create_guardfile delegates to Guard::Guardfile::Generator displays a deprecation warning to the user Guard::UI::Logger::Config #level= with a valid value stores the level defaults flushes device by default Guard::UI::Config #logger_config with deprecated options set when set using a symbol passes deprecated options to logger provides a logger config 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::Commands::Scope 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 without scope does not call :scope= and shows usage with a valid Guard group scope sets up the scope with the given scope Guard::Internals::Groups #all with existing groups 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 string argument returns an array of groups if plugins are found with a regexp argument matching a group returns an array of groups with no arguments returns all groups with a symbol argument matching a group returns an array of groups if plugins are found with only default groups initializes the groups #add with existing groups add the given group with options add the given group with an existing group does not add duplicate groups when name is a symbol does not add duplicate groups when name is a string Guard::Internals::Session #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 force_polling option is expected to eq [:to, "/builddir/build/BUILD/guard-2.18.0/usr/share/gems/gems/guard-2.18.0", {:force_polling=>true}] with latency option is expected to eq [:to, "/builddir/build/BUILD/guard-2.18.0/usr/share/gems/gems/guard-2.18.0", {:latency=>1.5}] #guardfile_scope with a group scope sets the groups with a groups scope sets the groups with a plugin scope sets the plugins with a plugins scope sets the plugins #guardfile_ignore= when set from guardfile is expected to eq [/foo/] when set multiple times from guardfile is expected to eq [/foo/, /bar/] when unset is expected to eq [] .convert_scope returns multiple plugin scopes returns a plugin scope returns the unkown scopes returns a group scope returns a plugin and group scope returns multiple group scopes #guardfile_ignore_bang= when unset is expected to eq [] when set from guardfile is expected to eq [/foo/] #clearing when not set when clearing is not set from commandline is expected not to be clearing when clearing is set from commandline is expected not to be clearing when set from guardfile when set to :off is expected not to be clearing when set to :on is expected to be clearing #guardfile_notification= when unset is expected to eq {:notifiers=>{}, :notify=>true} when set multiple times from guardfile merges results when set from guardfile is expected to eq {:notifiers=>{:foo=>{:bar=>:baz}}, :notify=>true} Guard::Watcher::Pattern .create when a regexp is given 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 a string is given is expected to be a kind of Guard::Watcher::Pattern::SimplePath when an regexp string is given is expected to be a kind of Guard::Watcher::Pattern::Matcher shows a warning when a custom matcher is expected to be a kind of Guard::Watcher::Pattern::Matcher Guard::Internals::Traps .handle with a supported signal name sets up a handler with an unsupported signal name does not set a handler Guard::Internals::Scope #titles example at ./spec/lib/guard/internals/scope_spec.rb:93 (PENDING: Not yet implemented) #to_hash :plugin when set from interactor uses interactor scope when not set in interactor when not set in commandline when set in Guardfile uses guardfile scope when set in commandline uses commandline scope :group 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::Runner #run_on_changes always calls UI.clearable with modified files but modified paths is empty does not call run anything with no changes does not run any task when clearable clear UI with added paths executes the :run_on_additions task with added files but added paths is empty does not call run anything with matching removed paths executes the :run_on_removals task with non-matching removed paths does not call tasks with modified paths executes the :run_first_task_found task #run executes supervised task on all registered plugins implementing it marks an action as unit of work with no scope executes the supervised task using current scope with a scope executes the supervised task on the specified plugin only with interrupted task catches the thrown symbol .stopping_symbol_for for a group with :halt_on_fail returns :no_catch for a group without :halt_on_fail returns :task_has_failed #_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 display an error to the user returns the exception removes the Guard with a task that succeeds without any arguments passes the result of the supervised method to the :end hook returns the result of the task does not remove the Guard calls :begin and :end hooks with arguments does not remove the Guard returns the result of the task with a task that throws :task_has_failed in a group with halt_on_fail: true throws :task_has_failed with halt_on_fail: false catches :task_has_failed Guard::Dsl #filter! alias method is expected to eq #<UnboundMethod: Guard::Dsl#ignore!> #notification with multiple notifications adds multiple notifiers when notification adds a notification to the notifier #scope with any parameters sets the guardfile's default scope #guard with single-quoted name loads a guard specified as a quoted string from the DSL with name as symbol in parens adds the plugin with groups adds plugin with group info with plugins in custom and default groups assigns plugins to correct groups with symbol for name loads a guard specified as a symbol from the DSL with options passes options to plugin with double-quoted name loads a guard specified as a double quoted string from the DSL #ignore with ignore regexps adds ignored regexps to the listener with multiple ignore calls adds all ignored regexps to the listener #group with a valid guardfile evaluates all groups no plugins in group displays an error group named "all" raises an error with multiple names adds all given groups group named :all raises an error #interactor with interactor options passes the options to the interactor with interactor :off disables the interactions with :off #clear with clear :off disables clearing the screen after every task with clear :on enabled clearing the screen after every task #watch with watchers should receive watchers when specified with watch in main scope should create an implicit no-op guard when outside a guard block #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 no parameters sets the watchdirs to empty with non-existing directory fails with an error with valid directories sets the watchdirs to given values #logger with invalid options for the log level does not set the invalid value shows a warning when having both the :only and :except options removes the options shows a warning options with logger only filter from a string is expected to have received options=({:only=>/jasmine/i}) 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 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 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 only filter from an array of symbols and string is expected to have received options=({:only=>/rspec|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 template is expected to have received options=({:template=>":message - :severity"}) 1 time #callback without a guard block fails with creates callbacks for the guard #filter alias method is expected to eq #<UnboundMethod: Guard::Dsl#ignore> Guard::Group #title is expected to eq "Foo" #options when provided is expected to eq {:halt_on_fail=>true} #to_s is expected to eq "#<Guard::Group @name=foo @options={}>" #name is expected to eq :foo when initialized from a string is expected to eq :foo Guard::Plugin #hook accepts extra arguments passes the hooks name notifies the hooks #initialize assigns the defined options assigns the defined watchers 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 .notify runs callbacks only for the guard given sends :call to the given Guard class's start_begin callback runs only the given callbacks sends :call to the given Guard class's start_begin callback with a plugin instance #title outputs the plugin title .template reads the default template .non_namespaced_name remove the Guard:: namespace and downcase #to_s output the short plugin name .non_namespaced_classname remove the Guard:: namespace #name outputs the short plugin name .add_callback can add multiple callbacks can add a run_on_modifications callback Guard::Deprecated::Watcher .match_guardfile? matches against current guardfile displays a deprecation warning to the user Guard::Cli::Environments::Valid #start_guard with a valid bundler setup returns exit code start guard with options starts guard when a Guard::Guardfile::Evaluator::NoPluginsError error occurs shows error message aborts when a Guard::Guardfile::Evaluator::NoGuardfileError error occurs shows error message aborts when a Guard::Dsl::Error error occurs shows error message aborts when a Guard::Guardfile::Evaluator::NoCustomGuardfile error occurs shows error message aborts return value matches return value of Guard.start with no_bundler_warning option does not verify bundler presence starts guard without no_bundler_warning option verifies bundler presence without a valid bundler setup does not start guard #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 creates a Guardfile initializes templates of all installed Guards evaluates created or existing guardfile 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 when passed an unknown guard name returns an exit code Guard::Internals::Debugging #start traces Kernel.system traces Open3.popen3 traces Kernel.spawn traces Kernel.` when already started does not set log level when not started makes threads abort on exceptions sets logger to debug #stop when already started untraces Open3.popen3 untraces Kernel.system sets logger level to info untraces Kernel.` when not started does not set logger level Guard::Watcher::Pattern::DeprecatedRegexp Matcher returned by .convert with foo.rb$ creates a Matcher with (?-mix:foo.rb$) with ^foo.rb creates a Matcher with (?-mix:^foo.rb) with foo\.rb creates a Matcher with (?-mix:foo\.rb) with .*rb creates a Matcher with (?-mix:.*rb) .deprecated? is expected to be deprecated is expected to be deprecated Guard::DslReader guard when it is a Symbol works without errors reports the name as a String when it is a String reports the name as a String works without errors #callback signature matches base signature #clearing signature matches base signature #directories signature matches base signature plugin_names returns encountered names #ignore! signature matches base signature #logger signature matches base signature #ignore signature matches base signature #watch signature matches base signature #scope signature matches base signature notification handles arguments without errors #guard signature matches base signature #group signature matches base signature #initialize signature matches base signature #notification signature matches base signature #interactor signature matches base signature GuardReloader when running with bundler sets up bundler 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 no Gemfile exists shows no warning when Gemfile exists shows a warning when running as binstub when the relative Gemfile does not exist does not setup bundler does not setup rubygems shows no warning when the relative Gemfile exists sets the Gemfile sets up bundler Guard::CLI #start exits with given exit code passes options delegates to Guard::Environment.start #show calls the evaluation outputs the Guard::DslDescriber.list result #list outputs the Guard plugins list calls the evaluation #version shows the current version #init passes plugin names exits with given exit code delegates to Guard::Environment.start passes options #notifiers outputs the notifiers list calls the evaluation 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::Commands::Show tells Guard to output DSL description 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 [#<Pathname: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 [#<Pathname:foo.rb>] Guard::Guardfile::Evaluator .guardfile_include? when plugin is present returns true when plugin is not present returns false .evaluate error cases with a problem reading a Guardfile displays an error message and exits with no Guardfile at all displays an error message and exits with a non-existing Guardfile given raises error when provided :contents is nil does not raise error and skip it with an invalid Guardfile displays an error message and raises original exception with Guardfile as guardfile.rb evalutates guardfile.rb with empty Guardfile content displays an error message about no plugins selection of the Guardfile data contents with a valid :contents option with inline content and other Guardfiles available gives ultimate precedence to inline content #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 Guard::UI .error behaves like a logger method resets the line with the :reset option logs the message with the given severity with the :except option allows logging other messages prevents logging matching messages with the :only option prevents logging other messages allows logging matching messages .clear with UI set up and ready when clear option is enabled when the screen is marked as needing clearing clears the output clears the output only once when the command fails shows a warning when the screen has just been cleared does not clear when forced clears the outputs if forced when clear option is disabled does not clear the output .level= when logger is not set up yet does not autocreate the logger sets the logger's config level when logger is set up sets the logger's config level sets the logger's level .deprecation with GUARD_GEM_SILENCE_DEPRECATIONS unset behaves like a logger method 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 with GUARD_GEM_SILENCE_DEPRECATIONS set to 1 silences deprecations .debug behaves like a logger method logs the message with the given severity resets the line with the :reset option with the :except option allows logging other messages prevents logging matching messages with the :only option allows logging matching messages prevents logging other messages .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 allows logging other messages prevents logging matching messages .logger with no logger set yet returns the logger instance sets the logger device .action_with_scopes without a scope with a global plugin scope shows the global plugin scoped action with a global group scope shows the global group scoped action with a groups scope shows the group scoped action with a plugins scope shows the plugin scoped action .warning behaves like a logger method resets the line with the :reset option logs the message with the given severity with the :except option prevents logging matching messages allows logging other messages with the :only option allows logging matching messages prevents logging other messages Guard::Jobs::PryWrapper #foreground return :stopped when brought into background prevents the Pry thread from being killed too quickly waits for Pry thread to finish #background kills the Pry thread #_setup Guard is using Pry >= 0.13 calls Pry.config.history_file= Guard is using Pry < 0.13 calls Pry.config.history.file= #_prompt(ending_char) Guard is using Pry >= 0.13 calls Pry::Prompt.new Guard is not paused displays 'guard' Guard is paused displays 'pause' 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 using Pry < 0.13 does not call Pry::Prompt.new displays 'guard' Guard::Commands::Notification toggles the Guard notifier 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 integration #match result when constructed with valid regexp 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"] when matched file contains a $ is expected to eq ["foo.rb"] 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"] #== returns false for unequal matchers returns true for equal matchers 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::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::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::DslDescriber .show shows the Guards and their options .notifiers properly connects and disconnects shows the notifiers and their options #list lists the available Guards declared as strings or symbols Guard::Internals::Plugins #all find plugins by their group & name returns an empty array when no plugin is found returns an array of plugins if plugins are found find plugins by their group as a string 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 a plugin by as string returns an array of plugins if plugins are found find plugins matching a regexp returns an array of plugins if plugins are found returns an empty array when no plugin is 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 #remove removes given plugin Guard::Guardfile::Generator has a valid Guardfile template #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 does not display information aborts does not copy the Guardfile template or notify the user displays an error message #initialize_template with an installed Guard implementation initializes the Guard with a user defined template copies the Guardfile template and initializes the Guard when the passed guard can't be found notifies the user about the problem #initialize_all_templates calls Guard.initialize_template on all installed plugins Guard::Notifier toggle_notification with available notifiers when currently off resumes notifications when currently on suspends notifications .notify with no options notifies with a runtime error shows an error with multiple parameters notifies Guard::Cli::Environments::Bundler #verify without an existing Gemfile does not show the Bundler warning with an existing Gemfile with Bundler does not show the Bundler warning without Bundler with Rubygems Gemfile autodetection or custom Gemfile does not show the Bundler warning without Rubygems Gemfile handling shows the Bundler warning Guard::Watcher #== returns true for equal watchers returns false for unequal watchers .match_files 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 returns empty string returns a single file specified within the action combines the results of different actions returns the evaluated addition argument in an array returns nothing if the action response is empty string for a watcher that matches file strings returns multiple files specified within the action returns a single file specified within the action combines files from results of different actions returns nothing if the action returns nothing returns nothing if the action response is empty when action returns non-string or array of non-strings returns nothing for ambiguous watchers when the :first_match option is turned off returns multiple files by combining the results of the watchers when the :first_match option is turned on returns only the files from the first watcher with an exception that is raised displays the error and backtrace with a watcher action that takes a parameter for a watcher that matches file strings returns nothing if action returns non-string or non-string array combines results of different actions returns a substituted single file specified within the action returns multiple files specified within the action returns nothing if the action response is empty returns nothing if the action returns nothing for a watcher that matches information objects returns the evaluated addition argument + the path 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 a substituted single file specified within the action combinines results of different actions #initialize with a pattern parameter creates a matcher with no arguments raises an error integration #match with a named regexp pattern with a watcher that matches a file is expected to eq "bar" provides the match by name #action sets the action to the supplied block sets the action to nothing by default #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 Guard::Jobs::Sleep #foreground sleeps returns :stopped when put to background #background wakes up main thread Guard::Internals::State #initialize debugging when debug is set to false does not set up debugging when debug is set to true sets up debugging Guard::Commands::All with a valid Guard plugin scope runs the :run_all action with the given scope with a valid Guard group scope runs the :run_all action with the given scope with an invalid scope does not run the action without scope runs the :run_all action Guard::Cli::Environments::EvaluateOnly #evaluate calls Guard.init evaluates the guardfile passes options to evaluator initializes Guard with options when a Guard::Dsl::Error error occurs shows error message aborts when a Guard::Guardfile::Evaluator::NoGuardfileError error occurs shows error message aborts when a Guard::Guardfile::Evaluator::NoPluginsError error occurs shows error message aborts when a Guard::Guardfile::Evaluator::NoCustomGuardfile error occurs shows error message aborts 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 first item returns the full original value when asked for the non-first item returns the value at given index #initialize with valid arguments does not fail Guard::Options .initialize can be passed defaults handles nil options merges the sensible defaults to the given options has indifferent access Guard::Interactor .enabled & .enabled= returns true by default interactor not enabled returns false when disabled #foreground sleeps #handle_interrupt interrupts sleep #background wakes up from sleep .options & .options= returns {} by default options set to { foo: :bar } returns { foo: :bar } job selection when enabled from the DSL when disabled from the commandline is expected to be enabled uses only sleeper when enabled from the commandline uses only pry is expected to be enabled when disabled from the DSL when disabled from the commandline uses only sleeper is expected not to be enabled when enabled from the commandline is expected not to be enabled uses only sleeper when enabled #foreground starts Pry #handle_interrupt interrupts Pry #background hides Pry Guard::Commands::Change with multiple files runs the :run_on_changes action with the given files without a file does not run the :run_on_changes action with a file runs the :run_on_changes action with the given file Guard::Commander .run_all with an empty scope runs all with a given scope runs all with the scope .stop tell the runner to run the :stop task turns off the interactor stops the listener turns the notifier off .pause when unpaused with nil shows a message pauses with invalid parameter raises an ArgumentError with :paused pauses shows a message with :toggle pauses shows a message with :unpaused does nothing when already paused with :toggle shows a message unpauses with nil unpauses shows a message with invalid parameter raises an ArgumentError with :unpaused unpauses shows a message with :paused does nothing .start start the listener displays an info message tell the runner to run the :start task calls Guard setup when finished stops everything when listener.start raises an error calls Commander#stop when setup raises an error calls Commander#stop .reload reloads Guard clears the screen .show shows list of plugins Pending: (Failures listed here are expected and do not affect your suite's status) 1) Guard#relevant_changes? # Not yet implemented # ./spec/lib/guard_spec.rb:247 2) Guard::Internals::Scope#titles # Not yet implemented # ./spec/lib/guard/internals/scope_spec.rb:93 Finished in 12.02 seconds (files took 0.38198 seconds to load) 626 examples, 0 failures, 2 pending Randomized with seed 59390 + popd ~/build/BUILD/guard-2.18.0 + exit 0 Processing files: rubygem-guard-2.18.0-2.el8.noarch Provides: rubygem(guard) = 2.18.0-1 rubygem-guard = 2.18.0-2.el8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: (rubygem(listen) < 4.0 with rubygem(listen) >= 2.7) (rubygem(lumberjack) < 2.0 with rubygem(lumberjack) >= 1.0.12) (rubygem(nenv) >= 0.1 with rubygem(nenv) < 1) (rubygem(notiffany) with rubygem(notiffany) < 1) (rubygem(shellany) with rubygem(shellany) < 1) /usr/bin/ruby ruby(rubygems) rubygem(formatador) >= 0.2.4 rubygem(pry) >= 0.13.0 rubygem(thor) >= 0.18.1 Processing files: rubygem-guard-doc-2.18.0-2.el8.noarch Provides: rubygem-guard-doc = 2.18.0-2.el8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rubygem-guard-2.18.0-2.el8.x86_64 Wrote: /builddir/build/RPMS/rubygem-guard-2.18.0-2.el8.noarch.rpm Wrote: /builddir/build/RPMS/rubygem-guard-doc-2.18.0-2.el8.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.dV7XiL + umask 022 + cd /builddir/build/BUILD + cd guard-2.18.0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/rubygem-guard-2.18.0-2.el8.x86_64 + exit 0 Child return code was: 0