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