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-1687864864.557560/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.tfps2djp:/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.tfps2djp:/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', 'a95723fa6b9e464dbc9a92801e009d65', '-D', '/var/lib/mock/rhel+epel-8-x86_64-1687864864.557560/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.tfps2djp:/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-1687864864.557560/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.tfps2djp:/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.tfps2djp:/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', '31e82e32598b4fb48b3dbafb2fa16e88', '-D', '/var/lib/mock/rhel+epel-8-x86_64-1687864864.557560/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.tfps2djp:/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.0n5EDT + 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.ZU0qnn + 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.aM6Xdg + 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.2lCy1j + 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 22989 Guard::UI .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 prevents logging other messages allows logging matching messages .action_with_scopes with a groups scope shows the group scoped action 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 plugins scope shows the plugin scoped action .info 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 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 only once clears the output when the command fails shows a warning when the screen has just been cleared does not clear when forced clears the outputs if forced when clear option is disabled does not clear the output .logger with no logger set yet sets the logger device returns the logger instance .deprecation 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 allows logging matching messages prevents logging other messages with the :except option prevents logging matching messages allows logging other messages with GUARD_GEM_SILENCE_DEPRECATIONS set to 1 silences deprecations .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 .level= when logger is not set up yet sets the logger's config level does not autocreate the logger when logger is set up sets the logger's config level sets the logger's level .options= sets the logger options .warning behaves like a logger method resets the line with the :reset option logs the message with the given severity with the :only option prevents logging other messages allows logging matching messages with the :except option prevents logging matching messages allows logging other messages Guard::Watcher #== returns false for unequal watchers returns true for equal watchers #action sets the action to nothing by default sets the action to the supplied block .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 file strings returns a single file specified within the action combines files from results of different actions returns multiple files specified within the action returns nothing if the action response is empty returns nothing if the action returns nothing when action returns non-string or array of non-strings returns nothing for a watcher that matches information objects returns the evaluated addition argument in an array returns a single file specified within the action combines the results of different actions returns multiple files specified within the action returns nothing if the action response is empty string returns nothing if the action returns empty string with an exception that is raised displays the error and backtrace with a watcher action that takes a parameter for a watcher that matches information objects returns the evaluated addition argument + the path combinines results of different actions returns nothing if the action returns is IO::NULL returns a hash specified within the action returns a substituted single file specified within the action returns nothing if the action response is empty string for a watcher that matches file strings returns nothing if the action returns nothing returns nothing if action returns non-string or non-string array returns multiple files specified within the action returns a substituted single file specified within the action returns nothing if the action response is empty combines results of different actions 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 #match with a valid pattern with a valid file name to match when matching is successful returns the match result when matching is not successful returns nil #initialize with a pattern parameter creates a matcher with no arguments raises an error integration #match with a named regexp pattern with a watcher that matches a file is expected to eq "bar" provides the match by name Guard::Internals::Scope #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 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 #titles example at ./spec/lib/guard/internals/scope_spec.rb:93 (PENDING: Not yet implemented) GuardReloader when not running with bundler when not running with rubygems_gemdeps when not run as binstub when Gemfile exists shows a warning when no Gemfile exists shows no warning when running as binstub when the relative Gemfile does not exist does not setup bundler shows no warning does not setup rubygems when the relative Gemfile exists sets up bundler sets the Gemfile when running with rubygems_gemdeps sets up rubygems when running with bundler sets up bundler Guard::Watcher::Pattern::DeprecatedRegexp Matcher returned by .convert with .*rb creates a Matcher with (?-mix:.*rb) with ^foo.rb creates a Matcher with (?-mix:^foo.rb) with foo\.rb creates a Matcher with (?-mix:foo\.rb) with foo.rb$ creates a Matcher with (?-mix:foo.rb$) .deprecated? is expected to be deprecated is expected to be deprecated Guard::Deprecated::Evaluator #reevaluate_guardfile displays a deprecation warning to the user #evaluate_guardfile displays a deprecation warning to the user calls the recommended method Guard::UI::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 #logger_config with deprecated options set when set using a symbol provides a logger config passes deprecated options to logger when set using a string provides a logger config passes deprecated options to logger with defaults provides a logger config Guard::Deprecated::Watcher .match_guardfile? matches against current guardfile displays a deprecation warning to the user Guard::Watcher::Pattern::SimplePath #match result when constructed with filename string 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 is an unclean Pathname when filename matches is expected to eq ["foo.rb"] when filename does not match is expected to be nil Guard::Commands::Notification toggles the Guard notifier Guard::Internals::Plugins #all find plugins by their group as a string returns an array of plugins if plugins are found find plugins by their group & name returns an array of plugins if plugins are found returns an empty array when no plugin is found with no arguments returns all plugins find a plugin by as symbol returns an array of plugins if plugins are found returns an empty array when no plugin is found find plugins matching a regexp returns an empty array when no plugin is found returns an array of plugins if plugins are found find plugins by their group as a 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 #remove removes given plugin Guard::Jobs::PryWrapper #_prompt(ending_char) Guard is using Pry < 0.13 displays 'guard' does not call Pry::Prompt.new Guard is using Pry >= 0.13 calls Pry::Prompt.new Guard is not paused displays 'guard' with a groups scope displays the group scope title in the prompt Guard is paused displays 'pause' with a plugins scope displays the group scope title in the prompt #_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 waits for Pry thread to finish return :stopped when brought into background prevents the Pry thread from being killed too quickly Guard::Cli::Environments::EvaluateOnly #evaluate evaluates the guardfile passes options to evaluator calls Guard.init initializes Guard with options when a Guard::Guardfile::Evaluator::NoPluginsError error occurs shows error message aborts when a Guard::Guardfile::Evaluator::NoCustomGuardfile error occurs aborts shows error message when a Guard::Dsl::Error error occurs shows error message aborts when a Guard::Guardfile::Evaluator::NoGuardfileError error occurs aborts shows error message 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::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::PluginUtil .plugin_names returns the list of embedded guard gems ignores guard-compat returns the list of guard gems #initialize accepts a name without guard- accepts a name with guard- #initialize_plugin with a plugin inheriting from Guard::Plugin instantiate the plugin using the new API #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 an inline Guard class returns the Guard class with a nested Guard class resolves the Guard class from string resolves the Guard class from symbol when set to fail gracefully does not print error messages on fail with a name like VSpec returns the Guard class with a name with underscores returns the Guard class #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 Guard::Interactor .options & .options= returns {} by default options set to { foo: :bar } returns { foo: :bar } when disabled #foreground sleeps #background wakes up from sleep #handle_interrupt interrupts sleep when enabled #foreground starts Pry #handle_interrupt interrupts Pry #background hides Pry job selection when disabled from the DSL when disabled from the commandline uses only sleeper is expected not to be enabled when enabled from the commandline uses only sleeper is expected not to be enabled when enabled from the DSL when enabled from the commandline uses only pry is expected to be enabled when disabled from the commandline is expected to be enabled uses only sleeper .enabled & .enabled= returns true by default interactor not enabled returns false Guard::CLI #list calls the evaluation outputs the Guard plugins list #version shows the current version #show outputs the Guard::DslDescriber.list result calls the evaluation #init exits with given exit code passes options delegates to Guard::Environment.start passes plugin names #start delegates to Guard::Environment.start exits with given exit code passes options #notifiers outputs the notifiers list calls the evaluation 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" Guard::Internals::Traps .handle with a supported signal name sets up a handler with an unsupported signal name does not set a handler Guard::Deprecated::Guardfile .initialize_template 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 .create_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 'true' value is expected to be strict when GUARD_STRICT is set to a 'false' value is expected not to be strict Guard::Internals::Tracing Module method tracing when tracing with command arguments when #system outputs command arguments is expected to eq true with no command arguments when backticks is expected to eq "" outputs command when #system is expected to eq true outputs command when not tracing with command arguments when #system is expected to eq true does not output anything with no command arguments when #system is expected to eq true does not output anything when backticks is expected to eq "" does not output anything Guard::Cli::Environments::Valid #start_guard without no_bundler_warning option verifies bundler presence without a valid bundler setup does not start guard return value matches return value of Guard.start with a valid bundler setup start guard with options starts guard returns exit code when a Guard::Guardfile::Evaluator::NoGuardfileError error occurs aborts shows error message when a Guard::Dsl::Error error occurs aborts shows error message when a Guard::Guardfile::Evaluator::NoCustomGuardfile error occurs aborts shows error message when a Guard::Guardfile::Evaluator::NoPluginsError error occurs shows error message aborts with no_bundler_warning option does not verify bundler presence starts guard #initialize_guardfile with no bare option returns an exit code evaluates created or existing guardfile initializes each passed template initializes templates of all installed Guards creates a Guardfile when passed an unknown guard name returns an exit code when passed a guard name initializes the template of the passed Guard when the Guardfile is empty works without without errors adds the template with bare option Only creates the Guardfile without initializing any Guard template returns an exit code Guard::Commands::Change with a file runs the :run_on_changes action with the given file without a file does not run the :run_on_changes action with multiple files runs the :run_on_changes action with the given files Guard::DslDescriber .show shows the Guards and their options #list lists the available Guards declared as strings or symbols .notifiers shows the notifiers and their options properly connects and disconnects Guard::Plugin .add_callback can add multiple callbacks can add a run_on_modifications callback #initialize assigns the defined watchers assigns the defined options 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 #hook passes the hooks name notifies the hooks accepts extra arguments .notify runs only the given callbacks sends :call to the given Guard class's start_begin callback runs callbacks only for the guard given sends :call to the given Guard class's start_begin callback with a plugin instance #title outputs the plugin title #to_s output the short plugin name .non_namespaced_classname remove the Guard:: namespace .non_namespaced_name remove the Guard:: namespace and downcase .template reads the default template #name outputs the short plugin name Guard::Deprecated::Guard .listener= show deprecation warning provides and alternative implementation .add_guard delegates to Guard.plugins displays a deprecation warning to the user .running show deprecation warning evaluator show deprecation warning .locate_guard delegates to Guard::PluginUtil displays a deprecation warning to the user .scope= provides a similar implementation show deprecation warning .group provides a similar implementation show deprecation warning .add_plugin show deprecation warning adds a plugin .add_group adds a group show deprecation warning .guards displays a deprecation warning to the user delegates to Plugins options show deprecation warning :clear when being read when not set provides an alternative implementation when 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 .get_guard_class delegates to Guard::PluginUtil displays a deprecation warning to the user :fail_gracefully pass it to get_guard_class .lock show deprecation warning reset_evaluator show deprecation warning .plugin show deprecation warning provides a similar implementation .scope show deprecation warning provides a similar implementation .groups show deprecation warning provides a similar implementation .plugins provides a similar implementation show deprecation warning .guard_gem_names displays a deprecation warning to the user delegates to Guard::PluginUtil evaluate_guardfile show deprecation warning evaluates the guardfile 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 ._relative_pathname with file in project directory is expected to eq # with file on another drive (e.g. Windows) is expected to eq # with file within project is expected to eq # with file in parent directory is expected to eq # .setup displays an error message when no guard are defined in Guardfile connects to the notifier returns itself for chaining evaluates the Guardfile initializes the interactor initializes the listener with the plugin option passes options to session UI when clearing is configured is expected to have received reset_and_clear(*(any args)) 1 time .interactor with interactions enabled is expected to have received new(false) 1 time with interactions disabled is expected to have received new(true) 1 time with the group option passes options to session trapping signals sets up USR1 trap for pausing sets up USR2 trap for unpausing sets up INT trap for cancelling or quitting interactor 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 #relevant_changes? example at ./spec/lib/guard_spec.rb:247 (PENDING: Not yet implemented) Guard::Guardfile::Generator has a valid Guardfile template #create_guardfile without an existing Guardfile does not display any kind of error or abort copies the Guardfile template and notifies the user with an existing Guardfile displays an error message aborts does not copy the Guardfile template or notify the user does not display information #initialize_all_templates calls Guard.initialize_template on all installed plugins #initialize_template with an installed Guard implementation initializes the Guard with a user defined template copies the Guardfile template and initializes the Guard when the passed guard can't be found notifies the user about the problem Guard::Guardfile::Evaluator .evaluate error cases with empty Guardfile content displays an error message about no plugins with Guardfile as guardfile.rb evalutates guardfile.rb with a problem reading a Guardfile displays an error message and exits with a non-existing Guardfile given raises error with no Guardfile at all displays an error message and exits with an invalid Guardfile displays an error message and raises original exception when provided :contents is nil does not raise error and skip it 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 .guardfile_include? when plugin is not present returns false when plugin is present returns true 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::UI::Logger::Config #level= with a valid value stores the level defaults flushes device by default Guard::Runner .stopping_symbol_for for a group without :halt_on_fail returns :task_has_failed for a group with :halt_on_fail returns :no_catch #run executes supervised task on all registered plugins implementing it marks an action as unit of work with interrupted task catches the thrown symbol with a scope executes the supervised task on the specified plugin only with no scope executes the supervised task using current scope #run_on_changes always calls UI.clearable with matching removed paths executes the :run_on_removals task with added files but added paths is empty does not call run anything with modified files but modified paths is empty does not call run anything when clearable clear UI with no changes does not run any task with added paths executes the :run_on_additions task with non-matching removed paths does not call tasks with modified paths executes the :run_first_task_found task #_supervise executes the task on the passed guard with a task that raises an exception calls the default begin hook but not the default end hook display an error to the user removes the Guard returns the exception with a task that throws :task_has_failed in a group with halt_on_fail: false catches :task_has_failed with halt_on_fail: true throws :task_has_failed with a task that succeeds with arguments does not remove the Guard returns the result of the task without any arguments 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 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 matches is expected to eq [#] when filename does not match is expected to be nil 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::DslReader #interactor signature matches base signature #group signature matches base signature guard when it is a String works without errors reports the name as a String when it is a Symbol works without errors reports the name as a String #watch signature matches base signature #guard signature matches base signature #initialize signature matches base signature #logger signature matches base signature #callback signature matches base signature #notification signature matches base signature #scope signature matches base signature #directories signature matches base signature #clearing signature matches base signature notification handles arguments without errors plugin_names returns encountered names #ignore! signature matches base signature #ignore signature matches base signature Guard::Watcher::Pattern .create when a string is given is expected to be a kind of Guard::Watcher::Pattern::SimplePath when a regexp is given is expected to be a kind of Guard::Watcher::Pattern::Matcher 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 Pathname is given is expected to be a kind of Guard::Watcher::Pattern::PathnamePath Guard::Internals::Debugging #start traces Kernel.spawn traces Kernel.system traces Kernel.` traces Open3.popen3 when already started does not set log level when not started makes threads abort on exceptions sets logger to debug #stop when already started untraces Kernel.` untraces Kernel.system sets logger level to info untraces Open3.popen3 when not started does not set logger level Guard::Watcher::Pattern::Matcher integration #match result when constructed with valid regexp 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 contains a $ is expected to eq ["foo.rb"] 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 #== 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::Commander .reload clears the screen reloads Guard .show shows list of plugins .start start the listener displays an info message calls Guard setup tell the runner to run the :start task when listener.start raises an error calls Commander#stop when finished stops everything when setup raises an error calls Commander#stop .pause when unpaused with :paused shows a message pauses with invalid parameter raises an ArgumentError with :toggle shows a message pauses with nil shows a message pauses with :unpaused does nothing when already paused with nil unpauses shows a message with :unpaused unpauses shows a message with :toggle shows a message unpauses with :paused does nothing with invalid parameter raises an ArgumentError .stop turns off the interactor turns the notifier off stops the listener tell the runner to run the :stop task .run_all with an empty scope runs all with a given scope runs all with the scope Guard::Dsl #clear with clear :on enabled clearing the screen after every task with clear :off disables clearing the screen after every task #scope with any parameters sets the guardfile's default scope #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 #guard with symbol for name loads a guard specified as a symbol from the DSL with groups adds plugin with group info with single-quoted name loads a guard specified as a quoted string from the DSL with plugins in custom and default groups assigns plugins to correct groups with name as symbol in parens adds the plugin with options passes options to plugin with double-quoted name loads a guard specified as a double quoted string from the DSL #logger with invalid options when having both the :only and :except options shows a warning removes the options for the log level shows a warning does not set the invalid value options with logger level 'error' is expected to have received options=({:level=>:error}) 1 time with a logger only filter from a symbol is expected to have received options=({:only=>/cucumber/i}) 1 time with logger except filter from a string is expected to have received options=({:except=>/jasmine/i}) 1 time with logger only filter from an array of symbols and string is expected to have received options=({:only=>/rspec|cucumber/i}) 1 time with a logger time format is expected to have received options=({:time_format=>"%Y"}) 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 logger template is expected to have received options=({:template=>":message - :severity"}) 1 time with logger level :error is expected to have received options=({:level=>:error}) 1 time with logger only filter from a string is expected to have received options=({:only=>/jasmine/i}) 1 time #callback with creates callbacks for the guard without a guard block fails #interactor with interactor :off disables the interactions with :off with interactor options passes the options to the interactor #filter alias method is expected to eq # #ignore with multiple ignore calls adds all ignored regexps to the listener with ignore regexps adds ignored regexps to the listener #filter! alias method is expected to eq # #notification with multiple notifications adds multiple notifiers when notification adds a notification to the notifier #directories with valid directories sets the watchdirs to given values with no parameters sets the watchdirs to empty with non-existing directory fails with an error #watch with watch in main scope should create an implicit no-op guard when outside a guard block with watchers should receive watchers when specified #group group named "all" raises an error no plugins in group displays an error with multiple names adds all given groups with a valid guardfile evaluates all groups group named :all raises an error Guard::Deprecated::Dsl .evaluate_guardfile displays a deprecation warning to the user delegates to Guard::Guardfile::Generator Guard::Commands::Reload 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 without scope triggers the :reload action Guard::Internals::Groups #add with existing groups add the given group add the given group with options with an existing group does not add duplicate groups when name is a symbol does not add duplicate groups when name is a string #all with only default groups initializes the groups with existing groups with a regexp argument matching a group returns an array of groups with a symbol argument matching a group returns an array of groups if plugins are found with a symbol argument not matching a group returns an empty array when no group is found with a regexp argument not matching a group returns an empty array when no group is found with no arguments returns all groups with a string argument returns an array of groups if plugins are found Guard::Commands::Pause tells Guard to pause Guard::Options .initialize merges the sensible defaults to the given options handles nil options can be passed defaults has indifferent access Guard::Commands::Show tells Guard to output DSL description Guard::Notifier toggle_notification with available notifiers when currently off resumes notifications when currently on suspends notifications .notify with a runtime error shows an error with multiple parameters notifies with no options notifies Guard::Internals::Session #clearing when set from guardfile when set to :on is expected to be clearing when set to :off is expected not to be 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 .convert_scope returns the unkown scopes returns multiple group scopes returns multiple plugin scopes returns a plugin and group scope returns a group scope returns a plugin scope #guardfile_ignore_bang= when set from guardfile is expected to eq [/foo/] when unset is expected to eq [] #guardfile_notification= when set from guardfile is expected to eq {:notifiers=>{:foo=>{:bar=>:baz}}, :notify=>true} when unset is expected to eq {:notifiers=>{}, :notify=>true} when set multiple times from guardfile merges results #guardfile_scope with a groups scope sets the groups with a group scope sets the groups with a plugin scope sets the plugins with a plugins scope sets the plugins #initialize with the group option initializes the group scope #listener_args with a single watchdir is expected to eq [:to, "/usr", {}] with multiple watchdirs is expected to eq [:to, "/usr", "/bin", {}] 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}] with the plugin option initializes the plugin scope #guardfile_ignore= when set multiple times from guardfile is expected to eq [/foo/, /bar/] when set from guardfile is expected to eq [/foo/] when unset is expected to eq [] Guard::Commands::Scope with an invalid scope does not change the scope and shows unknown scopes with a valid Guard group scope sets up the scope with the given scope with a valid Guard plugin scope runs the :scope= action with the given scope without scope does not call :scope= and shows usage Guard::Jobs::Sleep #background wakes up main thread #foreground sleeps returns :stopped when put to background 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 12.16 seconds (files took 0.37761 seconds to load) 626 examples, 0 failures, 2 pending Randomized with seed 22989 ~/build/BUILD/guard-2.18.0 + popd + 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.4mmVYv + 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