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-1687859662.638563/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.lfh4j29z:/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.lfh4j29z:/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', 'c5cf1bb6b8b34841827e86a52d03726e', '-D', '/var/lib/mock/rhel+epel-8-x86_64-1687859662.638563/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.lfh4j29z:/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;\\007"', '--setenv=PS1= \\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;\\007"', 'PS1': ' \\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-1687859662.638563/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.lfh4j29z:/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.lfh4j29z:/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', '88932c64384e4a66b7ad3f56ba29019f', '-D', '/var/lib/mock/rhel+epel-8-x86_64-1687859662.638563/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.lfh4j29z:/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;\\007"', '--setenv=PS1= \\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;\\007"', 'PS1': ' \\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.0labW5 + 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.hGq40q + 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 1 seconds 1 gem installed + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.Fs3JV6 + 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.n0zQcf + umask 022 + cd /builddir/build/BUILD + cd guard-2.18.0 + pushd ./usr/share/gems/gems/guard-2.18.0 ~/build/BUILD/guard-2.18.0/usr/share/gems/gems/guard-2.18.0 ~/build/BUILD/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 34133 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 matches is expected to eq ["foo.rb"] when filename does not match is expected to be nil 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 shows a warning is expected to be a kind of Guard::Watcher::Pattern::Matcher 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 Guard::Interactor .options & .options= returns {} by default options set to { foo: :bar } returns { foo: :bar } when disabled #background wakes up from sleep #handle_interrupt interrupts sleep #foreground sleeps .enabled & .enabled= returns true by default interactor not enabled returns false job selection when enabled from the DSL when enabled from the commandline is expected to be enabled uses only pry when disabled from the commandline is expected to be enabled uses only sleeper when disabled from the DSL when enabled from the commandline is expected not to be enabled uses only sleeper when disabled from the commandline uses only sleeper is expected not to be enabled when enabled #background hides Pry #handle_interrupt interrupts Pry #foreground starts Pry Guard::Internals::Scope #to_hash :group when not set in interactor when not set in commandline when set in Guardfile uses guardfile scope when set in commandline uses commandline scope when set from interactor uses interactor 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 #titles example at ./spec/lib/guard/internals/scope_spec.rb:93 (PENDING: Not yet implemented) 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::Commands::All with a valid Guard group scope runs the :run_all action with the given scope with a valid Guard plugin 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::Commands::Notification toggles the Guard notifier Guard::Deprecated::Guard .guard_gem_names delegates to Guard::PluginUtil displays a deprecation warning to the user .add_group adds a group 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 false sets the clearing option accordingly when being set to true sets the clearing option accordingly .plugin provides a similar implementation show deprecation warning .group provides a similar implementation show deprecation warning .lock show deprecation warning .listener= provides and alternative implementation show deprecation warning .groups show deprecation warning provides a similar implementation .get_guard_class displays a deprecation warning to the user delegates to Guard::PluginUtil :fail_gracefully pass it to get_guard_class .locate_guard displays a deprecation warning to the user delegates to Guard::PluginUtil .scope provides a similar implementation show deprecation warning .scope= provides a similar implementation show deprecation warning .running show deprecation warning .plugins provides a similar implementation show deprecation warning evaluate_guardfile show deprecation warning evaluates the guardfile .add_guard delegates to Guard.plugins displays a deprecation warning to the user .guards delegates to Plugins displays a deprecation warning to the user evaluator show deprecation warning reset_evaluator show deprecation warning Guard::Options .initialize merges the sensible defaults to the given options can be passed defaults has indifferent access handles nil options Guard::Internals::Session #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 set from commandline is expected not to be clearing when clearing is not 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_scope 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 .convert_scope returns multiple group scopes returns a group scope returns multiple plugin scopes returns a plugin scope returns the unkown scopes returns a plugin and group scope #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} #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, "/builddir/build/BUILD/guard-2.18.0/usr/share/gems/gems/guard-2.18.0", {:latency=>1.5}] 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}] #guardfile_ignore= when set from guardfile is expected to eq [/foo/] when unset is expected to eq [] when set multiple times from guardfile is expected to eq [/foo/, /bar/] Guard::Internals::Plugins #all 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 & name returns an empty array when no plugin is found returns an array of plugins if plugins are 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 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 symbol returns an empty array when no plugin is found returns an array of plugins if plugins are found #remove removes given plugin Guard::CLI #version shows the current version #show calls the evaluation outputs the Guard::DslDescriber.list result #start delegates to Guard::Environment.start exits with given exit code passes options #list outputs the Guard plugins list calls the evaluation #init delegates to Guard::Environment.start passes options exits with given exit code passes plugin names #notifiers outputs the notifiers list calls the evaluation Guard::PluginUtil #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 #plugin_class reports an error if the class is not found with an inline Guard class returns the Guard class with a name with underscores 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 dashes 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 .plugin_names returns the list of embedded guard gems returns the list of guard gems ignores guard-compat #plugin_location returns the path of a Guard gem #initialize_plugin with a plugin inheriting from Guard::Plugin instantiate the plugin using the new API Guard .setup evaluates the Guardfile returns itself for chaining initializes the interactor connects to the notifier displays an error message when no guard are defined in Guardfile initializes the listener with the plugin option passes options to session listener 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 without ignores is expected not to have received ignore!(*(any args)) 0 times is expected not to have received ignore(*(any args)) 0 times .interactor with interactions disabled is expected to have received new(true) 1 time with interactions enabled is expected to have received new(false) 1 time trapping signals sets up USR2 trap for unpausing sets up USR1 trap for pausing sets up INT trap for cancelling or quitting interactor with the group option passes options to session UI when clearing is configured is expected to have received reset_and_clear(*(any args)) 1 time ._relative_pathname 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 # with file in project directory is expected to eq # #relevant_changes? example at ./spec/lib/guard_spec.rb:247 (PENDING: Not yet implemented) Guard::Guardfile::Generator has a valid Guardfile template #initialize_template 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 with an installed Guard implementation initializes the Guard #initialize_all_templates calls Guard.initialize_template on all installed plugins #create_guardfile with an existing Guardfile displays an error message does not display information aborts does not copy the Guardfile template or notify the user without an existing Guardfile does not display any kind of error or abort copies the Guardfile template and notifies the user Guard::Deprecated::Evaluator #evaluate_guardfile displays a deprecation warning to the user calls the recommended method #reevaluate_guardfile displays a deprecation warning to the user Guard::Cli::Environments::Valid #initialize_guardfile with bare option Only creates the Guardfile without initializing any Guard template returns an exit code with no bare option initializes templates of all installed Guards returns an exit code evaluates created or existing guardfile creates a Guardfile initializes each passed template 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 #start_guard return value matches return value of Guard.start without no_bundler_warning option verifies bundler presence without a valid bundler setup does not start guard with no_bundler_warning option starts guard does not verify bundler presence with a valid bundler setup starts guard returns exit code start guard with options 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 aborts shows error message when a Guard::Guardfile::Evaluator::NoCustomGuardfile error occurs aborts shows error message Guard::Deprecated::Dsl .evaluate_guardfile delegates to Guard::Guardfile::Generator displays a deprecation warning to the user Guard::Commands::Scope without scope does not call :scope= and shows usage 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 with a valid Guard plugin scope runs the :scope= action with the given scope Guard::Watcher::Pattern::PathnamePath #match result when constructed with an unclean Pathname when matched file is an unclean Pathname when filename matches is expected to eq [#] 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 [#] Guard::Commands::Reload without scope triggers the :reload action with a valid Guard group scope triggers the :reload action with the given scope with an invalid scope does not trigger the action with a valid Guard plugin scope triggers the :reload action with the given scope Guard::Commands::Pause tells Guard to pause Guard::Commands::Show tells Guard to output DSL description Guard::Internals::Tracing Module method tracing when not tracing with no command arguments when backticks is expected to eq "" does not output anything when #system does not output anything is expected to eq true with command arguments when #system does not output anything is expected to eq true when tracing with no command arguments when #system outputs command is expected to eq true when backticks outputs command is expected to eq "" with command arguments when #system is expected to eq true outputs command arguments Guard::Dsl #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 #filter alias method is expected to eq # #notification when notification adds a notification to the notifier with multiple notifications adds multiple notifiers #guard with name as symbol in parens adds the plugin with groups adds plugin with group info with options passes options to plugin with symbol for name loads a guard specified as a symbol from the DSL with single-quoted name loads a guard specified as a quoted string from the DSL with plugins in custom and default groups assigns plugins to correct groups with double-quoted name loads a guard specified as a double quoted string from the DSL #group group named :all raises an error with a valid guardfile evaluates all groups group named "all" raises an error no plugins in group displays an error with multiple names adds all given groups #filter! alias method is expected to eq # #directories with no parameters sets the watchdirs to empty with valid directories sets the watchdirs to given values with non-existing directory fails with an error #interactor with interactor options passes the options to the interactor with interactor :off disables the interactions with :off #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 only foo* and *bar* replaces listener regexps when ignoring *.txt and *.zip and ignoring! only foo* replaces listener ignores, but keeps ignore! ignores #scope with any parameters sets the guardfile's default scope #logger options with logger except filter from a string is expected to have received options=({:except=>/jasmine/i}) 1 time with logger level :error is expected to have received options=({:level=>:error}) 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 a logger only filter from a symbol is expected to have received options=({:only=>/cucumber/i}) 1 time with logger level 'error' is expected to have received options=({:level=>:error}) 1 time with logger template is expected to have received options=({:template=>":message - :severity"}) 1 time with a logger time format is expected to have received options=({:time_format=>"%Y"}) 1 time with logger only filter from a string is expected to have received options=({:only=>/jasmine/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 except filter from a symbol is expected to have received options=({:except=>/jasmine/i}) 1 time 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 Guard::Watcher 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 nothing by default sets the action to the supplied block #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 no arguments raises an error with a pattern parameter creates a matcher #== returns true for equal watchers returns false for unequal watchers .match_files 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 regex pattern returns the paths that matches the regex with a string pattern returns the path that matches the string with a watcher action that takes a parameter for a watcher that matches information objects returns nothing if the action returns is IO::NULL combinines results of different actions returns nothing if the action response is empty string returns the evaluated addition argument + the path returns a hash specified within the action returns a substituted single file specified within the action for a watcher that matches file strings combines results of different actions returns nothing if the action returns nothing returns a substituted single file specified within the action returns nothing if action returns non-string or non-string array returns nothing if the action response is empty returns multiple files specified within the action with a watcher action without parameter for a watcher that matches information objects returns nothing if the action returns empty string returns the evaluated addition argument in an array returns a single file specified within the action combines the results of different actions returns nothing if the action response is empty string returns multiple files specified within the action for a watcher that matches file strings returns multiple files specified within the action returns nothing if the action returns nothing combines files from results of different actions returns a single file specified within the action returns nothing if the action response is empty when action returns non-string or array of non-strings returns nothing Guard::Internals::State #initialize debugging when debug is set to true sets up debugging when debug is set to false does not set up debugging Guard::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 displays a deprecation warning to the user delegates to Guard::Guardfile::Generator Guard::Internals::Debugging #start traces Kernel.spawn traces Open3.popen3 traces Kernel.` traces Kernel.system when already started does not set log level when not started sets logger to debug makes threads abort on exceptions #stop when not started does not set logger level when already started untraces Kernel.` untraces Open3.popen3 untraces Kernel.system sets logger level to info Guard::Cli::Environments::EvaluateOnly #evaluate passes options to evaluator initializes Guard with options calls Guard.init evaluates the guardfile when a Guard::Dsl::Error error occurs shows error message aborts when a Guard::Guardfile::Evaluator::NoPluginsError error occurs aborts shows error message when a Guard::Guardfile::Evaluator::NoGuardfileError error occurs shows error message aborts when a Guard::Guardfile::Evaluator::NoCustomGuardfile error occurs shows error message aborts Guard::Jobs::Sleep #background wakes up main thread #foreground returns :stopped when put to background sleeps Guard::Internals::Groups #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 no arguments returns all groups 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 #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::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 returns the result of the task calls :begin and :end hooks passes the result of the supervised method to the :end hook does not remove the Guard with a task that raises an exception calls the default begin hook but not the default end hook removes the Guard display an error to the user returns the exception with a task that throws :task_has_failed in a group with halt_on_fail: true throws :task_has_failed with halt_on_fail: false catches :task_has_failed #run_on_changes always calls UI.clearable with modified paths executes the :run_first_task_found task with added files but added paths is empty does not call run anything with added paths executes the :run_on_additions task with non-matching removed paths does not call tasks with no changes does not run any task with modified files but modified paths is empty does not call run anything when clearable clear UI with matching removed paths executes the :run_on_removals task #run executes supervised task on all registered plugins implementing it marks an action as unit of work with a scope executes the supervised task on the specified plugin only with no scope executes the supervised task using current scope 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 Guard::Jobs::PryWrapper #_setup Guard is using Pry < 0.13 calls Pry.config.history.file= Guard is using Pry >= 0.13 calls Pry.config.history_file= #background kills the Pry thread #foreground prevents the Pry thread from being killed too quickly waits for Pry thread to finish return :stopped when brought into background #_prompt(ending_char) Guard is using Pry >= 0.13 calls Pry::Prompt.new Guard is not paused displays 'guard' 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 using Pry < 0.13 does not call Pry::Prompt.new displays 'guard' Guard::Config is expected to respond to #strict? is expected to respond to #silence_deprecations? .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 GuardReloader when not running with bundler when not running with rubygems_gemdeps when running as binstub when the relative Gemfile exists sets up bundler sets the Gemfile when the relative Gemfile does not exist shows no warning does not setup rubygems does not setup bundler when not run as binstub when Gemfile exists shows a warning when no Gemfile exists shows no warning when running with rubygems_gemdeps sets up rubygems when running with bundler sets up bundler Guard::Guardfile::Evaluator #inline? when guardfile_contents is provided is expected to be inline when no content is provided is expected not to be inline when contents is provided is expected to be inline .guardfile_include? when plugin is not present returns false when plugin is present returns true .evaluate selection of the Guardfile data contents with a valid :contents option with inline content and other Guardfiles available gives ultimate precedence to inline content error cases with empty Guardfile content displays an error message about no plugins with Guardfile as guardfile.rb evalutates guardfile.rb with a non-existing Guardfile given raises error with a problem reading a Guardfile displays an error message and exits when provided :contents is nil does not raise error and skip it with an invalid Guardfile displays an error message and raises original exception with no Guardfile at all displays an error message and exits Guard::UI::Config #device when not set when accessed as a symbol returns $stderr when accessed as a method returns $stderr when accessed as a string returns $stderr #logger_config with defaults provides a 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 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::UI::Logger::Config #level= with a valid value stores the level defaults flushes device by default Guard::UI .debug 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 .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 .options= sets the logger options .logger with no logger set yet sets the logger device returns the logger instance .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 .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 with the :only option prevents logging other messages allows logging matching messages with the :except option allows logging other messages prevents logging matching messages .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 level sets the logger's config level .info behaves like a logger method resets the line with the :reset option logs the message with the given severity with the :except option allows logging other messages prevents logging matching messages with the :only option allows logging matching messages prevents logging other messages .warning behaves like a logger method logs the message with the given severity resets the line with the :reset option with the :except option allows logging other messages prevents logging matching messages 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 Guard::DslReader #notification signature matches base signature #initialize signature matches base signature #ignore! signature matches base signature #watch signature matches base signature notification handles arguments without errors #logger signature matches base signature #directories signature matches base signature #scope signature matches base signature #guard signature matches base signature #group signature matches base signature #callback signature matches base signature #clearing signature matches base signature #interactor signature matches base signature guard when it is a Symbol reports the name as a String works without errors when it is a String reports the name as a String works without errors #ignore signature matches base signature plugin_names returns encountered names Guard::Watcher::Pattern::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 true for equal matchers returns false for unequal matchers #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 passes a Pathname to the matcher returns the match result Guard::Internals::Traps .handle with an unsupported signal name does not set a handler with a supported signal name sets up a handler Guard::Plugin #initialize assigns the defined options assigns the defined watchers with a callback adds the callback with a group in the options assigns the given group without a group in the options assigns a default group .notify sends :call to the given Guard class's start_begin callback sends :call to the given Guard class's start_begin callback runs callbacks only for the guard given runs only the given callbacks .add_callback can add multiple callbacks can add a run_on_modifications callback with a plugin instance #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 #title outputs the plugin title .template reads the default template #hook accepts extra arguments passes the hooks name notifies the hooks 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::Watcher .match_guardfile? displays a deprecation warning to the user matches against current guardfile Guard::Commander .start displays an info message start the listener tell the runner to run the :start task calls Guard setup when listener.start raises an error calls Commander#stop when setup raises an error calls Commander#stop when finished stops everything .show shows list of plugins .reload clears the screen reloads Guard .run_all with an empty scope runs all with a given scope runs all with the scope .stop turns off the interactor stops the listener tell the runner to run the :stop task turns the notifier off .pause when unpaused with nil pauses shows a message with :unpaused does nothing with :toggle pauses shows a message with :paused pauses shows a message with invalid parameter raises an ArgumentError when already paused with :toggle shows a message unpauses with :paused does nothing with nil shows a message unpauses with :unpaused shows a message unpauses with invalid parameter raises an ArgumentError Guard::Watcher::Pattern::MatchResult #initialize with valid arguments does not fail #[] with a valid match when asked for the non-first item returns the value at given index when asked for a name match via a symbol returns the value by name when asked for the first item returns the full original value Guard::DslDescriber .show shows the Guards and their options #list lists the available Guards declared as strings or symbols .notifiers properly connects and disconnects shows the notifiers and their options Guard::Watcher::Pattern::DeprecatedRegexp Matcher returned by .convert with foo.rb$ creates a Matcher with (?-mix:foo.rb$) with ^foo.rb creates a Matcher with (?-mix:^foo.rb) with .*rb creates a Matcher with (?-mix:.*rb) with foo\.rb creates a Matcher with (?-mix:foo\.rb) .deprecated? is expected to be deprecated is expected to be deprecated Guard::Notifier toggle_notification with available notifiers when currently on suspends notifications when currently off resumes notifications .notify with a runtime error shows an error with no options notifies with multiple parameters notifies Guard::Group #name is expected to eq :foo when initialized from a string is expected to eq :foo #to_s is expected to eq "#" #options when provided is expected to eq {:halt_on_fail=>true} #title is expected to eq "Foo" 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 2) Guard#relevant_changes? # Not yet implemented # ./spec/lib/guard_spec.rb:247 Finished in 13.08 seconds (files took 0.40488 seconds to load) 626 examples, 0 failures, 2 pending Randomized with seed 34133 + popd ~/build/BUILD/guard-2.18.0 Processing files: rubygem-guard-2.18.0-2.el8.noarch + exit 0 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.WDBkoJ + 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