Diff of the two buildlogs: -- --- b1/build.log 2025-01-26 12:18:38.362179982 +0000 +++ b2/build.log 2025-01-26 12:20:48.688311759 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sat Feb 28 06:41:02 -12 2026 -I: pbuilder-time-stamp: 1772304062 +I: Current time: Mon Jan 27 02:18:41 +14 2025 +I: pbuilder-time-stamp: 1737893921 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration @@ -26,54 +26,86 @@ dpkg-source: info: applying remove-spork I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/43834/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/33475/tmp/hooks/D01_modify_environment starting +debug: Running on ionos12-i386. +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 Jan 26 12:19 /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/33475/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/33475/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='i386' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=22 ' - DISTRIBUTION='unstable' - HOME='/root' - HOST_ARCH='i386' + 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]="i686-pc-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=i386 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=10 ' + DIRSTACK=() + DISTRIBUTION=unstable + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=i686 + HOST_ARCH=i386 IFS=' ' - INVOCATION_ID='2372c9da16064a1ca3f3f4cafe79a6ee' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - LD_LIBRARY_PATH='/usr/lib/libeatmydata' - LD_PRELOAD='libeatmydata.so' - 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='43834' - PS1='# ' - PS2='> ' + INVOCATION_ID=4ba2645799894e15b56e9153d384eacd + LANG=C + LANGUAGE=de_CH:de + LC_ALL=C + LD_LIBRARY_PATH=/usr/lib/libeatmydata + LD_PRELOAD=libeatmydata.so + MACHTYPE=i686-pc-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=33475 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.DSZNWyuw/pbuilderrc_CltX --distribution unstable --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.DSZNWyuw/b1 --logfile b1/build.log ruby-semverse_2.0.0-1.dsc' - SUDO_GID='112' - SUDO_UID='107' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://213.165.73.152: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.DSZNWyuw/pbuilderrc_MY6u --distribution unstable --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.DSZNWyuw/b2 --logfile b2/build.log ruby-semverse_2.0.0-1.dsc' + SUDO_GID=112 + SUDO_UID=107 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://46.16.76.132:3128 I: uname -a - Linux ionos16-i386 6.1.0-30-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.124-1 (2025-01-12) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-30-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.124-1 (2025-01-12) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Nov 22 2024 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/43834/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Nov 22 14:40 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/33475/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -258,7 +290,7 @@ Get: 141 http://deb.debian.org/debian unstable/main i386 ruby-rspec-expectations all 3.13.0c0e0m0s1-2 [90.2 kB] Get: 142 http://deb.debian.org/debian unstable/main i386 ruby-rspec-mocks all 3.13.0c0e0m0s1-2 [81.3 kB] Get: 143 http://deb.debian.org/debian unstable/main i386 ruby-rspec all 3.13.0c0e0m0s1-2 [5184 B] -Fetched 56.5 MB in 0s (131 MB/s) +Fetched 56.5 MB in 1s (41.2 MB/s) Preconfiguring packages ... Selecting previously unselected package libpython3.13-minimal:i386. (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 ... 19818 files and directories currently installed.) @@ -733,8 +765,8 @@ Setting up tzdata (2025a-1) ... Current default time zone: 'Etc/UTC' -Local time is now: Sat Feb 28 18:41:23 UTC 2026. -Universal Time is now: Sat Feb 28 18:41:23 UTC 2026. +Local time is now: Sun Jan 26 12:20:00 UTC 2025. +Universal Time is now: Sun Jan 26 12:20:00 UTC 2025. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up ruby-minitest (5.22.3-1) ... @@ -870,7 +902,11 @@ fakeroot is already the newest version (1.37-1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/reproducible-path/ruby-semverse-2.0.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-semverse_2.0.0-1_source.changes +I: user script /srv/workspace/pbuilder/33475/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/33475/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/ruby-semverse-2.0.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-semverse_2.0.0-1_source.changes dpkg-buildpackage: info: source package ruby-semverse dpkg-buildpackage: info: source version 2.0.0-1 dpkg-buildpackage: info: source distribution unstable @@ -939,573 +975,451 @@ All examples were filtered out; ignoring {:focus=>true} -Randomized with seed 20650 - -Semverse::Version - #to_s - returns a string containing the major.minor.patch-pre_release+build - #zero? - major, minor and patch are equal to 0 - is expected to equal true - major is not equal to 0 - is expected to equal false - patch is not equal to 0 - is expected to equal false - minor is not equal to 0 - is expected to equal false - #pre_release? - when a pre-release value is set - is expected to equal true - when no pre-release value is set - is expected to equal false - #<=> - compares versions - ClassMethods - ::coerce - coerces a String to a Version object - returns an object of the desired class without any additional processing - ::new - a string containing a major, minor and patch separated by periods a pre-release and a build - assigns a major value - assigns a build value - assigns a pre_release value - assigns a minor value - assigns a patch value - a two element array - sets the patch value to 0 (zero) - assigns a minor value - doesn't assigns a pre_release value - doesn't assigns a build value - assigns a major value - a three element array - doesn't assigns a build value - assigns a major value - doesn't assigns a pre_release value - assigns a patch value - assigns a minor value - a five element array - assigns a build value - assigns a major value - assigns a patch value - assigns a minor value - doesn't assigns a pre_release value - a string containing a major, minor, and patch separated by periods - doesn't assigns a pre_release value - doesn't assigns a build value - assigns a minor value - assigns a major value - assigns a patch value - a four element array - assigns a major value - assigns a patch value - assigns a minor value - doesn't assigns a build value - assigns a pre_release value - a one element array - doesn't assigns a build value - doesn't assigns a pre_release value - sets the minor value to 0 (zero) - assigns the major value - sets the patch value to 0 (zero) - an empty array - sets the majro value to 0 (zero) - sets the patch value to 0 (zero) - doesn't assigns a build value - doesn't assigns a pre_release value - sets the minor value to 0 (zero) - a string containing a major, minor and patch separated by periods and a build - assigns a build value - assigns a patch value - assigns a major value - assigns a minor value - doesn't assigns a pre_release value - ::split - raises an InvalidVersionFormat error - returns an array containing 5 elements - given a string with only a major version - returns an array containing 3 elements - returns 0 as the second element - converts the second element to 0 if it's nil or blank - returns 0 as the third element - given a string only containing a major and minor version - returns an array containing 4 elements - converts the third element to 0 if it's nil or blank - returns 0 as the third element - given a string only containing a major, minor and patch version - returns an array containing 4 elements - returns nil as fifth element - returns nil as fourth element +Randomized with seed 47472 Semverse::Constraint - ClassMethods - ::new - assigns the parsed version string as an instance of Version to the version attribute - fall sback to a default constraint if a blank string is provided - returns a new instance of Constraint - assigns the parsed operator to the operator attribute - falls back to a default constraint if nil is provided - assigns the parsed operator to the operator attribute with no separation between operator and version - given a constraint that does not include a minor version (=) - has a 0 for minor - given a constraint that does not include a patch version (=) - has a 0 for patch - given a constraint that does not include a build version - has a nil value for build - given a constraint that does not include a pre release version - has a nil value for pre release - given a string that does not match the Constraint REGEXP - raises an InvalidConstraintFormat error - given a constraint that does not include a patch version (~>) - has a nil value for patch - given a constraint that does not include a minor version (~>) - has a nil value for minor - has a nil value for patch - ::split - given a string that does not contain an operator - returns a constraint constraint with a default operator (=) - given a constraint containing the elements (operator, major, minor, patch, pre_release, build) - returns an array with the minor version at index 2 - returns an array with the build version at index 5 - returns an array with the constraint operator at index 0 - returns an array with the patch version at index 3 - returns an array with the major version in index 1 - returns an array with the pre release version at index 4 - given a constraint which is missing an operator - returns an equality operator at index 0 - given a constraint containing the elements (operator, major, minor, patch) - returns an array with a nil value at index 4 - returns an array with a nil value at index 5 - returns an array with the major version in index 1 - returns an array with the patch version at index 3 - returns an array with the constraint operator at index 0 - returns an array with the minor version at index 2 - given a string that does not match the Constraint REGEXP - raises an InvalidConstraintFormat error - given a constraint containing the elements (operator, major, minor) - returns an array with the constraint operator at index 0 - returns an array with the minor version at index 2 - returns an array with a nil value at index 4 - returns an array with a nil value at index 5 - returns an array with the major version in index 1 - returns an array with a nil value at index 3 - given a constraint containing the elements (operator, major) - returns an array with a nil value at index 3 - returns an array with the major version in index 1 - returns an array with a nil value at index 2 - returns an array with the constraint operator at index 0 - returns an array with a nil value at index 4 - returns an array with a nil value at index 5 - given a constraint containing the elements (operator, major, minor, patch, pre_release) - returns an array with the major version in index 1 - returns an array with the patch version at index 3 - returns an array with the minor version at index 2 - returns an array with the pre release version at index 4 - returns an array with the constraint operator at index 0 - returns an array with a nil value at index 5 #satisfies? is expected to satisfies # is expected to satisfies "1.0.0" - greater than or equal to (>=) + strictly equal to (=) is expected to satisfies "1.0.0" - is expected to satisfies "1.0.0+build" is expected not to satisfies "0.9.9+build" - is expected to satisfies "2.0.0" - is expected to satisfies "1.0.1" - is expected not to satisfies "1.0.1-beta" is expected not to satisfies "1.0.0-alpha" - is expected to satisfies "1.0.1+build.2" - is expected not to satisfies "1.0.0-alpha.2" - greater than or equal to (>) zero constraint - is expected to satisfies "1.0.0-alpha.2" - is expected to satisfies "0.9.9+build" - is expected to satisfies "1.0.1-beta" - is expected to satisfies "1.0.1+build.2" - is expected to satisfies "2.0.0" - is expected to satisfies "1.0.0" - is expected to satisfies "1.0.1" - is expected to satisfies "1.0.0+build" - is expected to satisfies "1.0.0-alpha" - strictly greater than (>) pre-release constraint - is expected not to satisfies "1.0.0-alpha" - is expected to satisfies "1.0.0-alpha.2" - is expected to satisfies "1.0.1" - is expected to satisfies "1.0.0+build" - is expected to satisfies "1.0.0" - is expected to satisfies "1.0.1+build.2" - is expected not to satisfies "0.9.9+build" - is expected to satisfies "1.0.1-beta" - is expected to satisfies "2.0.0" + is expected not to satisfies "1.0.1" aproximately (~) - when the last value in the constraint is for patch - is expected not to satisfies "1.2.3-alpha" - is expected not to satisfies "1.1.0" - is expected to satisfies "1.2.5+build" - is expected to satisfies "1.2.2" - is expected to satisfies "1.2.3" - is expected not to satisfies "1.3.0" - is expected not to satisfies "1.3.0-0" - when the last value in the constraint is for build with a last numeric identifier - is expected to satisfies "1.2.3+5" - is expected to satisfies "1.2.3+99" + when the last value in the constraint is for build with a last non-numeric identifier + is expected not to satisfies "1.2.4" + is expected to satisfies "1.2.3+build.5" is expected not to satisfies "1.3.0" is expected not to satisfies "1.2.3-alpha" - is expected not to satisfies "1.2.3+4" - is expected not to satisfies "1.2.4" - is expected not to satisfies "1.2.3+-" - is expected not to satisfies "1.2.3+build" - is expected not to satisfies "1.2.3+5.build" + is expected to satisfies "1.2.3+preview" + is expected not to satisfies "1.2.4-0" + is expected to satisfies "1.2.3+build" + is expected to satisfies "1.2.3+zzz" is expected not to satisfies "1.2.3" - when the last value in the constraint is for pre_release with a last non-numeric identifier + is expected not to satisfies "1.2.3+5" + is expected not to satisfies "1.2.5" + when the last value in the constraint is for build with a last non-numeric identifier and a pre-release + is expected to satisfies "1.2.3-alpha+zzz" + is expected to satisfies "1.2.3-alpha+build" + is expected to satisfies "1.2.3-alpha+preview" + is expected not to satisfies "1.2.3-alpha" is expected not to satisfies "1.3.0" is expected not to satisfies "1.2.3" - is expected to satisfies "1.2.3-omega" - is expected not to satisfies "1.2.3-4" - is expected not to satisfies "1.2.3--" - is expected to satisfies "1.2.3-alpha" - is expected to satisfies "1.2.3-beta" - is expected to satisfies "1.2.3-omega.4" - is expected to satisfies "1.2.3-alpha.0" + is expected not to satisfies "1.2.3-alpha.4" + is expected not to satisfies "1.2.3-alphb" + is expected not to satisfies "1.2.3-beta" + is expected not to satisfies "1.2.3-alpha.4+4" + is expected to satisfies "1.2.3-alpha+build.5" + when the last value in the constraint is for build with a last numeric identifier and a pre-release + is expected not to satisfies "1.2.3-beta" + is expected not to satisfies "1.2.3-alpha+build" + is expected to satisfies "1.2.3-alpha+5.5" + is expected not to satisfies "1.2.3" + is expected not to satisfies "1.2.3-alpha+-" + is expected not to satisfies "1.2.3-alpha.4" + is expected not to satisfies "1.3.0" + is expected to satisfies "1.2.3-alpha+5" + is expected to satisfies "1.2.3-alpha+10" + is expected not to satisfies "1.2.3-alpha.4+4" + is expected not to satisfies "1.2.3-alpha" when the last value in the constraint is for minor - is expected to satisfies "1.2.3+build" - is expected not to satisfies "1.2.0-alpha" is expected not to satisfies "1.1.0" + is expected to satisfies "1.3.0" is expected to satisfies "1.3" is expected to satisfies "1.2.0" - is expected to satisfies "1.2.3" - is expected to satisfies "1.3.0" is expected not to satisfies "2.0.0-0" is expected not to satisfies "2.0.0" - when the last value in the constraint is for pre_release with a last numeric identifier - is expected not to satisfies "1.2.4" - is expected to satisfies "1.2.3-10" - is expected not to satisfies "1.2.3" + is expected to satisfies "1.2.3" + is expected not to satisfies "1.2.0-alpha" + is expected to satisfies "1.2.3+build" + when the last value in the constraint is for patch + is expected not to satisfies "1.3.0-0" + is expected not to satisfies "1.2.3-alpha" + is expected to satisfies "1.2.5+build" + is expected to satisfies "1.2.3" + is expected not to satisfies "1.1.0" + is expected to satisfies "1.2.2" + is expected not to satisfies "1.3.0" + when the last value in the constraint is for pre_release with a last non-numeric identifier + is expected not to satisfies "1.2.3-4" is expected not to satisfies "1.3.0" is expected not to satisfies "1.2.3" - is expected not to satisfies "1.2.3-alpha" - is expected to satisfies "1.2.3-4" + is expected to satisfies "1.2.3-alpha.0" is expected not to satisfies "1.2.3--" - is expected to satisfies "1.2.3-10.5+build.33" - when the last value in the constraint is for build with a last numeric identifier and a pre-release - is expected not to satisfies "1.2.3" + is expected to satisfies "1.2.3-omega" + is expected to satisfies "1.2.3-beta" + is expected to satisfies "1.2.3-alpha" + is expected to satisfies "1.2.3-omega.4" + when the last value in the constraint is for build with a last numeric identifier + is expected not to satisfies "1.2.4" + is expected to satisfies "1.2.3+5" + is expected not to satisfies "1.2.3+build" is expected not to satisfies "1.3.0" - is expected not to satisfies "1.2.3-alpha+-" - is expected to satisfies "1.2.3-alpha+10" - is expected not to satisfies "1.2.3-beta" - is expected to satisfies "1.2.3-alpha+5.5" - is expected to satisfies "1.2.3-alpha+5" - is expected not to satisfies "1.2.3-alpha.4" - is expected not to satisfies "1.2.3-alpha+build" is expected not to satisfies "1.2.3-alpha" - is expected not to satisfies "1.2.3-alpha.4+4" - when the last value in the constraint is for build with a last non-numeric identifier and a pre-release - is expected to satisfies "1.2.3-alpha+build" - is expected not to satisfies "1.2.3-beta" - is expected to satisfies "1.2.3-alpha+zzz" + is expected to satisfies "1.2.3+99" + is expected not to satisfies "1.2.3+-" + is expected not to satisfies "1.2.3" + is expected not to satisfies "1.2.3+5.build" + is expected not to satisfies "1.2.3+4" + when the last value in the constraint is for pre_release with a last numeric identifier + is expected to satisfies "1.2.3-10" + is expected to satisfies "1.2.3-4" is expected not to satisfies "1.2.3" - is expected to satisfies "1.2.3-alpha+build.5" - is expected to satisfies "1.2.3-alpha+preview" - is expected not to satisfies "1.2.3-alpha.4" - is expected not to satisfies "1.2.3-alphb" - is expected not to satisfies "1.2.3-alpha" - is expected not to satisfies "1.3.0" - is expected not to satisfies "1.2.3-alpha.4+4" - when the last value in the constraint is for build with a last non-numeric identifier - is expected to satisfies "1.2.3+preview" - is expected to satisfies "1.2.3+zzz" - is expected not to satisfies "1.2.3+5" - is expected not to satisfies "1.2.3-alpha" is expected not to satisfies "1.2.3" - is expected to satisfies "1.2.3+build.5" - is expected to satisfies "1.2.3+build" - is expected not to satisfies "1.3.0" - is expected not to satisfies "1.2.5" is expected not to satisfies "1.2.4" - is expected not to satisfies "1.2.4-0" - strictly less than (<) - is expected not to satisfies "1.0.0+build" - is expected not to satisfies "1.0.1+build.2" - is expected to satisfies "1.0.0-alpha" - is expected not to satisfies "2.0.0" - is expected not to satisfies "1.0.0" - is expected not to satisfies "1.0.1" + is expected not to satisfies "1.2.3-alpha" + is expected not to satisfies "1.2.3--" + is expected not to satisfies "1.3.0" + is expected to satisfies "1.2.3-10.5+build.33" + greater than or equal to (>) zero pre-release constraint + is expected to satisfies "2.0.0" + is expected to satisfies "1.0.1-beta" is expected to satisfies "1.0.0-alpha.2" - is expected to satisfies "0.9.9+build" - is expected not to satisfies "1.0.1-beta" - greater than or equal to (>=) zero constraint - is expected to satisfies "1.0.1+build.2" + is expected to satisfies "1.0.1" is expected to satisfies "1.0.0-alpha" + is expected to satisfies "1.0.1+build.2" + is expected to satisfies "0.9.9+build" + is expected to satisfies "1.0.0" is expected to satisfies "1.0.0+build" + greater than or equal to (>) zero constraint + is expected to satisfies "1.0.0-alpha" is expected to satisfies "1.0.1-beta" - is expected to satisfies "1.0.1" - is expected to satisfies "2.0.0" - is expected to satisfies "1.0.0" - is expected to satisfies "1.0.0-alpha.2" is expected to satisfies "0.9.9+build" - greater than or equal to (>=) build constraint is expected to satisfies "1.0.0+build" - is expected not to satisfies "1.0.0-alpha" - is expected not to satisfies "1.0.0-alpha.2" - is expected to satisfies "1.0.1+build.2" - is expected not to satisfies "0.9.9+build" - is expected not to satisfies "1.0.1-beta" - is expected not to satisfies "1.0.0" - is expected to satisfies "1.0.1" - is expected to satisfies "2.0.0" - greater than or equal to (>=) zero pre-release constraint is expected to satisfies "1.0.0" - is expected to satisfies "2.0.0" - is expected to satisfies "0.9.9+build" - is expected to satisfies "1.0.0-alpha" - is expected to satisfies "1.0.0-alpha.2" - is expected to satisfies "1.0.0+build" - is expected to satisfies "1.0.1+build.2" - is expected to satisfies "1.0.1-beta" is expected to satisfies "1.0.1" - greater than or equal to (>) zero pre-release constraint - is expected to satisfies "1.0.1-beta" is expected to satisfies "1.0.0-alpha.2" + is expected to satisfies "2.0.0" is expected to satisfies "1.0.1+build.2" - is expected to satisfies "1.0.0+build" - is expected to satisfies "1.0.0" + greater than or equal to (>=) pre-release constraint + is expected not to satisfies "0.9.9+build" is expected to satisfies "2.0.0" - is expected to satisfies "0.9.9+build" - is expected to satisfies "1.0.0-alpha" - is expected to satisfies "1.0.1" - strictly less than (<) pre-release constraint - is expected not to satisfies "1.0.0+build" - is expected to satisfies "1.0.0-alpha" - is expected not to satisfies "1.0.0" - is expected not to satisfies "1.0.1" - is expected to satisfies "0.9.9+build" - is expected not to satisfies "1.0.1+build.2" - is expected to satisfies "1.0.0-alpha.2" - is expected not to satisfies "2.0.0" - is expected not to satisfies "1.0.1-beta" - lower than or equal to (<=) build constraint - is expected not to satisfies "1.0.1+build.2" - is expected not to satisfies "1.0.1-beta" is expected to satisfies "1.0.0+build" - is expected to satisfies "1.0.0-alpha" - is expected to satisfies "0.9.9+build" - is expected not to satisfies "2.0.0" - is expected to satisfies "1.0.0-alpha.2" + is expected to satisfies "1.0.1+build.2" is expected to satisfies "1.0.0" - is expected not to satisfies "1.0.1" - greater than or equal to (>) zero build constraint + is expected to satisfies "1.0.0-alpha.2" is expected to satisfies "1.0.0-alpha" is expected to satisfies "1.0.1" - is expected to satisfies "1.0.1+build.2" - is expected to satisfies "2.0.0" - is expected to satisfies "0.9.9+build" is expected to satisfies "1.0.1-beta" + greater than or equal to (>=) build constraint + is expected to satisfies "1.0.1+build.2" + is expected to satisfies "1.0.1" is expected to satisfies "1.0.0+build" - is expected to satisfies "1.0.0" - is expected to satisfies "1.0.0-alpha.2" - lower than or equal to (<=) + is expected not to satisfies "1.0.0-alpha" is expected not to satisfies "1.0.1-beta" - is expected not to satisfies "1.0.1" - is expected to satisfies "1.0.0-alpha" - is expected not to satisfies "2.0.0" - is expected not to satisfies "1.0.1+build.2" - is expected not to satisfies "1.0.0" - is expected to satisfies "0.9.9+build" - is expected not to satisfies "1.0.0+build" + is expected not to satisfies "0.9.9+build" is expected not to satisfies "1.0.0-alpha.2" + is expected to satisfies "2.0.0" + is expected not to satisfies "1.0.0" aproximately (~>) - when the last value in the constraint is for minor - is expected to satisfies "1.3.0" - is expected not to satisfies "1.2.0-alpha" - is expected to satisfies "1.2.3+build" - is expected not to satisfies "2.0.0-0" - is expected to satisfies "1.2.3" - is expected to satisfies "1.2.0" - is expected to satisfies "1.3" - is expected not to satisfies "1.1.0" - is expected not to satisfies "2.0.0" - when the last value in the constraint is for build with a last numeric identifier and a pre-release - is expected not to satisfies "1.2.3-alpha+build" - is expected not to satisfies "1.2.3-alpha" - is expected to satisfies "1.2.3-alpha+5.5" - is expected not to satisfies "1.2.3" - is expected not to satisfies "1.3.0" - is expected not to satisfies "1.2.3-alpha.4+4" - is expected not to satisfies "1.2.3-beta" - is expected not to satisfies "1.2.3-alpha.4" - is expected to satisfies "1.2.3-alpha+5" - is expected not to satisfies "1.2.3-alpha+-" - is expected to satisfies "1.2.3-alpha+10" - when the last value in the constraint is for build with a last numeric identifier - is expected to satisfies "1.2.3+5" + when the last value in the constraint is for patch is expected not to satisfies "1.2.3-alpha" - is expected not to satisfies "1.2.3+build" + is expected to satisfies "1.2.2" + is expected not to satisfies "1.1.0" is expected not to satisfies "1.3.0" - is expected not to satisfies "1.2.3" - is expected not to satisfies "1.2.3+-" - is expected to satisfies "1.2.3+99" - is expected not to satisfies "1.2.3+4" - is expected not to satisfies "1.2.4" - is expected not to satisfies "1.2.3+5.build" + is expected to satisfies "1.2.5+build" + is expected to satisfies "1.2.3" + is expected not to satisfies "1.3.0-0" when the last value in the constraint is for build with a last non-numeric identifier - is expected not to satisfies "1.2.3+5" + is expected not to satisfies "1.3.0" + is expected to satisfies "1.2.3+build" is expected to satisfies "1.2.3+build.5" - is expected not to satisfies "1.2.3-alpha" + is expected not to satisfies "1.2.3+5" is expected to satisfies "1.2.3+zzz" - is expected not to satisfies "1.3.0" + is expected not to satisfies "1.2.3-alpha" is expected not to satisfies "1.2.5" is expected not to satisfies "1.2.3" - is expected to satisfies "1.2.3+build" is expected to satisfies "1.2.3+preview" is expected not to satisfies "1.2.4" is expected not to satisfies "1.2.4-0" - when the last value in the constraint is for patch - is expected not to satisfies "1.3.0-0" - is expected to satisfies "1.2.2" - is expected to satisfies "1.2.5+build" + when the last value in the constraint is for minor + is expected to satisfies "1.3.0" is expected to satisfies "1.2.3" + is expected to satisfies "1.3" is expected not to satisfies "1.1.0" + is expected not to satisfies "2.0.0" + is expected not to satisfies "1.2.0-alpha" + is expected to satisfies "1.2.0" + is expected to satisfies "1.2.3+build" + is expected not to satisfies "2.0.0-0" + when the last value in the constraint is for pre_release with a last non-numeric identifier + is expected to satisfies "1.2.3-omega.4" + is expected to satisfies "1.2.3-alpha.0" + is expected not to satisfies "1.2.3--" + is expected not to satisfies "1.2.3-4" + is expected to satisfies "1.2.3-beta" + is expected not to satisfies "1.2.3" + is expected not to satisfies "1.3.0" + is expected to satisfies "1.2.3-alpha" + is expected to satisfies "1.2.3-omega" + when the last value in the constraint is for pre_release with a last numeric identifier + is expected not to satisfies "1.2.3" + is expected to satisfies "1.2.3-10" + is expected not to satisfies "1.2.3" is expected not to satisfies "1.2.3-alpha" is expected not to satisfies "1.3.0" + is expected not to satisfies "1.2.4" + is expected not to satisfies "1.2.3--" + is expected to satisfies "1.2.3-4" + is expected to satisfies "1.2.3-10.5+build.33" when the last value in the constraint is for build with a last non-numeric identifier and a pre-release - is expected to satisfies "1.2.3-alpha+zzz" - is expected to satisfies "1.2.3-alpha+build" is expected to satisfies "1.2.3-alpha+preview" - is expected not to satisfies "1.2.3-alpha" + is expected not to satisfies "1.2.3-alpha.4" + is expected to satisfies "1.2.3-alpha+build.5" + is expected not to satisfies "1.2.3-alpha.4+4" is expected not to satisfies "1.2.3-alphb" + is expected to satisfies "1.2.3-alpha+zzz" is expected not to satisfies "1.2.3-beta" is expected not to satisfies "1.3.0" - is expected to satisfies "1.2.3-alpha+build.5" + is expected not to satisfies "1.2.3-alpha" is expected not to satisfies "1.2.3" + is expected to satisfies "1.2.3-alpha+build" + when the last value in the constraint is for build with a last numeric identifier and a pre-release is expected not to satisfies "1.2.3-alpha.4+4" - is expected not to satisfies "1.2.3-alpha.4" - when the last value in the constraint is for pre_release with a last numeric identifier - is expected not to satisfies "1.2.4" - is expected not to satisfies "1.2.3--" - is expected to satisfies "1.2.3-4" + is expected not to satisfies "1.2.3-alpha+-" is expected not to satisfies "1.2.3" - is expected to satisfies "1.2.3-10.5+build.33" + is expected to satisfies "1.2.3-alpha+5.5" + is expected to satisfies "1.2.3-alpha+5" + is expected not to satisfies "1.2.3-alpha" + is expected to satisfies "1.2.3-alpha+10" + is expected not to satisfies "1.2.3-alpha.4" + is expected not to satisfies "1.2.3-alpha+build" is expected not to satisfies "1.3.0" + is expected not to satisfies "1.2.3-beta" + when the last value in the constraint is for build with a last numeric identifier is expected not to satisfies "1.2.3-alpha" - is expected to satisfies "1.2.3-10" - is expected not to satisfies "1.2.3" - when the last value in the constraint is for pre_release with a last non-numeric identifier - is expected not to satisfies "1.2.3--" - is expected to satisfies "1.2.3-omega" - is expected to satisfies "1.2.3-beta" - is expected not to satisfies "1.2.3-4" - is expected to satisfies "1.2.3-omega.4" is expected not to satisfies "1.2.3" - is expected to satisfies "1.2.3-alpha.0" - is expected to satisfies "1.2.3-alpha" + is expected not to satisfies "1.2.3+-" is expected not to satisfies "1.3.0" - strictly greater than (>) - is expected not to satisfies "1.0.0-alpha" + is expected not to satisfies "1.2.4" + is expected not to satisfies "1.2.3+4" + is expected to satisfies "1.2.3+99" + is expected to satisfies "1.2.3+5" + is expected not to satisfies "1.2.3+5.build" + is expected not to satisfies "1.2.3+build" + greater than or equal to (>=) zero pre-release constraint is expected to satisfies "1.0.1" - is expected to satisfies "2.0.0" - is expected not to satisfies "1.0.0-alpha.2" - is expected not to satisfies "1.0.1-beta" - is expected not to satisfies "0.9.9+build" is expected to satisfies "1.0.1+build.2" + is expected to satisfies "1.0.0-alpha.2" + is expected to satisfies "2.0.0" + is expected to satisfies "1.0.0-alpha" + is expected to satisfies "1.0.1-beta" + is expected to satisfies "1.0.0" is expected to satisfies "1.0.0+build" + is expected to satisfies "0.9.9+build" + lower than or equal to (<=) is expected not to satisfies "1.0.0" - strictly less than (<) build constraint + is expected not to satisfies "1.0.0+build" + is expected not to satisfies "1.0.0-alpha.2" + is expected to satisfies "1.0.0-alpha" is expected not to satisfies "1.0.1+build.2" + is expected not to satisfies "1.0.1" is expected not to satisfies "2.0.0" - is expected to satisfies "1.0.0-alpha.2" is expected not to satisfies "1.0.1-beta" + is expected to satisfies "0.9.9+build" + greater than or equal to (>=) zero build constraint is expected to satisfies "1.0.0" + is expected to satisfies "1.0.1+build.2" + is expected to satisfies "2.0.0" is expected to satisfies "0.9.9+build" is expected to satisfies "1.0.0-alpha" + is expected to satisfies "1.0.1" + is expected to satisfies "1.0.0-alpha.2" + is expected to satisfies "1.0.1-beta" is expected to satisfies "1.0.0+build" - is expected not to satisfies "1.0.1" - greater than or equal to (>=) zero build constraint - is expected to satisfies "1.0.0" + strictly less than (<) build constraint is expected to satisfies "1.0.0-alpha.2" + is expected to satisfies "1.0.0-alpha" + is expected not to satisfies "1.0.1" + is expected not to satisfies "2.0.0" is expected to satisfies "0.9.9+build" - is expected to satisfies "1.0.1+build.2" + is expected not to satisfies "1.0.1-beta" + is expected not to satisfies "1.0.1+build.2" + is expected to satisfies "1.0.0" is expected to satisfies "1.0.0+build" - is expected to satisfies "1.0.1-beta" + lower than or equal to (<=) build constraint + is expected to satisfies "0.9.9+build" + is expected not to satisfies "1.0.1" + is expected to satisfies "1.0.0" is expected to satisfies "1.0.0-alpha" + is expected to satisfies "1.0.0+build" + is expected to satisfies "1.0.0-alpha.2" + is expected not to satisfies "1.0.1-beta" + is expected not to satisfies "1.0.1+build.2" + is expected not to satisfies "2.0.0" + strictly greater than (>) pre-release constraint + is expected to satisfies "1.0.0" + is expected not to satisfies "1.0.0-alpha" + is expected to satisfies "1.0.0-alpha.2" is expected to satisfies "2.0.0" + is expected not to satisfies "0.9.9+build" is expected to satisfies "1.0.1" + is expected to satisfies "1.0.0+build" + is expected to satisfies "1.0.1-beta" + is expected to satisfies "1.0.1+build.2" lower than or equal to (<=) pre-release constraint - is expected to satisfies "1.0.0" - is expected not to satisfies "1.0.1+build.2" + is expected to satisfies "1.0.0-alpha.2" + is expected not to satisfies "1.0.1" is expected to satisfies "1.0.0-alpha" + is expected to satisfies "0.9.9+build" + is expected not to satisfies "1.0.1+build.2" + is expected to satisfies "1.0.0" + is expected not to satisfies "2.0.0" + is expected not to satisfies "1.0.0+build" + is expected not to satisfies "1.0.1-beta" + strictly less than (<) pre-release constraint is expected not to satisfies "1.0.0+build" + is expected not to satisfies "1.0.1-beta" + is expected not to satisfies "1.0.0" + is expected not to satisfies "1.0.1+build.2" + is expected not to satisfies "1.0.1" + is expected to satisfies "1.0.0-alpha.2" + is expected to satisfies "0.9.9+build" is expected not to satisfies "2.0.0" + is expected to satisfies "1.0.0-alpha" + strictly greater than (>) + is expected not to satisfies "1.0.0-alpha" + is expected not to satisfies "0.9.9+build" + is expected to satisfies "1.0.0+build" is expected not to satisfies "1.0.1-beta" + is expected not to satisfies "1.0.0-alpha.2" + is expected not to satisfies "1.0.0" + is expected to satisfies "2.0.0" + is expected to satisfies "1.0.1+build.2" + is expected to satisfies "1.0.1" + greater than or equal to (>=) zero constraint is expected to satisfies "0.9.9+build" + is expected to satisfies "1.0.1+build.2" + is expected to satisfies "1.0.1-beta" + is expected to satisfies "2.0.0" + is expected to satisfies "1.0.0-alpha" + is expected to satisfies "1.0.0" + is expected to satisfies "1.0.0+build" is expected to satisfies "1.0.0-alpha.2" - is expected not to satisfies "1.0.1" - strictly greater than (>) build constraint - is expected not to satisfies "1.0.0-alpha.2" + is expected to satisfies "1.0.1" + greater than or equal to (>=) is expected to satisfies "1.0.1" is expected to satisfies "2.0.0" - is expected not to satisfies "1.0.0+build" - is expected not to satisfies "1.0.0" - is expected not to satisfies "1.0.0-alpha" - is expected to satisfies "1.0.1+build.2" - is expected not to satisfies "1.0.1-beta" + is expected to satisfies "1.0.0" is expected not to satisfies "0.9.9+build" - strictly equal to (=) + is expected to satisfies "1.0.1+build.2" is expected not to satisfies "1.0.0-alpha" - is expected to satisfies "1.0.0" + is expected not to satisfies "1.0.1-beta" + is expected not to satisfies "1.0.0-alpha.2" + is expected to satisfies "1.0.0+build" + strictly less than (<) + is expected not to satisfies "1.0.0" + is expected not to satisfies "1.0.1+build.2" + is expected to satisfies "0.9.9+build" is expected not to satisfies "1.0.1" - is expected not to satisfies "0.9.9+build" - greater than or equal to (>=) pre-release constraint is expected to satisfies "1.0.0-alpha.2" - is expected to satisfies "1.0.1-beta" - is expected not to satisfies "0.9.9+build" - is expected to satisfies "1.0.0" + is expected not to satisfies "2.0.0" + is expected to satisfies "1.0.0-alpha" + is expected not to satisfies "1.0.1-beta" + is expected not to satisfies "1.0.0+build" + strictly greater than (>) build constraint is expected to satisfies "1.0.1" + is expected not to satisfies "1.0.1-beta" + is expected not to satisfies "0.9.9+build" + is expected not to satisfies "1.0.0" + is expected not to satisfies "1.0.0+build" + is expected not to satisfies "1.0.0-alpha.2" is expected to satisfies "2.0.0" + is expected not to satisfies "1.0.0-alpha" + is expected to satisfies "1.0.1+build.2" + greater than or equal to (>) zero build constraint + is expected to satisfies "1.0.0-alpha.2" + is expected to satisfies "1.0.1" is expected to satisfies "1.0.0+build" - is expected to satisfies "1.0.0-alpha" + is expected to satisfies "1.0.0" + is expected to satisfies "1.0.1-beta" is expected to satisfies "1.0.1+build.2" + is expected to satisfies "1.0.0-alpha" + is expected to satisfies "2.0.0" + is expected to satisfies "0.9.9+build" + ClassMethods + ::new + fall sback to a default constraint if a blank string is provided + assigns the parsed operator to the operator attribute with no separation between operator and version + assigns the parsed version string as an instance of Version to the version attribute + returns a new instance of Constraint + assigns the parsed operator to the operator attribute + falls back to a default constraint if nil is provided + given a string that does not match the Constraint REGEXP + raises an InvalidConstraintFormat error + given a constraint that does not include a minor version (~>) + has a nil value for minor + has a nil value for patch + given a constraint that does not include a build version + has a nil value for build + given a constraint that does not include a patch version (~>) + has a nil value for patch + given a constraint that does not include a patch version (=) + has a 0 for patch + given a constraint that does not include a pre release version + has a nil value for pre release + given a constraint that does not include a minor version (=) + has a 0 for minor + ::split + given a string that does not match the Constraint REGEXP + raises an InvalidConstraintFormat error + given a constraint containing the elements (operator, major, minor, patch, pre_release) + returns an array with the patch version at index 3 + returns an array with the constraint operator at index 0 + returns an array with the major version in index 1 + returns an array with the pre release version at index 4 + returns an array with the minor version at index 2 + returns an array with a nil value at index 5 + given a constraint containing the elements (operator, major) + returns an array with the major version in index 1 + returns an array with a nil value at index 5 + returns an array with the constraint operator at index 0 + returns an array with a nil value at index 3 + returns an array with a nil value at index 2 + returns an array with a nil value at index 4 + given a constraint containing the elements (operator, major, minor, patch, pre_release, build) + returns an array with the build version at index 5 + returns an array with the constraint operator at index 0 + returns an array with the minor version at index 2 + returns an array with the pre release version at index 4 + returns an array with the major version in index 1 + returns an array with the patch version at index 3 + given a constraint containing the elements (operator, major, minor) + returns an array with a nil value at index 4 + returns an array with the major version in index 1 + returns an array with a nil value at index 5 + returns an array with a nil value at index 3 + returns an array with the minor version at index 2 + returns an array with the constraint operator at index 0 + given a constraint containing the elements (operator, major, minor, patch) + returns an array with the patch version at index 3 + returns an array with the constraint operator at index 0 + returns an array with a nil value at index 5 + returns an array with the minor version at index 2 + returns an array with the major version in index 1 + returns an array with a nil value at index 4 + given a constraint which is missing an operator + returns an equality operator at index 0 + given a string that does not contain an operator + returns a constraint constraint with a default operator (=) #== - returns false if the other object is a Semverse::Constraint with the same version and different operator returns true if the other object is a Semverse::Constraint with the same operator and version returns false if the other object is a Semverse::Constraint with the same operator and different version + returns false if the other object is a Semverse::Constraint with the same version and different operator returns false if the other object is not a Semverse::Constraint #to_s is expected to eq ">= 1.2.3-alpha+123" - when the constraint contains a pre_release value - is expected to eq ">= 1.2.0+123" when the constraint does not contain a minor or patch value is expected to eq "~> 1" + when the constraint contains a pre_release value + is expected to eq ">= 1.2.0+123" when the constraint does not contain a patch value is expected to eq "~> 1.2" when the constraint does not contain a build value is expected to eq ">= 1.2.0-alpha" -Finished in 0.28339 seconds (files took 0.17394 seconds to load) -445 examples, 0 failures - -Randomized with seed 20650 - -/usr/bin/ruby3.1 /usr/bin/gem2deb-test-runner - -┌──────────────────────────────────────────────────────────────────────────────┐ -│ Checking Rubygems dependency resolution on ruby3.1 │ -└──────────────────────────────────────────────────────────────────────────────┘ - -RUBYLIB=/build/reproducible-path/ruby-semverse-2.0.0/debian/ruby-semverse/usr/lib/ruby/vendor_ruby:. GEM_PATH=/build/reproducible-path/ruby-semverse-2.0.0/debian/ruby-semverse/usr/share/rubygems-integration/all:/var/lib/gems/3.1.0:/usr/local/lib/ruby/gems/3.1.0:/usr/lib/ruby/gems/3.1.0:/usr/lib/i386-linux-gnu/ruby/gems/3.1.0:/usr/share/rubygems-integration/3.1.0:/usr/share/rubygems-integration/all:/usr/lib/i386-linux-gnu/rubygems-integration/3.1.0 ruby3.1 -e gem\ \"semverse\" - -┌──────────────────────────────────────────────────────────────────────────────┐ -│ Run tests for ruby3.1 from debian/ruby-tests.rake │ -└──────────────────────────────────────────────────────────────────────────────┘ - -RUBYLIB=/build/reproducible-path/ruby-semverse-2.0.0/debian/ruby-semverse/usr/lib/ruby/vendor_ruby:. GEM_PATH=/build/reproducible-path/ruby-semverse-2.0.0/debian/ruby-semverse/usr/share/rubygems-integration/all:/var/lib/gems/3.1.0:/usr/local/lib/ruby/gems/3.1.0:/usr/lib/ruby/gems/3.1.0:/usr/lib/i386-linux-gnu/ruby/gems/3.1.0:/usr/share/rubygems-integration/3.1.0:/usr/share/rubygems-integration/all:/usr/lib/i386-linux-gnu/rubygems-integration/3.1.0 ruby3.1 -S rake --rakelibdir /gem2deb-nonexistent -f debian/ruby-tests.rake -/usr/bin/ruby3.1 -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 -Run options: include {:focus=>true} - -All examples were filtered out; ignoring {:focus=>true} - -Randomized with seed 46579 - Semverse::Version - #<=> - compares versions #pre_release? when a pre-release value is set is expected to equal true @@ -1522,81 +1436,203 @@ returns an array containing 4 elements returns 0 as the third element given a string only containing a major, minor and patch version + returns an array containing 4 elements returns nil as fourth element returns nil as fifth element - returns an array containing 4 elements given a string with only a major version returns 0 as the second element + returns 0 as the third element returns an array containing 3 elements converts the second element to 0 if it's nil or blank - returns 0 as the third element ::coerce returns an object of the desired class without any additional processing coerces a String to a Version object ::new - a three element array + an empty array doesn't assigns a build value + sets the minor value to 0 (zero) + doesn't assigns a pre_release value + sets the majro value to 0 (zero) + sets the patch value to 0 (zero) + a string containing a major, minor, and patch separated by periods assigns a minor value + doesn't assigns a pre_release value + assigns a major value + doesn't assigns a build value + assigns a patch value + a three element array + assigns a major value + doesn't assigns a build value + doesn't assigns a pre_release value assigns a patch value + assigns a minor value + a two element array + assigns a minor value doesn't assigns a pre_release value assigns a major value - an empty array + doesn't assigns a build value sets the patch value to 0 (zero) + a one element array + assigns the major value sets the minor value to 0 (zero) + sets the patch value to 0 (zero) doesn't assigns a pre_release value doesn't assigns a build value - sets the majro value to 0 (zero) a four element array - assigns a patch value - assigns a pre_release value - assigns a major value - assigns a minor value doesn't assigns a build value - a string containing a major, minor and patch separated by periods and a build assigns a major value + assigns a pre_release value assigns a minor value - doesn't assigns a pre_release value - assigns a patch value - assigns a build value - a five element array assigns a patch value - assigns a major value + a string containing a major, minor and patch separated by periods and a build doesn't assigns a pre_release value assigns a build value assigns a minor value - a string containing a major, minor and patch separated by periods a pre-release and a build + assigns a major value assigns a patch value + a five element array assigns a build value assigns a major value assigns a minor value + assigns a patch value + doesn't assigns a pre_release value + a string containing a major, minor and patch separated by periods a pre-release and a build + assigns a major value assigns a pre_release value + assigns a patch value + assigns a minor value + assigns a build value + #<=> + compares versions + #zero? + major, minor and patch are equal to 0 + is expected to equal true + major is not equal to 0 + is expected to equal false + patch is not equal to 0 + is expected to equal false + minor is not equal to 0 + is expected to equal false + +Finished in 0.73717 seconds (files took 0.46006 seconds to load) +445 examples, 0 failures + +Randomized with seed 47472 + +/usr/bin/ruby3.1 /usr/bin/gem2deb-test-runner + +┌──────────────────────────────────────────────────────────────────────────────┐ +│ Checking Rubygems dependency resolution on ruby3.1 │ +└──────────────────────────────────────────────────────────────────────────────┘ + +RUBYLIB=/build/reproducible-path/ruby-semverse-2.0.0/debian/ruby-semverse/usr/lib/ruby/vendor_ruby:. GEM_PATH=/build/reproducible-path/ruby-semverse-2.0.0/debian/ruby-semverse/usr/share/rubygems-integration/all:/var/lib/gems/3.1.0:/usr/local/lib/ruby/gems/3.1.0:/usr/lib/ruby/gems/3.1.0:/usr/lib/i386-linux-gnu/ruby/gems/3.1.0:/usr/share/rubygems-integration/3.1.0:/usr/share/rubygems-integration/all:/usr/lib/i386-linux-gnu/rubygems-integration/3.1.0 ruby3.1 -e gem\ \"semverse\" + +┌──────────────────────────────────────────────────────────────────────────────┐ +│ Run tests for ruby3.1 from debian/ruby-tests.rake │ +└──────────────────────────────────────────────────────────────────────────────┘ + +RUBYLIB=/build/reproducible-path/ruby-semverse-2.0.0/debian/ruby-semverse/usr/lib/ruby/vendor_ruby:. GEM_PATH=/build/reproducible-path/ruby-semverse-2.0.0/debian/ruby-semverse/usr/share/rubygems-integration/all:/var/lib/gems/3.1.0:/usr/local/lib/ruby/gems/3.1.0:/usr/lib/ruby/gems/3.1.0:/usr/lib/i386-linux-gnu/ruby/gems/3.1.0:/usr/share/rubygems-integration/3.1.0:/usr/share/rubygems-integration/all:/usr/lib/i386-linux-gnu/rubygems-integration/3.1.0 ruby3.1 -S rake --rakelibdir /gem2deb-nonexistent -f debian/ruby-tests.rake +/usr/bin/ruby3.1 -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 +Run options: include {:focus=>true} + +All examples were filtered out; ignoring {:focus=>true} + +Randomized with seed 64 + +Semverse::Version + #to_s + returns a string containing the major.minor.patch-pre_release+build + #pre_release? + when a pre-release value is set + is expected to equal true + when no pre-release value is set + is expected to equal false + ClassMethods + ::new a string containing a major, minor, and patch separated by periods + assigns a major value + assigns a patch value doesn't assigns a build value + doesn't assigns a pre_release value + assigns a minor value + a string containing a major, minor and patch separated by periods and a build + assigns a patch value + assigns a build value + assigns a minor value assigns a major value + doesn't assigns a pre_release value + a one element array + assigns the major value + sets the patch value to 0 (zero) + doesn't assigns a pre_release value + doesn't assigns a build value + sets the minor value to 0 (zero) + a string containing a major, minor and patch separated by periods a pre-release and a build + assigns a build value assigns a minor value assigns a patch value + assigns a pre_release value + assigns a major value + an empty array + sets the minor value to 0 (zero) + doesn't assigns a build value + sets the patch value to 0 (zero) + sets the majro value to 0 (zero) doesn't assigns a pre_release value a two element array + doesn't assigns a pre_release value + assigns a minor value sets the patch value to 0 (zero) + assigns a major value doesn't assigns a build value + a three element array + assigns a major value assigns a minor value + assigns a patch value doesn't assigns a pre_release value + doesn't assigns a build value + a four element array + assigns a pre_release value assigns a major value - a one element array - doesn't assigns a pre_release value - sets the patch value to 0 (zero) - sets the minor value to 0 (zero) - assigns the major value doesn't assigns a build value + assigns a patch value + assigns a minor value + a five element array + assigns a build value + assigns a patch value + doesn't assigns a pre_release value + assigns a major value + assigns a minor value + ::split + returns an array containing 5 elements + raises an InvalidVersionFormat error + given a string only containing a major, minor and patch version + returns nil as fifth element + returns nil as fourth element + returns an array containing 4 elements + given a string with only a major version + returns 0 as the third element + returns an array containing 3 elements + returns 0 as the second element + converts the second element to 0 if it's nil or blank + given a string only containing a major and minor version + returns 0 as the third element + returns an array containing 4 elements + converts the third element to 0 if it's nil or blank + ::coerce + returns an object of the desired class without any additional processing + coerces a String to a Version object #zero? major, minor and patch are equal to 0 is expected to equal true + minor is not equal to 0 + is expected to equal false patch is not equal to 0 is expected to equal false major is not equal to 0 is expected to equal false - minor is not equal to 0 - is expected to equal false + #<=> + compares versions Semverse::Constraint #to_s @@ -1605,445 +1641,445 @@ is expected to eq ">= 1.2.0+123" when the constraint does not contain a build value is expected to eq ">= 1.2.0-alpha" - when the constraint does not contain a minor or patch value - is expected to eq "~> 1" when the constraint does not contain a patch value is expected to eq "~> 1.2" + when the constraint does not contain a minor or patch value + is expected to eq "~> 1" + #== + returns true if the other object is a Semverse::Constraint with the same operator and version + returns false if the other object is not a Semverse::Constraint + returns false if the other object is a Semverse::Constraint with the same operator and different version + returns false if the other object is a Semverse::Constraint with the same version and different operator #satisfies? - is expected to satisfies # is expected to satisfies "1.0.0" - greater than or equal to (>) zero pre-release constraint - is expected to satisfies "0.9.9+build" - is expected to satisfies "1.0.0-alpha" + is expected to satisfies # + strictly greater than (>) is expected to satisfies "1.0.1" - is expected to satisfies "1.0.1+build.2" - is expected to satisfies "1.0.0+build" - is expected to satisfies "1.0.0-alpha.2" - is expected to satisfies "1.0.1-beta" - is expected to satisfies "1.0.0" + is expected not to satisfies "1.0.0-alpha" is expected to satisfies "2.0.0" - strictly less than (<) pre-release constraint - is expected not to satisfies "1.0.1" - is expected not to satisfies "1.0.1-beta" - is expected not to satisfies "1.0.0+build" - is expected not to satisfies "1.0.1+build.2" - is expected to satisfies "0.9.9+build" - is expected not to satisfies "1.0.0" - is expected not to satisfies "2.0.0" - is expected to satisfies "1.0.0-alpha" - is expected to satisfies "1.0.0-alpha.2" - greater than or equal to (>=) pre-release constraint is expected not to satisfies "0.9.9+build" - is expected to satisfies "1.0.1+build.2" - is expected to satisfies "1.0.1-beta" - is expected to satisfies "2.0.0" - is expected to satisfies "1.0.1" + is expected not to satisfies "1.0.1-beta" is expected to satisfies "1.0.0+build" + is expected to satisfies "1.0.1+build.2" + is expected not to satisfies "1.0.0" + is expected not to satisfies "1.0.0-alpha.2" + strictly less than (<) pre-release constraint + is expected not to satisfies "1.0.0" is expected to satisfies "1.0.0-alpha.2" - is expected to satisfies "1.0.0-alpha" - is expected to satisfies "1.0.0" - strictly less than (<) is expected not to satisfies "2.0.0" is expected to satisfies "0.9.9+build" - is expected not to satisfies "1.0.0+build" is expected to satisfies "1.0.0-alpha" - is expected not to satisfies "1.0.1-beta" - is expected not to satisfies "1.0.0" - is expected to satisfies "1.0.0-alpha.2" is expected not to satisfies "1.0.1" + is expected not to satisfies "1.0.0+build" is expected not to satisfies "1.0.1+build.2" - aproximately (~) - when the last value in the constraint is for build with a last non-numeric identifier and a pre-release - is expected not to satisfies "1.2.3" - is expected to satisfies "1.2.3-alpha+preview" - is expected to satisfies "1.2.3-alpha+zzz" - is expected not to satisfies "1.3.0" - is expected not to satisfies "1.2.3-alphb" - is expected not to satisfies "1.2.3-alpha" - is expected to satisfies "1.2.3-alpha+build.5" - is expected not to satisfies "1.2.3-alpha.4" - is expected to satisfies "1.2.3-alpha+build" - is expected not to satisfies "1.2.3-beta" - is expected not to satisfies "1.2.3-alpha.4+4" - when the last value in the constraint is for pre_release with a last numeric identifier - is expected to satisfies "1.2.3-4" - is expected not to satisfies "1.2.3" - is expected to satisfies "1.2.3-10.5+build.33" - is expected not to satisfies "1.2.3" - is expected to satisfies "1.2.3-10" + is expected not to satisfies "1.0.1-beta" + aproximately (~>) + when the last value in the constraint is for build with a last non-numeric identifier + is expected not to satisfies "1.2.5" + is expected not to satisfies "1.2.4-0" + is expected to satisfies "1.2.3+build" + is expected to satisfies "1.2.3+build.5" + is expected not to satisfies "1.2.3+5" is expected not to satisfies "1.2.4" is expected not to satisfies "1.2.3-alpha" + is expected not to satisfies "1.2.3" + is expected to satisfies "1.2.3+zzz" is expected not to satisfies "1.3.0" - is expected not to satisfies "1.2.3--" + is expected to satisfies "1.2.3+preview" when the last value in the constraint is for patch + is expected to satisfies "1.2.3" is expected not to satisfies "1.1.0" + is expected not to satisfies "1.2.3-alpha" + is expected not to satisfies "1.3.0-0" + is expected not to satisfies "1.3.0" is expected to satisfies "1.2.2" is expected to satisfies "1.2.5+build" - is expected not to satisfies "1.3.0-0" + when the last value in the constraint is for build with a last numeric identifier and a pre-release + is expected not to satisfies "1.2.3" + is expected not to satisfies "1.2.3-beta" + is expected to satisfies "1.2.3-alpha+10" + is expected not to satisfies "1.2.3-alpha.4" is expected not to satisfies "1.2.3-alpha" - is expected to satisfies "1.2.3" + is expected to satisfies "1.2.3-alpha+5" is expected not to satisfies "1.3.0" + is expected not to satisfies "1.2.3-alpha.4+4" + is expected to satisfies "1.2.3-alpha+5.5" + is expected not to satisfies "1.2.3-alpha+build" + is expected not to satisfies "1.2.3-alpha+-" when the last value in the constraint is for build with a last numeric identifier + is expected not to satisfies "1.2.3-alpha" + is expected not to satisfies "1.2.3+4" is expected not to satisfies "1.3.0" + is expected not to satisfies "1.2.3" is expected to satisfies "1.2.3+5" + is expected not to satisfies "1.2.3+build" + is expected to satisfies "1.2.3+99" is expected not to satisfies "1.2.3+-" is expected not to satisfies "1.2.3+5.build" - is expected not to satisfies "1.2.3-alpha" is expected not to satisfies "1.2.4" - is expected not to satisfies "1.2.3+4" - is expected to satisfies "1.2.3+99" - is expected not to satisfies "1.2.3+build" - is expected not to satisfies "1.2.3" when the last value in the constraint is for minor - is expected to satisfies "1.2.3+build" is expected to satisfies "1.3.0" + is expected to satisfies "1.2.3+build" is expected to satisfies "1.2.3" - is expected to satisfies "1.3" - is expected to satisfies "1.2.0" + is expected not to satisfies "2.0.0" is expected not to satisfies "1.2.0-alpha" - is expected not to satisfies "1.1.0" + is expected to satisfies "1.2.0" + is expected to satisfies "1.3" is expected not to satisfies "2.0.0-0" - is expected not to satisfies "2.0.0" + is expected not to satisfies "1.1.0" when the last value in the constraint is for pre_release with a last non-numeric identifier - is expected to satisfies "1.2.3-omega" - is expected to satisfies "1.2.3-alpha" - is expected to satisfies "1.2.3-omega.4" is expected to satisfies "1.2.3-alpha.0" - is expected to satisfies "1.2.3-beta" - is expected not to satisfies "1.3.0" - is expected not to satisfies "1.2.3--" - is expected not to satisfies "1.2.3" is expected not to satisfies "1.2.3-4" - when the last value in the constraint is for build with a last numeric identifier and a pre-release - is expected to satisfies "1.2.3-alpha+10" - is expected not to satisfies "1.2.3-alpha+-" + is expected not to satisfies "1.2.3--" is expected not to satisfies "1.3.0" - is expected to satisfies "1.2.3-alpha+5" - is expected to satisfies "1.2.3-alpha+5.5" - is expected not to satisfies "1.2.3-alpha+build" - is expected not to satisfies "1.2.3-alpha" + is expected to satisfies "1.2.3-omega.4" + is expected not to satisfies "1.2.3" + is expected to satisfies "1.2.3-beta" + is expected to satisfies "1.2.3-omega" + is expected to satisfies "1.2.3-alpha" + when the last value in the constraint is for build with a last non-numeric identifier and a pre-release + is expected to satisfies "1.2.3-alpha+zzz" + is expected to satisfies "1.2.3-alpha+build" is expected not to satisfies "1.2.3" - is expected not to satisfies "1.2.3-beta" is expected not to satisfies "1.2.3-alpha.4+4" + is expected to satisfies "1.2.3-alpha+preview" + is expected not to satisfies "1.3.0" + is expected to satisfies "1.2.3-alpha+build.5" + is expected not to satisfies "1.2.3-beta" is expected not to satisfies "1.2.3-alpha.4" - when the last value in the constraint is for build with a last non-numeric identifier - is expected to satisfies "1.2.3+zzz" - is expected not to satisfies "1.2.4" - is expected to satisfies "1.2.3+preview" - is expected not to satisfies "1.2.5" + is expected not to satisfies "1.2.3-alphb" + is expected not to satisfies "1.2.3-alpha" + when the last value in the constraint is for pre_release with a last numeric identifier is expected not to satisfies "1.2.3" - is expected not to satisfies "1.2.3+5" - is expected not to satisfies "1.3.0" - is expected not to satisfies "1.2.4-0" - is expected to satisfies "1.2.3+build" - is expected to satisfies "1.2.3+build.5" + is expected not to satisfies "1.2.3" + is expected not to satisfies "1.2.4" + is expected not to satisfies "1.2.3--" is expected not to satisfies "1.2.3-alpha" + is expected to satisfies "1.2.3-4" + is expected not to satisfies "1.3.0" + is expected to satisfies "1.2.3-10" + is expected to satisfies "1.2.3-10.5+build.33" greater than or equal to (>=) zero build constraint + is expected to satisfies "2.0.0" is expected to satisfies "0.9.9+build" is expected to satisfies "1.0.0-alpha.2" is expected to satisfies "1.0.0" is expected to satisfies "1.0.1+build.2" + is expected to satisfies "1.0.0+build" + is expected to satisfies "1.0.1-beta" + is expected to satisfies "1.0.0-alpha" + is expected to satisfies "1.0.1" + strictly greater than (>) build constraint + is expected not to satisfies "1.0.0+build" + is expected to satisfies "1.0.1" + is expected to satisfies "1.0.1+build.2" + is expected not to satisfies "1.0.1-beta" + is expected not to satisfies "1.0.0-alpha" is expected to satisfies "2.0.0" + is expected not to satisfies "1.0.0-alpha.2" + is expected not to satisfies "0.9.9+build" + is expected not to satisfies "1.0.0" + strictly greater than (>) pre-release constraint + is expected to satisfies "1.0.1" + is expected not to satisfies "0.9.9+build" + is expected to satisfies "1.0.0-alpha.2" + is expected not to satisfies "1.0.0-alpha" + is expected to satisfies "1.0.1+build.2" + is expected to satisfies "2.0.0" + is expected to satisfies "1.0.0" + is expected to satisfies "1.0.1-beta" + is expected to satisfies "1.0.0+build" + greater than or equal to (>=) zero pre-release constraint + is expected to satisfies "1.0.0" is expected to satisfies "1.0.0-alpha" + is expected to satisfies "0.9.9+build" + is expected to satisfies "1.0.0-alpha.2" + is expected to satisfies "1.0.1" + is expected to satisfies "2.0.0" + is expected to satisfies "1.0.1-beta" + is expected to satisfies "1.0.0+build" + is expected to satisfies "1.0.1+build.2" + strictly equal to (=) + is expected to satisfies "1.0.0" + is expected not to satisfies "1.0.1" + is expected not to satisfies "1.0.0-alpha" + is expected not to satisfies "0.9.9+build" + lower than or equal to (<=) pre-release constraint + is expected to satisfies "1.0.0-alpha" + is expected to satisfies "1.0.0" + is expected to satisfies "1.0.0-alpha.2" + is expected not to satisfies "1.0.1+build.2" + is expected not to satisfies "1.0.1" + is expected not to satisfies "1.0.0+build" + is expected not to satisfies "2.0.0" + is expected not to satisfies "1.0.1-beta" + is expected to satisfies "0.9.9+build" + lower than or equal to (<=) build constraint + is expected not to satisfies "2.0.0" + is expected not to satisfies "1.0.1+build.2" + is expected to satisfies "1.0.0+build" + is expected not to satisfies "1.0.1-beta" + is expected to satisfies "1.0.0-alpha.2" + is expected not to satisfies "1.0.1" + is expected to satisfies "1.0.0" + is expected to satisfies "0.9.9+build" + is expected to satisfies "1.0.0-alpha" + greater than or equal to (>) zero build constraint is expected to satisfies "1.0.1-beta" is expected to satisfies "1.0.1" + is expected to satisfies "1.0.1+build.2" + is expected to satisfies "1.0.0-alpha.2" + is expected to satisfies "1.0.0" + is expected to satisfies "2.0.0" is expected to satisfies "1.0.0+build" - aproximately (~>) - when the last value in the constraint is for build with a last non-numeric identifier and a pre-release - is expected to satisfies "1.2.3-alpha+zzz" - is expected not to satisfies "1.2.3" + is expected to satisfies "0.9.9+build" + is expected to satisfies "1.0.0-alpha" + greater than or equal to (>) zero constraint + is expected to satisfies "2.0.0" + is expected to satisfies "1.0.0" + is expected to satisfies "1.0.1+build.2" + is expected to satisfies "1.0.0-alpha.2" + is expected to satisfies "1.0.0+build" + is expected to satisfies "1.0.1" + is expected to satisfies "1.0.1-beta" + is expected to satisfies "0.9.9+build" + is expected to satisfies "1.0.0-alpha" + aproximately (~) + when the last value in the constraint is for build with a last non-numeric identifier + is expected to satisfies "1.2.3+zzz" + is expected not to satisfies "1.2.5" is expected not to satisfies "1.2.3-alpha" - is expected to satisfies "1.2.3-alpha+preview" + is expected not to satisfies "1.2.3+5" + is expected not to satisfies "1.2.4-0" + is expected to satisfies "1.2.3+build.5" + is expected not to satisfies "1.2.3" + is expected not to satisfies "1.2.4" + is expected not to satisfies "1.3.0" + is expected to satisfies "1.2.3+preview" + is expected to satisfies "1.2.3+build" + when the last value in the constraint is for build with a last numeric identifier and a pre-release + is expected to satisfies "1.2.3-alpha+5" + is expected not to satisfies "1.2.3-alpha.4+4" + is expected not to satisfies "1.3.0" + is expected to satisfies "1.2.3-alpha+5.5" + is expected not to satisfies "1.2.3-beta" + is expected not to satisfies "1.2.3-alpha+build" is expected not to satisfies "1.2.3-alpha.4" + is expected not to satisfies "1.2.3-alpha" + is expected not to satisfies "1.2.3-alpha+-" + is expected not to satisfies "1.2.3" + is expected to satisfies "1.2.3-alpha+10" + when the last value in the constraint is for build with a last non-numeric identifier and a pre-release + is expected not to satisfies "1.2.3-alpha" + is expected to satisfies "1.2.3-alpha+zzz" + is expected not to satisfies "1.3.0" is expected not to satisfies "1.2.3-beta" + is expected not to satisfies "1.2.3-alpha.4" + is expected not to satisfies "1.2.3-alpha.4+4" + is expected not to satisfies "1.2.3-alphb" is expected to satisfies "1.2.3-alpha+build" + is expected to satisfies "1.2.3-alpha+preview" is expected to satisfies "1.2.3-alpha+build.5" - is expected not to satisfies "1.2.3-alphb" - is expected not to satisfies "1.2.3-alpha.4+4" - is expected not to satisfies "1.3.0" - when the last value in the constraint is for minor - is expected not to satisfies "1.2.0-alpha" - is expected to satisfies "1.2.3" - is expected not to satisfies "1.1.0" - is expected to satisfies "1.2.3+build" - is expected to satisfies "1.2.0" - is expected not to satisfies "2.0.0-0" - is expected to satisfies "1.3.0" - is expected to satisfies "1.3" - is expected not to satisfies "2.0.0" + is expected not to satisfies "1.2.3" when the last value in the constraint is for build with a last numeric identifier - is expected not to satisfies "1.2.3+-" - is expected not to satisfies "1.2.3+build" - is expected not to satisfies "1.2.3+4" + is expected not to satisfies "1.2.3-alpha" is expected not to satisfies "1.2.4" - is expected not to satisfies "1.3.0" + is expected not to satisfies "1.2.3+4" + is expected to satisfies "1.2.3+99" is expected not to satisfies "1.2.3+5.build" + is expected not to satisfies "1.2.3+build" + is expected not to satisfies "1.2.3+-" is expected not to satisfies "1.2.3" + is expected not to satisfies "1.3.0" is expected to satisfies "1.2.3+5" - is expected not to satisfies "1.2.3-alpha" - is expected to satisfies "1.2.3+99" - when the last value in the constraint is for build with a last non-numeric identifier - is expected to satisfies "1.2.3+zzz" - is expected not to satisfies "1.2.3-alpha" - is expected not to satisfies "1.2.3+5" - is expected not to satisfies "1.2.3" - is expected to satisfies "1.2.3+preview" + when the last value in the constraint is for minor + is expected not to satisfies "1.2.0-alpha" + is expected to satisfies "1.2.0" + is expected not to satisfies "1.1.0" + is expected not to satisfies "2.0.0" + is expected to satisfies "1.2.3" + is expected to satisfies "1.3.0" + is expected not to satisfies "2.0.0-0" is expected to satisfies "1.2.3+build" - is expected to satisfies "1.2.3+build.5" - is expected not to satisfies "1.2.4" - is expected not to satisfies "1.2.4-0" - is expected not to satisfies "1.3.0" - is expected not to satisfies "1.2.5" + is expected to satisfies "1.3" when the last value in the constraint is for patch - is expected not to satisfies "1.2.3-alpha" - is expected not to satisfies "1.1.0" - is expected to satisfies "1.2.5+build" is expected to satisfies "1.2.3" + is expected to satisfies "1.2.5+build" + is expected not to satisfies "1.1.0" + is expected not to satisfies "1.2.3-alpha" + is expected not to satisfies "1.3.0-0" is expected not to satisfies "1.3.0" is expected to satisfies "1.2.2" - is expected not to satisfies "1.3.0-0" - when the last value in the constraint is for pre_release with a last numeric identifier - is expected to satisfies "1.2.3-4" - is expected to satisfies "1.2.3-10" - is expected not to satisfies "1.2.4" - is expected to satisfies "1.2.3-10.5+build.33" + when the last value in the constraint is for pre_release with a last non-numeric identifier is expected not to satisfies "1.3.0" - is expected not to satisfies "1.2.3-alpha" is expected not to satisfies "1.2.3--" + is expected to satisfies "1.2.3-alpha" is expected not to satisfies "1.2.3" - is expected not to satisfies "1.2.3" - when the last value in the constraint is for build with a last numeric identifier and a pre-release - is expected to satisfies "1.2.3-alpha+10" - is expected not to satisfies "1.2.3-alpha+-" - is expected not to satisfies "1.2.3" - is expected not to satisfies "1.3.0" - is expected not to satisfies "1.2.3-alpha.4" - is expected not to satisfies "1.2.3-alpha.4+4" - is expected not to satisfies "1.2.3-alpha" - is expected not to satisfies "1.2.3-alpha+build" - is expected not to satisfies "1.2.3-beta" - is expected to satisfies "1.2.3-alpha+5.5" - is expected to satisfies "1.2.3-alpha+5" - when the last value in the constraint is for pre_release with a last non-numeric identifier is expected to satisfies "1.2.3-omega" - is expected not to satisfies "1.3.0" - is expected not to satisfies "1.2.3--" + is expected to satisfies "1.2.3-omega.4" is expected to satisfies "1.2.3-alpha.0" + is expected to satisfies "1.2.3-beta" is expected not to satisfies "1.2.3-4" + when the last value in the constraint is for pre_release with a last numeric identifier + is expected to satisfies "1.2.3-10.5+build.33" is expected not to satisfies "1.2.3" - is expected to satisfies "1.2.3-beta" - is expected to satisfies "1.2.3-omega.4" - is expected to satisfies "1.2.3-alpha" + is expected not to satisfies "1.3.0" + is expected not to satisfies "1.2.4" + is expected not to satisfies "1.2.3--" + is expected to satisfies "1.2.3-4" + is expected not to satisfies "1.2.3-alpha" + is expected not to satisfies "1.2.3" + is expected to satisfies "1.2.3-10" lower than or equal to (<=) + is expected not to satisfies "1.0.1+build.2" + is expected not to satisfies "1.0.0-alpha.2" is expected not to satisfies "1.0.0" + is expected not to satisfies "1.0.1-beta" + is expected to satisfies "1.0.0-alpha" + is expected not to satisfies "1.0.1" is expected to satisfies "0.9.9+build" + is expected not to satisfies "1.0.0+build" is expected not to satisfies "2.0.0" - is expected not to satisfies "1.0.0-alpha.2" - is expected to satisfies "1.0.0-alpha" + strictly less than (<) is expected not to satisfies "1.0.1-beta" + is expected to satisfies "1.0.0-alpha" + is expected to satisfies "0.9.9+build" + is expected not to satisfies "1.0.0+build" is expected not to satisfies "1.0.1+build.2" is expected not to satisfies "1.0.1" - is expected not to satisfies "1.0.0+build" - greater than or equal to (>=) zero pre-release constraint - is expected to satisfies "0.9.9+build" - is expected to satisfies "1.0.1" - is expected to satisfies "1.0.1-beta" - is expected to satisfies "2.0.0" - is expected to satisfies "1.0.1+build.2" is expected to satisfies "1.0.0-alpha.2" - is expected to satisfies "1.0.0-alpha" - is expected to satisfies "1.0.0+build" - is expected to satisfies "1.0.0" - greater than or equal to (>) zero constraint - is expected to satisfies "1.0.1" - is expected to satisfies "1.0.1+build.2" - is expected to satisfies "1.0.1-beta" - is expected to satisfies "0.9.9+build" + is expected not to satisfies "2.0.0" + is expected not to satisfies "1.0.0" + greater than or equal to (>=) is expected to satisfies "1.0.0" - is expected to satisfies "1.0.0+build" - is expected to satisfies "1.0.0-alpha.2" - is expected to satisfies "2.0.0" - is expected to satisfies "1.0.0-alpha" - strictly greater than (>) pre-release constraint - is expected to satisfies "1.0.1" is expected not to satisfies "1.0.0-alpha" - is expected to satisfies "1.0.1-beta" is expected to satisfies "2.0.0" - is expected to satisfies "1.0.1+build.2" - is expected to satisfies "1.0.0" - is expected to satisfies "1.0.0-alpha.2" + is expected not to satisfies "1.0.0-alpha.2" is expected not to satisfies "0.9.9+build" is expected to satisfies "1.0.0+build" - lower than or equal to (<=) pre-release constraint - is expected not to satisfies "1.0.1+build.2" - is expected not to satisfies "2.0.0" - is expected to satisfies "1.0.0" + is expected to satisfies "1.0.1+build.2" + is expected not to satisfies "1.0.1-beta" + is expected to satisfies "1.0.1" + strictly less than (<) build constraint is expected to satisfies "1.0.0-alpha" + is expected to satisfies "1.0.0" is expected to satisfies "1.0.0-alpha.2" - is expected not to satisfies "1.0.0+build" - is expected not to satisfies "1.0.1-beta" is expected not to satisfies "1.0.1" + is expected not to satisfies "1.0.1-beta" is expected to satisfies "0.9.9+build" - greater than or equal to (>) zero build constraint + is expected not to satisfies "2.0.0" + is expected not to satisfies "1.0.1+build.2" is expected to satisfies "1.0.0+build" - is expected to satisfies "1.0.0-alpha.2" + greater than or equal to (>=) build constraint is expected to satisfies "1.0.1" - is expected to satisfies "1.0.0-alpha" - is expected to satisfies "1.0.0" - is expected to satisfies "0.9.9+build" - is expected to satisfies "2.0.0" - is expected to satisfies "1.0.1-beta" - is expected to satisfies "1.0.1+build.2" - strictly greater than (>) build constraint - is expected not to satisfies "0.9.9+build" - is expected not to satisfies "1.0.0-alpha" is expected not to satisfies "1.0.0-alpha.2" - is expected to satisfies "1.0.1+build.2" - is expected to satisfies "1.0.1" - is expected not to satisfies "1.0.0+build" is expected to satisfies "2.0.0" is expected not to satisfies "1.0.0" - is expected not to satisfies "1.0.1-beta" - greater than or equal to (>=) - is expected not to satisfies "1.0.0-alpha" is expected not to satisfies "0.9.9+build" - is expected not to satisfies "1.0.1-beta" - is expected to satisfies "1.0.0+build" - is expected to satisfies "1.0.0" - is expected to satisfies "2.0.0" - is expected to satisfies "1.0.1+build.2" - is expected not to satisfies "1.0.0-alpha.2" - is expected to satisfies "1.0.1" - strictly less than (<) build constraint - is expected to satisfies "1.0.0" is expected to satisfies "1.0.0+build" - is expected not to satisfies "2.0.0" - is expected not to satisfies "1.0.1+build.2" + is expected not to satisfies "1.0.0-alpha" is expected not to satisfies "1.0.1-beta" + is expected to satisfies "1.0.1+build.2" + greater than or equal to (>=) zero constraint is expected to satisfies "1.0.0-alpha" + is expected to satisfies "1.0.1+build.2" + is expected to satisfies "1.0.1" is expected to satisfies "0.9.9+build" - is expected to satisfies "1.0.0-alpha.2" - is expected not to satisfies "1.0.1" - lower than or equal to (<=) build constraint - is expected not to satisfies "1.0.1+build.2" - is expected to satisfies "1.0.0-alpha" + is expected to satisfies "1.0.1-beta" is expected to satisfies "1.0.0+build" - is expected to satisfies "1.0.0-alpha.2" - is expected not to satisfies "2.0.0" - is expected to satisfies "0.9.9+build" - is expected to satisfies "1.0.0" - is expected not to satisfies "1.0.1-beta" - is expected not to satisfies "1.0.1" - greater than or equal to (>=) zero constraint is expected to satisfies "1.0.0" - is expected to satisfies "0.9.9+build" - is expected to satisfies "1.0.1+build.2" - is expected to satisfies "1.0.0-alpha" - is expected to satisfies "1.0.1-beta" - is expected to satisfies "2.0.0" - is expected to satisfies "1.0.1" is expected to satisfies "1.0.0-alpha.2" - is expected to satisfies "1.0.0+build" - strictly greater than (>) - is expected not to satisfies "1.0.0" - is expected to satisfies "1.0.0+build" is expected to satisfies "2.0.0" - is expected to satisfies "1.0.1" - is expected not to satisfies "1.0.0-alpha" - is expected not to satisfies "1.0.0-alpha.2" + greater than or equal to (>=) pre-release constraint is expected to satisfies "1.0.1+build.2" - is expected not to satisfies "1.0.1-beta" is expected not to satisfies "0.9.9+build" - strictly equal to (=) - is expected not to satisfies "1.0.0-alpha" - is expected not to satisfies "1.0.1" is expected to satisfies "1.0.0" - is expected not to satisfies "0.9.9+build" - greater than or equal to (>=) build constraint - is expected not to satisfies "1.0.0-alpha" - is expected not to satisfies "0.9.9+build" + is expected to satisfies "1.0.0-alpha" is expected to satisfies "2.0.0" - is expected not to satisfies "1.0.0" - is expected not to satisfies "1.0.1-beta" + is expected to satisfies "1.0.1-beta" + is expected to satisfies "1.0.0+build" + is expected to satisfies "1.0.0-alpha.2" is expected to satisfies "1.0.1" - is expected not to satisfies "1.0.0-alpha.2" + greater than or equal to (>) zero pre-release constraint + is expected to satisfies "2.0.0" is expected to satisfies "1.0.0+build" + is expected to satisfies "1.0.1" + is expected to satisfies "1.0.0-alpha" is expected to satisfies "1.0.1+build.2" - #== - returns true if the other object is a Semverse::Constraint with the same operator and version - returns false if the other object is a Semverse::Constraint with the same operator and different version - returns false if the other object is a Semverse::Constraint with the same version and different operator - returns false if the other object is not a Semverse::Constraint + is expected to satisfies "1.0.0" + is expected to satisfies "1.0.0-alpha.2" + is expected to satisfies "0.9.9+build" + is expected to satisfies "1.0.1-beta" ClassMethods ::split - given a constraint containing the elements (operator, major, minor, patch, pre_release, build) - returns an array with the build version at index 5 - returns an array with the pre release version at index 4 - returns an array with the minor version at index 2 + given a constraint containing the elements (operator, major, minor, patch) returns an array with the constraint operator at index 0 - returns an array with the major version in index 1 + returns an array with a nil value at index 4 returns an array with the patch version at index 3 - given a constraint which is missing an operator - returns an equality operator at index 0 - given a constraint containing the elements (operator, major, minor) - returns an array with a nil value at index 5 - returns an array with the constraint operator at index 0 returns an array with the major version in index 1 - returns an array with a nil value at index 4 - returns an array with a nil value at index 3 returns an array with the minor version at index 2 + returns an array with a nil value at index 5 given a string that does not match the Constraint REGEXP raises an InvalidConstraintFormat error - given a constraint containing the elements (operator, major, minor, patch) + given a constraint containing the elements (operator, major, minor, patch, pre_release) returns an array with the constraint operator at index 0 - returns an array with the major version in index 1 - returns an array with a nil value at index 5 - returns an array with the patch version at index 3 - returns an array with a nil value at index 4 returns an array with the minor version at index 2 - given a string that does not contain an operator - returns a constraint constraint with a default operator (=) - given a constraint containing the elements (operator, major, minor, patch, pre_release) returns an array with the major version in index 1 returns an array with the patch version at index 3 - returns an array with a nil value at index 5 returns an array with the pre release version at index 4 - returns an array with the minor version at index 2 - returns an array with the constraint operator at index 0 + returns an array with a nil value at index 5 given a constraint containing the elements (operator, major) + returns an array with a nil value at index 2 returns an array with a nil value at index 3 returns an array with the major version in index 1 - returns an array with a nil value at index 2 + returns an array with a nil value at index 4 returns an array with the constraint operator at index 0 returns an array with a nil value at index 5 + given a constraint which is missing an operator + returns an equality operator at index 0 + given a constraint containing the elements (operator, major, minor) + returns an array with a nil value at index 3 + returns an array with the minor version at index 2 + returns an array with the constraint operator at index 0 returns an array with a nil value at index 4 + returns an array with a nil value at index 5 + returns an array with the major version in index 1 + given a string that does not contain an operator + returns a constraint constraint with a default operator (=) + given a constraint containing the elements (operator, major, minor, patch, pre_release, build) + returns an array with the build version at index 5 + returns an array with the patch version at index 3 + returns an array with the pre release version at index 4 + returns an array with the major version in index 1 + returns an array with the minor version at index 2 + returns an array with the constraint operator at index 0 ::new + assigns the parsed version string as an instance of Version to the version attribute returns a new instance of Constraint - assigns the parsed operator to the operator attribute with no separation between operator and version - fall sback to a default constraint if a blank string is provided assigns the parsed operator to the operator attribute + fall sback to a default constraint if a blank string is provided falls back to a default constraint if nil is provided - assigns the parsed version string as an instance of Version to the version attribute - given a string that does not match the Constraint REGEXP - raises an InvalidConstraintFormat error - given a constraint that does not include a minor version (=) - has a 0 for minor + assigns the parsed operator to the operator attribute with no separation between operator and version + given a constraint that does not include a build version + has a nil value for build given a constraint that does not include a minor version (~>) has a nil value for patch has a nil value for minor + given a constraint that does not include a minor version (=) + has a 0 for minor + given a string that does not match the Constraint REGEXP + raises an InvalidConstraintFormat error + given a constraint that does not include a pre release version + has a nil value for pre release given a constraint that does not include a patch version (~>) has a nil value for patch given a constraint that does not include a patch version (=) has a 0 for patch - given a constraint that does not include a build version - has a nil value for build - given a constraint that does not include a pre release version - has a nil value for pre release -Finished in 0.25851 seconds (files took 0.16525 seconds to load) +Finished in 0.59866 seconds (files took 0.39437 seconds to load) 445 examples, 0 failures -Randomized with seed 46579 +Randomized with seed 64 ┌──────────────────────────────────────────────────────────────────────────────┐ @@ -2082,12 +2118,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: including full source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/33475/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/33475/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/43834 and its subdirectories -I: Current time: Sat Feb 28 06:41:36 -12 2026 -I: pbuilder-time-stamp: 1772304096 +I: removing directory /srv/workspace/pbuilder/33475 and its subdirectories +I: Current time: Mon Jan 27 02:20:47 +14 2025 +I: pbuilder-time-stamp: 1737894047