Diff of the two buildlogs: -- --- b1/build.log 2025-08-29 16:01:11.851125489 +0000 +++ b2/build.log 2025-08-29 16:01:46.539167944 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Thu Oct 1 10:23:23 -12 2026 -I: pbuilder-time-stamp: 1790893403 +I: Current time: Sat Aug 30 06:01:13 +14 2025 +I: pbuilder-time-stamp: 1756483273 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/forky-reproducible-base.tgz] I: copying local configuration @@ -25,53 +25,85 @@ dpkg-source: info: applying Fix-specs-for-size-min_size-max_size-predicates-fixes-91.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/52051/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/3921256/tmp/hooks/D01_modify_environment starting +debug: Running on codethink04-arm64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Aug 29 16:01 /bin/sh -> /bin/bash +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/3921256/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/3921256/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='arm64' - DEBIAN_FRONTEND='noninteractive' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="37" [3]="1" [4]="release" [5]="aarch64-unknown-linux-gnu") + BASH_VERSION='5.2.37(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=arm64 + DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=12 ' - DISTRIBUTION='forky' - HOME='/root' - HOST_ARCH='arm64' + DIRSTACK=() + DISTRIBUTION=forky + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=aarch64 + HOST_ARCH=arm64 IFS=' ' - INVOCATION_ID='0e2d26d59bd840e2851c1774cd9e4ee8' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='52051' - PS1='# ' - PS2='> ' + INVOCATION_ID=59e8ab1db01b4612830421fb0adac76f + LANG=C + LANGUAGE=nl_BE:nl + LC_ALL=C + MACHTYPE=aarch64-unknown-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=3921256 PS4='+ ' - PWD='/' - SHELL='/bin/bash' - SHLVL='2' - SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.8lX0bJ7d/pbuilderrc_4D4t --distribution forky --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/forky-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.8lX0bJ7d/b1 --logfile b1/build.log ruby-dry-logic_1.2.0-3.dsc' - SUDO_GID='109' - SUDO_HOME='/var/lib/jenkins' - SUDO_UID='104' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://192.168.101.4:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.8lX0bJ7d/pbuilderrc_TnPC --distribution forky --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/forky-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.8lX0bJ7d/b2 --logfile b2/build.log ruby-dry-logic_1.2.0-3.dsc' + SUDO_GID=109 + SUDO_HOME=/var/lib/jenkins + SUDO_UID=104 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://192.168.101.4:3128 I: uname -a - Linux codethink03-arm64 6.12.41+deb13-cloud-arm64 #1 SMP Debian 6.12.41-1 (2025-08-12) aarch64 GNU/Linux + Linux i-capture-the-hostname 6.12.41+deb13-cloud-arm64 #1 SMP Debian 6.12.41-1 (2025-08-12) aarch64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Aug 10 2025 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/52051/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Aug 10 12:30 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/3921256/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -247,7 +279,7 @@ Get: 126 http://deb.debian.org/debian forky/main arm64 ruby-rspec-mocks all 3.13.0c0e0m0s1-2 [81.3 kB] Get: 127 http://deb.debian.org/debian forky/main arm64 ruby-rspec all 3.13.0c0e0m0s1-2 [5184 B] Get: 128 http://deb.debian.org/debian forky/main arm64 ruby-warning all 1.3.0-1 [8968 B] -Fetched 35.7 MB in 0s (91.4 MB/s) +Fetched 35.7 MB in 0s (233 MB/s) Preconfiguring packages ... Selecting previously unselected package libexpat1:arm64. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19969 files and directories currently installed.) @@ -677,8 +709,8 @@ Setting up tzdata (2025b-5) ... Current default time zone: 'Etc/UTC' -Local time is now: Thu Oct 1 22:23:50 UTC 2026. -Universal Time is now: Thu Oct 1 22:23:50 UTC 2026. +Local time is now: Fri Aug 29 16:01:31 UTC 2025. +Universal Time is now: Fri Aug 29 16:01:31 UTC 2025. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up ruby-minitest (5.25.4-3) ... @@ -794,7 +826,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/ruby-dry-logic-1.2.0/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../ruby-dry-logic_1.2.0-3_source.changes +I: user script /srv/workspace/pbuilder/3921256/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for forky +I: user script /srv/workspace/pbuilder/3921256/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/ruby-dry-logic-1.2.0/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../ruby-dry-logic_1.2.0-3_source.changes dpkg-buildpackage: info: source package ruby-dry-logic dpkg-buildpackage: info: source version 1.2.0-3 dpkg-buildpackage: info: source distribution unstable @@ -828,7 +864,7 @@ │ ruby-dry-logic: Installing files and building extensions for ruby3.3 │ └──────────────────────────────────────────────────────────────────────────────┘ -/usr/bin/ruby3.3 -S gem build --config-file /dev/null --verbose /tmp/d20261001-66824-h0jpw9/gemspec +/usr/bin/ruby3.3 -S gem build --config-file /dev/null --verbose /tmp/d20250830-3938412-qya5id/gemspec WARNING: description and summary are identical WARNING: open-ended dependency on bundler (>= 0, development) is not recommended use a bounded requirement, such as "~> x.y" @@ -841,7 +877,7 @@ Name: dry-logic Version: 1.2.0 File: dry-logic-1.2.0.gem -/usr/bin/ruby3.3 -S gem install --config-file /dev/null --verbose --local --verbose --no-document --ignore-dependencies --install-dir debian/ruby-dry-logic/usr/share/rubygems-integration/all /tmp/d20261001-66824-h0jpw9/dry-logic-1.2.0.gem +/usr/bin/ruby3.3 -S gem install --config-file /dev/null --verbose --local --verbose --no-document --ignore-dependencies --install-dir debian/ruby-dry-logic/usr/share/rubygems-integration/all /tmp/d20250830-3938412-qya5id/dry-logic-1.2.0.gem /build/reproducible-path/ruby-dry-logic-1.2.0/debian/ruby-dry-logic/usr/share/rubygems-integration/all/gems/dry-logic-1.2.0/lib/dry-logic.rb /build/reproducible-path/ruby-dry-logic-1.2.0/debian/ruby-dry-logic/usr/share/rubygems-integration/all/gems/dry-logic-1.2.0/lib/dry/logic.rb /build/reproducible-path/ruby-dry-logic-1.2.0/debian/ruby-dry-logic/usr/share/rubygems-integration/all/gems/dry-logic-1.2.0/lib/dry/logic/appliable.rb @@ -900,94 +936,368 @@ RUBYLIB=. GEM_PATH=/build/reproducible-path/ruby-dry-logic-1.2.0/debian/ruby-dry-logic/usr/share/rubygems-integration/all:/build/reproducible-path/ruby-dry-logic-1.2.0/debian/.debhelper/generated/_source/home/.local/share/gem/ruby/3.3.0:/var/lib/gems/3.3.0:/usr/local/lib/ruby/gems/3.3.0:/usr/lib/ruby/gems/3.3.0:/usr/lib/aarch64-linux-gnu/ruby/gems/3.3.0:/usr/share/rubygems-integration/3.3.0:/usr/share/rubygems-integration/all:/usr/lib/aarch64-linux-gnu/rubygems-integration/3.3.0 ruby3.3 -S rake --rakelibdir /gem2deb-nonexistent -f debian/ruby-tests.rake /usr/bin/ruby3.3 -I/usr/share/rubygems-integration/all/gems/rspec-support-3.13.1/lib:/usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/exe/rspec --pattern ./spec/\*\*/\*_spec.rb --format documentation -Randomized with seed 34262 +Randomized with seed 5508 + +Dry::Logic::Operations::Implication + #to_ast + returns ast + #call + calls left and right + #to_s + returns string representation Dry::Logic::Predicates - #gt? - when value is equal to n + #size? + when value size is equal to n + behaves like a passing predicate + is expected to equal true + with value size is less than n behaves like a failing predicate is expected to equal false - with value is less than n + with an unsupported size + raises an error + when value size is greater than n behaves like a failing predicate is expected to equal false - when value is greater than n + +Dry::Logic::Predicates + #array? + when value is not an array + behaves like a failing predicate + is expected to equal false + when value is an array behaves like a passing predicate is expected to equal true +Dry::Logic::Operations::And + #call + calls left and right + #to_s + returns string representation + #to_ast + returns ast + returns failure result ast + returns result ast + #or + creates or with the other + #and + creates and with the other + Dry::Logic::Predicates - #included_in? - when value is present in list + #case? + when the value doesn't match the pattern + behaves like a failing predicate + is expected to equal false + when the value matches the pattern behaves like a passing predicate is expected to equal true - with value is not present in list + +Dry::Logic::Predicates + #excludes? + when input includes value behaves like a failing predicate is expected to equal false + with input excludes value + behaves like a passing predicate + is expected to equal true + with input of invalid type + behaves like a passing predicate + is expected to equal true Dry::Logic::Predicates - #case? - when the value matches the pattern + #uri? + when value is a valid URI behaves like a passing predicate is expected to equal true - when the value doesn't match the pattern + with value is not a valid URI behaves like a failing predicate is expected to equal false Dry::Logic::Predicates - #false? - when value is not false + #gt? + when value is greater than n + behaves like a passing predicate + is expected to equal true + with value is less than n behaves like a failing predicate is expected to equal false - when value is false + when value is equal to n + behaves like a failing predicate + is expected to equal false + +Dry::Logic::Predicates + #str? + when value is a string behaves like a passing predicate is expected to equal true - -Dry::Logic::RuleCompiler#call - compiles negated rules - compiles attr rules - compiles attr rules - compiles each rules - compiles or rules - compiles and rules - compiles set rules - compiles key rules - compiles check rules - compiles exclusive or rules + with value is not a string + behaves like a failing predicate + is expected to equal false Dry::Logic::Predicates #filled? - with value is not filled - behaves like a failing predicate - is expected to equal false when value is filled behaves like a passing predicate is expected to equal true + with value is not filled + behaves like a failing predicate + is expected to equal false + +Dry::Logic::Operations::Set + #to_s + returns string representation + #call + applies all its rules to the input + #to_ast + returns result ast with an :id + returns ast + returns result ast Dry::Logic::Predicates - #excludes? - when input includes value + #uuid_v5? + when value is a valid V5 UUID + behaves like a passing predicate + is expected to equal true + with value is not a valid V4 UUID behaves like a failing predicate is expected to equal false - with input excludes value + +Dry::Logic::Predicates + #hash? + when value is a hash behaves like a passing predicate is expected to equal true - with input of invalid type + when value is not a hash + behaves like a failing predicate + is expected to equal false + +Dry::Logic::Predicates + #uuid_v3? + when value is a valid V3 UUID behaves like a passing predicate is expected to equal true + with value is not a valid V4 UUID + behaves like a failing predicate + is expected to equal false + +operations + operators + | + success + behaves like operation + is expected to eq true + behaves like operation + is expected to eq true + & + failure + behaves like operation + is expected to eq false + success + behaves like operation + is expected to eq true + > + [false => true] + behaves like operation + is expected to eq true + [true => true] + behaves like operation + is expected to eq true + [true => false] + behaves like operation + is expected to eq false + then + [true => false] + behaves like operation + is expected to eq false + [false => true] + behaves like operation + is expected to eq true + [true => true] + behaves like operation + is expected to eq true + ^ + success + behaves like operation + is expected to eq true + behaves like operation + is expected to eq true + failure + behaves like operation + is expected to eq false + key + success + behaves like operation + is expected to eq true + failure + behaves like operation + is expected to eq false + or + success + behaves like operation + is expected to eq true + behaves like operation + is expected to eq true + implication + [false => true] + behaves like operation + is expected to eq true + [true => true] + behaves like operation + is expected to eq true + [true => false] + behaves like operation + is expected to eq false + nested + success + is expected to be a success + failure + is expected not to be a success + check + one path + success + behaves like operation + is expected to eq true + failure + behaves like operation + is expected to eq false + two paths + success + behaves like operation + is expected to eq true + failure + behaves like operation + is expected to eq false + negation + failure + behaves like operation + is expected to eq false + success + behaves like operation + is expected to eq true + set + success + behaves like operation + is expected to eq true + success + behaves like operation + is expected to eq false + each + success + behaves like operation + is expected to eq true + failure + behaves like operation + is expected to eq false + and + success + behaves like operation + is expected to eq true + failure + behaves like operation + is expected to eq false + xor + success + behaves like operation + is expected to eq true + behaves like operation + is expected to eq true + failure + behaves like operation + is expected to eq false Dry::Logic::Operations::Check - #to_ast - returns ast #call + with its output as input + failure + is expected not to be a success + success + is expected to be a success with 1-level nesting applies predicate to args extracted from the input with 2-levels nesting - applies predicate to args extracted from the input curries args properly - with its output as input - success - is expected to be a success - failure - is expected not to be a success + applies predicate to args extracted from the input + #to_ast + returns ast + +Dry::Logic::Operations::Each + #to_s + returns string representation + #call + applies its rules to all elements in the input + #to_ast + returns result ast + returns failure result ast + returns ast + +Dry::Logic::Predicates#is? + with value is not equal to the arg + behaves like a failing predicate + is expected to equal false + when value is equal to the arg + behaves like a passing predicate + is expected to equal true + +Dry::Logic::Predicates + #bool? + when value is a boolean + behaves like a passing predicate + is expected to equal true + when value is not a bool + behaves like a failing predicate + is expected to equal false + +Dry::Logic::Predicates + #included_in? + when value is present in list + behaves like a passing predicate + is expected to equal true + with value is not present in list + behaves like a failing predicate + is expected to equal false + +Dry::Logic::Operations::Attr + #call + applies predicate to the value + #and + returns and where value is passed to the right + +Dry::Logic::Predicates + #date? + when value is a date + behaves like a passing predicate + is expected to equal true + with value is not an integer + behaves like a failing predicate + is expected to equal false + +Dry::Logic::Rule::Predicate + behaves like Dry::Logic::Rule + #parameters + returns a list of args with their names + #call + returns success for valid input + returns failure for invalid input + #arity + returns its predicate arity + #curry + raises argument error when arity does not match + returns a curried rule + #[] + delegates to its predicate + #name + returns predicate identifier + #to_ast + without a result + returns :failure with an id + returns rule ast + with a zero-arity predicate + returns ast + with a result + returns success + returns failure ast + #to_s + returns string representation Dry::Logic::Predicates #even? @@ -999,87 +1309,222 @@ is expected to equal true Dry::Logic::Predicates - #max_bytesize? + #empty? + when value is empty + behaves like a passing predicate + is expected to equal true + with value is not empty + behaves like a failing predicate + is expected to equal false + +Dry::Logic::Predicates + #max_size? + with value size is greater than n + behaves like a failing predicate + is expected to equal false when value size is equal to n behaves like a passing predicate is expected to equal true when value size is less than n behaves like a passing predicate is expected to equal true - with value size is greater than n + +Dry::Logic::Predicates + #uuid_v4? + with value is not a valid V4 UUID behaves like a failing predicate is expected to equal false + when value is a valid V4 UUID + behaves like a passing predicate + is expected to equal true -Dry::Logic::Predicates#eql? - when value is equal to the arg +Dry::Logic::Operations::Or + #to_ast + returns result ast + returns failure result ast + returns ast + #call + calls left and right + #to_s + returns string representation + #or + creates or with the other + #and + creates and with the other + +Dry::Logic::Predicates#not_eql? + with value is not equal to the arg behaves like a passing predicate is expected to equal true - with value is not equal to the arg + when value is equal to the arg behaves like a failing predicate is expected to equal false +Dry::Logic::Predicates + #gteq? + when value is equal to n + behaves like a passing predicate + is expected to equal true + when value is greater than n + behaves like a passing predicate + is expected to equal true + with value is less than n + behaves like a failing predicate + is expected to equal false + +Dry::Logic::Predicates + #attr? + with value does not respond to the attr name + behaves like a failing predicate + is expected to equal false + when value responds to the attr name + behaves like a passing predicate + is expected to equal true + +Dry::Logic::Predicates + #int? + when value is an integer + behaves like a passing predicate + is expected to equal true + with value is not an integer + behaves like a failing predicate + is expected to equal false + +Dry::Logic::Predicates + #respond_to? + when value responds to method + behaves like a passing predicate + is expected to equal true + when value does not respond to method + behaves like a failing predicate + is expected to equal false + +Dry::Logic::Rule + #eval_args + with an unbound method + evaluates args in the context of the provided object + with a schema instance + returns a new with its predicate executed in the context of the provided object + behaves like Dry::Logic::Rule + #parameters + returns a list of args with their names + #call + returns success for valid input + returns failure for invalid input + #curry + raises argument error when arity does not match + returns a curried rule + #arity + returns its predicate arity + #[] + delegates to its predicate + arity specialization + arbitrary arity + generates correct arity + 1-arity rule + generates interface with the right arity + -2 arity + accepts variable number of arguments + curried 2 + doesn't have required arguments + curried 1 + doesn't have required arguments + -1 arity + accepts variable number of arguments + 0-arity rule + generates interface with the right arity + currying + generates correct arity on currying + constants + accepts variable number of arguments + #bind + with a schema instance + returns a new with its predicate executed in the context of the provided object + with an unbound method + carries id + returns a new rule with its predicate bound to a specific object + with an arbitrary block + returns a new with its predicate executed in the context of the provided object + stores arity + stores parameters + carries id + with a function returning truthy value + is successful for valid input + is not successful for invalid input + #ast + returns predicate node with undefined args + returns predicate node with :id + .new + accepts an :id + #type + returns rule type + +Dry::Logic::Predicates + #excluded_from? + when value is not present in list + behaves like a passing predicate + is expected to equal true + with value is present in list + behaves like a failing predicate + is expected to equal false + Rules - defining a conjunction - defining an exclusive disjunction defining a disjunction defining a rule with options - defining an implication + defining a conjunction + defining an exclusive disjunction defining an anonymous rule with an arbitrary predicate + defining an implication Dry::Logic::Predicates - #lt? - with value is greater than n + #type? + with value is not true behaves like a failing predicate is expected to equal false - when value is equal to n + when value has a correct type + behaves like a passing predicate + is expected to equal true + +Dry::Logic::Predicates + #date_time? + with value is not an integer behaves like a failing predicate is expected to equal false - when value is less than n + when value is a datetime behaves like a passing predicate is expected to equal true -Dry::Logic::Operations::Negation - #to_ast - returns result ast with an :id - returns result ast - returns ast - #call - negates its rule - double negation - works as rule - #to_s - returns string representation - Dry::Logic::Predicates #decimal? - when value is a decimal - behaves like a passing predicate - is expected to equal true with value is not an integer behaves like a failing predicate is expected to equal false + when value is a decimal + behaves like a passing predicate + is expected to equal true + +Dry::Logic::Predicates#eql? + when value is equal to the arg + behaves like a passing predicate + is expected to equal true + with value is not equal to the arg + behaves like a failing predicate + is expected to equal false Dry::Logic::Predicates - #uuid_v5? - when value is a valid V5 UUID + #false? + when value is false behaves like a passing predicate is expected to equal true - with value is not a valid V4 UUID + when value is not false behaves like a failing predicate is expected to equal false -Dry::Logic::Operations::Each - #to_s - returns string representation - #call - applies its rules to all elements in the input - #to_ast - returns result ast - returns ast - returns failure result ast - Dry::Logic::Predicates #bytesize? + when value size is equal to n + behaves like a passing predicate + is expected to equal true with value size is less than n behaves like a failing predicate is expected to equal false @@ -1088,55 +1533,131 @@ is expected to equal false with an unsupported size raises an error - when value size is equal to n + +Dry::Logic::Predicates + #lteq? + with value is greater than n + behaves like a failing predicate + is expected to equal false + when value is less than n + behaves like a passing predicate + is expected to equal true + when value is equal to n behaves like a passing predicate is expected to equal true -Dry::Logic::Predicates#format? - when value matches provided regexp - behaves like a passing predicate - is expected to equal true - when value does not match provided regexp - behaves like a failing predicate - is expected to equal false - when input is nil - behaves like a failing predicate - is expected to equal false +Dry::Logic::Predicates + #nil? + when value is nil + behaves like a passing predicate + is expected to equal true + when value is not nil + behaves like a failing predicate + is expected to equal false + +Dry::Logic::Operations::Key + #and + returns and rule where value is passed to the right + #to_s + returns string representation + #ast + returns ast with the input + returns ast without the input + #to_ast + returns ast + #call + with a plain predicate + returns a success for valid input + returns a failure for invalid input + with a set rule as predicate + applies set rule to the value that fails + applies set rule to the value that passes + with an each rule as predicate + applies each rule to the value that fails + applies each rule to the value that passses + +Dry::Logic::Operations::Negation + #to_ast + returns result ast with an :id + returns result ast + returns ast + #call + negates its rule + double negation + works as rule + #to_s + returns string representation Dry::Logic::Predicates - #true? - with value is not true + can be included in another module + .predicate + defines a predicate method + +Dry::Logic::Predicates + #time? + with value is not an integer behaves like a failing predicate is expected to equal false - when value is true + when value is a time behaves like a passing predicate is expected to equal true +Dry::Logic::Result + #to_s + with OR operation + behaves like string representation + returns string representation + with NOT operation + behaves like string representation + returns string representation + with AND operation + behaves like string representation + returns string representation + with a predicate + behaves like string representation + returns string representation + with THEN operation + behaves like string representation + returns string representation + with XOR operation + behaves like string representation + returns string representation + +Dry::Logic::Operations::Xor + #or + creates disjunction with the other + #call + calls left and right + #and + creates conjunction with the other + #to_ast + returns failure result ast + returns ast + returns result ast + #to_s + returns string representation + predicates - respond_to? - failure - behaves like predicate - is expected to eq false - success - behaves like predicate - is expected to eq true - min_bytesize? - success - behaves like predicate - is expected to eq true - failure - behaves like predicate - is expected to eq false - max_size? + date? failure - [1, 2, 3] + symbol behaves like predicate is expected to eq false success - [1] + -4712-01-01 behaves like predicate is expected to eq true bytesize? + success + Range + behaves like predicate + is expected to eq true + Array + behaves like predicate + is expected to eq true + Integer + behaves like predicate + is expected to eq true failure Array behaves like predicate @@ -1147,25 +1668,59 @@ Range behaves like predicate is expected to eq false + gt? success - Range + 200 behaves like predicate is expected to eq true - Integer + failure + 5 behaves like predicate - is expected to eq true - Array + is expected to eq false + lteq? + success + 9 behaves like predicate is expected to eq true - attr? + failure + 11 + behaves like predicate + is expected to eq false + hash? success - # + Hash behaves like predicate is expected to eq true failure - # + Array behaves like predicate is expected to eq false + number? + failure + behaves like predicate + is expected to eq false + behaves like predicate + is expected to eq false + behaves like predicate + is expected to eq false + behaves like predicate + is expected to eq false + success + behaves like predicate + is expected to eq true + behaves like predicate + is expected to eq true + behaves like predicate + is expected to eq true + uuid + uuid_v1? + success + behaves like predicate + is expected to eq true + uuid_v4? + success + behaves like predicate + is expected to eq true date_time? success behaves like predicate @@ -1173,42 +1728,90 @@ failure behaves like predicate is expected to eq false - size? - failure - Range + uri? + http + success + behaves like predicate + is expected to eq true + failure behaves like predicate is expected to eq false - Array + https + success + behaves like predicate + is expected to eq true + failure behaves like predicate is expected to eq false - Integer + [:http, :https] + success + behaves like predicate + is expected to eq true + behaves like predicate + is expected to eq true + Regexp + success + behaves like predicate + is expected to eq true + behaves like predicate + is expected to eq true + bool? + failure + symbol + behaves like predicate + is expected to eq false + 5 behaves like predicate is expected to eq false success - Array + false behaves like predicate is expected to eq true - Integer + true behaves like predicate is expected to eq true - Range + attr? + success + # behaves like predicate is expected to eq true - is? + failure + # + behaves like predicate + is expected to eq false + empty? success - behaves like predicate - is expected to eq true + {} + behaves like predicate + is expected to eq true + [] + behaves like predicate + is expected to eq true + String + behaves like predicate + is expected to eq true failure - behaves like predicate - is expected to eq false - nil? + {:key=>"value"} + behaves like predicate + is expected to eq false + + behaves like predicate + is expected to eq false + [1, 2] + behaves like predicate + is expected to eq false + string + behaves like predicate + is expected to eq false + max_size? failure - symbol + [1, 2, 3] behaves like predicate is expected to eq false success - behaves like predicate - is expected to eq true + [1] + behaves like predicate + is expected to eq true included_in? success behaves like predicate @@ -1216,121 +1819,117 @@ failure behaves like predicate is expected to eq false - max_bytesize? + time? success behaves like predicate + is expected to eq true + failure + behaves like predicate is expected to eq false + includes? failure behaves like predicate - is expected to eq true - format? + is expected to eq false success behaves like predicate is expected to eq true + float? + success behaves like predicate is expected to eq true - failure - behaves like predicate - is expected to eq false + success behaves like predicate is expected to eq false - odd? + excluded_from? failure - 10 - behaves like predicate - is expected to eq false + behaves like predicate + is expected to eq true success - 5 - behaves like predicate - is expected to eq true - empty? + behaves like predicate + is expected to eq false + min_size? success - [] - behaves like predicate - is expected to eq true - {} - behaves like predicate - is expected to eq true - String + [1, 2, 3] behaves like predicate is expected to eq true failure - string - behaves like predicate - is expected to eq false - [1, 2] + [1] behaves like predicate is expected to eq false - + is? + failure + behaves like predicate + is expected to eq false + success + behaves like predicate + is expected to eq true + true? & false? + false? + success behaves like predicate - is expected to eq false - {:key=>"value"} + is expected to eq true + failure behaves like predicate is expected to eq false - compare methods - eql? + true? failure behaves like predicate is expected to eq false success behaves like predicate is expected to eq true - not_eql? - failure + size? + failure + Array behaves like predicate - is expected to eq true - success + is expected to eq false + Range behaves like predicate is expected to eq false - excluded_from? - success - behaves like predicate - is expected to eq false - failure - behaves like predicate - is expected to eq true - filled? - success - [1, 2] + Integer behaves like predicate - is expected to eq true - + is expected to eq false + success + Array behaves like predicate is expected to eq true - string + Integer behaves like predicate is expected to eq true - {:key=>"value"} + Range behaves like predicate is expected to eq true + filled? failure - String - behaves like predicate - is expected to eq false {} behaves like predicate is expected to eq false [] behaves like predicate is expected to eq false - lteq? - failure - 11 + String behaves like predicate is expected to eq false success - 9 + {:key=>"value"} behaves like predicate is expected to eq true - lt? - failure - 200 + behaves like predicate - is expected to eq false - success - 5 + is expected to eq true + [1, 2] + behaves like predicate + is expected to eq true + string behaves like predicate is expected to eq true + min_bytesize? + failure + behaves like predicate + is expected to eq false + success + behaves like predicate + is expected to eq true str? failure Array @@ -1340,37 +1939,24 @@ String behaves like predicate is expected to eq true - includes? + format? success behaves like predicate is expected to eq true + behaves like predicate + is expected to eq true failure behaves like predicate is expected to eq false - gt? - success - 200 - behaves like predicate - is expected to eq true + behaves like predicate + is expected to eq false + odd? failure - 5 + 10 behaves like predicate is expected to eq false - type? success - string - behaves like predicate - is expected to eq true - failure - behaves like predicate - is expected to eq false - case? - Range - success - behaves like predicate - is expected to eq true - Fixnum - success + 5 behaves like predicate is expected to eq true array? @@ -1382,67 +1968,87 @@ Hash behaves like predicate is expected to eq false - time? - failure - behaves like predicate - is expected to eq false + decimal? success behaves like predicate is expected to eq true - int? failure behaves like predicate is expected to eq false + key? success - behaves like predicate - is expected to eq true - decimal? + {:speed=>100} + behaves like predicate + is expected to eq true + failure + {:age=>50} + behaves like predicate + is expected to eq false + lt? + failure + 200 + behaves like predicate + is expected to eq false success + 5 + behaves like predicate + is expected to eq true + max_bytesize? + failure behaves like predicate is expected to eq true - failure + success behaves like predicate is expected to eq false - gteq? - failure - 9 + compare methods + eql? + failure behaves like predicate is expected to eq false - success - 10 + success behaves like predicate is expected to eq true - 11 + not_eql? + failure behaves like predicate is expected to eq true - date? - success - -4712-01-01 + success behaves like predicate - is expected to eq true + is expected to eq false + nil? failure symbol behaves like predicate is expected to eq false - number? success behaves like predicate is expected to eq true - behaves like predicate - is expected to eq true + int? + success behaves like predicate is expected to eq true failure behaves like predicate is expected to eq false + case? + Range + success + behaves like predicate + is expected to eq true + Fixnum + success + behaves like predicate + is expected to eq true + type? + failure behaves like predicate is expected to eq false - behaves like predicate - is expected to eq false - behaves like predicate - is expected to eq false - float? success + string + behaves like predicate + is expected to eq true + respond_to? + failure behaves like predicate is expected to eq false success @@ -1455,85 +2061,16 @@ success behaves like predicate is expected to eq false - uuid - uuid_v4? - success - behaves like predicate - is expected to eq true - uuid_v1? - success - behaves like predicate - is expected to eq true - true? & false? - false? - failure - behaves like predicate - is expected to eq false - success - behaves like predicate - is expected to eq true - true? - failure - behaves like predicate - is expected to eq false - success - behaves like predicate - is expected to eq true - excludes? - String - failure - behaves like predicate - is expected to eq false - success - behaves like predicate - is expected to eq true - Array - success - behaves like predicate - is expected to eq false - failure - behaves like predicate - is expected to eq true - min_size? - success - [1, 2, 3] - behaves like predicate - is expected to eq true - failure - [1] - behaves like predicate - is expected to eq false - hash? - failure - Array - behaves like predicate - is expected to eq false - success - Hash - behaves like predicate - is expected to eq true - key? - failure - {:age=>50} - behaves like predicate - is expected to eq false - success - {:speed=>100} - behaves like predicate - is expected to eq true - bool? + gteq? failure - symbol - behaves like predicate - is expected to eq false - 5 + 9 behaves like predicate is expected to eq false success - false + 11 behaves like predicate is expected to eq true - true + 10 behaves like predicate is expected to eq true even? @@ -1545,670 +2082,169 @@ 10 behaves like predicate is expected to eq true - uri? - [:http, :https] - success - behaves like predicate - is expected to eq true + excludes? + Array + failure behaves like predicate is expected to eq true - http success behaves like predicate - is expected to eq true - failure - behaves like predicate is expected to eq false - https + String failure behaves like predicate is expected to eq false success behaves like predicate is expected to eq true - Regexp - success - behaves like predicate - is expected to eq true - behaves like predicate - is expected to eq true -Dry::Logic::Predicates - #size? - with value size is less than n - behaves like a failing predicate - is expected to equal false - when value size is equal to n - behaves like a passing predicate - is expected to equal true - with an unsupported size - raises an error - when value size is greater than n - behaves like a failing predicate - is expected to equal false - -Dry::Logic::Predicates - #empty? - with value is not empty - behaves like a failing predicate - is expected to equal false - when value is empty - behaves like a passing predicate - is expected to equal true - -Dry::Logic::Rule::Predicate - #to_ast - without a result - returns :failure with an id - returns rule ast - with a zero-arity predicate - returns ast - with a result - returns failure ast - returns success - #name - returns predicate identifier - behaves like Dry::Logic::Rule - #curry - raises argument error when arity does not match - returns a curried rule - #[] - delegates to its predicate - #parameters - returns a list of args with their names - #arity - returns its predicate arity - #call - returns success for valid input - returns failure for invalid input - #to_s - returns string representation - -Dry::Logic::Predicates - #min_size? - when value size is equal to n - behaves like a passing predicate - is expected to equal true - when value size is greater than n - behaves like a passing predicate - is expected to equal true - with value size is less than n - behaves like a failing predicate - is expected to equal false - -Dry::Logic::Predicates - #uuid_v2? - when value is a valid V1 UUID - behaves like a passing predicate - is expected to equal true - with value is not a valid V4 UUID - behaves like a failing predicate - is expected to equal false - -Dry::Logic::Result - #to_s - with AND operation - behaves like string representation - returns string representation - with OR operation - behaves like string representation - returns string representation - with XOR operation - behaves like string representation - returns string representation - with THEN operation - behaves like string representation - returns string representation - with NOT operation - behaves like string representation - returns string representation - with a predicate - behaves like string representation - returns string representation - -Dry::Logic::Predicates - can be included in another module - .predicate - defines a predicate method - -Dry::Logic::Predicates - #number? - when value is numerical - behaves like a passing predicate - is expected to equal true - with value is not numerical - behaves like a failing predicate - is expected to equal false - -Dry::Logic::Predicates - #key? - when key is present in value - behaves like a passing predicate - is expected to equal true - with key is not present in value - behaves like a failing predicate - is expected to equal false - -Dry::Logic::Operations::Attr - #and - returns and where value is passed to the right - #call - applies predicate to the value - -Dry::Logic::Predicates - #uuid_v3? - when value is a valid V3 UUID - behaves like a passing predicate - is expected to equal true - with value is not a valid V4 UUID - behaves like a failing predicate - is expected to equal false - -Dry::Logic::Predicates - #uuid_v4? - when value is a valid V4 UUID - behaves like a passing predicate - is expected to equal true - with value is not a valid V4 UUID - behaves like a failing predicate - is expected to equal false - -Dry::Logic::Predicates - #time? - with value is not an integer - behaves like a failing predicate - is expected to equal false - when value is a time - behaves like a passing predicate - is expected to equal true - -Dry::Logic::Operations::Set - #to_s - returns string representation - #to_ast - returns ast - returns result ast - returns result ast with an :id - #call - applies all its rules to the input - -Dry::Logic::Predicates - #respond_to? - when value responds to method - behaves like a passing predicate - is expected to equal true - when value does not respond to method - behaves like a failing predicate - is expected to equal false - -Dry::Logic::Predicates#is? - when value is equal to the arg +Dry::Logic::Predicates#format? + when value does not match provided regexp + behaves like a failing predicate + is expected to equal false + when value matches provided regexp behaves like a passing predicate is expected to equal true - with value is not equal to the arg + when input is nil behaves like a failing predicate is expected to equal false Dry::Logic::Predicates - #str? - with value is not a string + #number? + with value is not numerical behaves like a failing predicate is expected to equal false - when value is a string + when value is numerical behaves like a passing predicate is expected to equal true Dry::Logic::Predicates - #gteq? - when value is greater than n + #odd? + when value is an odd int behaves like a passing predicate is expected to equal true - with value is less than n + with value is an even int behaves like a failing predicate is expected to equal false - when value is equal to n - behaves like a passing predicate - is expected to equal true - -Dry::Logic::Operations::Key - #ast - returns ast with the input - returns ast without the input - #to_ast - returns ast - #and - returns and rule where value is passed to the right - #to_s - returns string representation - #call - with an each rule as predicate - applies each rule to the value that fails - applies each rule to the value that passses - with a set rule as predicate - applies set rule to the value that fails - applies set rule to the value that passes - with a plain predicate - returns a success for valid input - returns a failure for invalid input Dry::Logic::Predicates - #type? - when value has a correct type - behaves like a passing predicate - is expected to equal true + #true? with value is not true behaves like a failing predicate is expected to equal false - -Dry::Logic::Predicates - #float? - with value is not an integer - behaves like a failing predicate - is expected to equal false - when value is a float - behaves like a passing predicate - is expected to equal true - -Dry::Logic::Predicates - #nil? - when value is not nil - behaves like a failing predicate - is expected to equal false - when value is nil + when value is true behaves like a passing predicate is expected to equal true Dry::Logic::Predicates - #min_bytesize? - when value size is equal to n + #max_bytesize? + when value size is less than n behaves like a passing predicate is expected to equal true - with value size is less than n + with value size is greater than n behaves like a failing predicate is expected to equal false - when value size is greater than n + when value size is equal to n behaves like a passing predicate is expected to equal true Dry::Logic::Predicates - #odd? - with value is an even int + #min_size? + with value size is less than n behaves like a failing predicate is expected to equal false - when value is an odd int - behaves like a passing predicate - is expected to equal true - -Dry::Logic::Operations::Or - #to_s - returns string representation - #to_ast - returns ast - returns failure result ast - returns result ast - #and - creates and with the other - #call - calls left and right - #or - creates or with the other - -Dry::Logic::Predicates - #lteq? - when value is equal to n + when value size is equal to n behaves like a passing predicate is expected to equal true - with value is greater than n - behaves like a failing predicate - is expected to equal false - when value is less than n + when value size is greater than n behaves like a passing predicate is expected to equal true +Dry::Logic::Builder + leakage + given a module extending ::Builder + is expected to respond to #call + is expected not to respond to #int? + is expected to respond to #build + undefined methods + raises NameError + Dry::Logic::Predicates #uuid_v1? - when value is a valid V1 UUID - behaves like a passing predicate - is expected to equal true with value is not a valid V1 UUID behaves like a failing predicate is expected to equal false - -Dry::Logic::Predicates - #hash? - when value is a hash + when value is a valid V1 UUID behaves like a passing predicate is expected to equal true - when value is not a hash - behaves like a failing predicate - is expected to equal false Dry::Logic::Predicates - #int? - with value is not an integer - behaves like a failing predicate - is expected to equal false - when value is an integer - behaves like a passing predicate - is expected to equal true - -operations - operators - ^ - success - behaves like operation - is expected to eq true - behaves like operation - is expected to eq true - failure - behaves like operation - is expected to eq false - | - success - behaves like operation - is expected to eq true - behaves like operation - is expected to eq true - & - success - behaves like operation - is expected to eq true - failure - behaves like operation - is expected to eq false - > - [true => false] - behaves like operation - is expected to eq false - [true => true] - behaves like operation - is expected to eq true - [false => true] - behaves like operation - is expected to eq true - then - [false => true] - behaves like operation - is expected to eq true - [true => true] - behaves like operation - is expected to eq true - [true => false] - behaves like operation - is expected to eq false - negation - success - behaves like operation - is expected to eq true - failure - behaves like operation - is expected to eq false - set - success - behaves like operation - is expected to eq true - success - behaves like operation - is expected to eq false - nested - failure - is expected not to be a success - success - is expected to be a success - xor - success - behaves like operation - is expected to eq true - behaves like operation - is expected to eq true - failure - behaves like operation - is expected to eq false - each - success - behaves like operation - is expected to eq true - failure - behaves like operation - is expected to eq false - implication - [false => true] - behaves like operation - is expected to eq true - [true => true] - behaves like operation - is expected to eq true - [true => false] - behaves like operation - is expected to eq false - and - success - behaves like operation - is expected to eq true - failure - behaves like operation - is expected to eq false - key - failure - behaves like operation - is expected to eq false - success - behaves like operation - is expected to eq true - or - success - behaves like operation - is expected to eq true - behaves like operation - is expected to eq true - check - two paths - success - behaves like operation - is expected to eq true - failure - behaves like operation - is expected to eq false - one path - failure - behaves like operation - is expected to eq false - success - behaves like operation - is expected to eq true - -Dry::Logic::Predicates - #array? - when value is not an array - behaves like a failing predicate - is expected to equal false - when value is an array + #lt? + when value is less than n behaves like a passing predicate is expected to equal true - -Dry::Logic::Predicates - #date_time? - with value is not an integer + when value is equal to n behaves like a failing predicate is expected to equal false - when value is a datetime - behaves like a passing predicate - is expected to equal true - -Dry::Logic::Rule - #eval_args - with a schema instance - returns a new with its predicate executed in the context of the provided object - with an unbound method - evaluates args in the context of the provided object - behaves like Dry::Logic::Rule - #curry - returns a curried rule - raises argument error when arity does not match - #[] - delegates to its predicate - #call - returns failure for invalid input - returns success for valid input - #parameters - returns a list of args with their names - #arity - returns its predicate arity - with a function returning truthy value - is not successful for invalid input - is successful for valid input - .new - accepts an :id - #bind - with an unbound method - carries id - returns a new rule with its predicate bound to a specific object - with an arbitrary block - stores parameters - stores arity - returns a new with its predicate executed in the context of the provided object - carries id - with a schema instance - returns a new with its predicate executed in the context of the provided object - #ast - returns predicate node with undefined args - returns predicate node with :id - #type - returns rule type - arity specialization - currying - generates correct arity on currying - arbitrary arity - generates correct arity - -2 arity - accepts variable number of arguments - curried 2 - doesn't have required arguments - curried 1 - doesn't have required arguments - constants - accepts variable number of arguments - 0-arity rule - generates interface with the right arity - -1 arity - accepts variable number of arguments - 1-arity rule - generates interface with the right arity - -Dry::Logic::Operations::And - #to_s - returns string representation - #to_ast - returns result ast - returns ast - returns failure result ast - #and - creates and with the other - #or - creates or with the other - #call - calls left and right - -Dry::Logic::Builder - undefined methods - raises NameError - leakage - given a module extending ::Builder - is expected to respond to #call - is expected not to respond to #int? - is expected to respond to #build - -Dry::Logic::Predicates - #date? - when value is a date - behaves like a passing predicate - is expected to equal true - with value is not an integer + with value is greater than n behaves like a failing predicate is expected to equal false Dry::Logic::Predicates - #uri? - when value is a valid URI + #uuid_v2? + when value is a valid V1 UUID behaves like a passing predicate is expected to equal true - with value is not a valid URI + with value is not a valid V4 UUID behaves like a failing predicate is expected to equal false Dry::Logic::Predicates - #max_size? - when value size is less than n - behaves like a passing predicate - is expected to equal true - with value size is greater than n + #key? + with key is not present in value behaves like a failing predicate is expected to equal false - when value size is equal to n + when key is present in value behaves like a passing predicate is expected to equal true Dry::Logic::Predicates - #attr? - when value responds to the attr name + #min_bytesize? + when value size is equal to n behaves like a passing predicate is expected to equal true - with value does not respond to the attr name + with value size is less than n behaves like a failing predicate is expected to equal false - -Dry::Logic::Operations::Xor - #call - calls left and right - #and - creates conjunction with the other - #or - creates disjunction with the other - #to_ast - returns failure result ast - returns result ast - returns ast - #to_s - returns string representation - -Dry::Logic::Predicates - #excluded_from? - when value is not present in list + when value size is greater than n behaves like a passing predicate is expected to equal true - with value is present in list - behaves like a failing predicate - is expected to equal false + +Dry::Logic::RuleCompiler#call + compiles and rules + compiles check rules + compiles set rules + compiles attr rules + compiles negated rules + compiles attr rules + compiles exclusive or rules + compiles or rules + compiles each rules + compiles key rules Dry::Logic::Predicates - #bool? - when value is not a bool + #float? + with value is not an integer behaves like a failing predicate is expected to equal false - when value is a boolean + when value is a float behaves like a passing predicate is expected to equal true -Dry::Logic::Predicates#not_eql? - when value is equal to the arg - behaves like a failing predicate - is expected to equal false - with value is not equal to the arg - behaves like a passing predicate - is expected to equal true - -Dry::Logic::Operations::Implication - #call - calls left and right - #to_ast - returns ast - #to_s - returns string representation - -Finished in 0.3862 seconds (files took 0.44675 seconds to load) +Finished in 0.27774 seconds (files took 0.42551 seconds to load) 399 examples, 0 failures -Randomized with seed 34262 +Randomized with seed 5508 ┌──────────────────────────────────────────────────────────────────────────────┐ @@ -2244,12 +2280,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: not including original source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/3921256/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/3921256/tmp/hooks/B01_cleanup finished I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env -I: removing directory /srv/workspace/pbuilder/52051 and its subdirectories -I: Current time: Thu Oct 1 10:24:10 -12 2026 -I: pbuilder-time-stamp: 1790893450 +I: removing directory /srv/workspace/pbuilder/3921256 and its subdirectories +I: Current time: Sat Aug 30 06:01:45 +14 2025 +I: pbuilder-time-stamp: 1756483305