Diff of the two buildlogs: -- --- b1/build.log 2025-01-20 20:55:18.142963619 +0000 +++ b2/build.log 2025-01-20 20:56:17.000303167 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Mon Jan 20 08:52:54 -12 2025 -I: pbuilder-time-stamp: 1737406374 +I: Current time: Mon Feb 23 17:18:19 +14 2026 +I: pbuilder-time-stamp: 1771816699 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration @@ -25,52 +25,84 @@ dpkg-source: info: applying remove-spork I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/1762655/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/2193592/tmp/hooks/D01_modify_environment starting +debug: Running on ionos15-amd64. +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 Feb 23 03:18 /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/2193592/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/2193592/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='amd64' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=20 ' - DISTRIBUTION='trixie' - HOME='/root' - HOST_ARCH='amd64' + 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]="x86_64-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=amd64 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=42 ' + DIRSTACK=() + DISTRIBUTION=trixie + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='a54610f57d824383bad0c7e4ab6cb13e' - 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='1762655' - PS1='# ' - PS2='> ' + INVOCATION_ID=8bc104b4dc9349ba95b6cc1a60b33fcd + LANG=C + LANGUAGE=et_EE:et + LC_ALL=C + MACHTYPE=x86_64-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=2193592 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.is5uS25V/pbuilderrc_UxBZ --distribution trixie --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.is5uS25V/b1 --logfile b1/build.log ruby-semverse_2.0.0-1.dsc' - SUDO_GID='110' - SUDO_UID='105' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://46.16.76.132: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.is5uS25V/pbuilderrc_bZmy --distribution trixie --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.is5uS25V/b2 --logfile b2/build.log ruby-semverse_2.0.0-1.dsc' + SUDO_GID=111 + SUDO_UID=106 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://213.165.73.152:3128 I: uname -a - Linux ionos1-amd64 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.11.10+bpo-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.11.10-1~bpo12+1 (2024-12-19) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Nov 22 14:40 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/1762655/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Nov 22 2024 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/2193592/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -260,7 +292,7 @@ Get: 146 http://deb.debian.org/debian trixie/main amd64 ruby-rspec-expectations all 3.13.0c0e0m0s1-2 [90.2 kB] Get: 147 http://deb.debian.org/debian trixie/main amd64 ruby-rspec-mocks all 3.13.0c0e0m0s1-2 [81.3 kB] Get: 148 http://deb.debian.org/debian trixie/main amd64 ruby-rspec all 3.13.0c0e0m0s1-2 [5184 B] -Fetched 56.0 MB in 18s (3158 kB/s) +Fetched 56.0 MB in 2s (24.3 MB/s) Preconfiguring packages ... Selecting previously unselected package libpython3.12-minimal:amd64. (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 ... 19856 files and directories currently installed.) @@ -755,8 +787,8 @@ Setting up tzdata (2024b-6) ... Current default time zone: 'Etc/UTC' -Local time is now: Mon Jan 20 20:54:39 UTC 2025. -Universal Time is now: Mon Jan 20 20:54:39 UTC 2025. +Local time is now: Mon Feb 23 03:19:00 UTC 2026. +Universal Time is now: Mon Feb 23 03:19:00 UTC 2026. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up autotools-dev (20220109.1) ... @@ -894,7 +926,11 @@ fakeroot is already the newest version (1.36.2-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/2193592/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/2193592/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 @@ -966,549 +1002,549 @@ All examples were filtered out; ignoring {:focus=>true} -Randomized with seed 11977 +Randomized with seed 42856 Semverse::Constraint #to_s is expected to eq ">= 1.2.3-alpha+123" - when the constraint does not contain a minor or patch value - is expected to eq "~> 1" when the constraint does not contain a build value is expected to eq ">= 1.2.0-alpha" - 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 does not contain a patch value is expected to eq "~> 1.2" + when the constraint contains a pre_release value + is expected to eq ">= 1.2.0+123" #satisfies? - is expected to satisfies # is expected to satisfies "1.0.0" - lower than or equal to (<=) pre-release constraint - is expected to satisfies "1.0.0-alpha.2" - is expected to satisfies "1.0.0" - 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" - 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 not to satisfies "1.0.1-beta" - greater than or equal to (>) zero pre-release constraint - is expected to satisfies "1.0.1+build.2" - is expected to satisfies "0.9.9+build" - is expected to satisfies "1.0.0+build" - 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.0" - is expected to satisfies "1.0.1-beta" - is expected to satisfies "2.0.0" - strictly greater than (>) build constraint - 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.0-alpha" - is expected not to satisfies "0.9.9+build" - is expected not to satisfies "1.0.0+build" - is expected not to satisfies "1.0.1-beta" + is expected to satisfies # + greater than or equal to (>) zero build constraint is expected to satisfies "1.0.1+build.2" is expected to satisfies "1.0.1" - is expected to satisfies "2.0.0" - greater than or equal to (>=) zero build constraint is expected to satisfies "1.0.1-beta" - is expected to satisfies "1.0.0-alpha" - is expected to satisfies "1.0.1" - is expected to satisfies "2.0.0" - 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 "0.9.9+build" - strictly equal to (=) - 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" - is expected to satisfies "1.0.0" - lower than or equal to (<=) - 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+build.2" - is expected not to satisfies "2.0.0" - is expected not to satisfies "1.0.1-beta" - is expected not to satisfies "1.0.1" - is expected not to satisfies "1.0.0-alpha.2" - is expected not to satisfies "1.0.0" - is expected to satisfies "0.9.9+build" - greater than or equal to (>=) - is expected not to satisfies "1.0.1-beta" - is expected not to satisfies "1.0.0-alpha.2" - 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 not to satisfies "0.9.9+build" - is expected to satisfies "1.0.1" - is expected to satisfies "1.0.0+build" - is expected not to satisfies "1.0.0-alpha" - greater than or equal to (>) zero build constraint - is expected to satisfies "1.0.1" is expected to satisfies "1.0.0-alpha.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.0" - is expected to satisfies "1.0.1+build.2" - is expected to satisfies "1.0.0+build" - is expected to satisfies "0.9.9+build" - greater than or equal to (>=) build constraint - 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.1" is expected to satisfies "2.0.0" - is expected not to satisfies "0.9.9+build" - 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-alpha" - is expected not to satisfies "1.0.0" - strictly less than (<) pre-release constraint - is expected not to satisfies "1.0.0" - 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.1" - is expected not to satisfies "1.0.1-beta" 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 not to satisfies "1.0.0+build" - aproximately (~>) - 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-beta" - 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-4" - 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-omega.4" + aproximately (~) when the last value in the constraint is for build with a last numeric identifier + 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 to satisfies "1.2.3+5" + is expected not to satisfies "1.2.4" 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 to satisfies "1.2.3+5" 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+99" - 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.3" - is expected not to satisfies "1.2.3-alpha" - is expected not to satisfies "1.3.0" - is expected not to satisfies "1.1.0" - is expected to satisfies "1.2.5+build" - is expected to satisfies "1.2.2" - 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" - is expected not to satisfies "1.2.3-alpha+-" - 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+build" - 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-beta" - 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" when the last value in the constraint is for minor is expected to satisfies "1.2.3+build" - is expected to satisfies "1.3" - is expected not to satisfies "1.1.0" - is expected not to satisfies "2.0.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" is expected not to satisfies "2.0.0" + is expected to satisfies "1.2.0" + is expected not to satisfies "1.2.0-alpha" + is expected not to satisfies "1.1.0" is expected to satisfies "1.3.0" - 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 not to satisfies "1.2.5" - is expected to satisfies "1.2.3+build" - is expected to satisfies "1.2.3+zzz" + is expected to satisfies "1.2.3" + is expected not to satisfies "2.0.0-0" + is expected to satisfies "1.3" + 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-alphb" + is expected not to satisfies "1.2.3-beta" 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+5" - is expected not to satisfies "1.2.4-0" - is expected not to satisfies "1.2.4" + is expected to satisfies "1.2.3-alpha+build.5" + is expected to satisfies "1.2.3-alpha+build" + is expected to satisfies "1.2.3-alpha+zzz" + is expected not to satisfies "1.2.3-alpha.4+4" + is expected not to satisfies "1.2.3-alpha.4" + is expected to satisfies "1.2.3-alpha+preview" + 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 to satisfies "1.2.3-beta" + is expected to satisfies "1.2.3-alpha.0" + is expected to satisfies "1.2.3-alpha" + is expected to satisfies "1.2.3-omega" + is expected not to satisfies "1.2.3-4" is expected not to satisfies "1.3.0" - is expected to satisfies "1.2.3+build.5" - 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 not to satisfies "1.2.3--" - is expected not to satisfies "1.2.3-alpha" + is expected not to satisfies "1.2.3" + is expected to satisfies "1.2.3-omega.4" + 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-4" + is expected not to satisfies "1.2.3--" is expected not to satisfies "1.3.0" - is expected not to satisfies "1.2.3" + is expected not to satisfies "1.2.4" + is expected not to satisfies "1.2.3-alpha" is expected to satisfies "1.2.3-10.5+build.33" + 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 build with a last non-numeric identifier + is expected not to satisfies "1.3.0" is expected not to satisfies "1.2.4" - 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-alphb" + is expected not to satisfies "1.2.4-0" + is expected to satisfies "1.2.3+build.5" + 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 to satisfies "1.2.3+build" + is expected to satisfies "1.2.3+preview" + is expected not to satisfies "1.2.5" is expected not to satisfies "1.2.3" - is expected not to satisfies "1.2.3-alpha.4+4" - is expected to satisfies "1.2.3-alpha+build.5" - is expected not to satisfies "1.2.3-alpha.4" + 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.3.0" - is expected to satisfies "1.2.3-alpha+preview" - is expected to satisfies "1.2.3-alpha+build" - is expected to satisfies "1.2.3-alpha+zzz" + is expected to satisfies "1.2.2" + is expected to satisfies "1.2.5+build" is expected not to satisfies "1.2.3-alpha" + is expected to satisfies "1.2.3" + is expected not to satisfies "1.1.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" + is expected not to satisfies "1.2.3-alpha.4" is expected not to satisfies "1.2.3-beta" - strictly greater than (>) - is expected not to satisfies "0.9.9+build" + is expected not to satisfies "1.2.3" + is expected not to satisfies "1.2.3-alpha+-" + is expected to satisfies "1.2.3-alpha+5" + is expected to satisfies "1.2.3-alpha+10" + is expected to satisfies "1.2.3-alpha+5.5" + is expected not to satisfies "1.3.0" + is expected not to satisfies "1.2.3-alpha+build" + is expected not to satisfies "1.2.3-alpha.4+4" + strictly less than (<) build constraint is expected to satisfies "1.0.0+build" + 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 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.1" + is expected to satisfies "1.0.0-alpha.2" + strictly greater than (>) 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+build" is expected not to satisfies "1.0.0-alpha" - is expected not to satisfies "1.0.0-alpha.2" + is expected to satisfies "2.0.0" + is expected to satisfies "1.0.0" is expected to satisfies "1.0.1" - is expected not to satisfies "1.0.0" + is expected to satisfies "1.0.1+build.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+build.2" - strictly less than (<) build constraint - is expected to satisfies "0.9.9+build" + is expected to satisfies "1.0.1" is expected to satisfies "1.0.0-alpha" - 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+build" + 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 to satisfies "1.0.0" + strictly less than (<) pre-release constraint + is expected to satisfies "1.0.0-alpha.2" + is expected not to satisfies "1.0.1+build.2" + is expected to satisfies "0.9.9+build" is expected not to satisfies "2.0.0" - is expected not to satisfies "1.0.1" - strictly less than (<) - 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 to satisfies "0.9.9+build" - is expected to satisfies "1.0.0-alpha.2" is expected not to satisfies "1.0.0" - is expected not to satisfies "1.0.1+build.2" + is expected to satisfies "1.0.0-alpha" + is expected not to satisfies "1.0.0+build" is expected not to satisfies "1.0.1" - is expected not to satisfies "2.0.0" - greater than or equal to (>=) zero constraint - is expected to satisfies "0.9.9+build" - is expected to satisfies "1.0.1+build.2" + greater than or equal to (>=) zero build constraint + is expected to satisfies "1.0.0+build" + is expected to satisfies "2.0.0" is expected to satisfies "1.0.1" is expected 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 "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" - greater than or equal to (>=) zero pre-release constraint + is expected to satisfies "1.0.0-alpha" is expected to satisfies "0.9.9+build" - is expected to satisfies "1.0.1-beta" + strictly greater than (>) build constraint is expected to satisfies "1.0.1" - is expected to satisfies "1.0.0" - is expected to satisfies "2.0.0" + 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 "1.0.0+build" - is expected to satisfies "1.0.0-alpha" - greater than or equal to (>=) pre-release constraint + is expected not to satisfies "1.0.0" + 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 "1.0.0-alpha" + is expected not to satisfies "1.0.0+build" + lower than or equal to (<=) + is expected not to satisfies "1.0.0-alpha.2" + is expected not to satisfies "1.0.1" + is expected not to satisfies "1.0.0" + is expected not to satisfies "1.0.1-beta" + 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" + is expected not to satisfies "1.0.0+build" + is expected not to satisfies "2.0.0" + strictly greater than (>) + is expected to satisfies "1.0.1" + 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" + is expected not to satisfies "1.0.0-alpha" is expected to satisfies "2.0.0" + is expected not 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.0" is expected to satisfies "1.0.1-beta" + is expected to satisfies "2.0.0" is expected to satisfies "1.0.0-alpha.2" - is expected to satisfies "1.0.0" - is expected not to satisfies "0.9.9+build" - is expected to satisfies "1.0.0+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" - lower than or equal to (<=) build constraint + is expected to satisfies "1.0.0+build" is expected to satisfies "0.9.9+build" + strictly less than (<) + is expected not to satisfies "1.0.1" is expected not to satisfies "2.0.0" - is expected 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.1-beta" + is expected not to satisfies "1.0.0" is expected to satisfies "1.0.0-alpha" + is expected not 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 to satisfies "0.9.9+build" + lower than or equal to (<=) build constraint + is expected not to satisfies "2.0.0" is expected to satisfies "1.0.0" - strictly greater than (>) pre-release constraint - is expected to satisfies "1.0.1" + is expected to satisfies "1.0.0-alpha.2" + is expected not to satisfies "1.0.1+build.2" + is expected to satisfies "1.0.0-alpha" + is expected not to satisfies "1.0.1" + is expected to satisfies "1.0.0+build" + is expected not to satisfies "1.0.1-beta" + is expected to satisfies "0.9.9+build" + strictly equal to (=) is expected to satisfies "1.0.0" - is expected not to satisfies "0.9.9+build" - is expected to satisfies "1.0.1+build.2" + is expected not to satisfies "1.0.1" is expected not to satisfies "1.0.0-alpha" - is expected to satisfies "2.0.0" + 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 not to satisfies "1.0.1+build.2" + is expected not to satisfies "1.0.1-beta" + is expected not to satisfies "2.0.0" + is expected to satisfies "1.0.0" + is expected not to satisfies "1.0.1" is expected to satisfies "1.0.0-alpha.2" - is expected to satisfies "1.0.0+build" + is expected not to satisfies "1.0.0+build" + is expected to satisfies "0.9.9+build" + greater than or equal to (>) zero pre-release constraint is expected to satisfies "1.0.1-beta" - aproximately (~) - when the last value in the constraint is for minor - is expected not to satisfies "2.0.0-0" - is expected to satisfies "1.2.3" - is expected not to satisfies "1.2.0-alpha" - is expected to satisfies "1.2.0" - is expected to satisfies "1.3" - is expected not to satisfies "2.0.0" - is expected to satisfies "1.2.3+build" - is expected to satisfies "1.3.0" - is expected not to satisfies "1.1.0" - when the last value in the constraint is for patch - is expected not to satisfies "1.3.0" - is expected to satisfies "1.2.5+build" - is expected not to satisfies "1.3.0-0" - is expected to satisfies "1.2.2" - is expected to satisfies "1.2.3" - is expected not to satisfies "1.1.0" - is expected not to satisfies "1.2.3-alpha" - when the last value in the constraint is for build with a last non-numeric identifier - is expected to satisfies "1.2.3+build.5" - is expected not to satisfies "1.2.3-alpha" - is expected to satisfies "1.2.3+zzz" - is expected to satisfies "1.2.3+build" - is expected not to satisfies "1.2.3+5" - is expected not to satisfies "1.2.4" + 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.0" + is expected to satisfies "1.0.1" + is expected to satisfies "2.0.0" + 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 numeric identifier and a pre-release is expected not to satisfies "1.2.3" - is expected not to satisfies "1.2.5" + 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-alpha.4" + is expected not to satisfies "1.2.3-alpha" + is expected to satisfies "1.2.3-alpha+5" + 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.3.0" - is expected to satisfies "1.2.3+preview" - is expected not to satisfies "1.2.4-0" + is expected not to satisfies "1.2.3-alpha.4+4" + is expected not to satisfies "1.2.3-beta" when the last value in the constraint is for pre_release with a last non-numeric identifier - 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-alpha" - is expected to satisfies "1.2.3-beta" - is expected to satisfies "1.2.3-omega" is expected not to satisfies "1.3.0" + is expected to satisfies "1.2.3-alpha.0" + is expected to satisfies "1.2.3-alpha" is expected to satisfies "1.2.3-omega.4" + is expected to satisfies "1.2.3-omega" + is expected to satisfies "1.2.3-beta" 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 not to satisfies "2.0.0" + is expected to satisfies "1.2.0" + is expected not to satisfies "1.2.0-alpha" + is expected to satisfies "1.3" + is expected not to satisfies "2.0.0-0" + is expected not to satisfies "1.1.0" + is expected 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+4" - is expected not to satisfies "1.2.4" is expected not to satisfies "1.2.3-alpha" - is expected to satisfies "1.2.3+99" - 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+5" + is expected to satisfies "1.2.3+99" + is expected not to satisfies "1.2.4" + is expected not to satisfies "1.2.3+-" + is expected not to satisfies "1.2.3+4" + is expected not to satisfies "1.2.3" is expected not to satisfies "1.3.0" - is expected not to satisfies "1.2.3+5.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+-" - 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" + when the last value in the constraint is for build with a last non-numeric identifier + is expected not to satisfies "1.2.4-0" + is expected not to satisfies "1.2.4" + is expected to satisfies "1.2.3+zzz" + is expected to satisfies "1.2.3+build.5" is expected not to satisfies "1.3.0" - is expected to satisfies "1.2.3-alpha+5" + is expected to satisfies "1.2.3+preview" + is expected to satisfies "1.2.3+build" + is expected not to satisfies "1.2.3-alpha" is expected not to satisfies "1.2.3" + is expected not to satisfies "1.2.5" + is expected not to satisfies "1.2.3+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+preview" + is expected not to satisfies "1.2.3-alpha" + 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+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 build with a last non-numeric identifier and a pre-release is expected to satisfies "1.2.3-alpha+build.5" 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.4+4" 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" is expected to satisfies "1.2.3-alpha+zzz" is expected not to satisfies "1.2.3-alphb" - is expected not to satisfies "1.2.3" - is expected not to satisfies "1.2.3-alpha.4" - 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 to satisfies "1.2.3-4" - is expected to satisfies "1.2.3-10.5+build.33" - 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" is expected not to satisfies "1.2.3--" is expected to satisfies "1.2.3-10" + is expected to satisfies "1.2.3-10.5+build.33" + is expected not to satisfies "1.2.4" + is expected not to satisfies "1.2.3-alpha" + is expected to satisfies "1.2.3-4" is expected not to satisfies "1.2.3" + when the last value in the constraint is for patch is expected not to satisfies "1.3.0" - is expected not to satisfies "1.2.3" - greater than or equal to (>) zero constraint + is expected not to satisfies "1.3.0-0" + is expected to satisfies "1.2.5+build" + is expected to satisfies "1.2.2" + is expected not to satisfies "1.2.3-alpha" + is expected not to satisfies "1.1.0" + is expected to satisfies "1.2.3" + greater than or equal to (>=) zero constraint + is expected to satisfies "1.0.1+build.2" + is expected to satisfies "1.0.0+build" + 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-alpha.2" is expected to satisfies "1.0.0" - is expected to satisfies "1.0.1+build.2" + is expected to satisfies "1.0.1-beta" + is expected to satisfies "1.0.1" is expected to satisfies "0.9.9+build" + greater than or equal to (>=) build constraint + is expected not to satisfies "0.9.9+build" + is expected not to satisfies "1.0.0-alpha.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" + is expected to satisfies "1.0.0+build" is expected to satisfies "1.0.1" + is expected not to satisfies "1.0.0" + is expected to satisfies "2.0.0" + greater than or equal to (>=) pre-release constraint + is expected not to satisfies "0.9.9+build" + 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 to satisfies "1.0.1-beta" + is expected to satisfies "1.0.1+build.2" + is expected to satisfies "1.0.1" + is expected to satisfies "2.0.0" + greater than or equal to (>=) + is expected not to satisfies "1.0.0-alpha.2" + is expected to satisfies "1.0.1" + 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" + 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 to satisfies "1.0.0+build" ClassMethods ::split 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 a nil value at index 5 returns an array with the constraint operator at index 0 - 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 major version in index 1 - given a constraint containing the elements (operator, major, minor, patch) - returns an array with a nil value at index 5 - returns an array with a nil value 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 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 given a constraint containing the elements (operator, major, minor) - 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 constraint operator at index 0 - returns an array with the major version in index 1 returns an array with a nil value at index 3 - returns an array with a nil value at index 4 - given a constraint containing the elements (operator, major) + 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 4 returns an array with the major version in index 1 + 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 (=) + given a constraint containing the elements (operator, major) 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 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 5 - returns an array with a nil value at index 3 - given a string that does not contain an operator - returns a constraint constraint with a default operator (=) - 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, pre_release, build) - returns an array with the major version in index 1 returns an array with the constraint operator at index 0 - returns an array with the build version at index 5 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 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 + given a constraint containing the elements (operator, major, minor, patch) + returns an array with a nil value 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 the patch version at index 3 + 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 match the Constraint REGEXP raises an InvalidConstraintFormat error ::new - assigns the parsed operator to the operator attribute with no separation between operator and version - 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 version string as an instance of Version to the version attribute + assigns the parsed operator to the operator attribute fall sback to a default constraint if a blank string is provided + returns a new instance of Constraint + 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 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 given a constraint that does not include a patch version (~>) has a nil value for patch - 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 pre release version - has a nil value for pre release given a constraint that does not include a patch version (=) has a 0 for patch + given a string that does not match the Constraint REGEXP + raises an InvalidConstraintFormat error 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 #== 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 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 version and different operator Semverse::Version #pre_release? - when no pre-release value is set - is expected to equal false when a pre-release value is set is expected to equal true - #zero? - minor is not equal to 0 + when no pre-release value is set is expected to equal false + #<=> + compares versions + #to_s + returns a string containing the major.minor.patch-pre_release+build + #zero? patch is not equal to 0 is expected to equal false - major, minor and patch are equal to 0 - is expected to equal true major is not equal to 0 is expected to equal false - #to_s - returns a string containing the major.minor.patch-pre_release+build + minor is not equal to 0 + is expected to equal false + major, minor and patch are equal to 0 + is expected to equal true ClassMethods + ::split + returns an array containing 5 elements + raises an InvalidVersionFormat error + given a string only containing a major and minor version + returns 0 as the third element + converts the third element to 0 if it's nil or blank + returns an array containing 4 elements + given a string only containing a major, minor and patch version + returns nil as fourth element + returns an array containing 4 elements + returns nil as fifth element + given a string with only a major version + converts the second element to 0 if it's nil or blank + returns an array containing 3 elements + returns 0 as the third element + returns 0 as the second element ::coerce coerces a String to a Version object returns an object of the desired class without any additional processing ::new - a four element array + 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 + assigns a build value + assigns a minor value assigns a pre_release value + a one element array + assigns the major value + doesn't assigns a pre_release value + sets the minor value to 0 (zero) doesn't assigns a build value + sets the patch value to 0 (zero) + a string containing a major, minor and patch separated by periods and a build assigns a minor value + doesn't assigns a pre_release value assigns a patch value assigns a major value + assigns a build value a three element array - assigns a major value assigns a minor value - doesn't assigns a pre_release value - doesn't assigns a build value assigns a patch value - a string containing a major, minor and patch separated by periods and a build assigns a major value - assigns a patch value - 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 doesn't assigns a build value + a four element array assigns a patch value - doesn't assigns a pre_release value - assigns a major value assigns a minor value - a one element array - assigns the major value - sets the minor value to 0 (zero) doesn't assigns a build value - sets the patch value to 0 (zero) - 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 build value assigns a major value - assigns a patch value assigns a pre_release value - assigns a minor value - a two element array + an empty array sets the patch value to 0 (zero) + doesn't assigns a build value + sets the minor 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 + doesn't assigns a build value assigns a major value + sets the patch value to 0 (zero) assigns a minor value - doesn't assigns a build value a five element array + assigns a major value assigns a minor value assigns a patch value - assigns a build value - assigns a major value doesn't assigns a pre_release value - an empty array + assigns a build value + a string containing a major, minor, and patch separated by periods + assigns a patch value + assigns a minor value doesn't assigns a pre_release value - sets the majro value to 0 (zero) - sets the minor value to 0 (zero) - sets the patch value to 0 (zero) + assigns a major value doesn't assigns a build value - ::split - raises an InvalidVersionFormat error - returns an array containing 5 elements - given a string with only a major version - converts the second element to 0 if it's nil or blank - returns 0 as the second element - returns an array containing 3 elements - returns 0 as the third element - given a string only containing a major and minor version - converts the third element to 0 if it's nil or blank - returns 0 as the third element - returns an array containing 4 elements - given a string only containing a major, minor and patch version - returns nil as fourth element - returns nil as fifth element - returns an array containing 4 elements - #<=> - compares versions -Finished in 0.50035 seconds (files took 0.51326 seconds to load) +Finished in 0.22391 seconds (files took 0.17115 seconds to load) 445 examples, 0 failures -Randomized with seed 11977 +Randomized with seed 42856 /usr/bin/ruby3.3 /usr/bin/gem2deb-test-runner @@ -1528,549 +1564,549 @@ All examples were filtered out; ignoring {:focus=>true} -Randomized with seed 53689 - -Semverse::Version - #pre_release? - when no pre-release value is set - is expected to equal false - when a pre-release value is set - is expected to equal true - #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 - minor is not equal to 0 - is expected to equal false - major is not equal to 0 - is expected to equal false - patch is not equal to 0 - is expected to equal false - ClassMethods - ::split - raises an InvalidVersionFormat error - returns an array containing 5 elements - given a string with only a major version - returns 0 as the second element - converts the second element to 0 if it's nil or blank - returns 0 as the third element - returns an array containing 3 elements - given a string only containing a major, minor and patch version - returns nil as fifth element - returns an array containing 4 elements - returns nil as fourth element - given a string only containing a major and minor version - converts the third element to 0 if it's nil or blank - returns 0 as the third element - returns an array containing 4 elements - ::coerce - coerces a String to a Version object - returns an object of the desired class without any additional processing - ::new - a one element array - assigns the major value - sets the minor value to 0 (zero) - doesn't assigns a build value - doesn't assigns a pre_release value - sets the patch value to 0 (zero) - a string containing a major, minor, and patch separated by periods - assigns a patch value - assigns a major value - assigns a minor value - doesn't assigns a pre_release value - doesn't assigns a build value - a string containing a major, minor and patch separated by periods a pre-release and a build - assigns a pre_release value - assigns a build value - assigns a minor value - assigns a patch value - assigns a major value - an empty array - sets the minor value to 0 (zero) - sets the majro value to 0 (zero) - doesn't assigns a pre_release value - sets the patch value to 0 (zero) - doesn't assigns a build value - a three element array - doesn't assigns a build value - assigns a patch value - assigns a minor value - doesn't assigns a pre_release value - assigns a major value - a five element array - assigns a build value - assigns a major value - assigns a patch value - doesn't assigns a pre_release value - assigns a minor value - a two element array - doesn't assigns a build value - assigns a major value - doesn't assigns a pre_release value - sets the patch value to 0 (zero) - assigns a minor value - a four element array - assigns a minor value - assigns a pre_release value - assigns a major value - assigns a patch value - doesn't assigns a build value - a string containing a major, minor and patch separated by periods and a build - assigns a patch value - assigns a minor value - assigns a major value - assigns a build value - doesn't assigns a pre_release value - #<=> - compares versions +Randomized with seed 19402 Semverse::Constraint #== - 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 returns true if the other object is a Semverse::Constraint with the same operator and version - #to_s - is expected to eq ">= 1.2.3-alpha+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" - ClassMethods - ::new - assigns the parsed operator to the operator attribute - assigns the parsed version string as an instance of Version to the version attribute - returns a new instance of Constraint - 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 - fall sback to a default constraint if a blank string is provided - given a constraint that does not include a patch version (=) - has a 0 for patch - 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 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 minor version (=) - has a 0 for minor - given a constraint that does not include a build version - has a nil value for build - given a string that does not match the Constraint REGEXP - raises an InvalidConstraintFormat error - ::split - 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 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 - returns an array with the major version in index 1 - returns an array with the minor version at index 2 - given a constraint containing the elements (operator, major) - returns an array with a nil value at index 5 - returns an array with a nil value at index 3 - returns an array with a nil value at index 4 - returns an array with the major version in index 1 - returns an array with the constraint operator at index 0 - returns an array with a nil value 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) - returns an array with the minor version at index 2 - returns an array with a nil value at index 4 - 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 constraint operator at index 0 - returns an array with a nil value at index 5 - 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 patch version at index 3 - 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 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 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 minor version at index 2 - returns an array with the major version in index 1 - 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 3 - returns an array with a nil value at index 5 + returns false if the other object is a Semverse::Constraint with the same version and different operator + returns false if the other object is a Semverse::Constraint with the same operator and different version + returns false if the other object is not a Semverse::Constraint #satisfies? is expected to satisfies # is expected to satisfies "1.0.0" - greater than or equal to (>=) - is expected not to satisfies "1.0.0-alpha.2" + lower than or equal to (<=) build constraint + 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 not to satisfies "1.0.1-beta" + 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" + is expected to satisfies "1.0.0-alpha" + is expected to satisfies "1.0.0" + 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+build.2" + is expected to satisfies "1.0.1-beta" + is expected to satisfies "1.0.0" + is expected to satisfies "2.0.0" + is expected to satisfies "1.0.0-alpha.2" + is expected to satisfies "1.0.0+build" is expected not to satisfies "0.9.9+build" + greater than or equal to (>=) zero 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 to satisfies "1.0.0+build" + is expected to satisfies "1.0.1+build.2" is expected to satisfies "1.0.1" - is expected not to satisfies "1.0.1-beta" + is expected to satisfies "1.0.1-beta" + is expected to satisfies "0.9.9+build" + is expected to satisfies "2.0.0" + greater than or equal to (>=) zero pre-release constraint + is expected to satisfies "1.0.1-beta" 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-alpha.2" is expected to satisfies "2.0.0" + is expected to satisfies "1.0.1" + is expected to satisfies "1.0.0-alpha" is expected to satisfies "1.0.0+build" + greater than or equal to (>) zero build constraint is expected to satisfies "1.0.0" - greater than or equal to (>=) zero constraint - is expected to satisfies "1.0.1-beta" 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+build" + is expected to satisfies "1.0.0-alpha.2" + is expected to satisfies "1.0.1" + is expected to satisfies "0.9.9+build" + is expected to satisfies "1.0.0-alpha" + strictly equal to (=) + is expected not to satisfies "1.0.1" + is expected not to satisfies "0.9.9+build" + is expected not to satisfies "1.0.0-alpha" 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 "1.0.1" is expected to satisfies "1.0.0-alpha.2" + 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 "2.0.0" + is expected to satisfies "1.0.1+build.2" + is expected 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 "2.0.0" + is expected to satisfies "1.0.1" is expected to satisfies "0.9.9+build" is expected to satisfies "1.0.0-alpha" 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 not to satisfies "1.2.3-beta" - is expected to satisfies "1.2.3-alpha+zzz" - 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 not to satisfies "1.2.3" - is expected to satisfies "1.2.3-alpha+preview" + is expected to satisfies "1.0.1-beta" + is expected to satisfies "1.0.0-alpha.2" + is expected to satisfies "1.0.0" + strictly greater than (>) build constraint + is expected not to satisfies "1.0.0" + is expected to satisfies "1.0.1+build.2" + is expected to satisfies "2.0.0" + is expected not to satisfies "1.0.0-alpha" + is expected to satisfies "1.0.1" + is expected not to satisfies "0.9.9+build" + is expected not 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" + greater than or equal to (>=) zero build constraint + is expected to satisfies "1.0.0" + is expected to satisfies "1.0.0+build" + 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 "1.0.0-alpha" + is expected to satisfies "1.0.0-alpha.2" + is expected to satisfies "2.0.0" + is expected to satisfies "0.9.9+build" + strictly greater than (>) + is expected not to satisfies "0.9.9+build" + is expected to satisfies "1.0.0+build" + is expected to satisfies "1.0.1" + is expected not 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 "2.0.0" + is expected to satisfies "1.0.1+build.2" + is expected not to satisfies "1.0.0-alpha" + aproximately (~) + when the last value in the constraint is for patch 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-alphb" - is expected to satisfies "1.2.3-alpha+build" - when the last value in the constraint is for minor is expected not to satisfies "1.1.0" - is expected not to satisfies "2.0.0-0" is expected to satisfies "1.2.3" - is expected not to satisfies "1.2.0-alpha" - is expected not to satisfies "2.0.0" - is expected to satisfies "1.2.0" - is expected to satisfies "1.3.0" - is expected to satisfies "1.3" - is expected to satisfies "1.2.3+build" + is expected to satisfies "1.2.5+build" + is expected to satisfies "1.2.2" + is expected not to satisfies "1.2.3-alpha" + 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 not to satisfies "1.2.3" is expected not to satisfies "1.3.0" 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 not to satisfies "1.2.4" - is expected to satisfies "1.2.3-10" is expected not to satisfies "1.2.3-alpha" is expected to satisfies "1.2.3-4" - when the last value in the constraint is for patch + is expected not to satisfies "1.2.4" + 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-10" + when the last value in the constraint is for minor + is expected not to satisfies "2.0.0-0" + is expected to satisfies "1.3" + is expected to satisfies "1.3.0" + is expected not to satisfies "2.0.0" is expected not to satisfies "1.1.0" - is expected not to satisfies "1.3.0" - is expected to satisfies "1.2.2" is expected to satisfies "1.2.3" - is expected to satisfies "1.2.5+build" - is expected not to satisfies "1.2.3-alpha" - 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-beta" + is expected not to satisfies "1.2.0-alpha" + is expected to satisfies "1.2.3+build" + is expected to satisfies "1.2.0" + 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-alpha+10" - is expected not to satisfies "1.2.3" - 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.4" - is expected not to satisfies "1.2.3-alpha+build" - 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.3.0" - 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 not to satisfies "1.2.3+5.build" - 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 not to satisfies "1.2.3+-" + is expected not to satisfies "1.2.3" + is expected not to satisfies "1.2.3+build" is expected to satisfies "1.2.3+99" + is expected to satisfies "1.2.3+5" 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" when the last value in the constraint is for build with a last non-numeric identifier - is expected not to satisfies "1.2.3" - is expected to satisfies "1.2.3+zzz" - is expected to satisfies "1.2.3+build" - is expected not to satisfies "1.2.5" is expected not to satisfies "1.2.4-0" - is expected to satisfies "1.2.3+preview" + is expected not to satisfies "1.3.0" + is expected not to satisfies "1.2.3-alpha" is expected not to satisfies "1.2.4" + is expected to satisfies "1.2.3+preview" + is expected to satisfies "1.2.3+zzz" + is expected to satisfies "1.2.3+build" 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.5" + is expected not to satisfies "1.2.5" + is expected not to satisfies "1.2.3" + 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.4+4" + is expected not to satisfies "1.2.3-beta" + is expected not to satisfies "1.2.3-alphb" + 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" 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+zzz" + is expected to satisfies "1.2.3-alpha+build" 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-4" + is expected to satisfies "1.2.3-omega.4" is expected to satisfies "1.2.3-beta" + is expected not to satisfies "1.2.3" is expected to satisfies "1.2.3-alpha.0" - is expected not to satisfies "1.2.3-4" + is expected to satisfies "1.2.3-omega" is expected to satisfies "1.2.3-alpha" is expected not to satisfies "1.2.3--" - is expected to satisfies "1.2.3-omega.4" - is expected to satisfies "1.2.3-omega" - is expected not to satisfies "1.3.0" + 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-alpha+-" + is expected to satisfies "1.2.3-alpha+5.5" + is expected not to satisfies "1.2.3-alpha+build" + 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.2.3-alpha.4" is expected not to satisfies "1.2.3" - lower than or equal to (<=) 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.1+build.2" + is expected not to satisfies "1.2.3-beta" + is expected not to satisfies "1.3.0" + strictly less than (<) pre-release constraint is expected not to satisfies "2.0.0" - is expected to satisfies "1.0.0" - is expected to satisfies "1.0.0-alpha" - is expected not to satisfies "1.0.0+build" - is expected to satisfies "1.0.0-alpha.2" - is expected to satisfies "0.9.9+build" - lower than or equal to (<=) build constraint - is expected to satisfies "1.0.0-alpha" - 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-alpha.2" - is expected to satisfies "0.9.9+build" - is expected not to satisfies "1.0.1" - is expected not to satisfies "2.0.0" - is expected to satisfies "1.0.0" - is expected to satisfies "1.0.0+build" - strictly less than (<) is expected not to satisfies "1.0.1" is expected not to satisfies "1.0.0+build" is expected not to satisfies "1.0.0" - 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 to satisfies "0.9.9+build" + 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-alpha.2" - greater than or equal to (>) zero constraint is expected to satisfies "1.0.0-alpha" - 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" - 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 to satisfies "1.0.0-alpha.2" - strictly greater than (>) - is expected not to satisfies "1.0.0-alpha" - is expected 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 not to satisfies "1.0.0-alpha.2" - is expected to satisfies "1.0.1" - is expected not to satisfies "0.9.9+build" - is expected to satisfies "2.0.0" - is expected not to satisfies "1.0.0" - strictly greater than (>) pre-release constraint - is expected to satisfies "1.0.0+build" - 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 "1.0.0-alpha" - is expected to satisfies "2.0.0" - is expected to satisfies "1.0.0-alpha.2" - is expected to satisfies "1.0.1" - is expected to satisfies "1.0.1+build.2" greater than or equal to (>) zero pre-release constraint - is expected to satisfies "1.0.1+build.2" - is expected to satisfies "1.0.1-beta" - is expected to satisfies "1.0.0-alpha" - is expected to satisfies "2.0.0" - is expected to satisfies "1.0.1" is expected to satisfies "1.0.0+build" - is expected to satisfies "0.9.9+build" - is expected to satisfies "1.0.0" is expected to satisfies "1.0.0-alpha.2" - lower than or equal to (<=) - is expected to satisfies "1.0.0-alpha" - is expected not to satisfies "1.0.0+build" - is expected not to satisfies "1.0.1+build.2" - 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" - is expected not to satisfies "1.0.0" - is expected not to satisfies "1.0.0-alpha.2" - is expected not to satisfies "1.0.1" - greater than or equal to (>=) zero pre-release constraint - 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.0" is expected to satisfies "2.0.0" - is expected to satisfies "1.0.1" - is expected to satisfies "0.9.9+build" - is expected to satisfies "1.0.1-beta" - greater than or equal to (>=) pre-release constraint - is expected to satisfies "2.0.0" - is expected not 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" is expected to satisfies "1.0.1-beta" - is expected to satisfies "1.0.0+build" - is expected to satisfies "1.0.1" - is expected to satisfies "1.0.1+build.2" - strictly less than (<) pre-release constraint - is expected not to satisfies "2.0.0" is expected to satisfies "1.0.0-alpha" is expected to satisfies "0.9.9+build" - is expected not to satisfies "1.0.1-beta" - is expected not to satisfies "1.0.0+build" - is expected to satisfies "1.0.0-alpha.2" - is expected not to satisfies "1.0.0" - is expected not to satisfies "1.0.1" - is expected not to satisfies "1.0.1+build.2" - strictly less than (<) build constraint - is expected not to satisfies "1.0.1" - is expected not to satisfies "2.0.0" - is expected to satisfies "1.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.1+build.2" - is expected to satisfies "1.0.0-alpha.2" - is expected to satisfies "0.9.9+build" - is expected to satisfies "1.0.0+build" - greater than or equal to (>) zero build constraint - is expected to satisfies "2.0.0" - 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.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" - greater than or equal to (>=) build constraint - is expected to satisfies "2.0.0" - is expected not to satisfies "1.0.0" is expected to satisfies "1.0.1+build.2" - is expected not to satisfies "1.0.0-alpha" + lower than or equal to (<=) is expected not to satisfies "1.0.1-beta" - is expected to satisfies "1.0.0+build" - is expected not to satisfies "0.9.9+build" - is expected to satisfies "1.0.1" - is expected not to satisfies "1.0.0-alpha.2" - greater than or equal to (>=) zero build constraint - 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 "0.9.9+build" - 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 not to satisfies "1.0.1+build.2" + is expected not to satisfies "1.0.0+build" is expected to satisfies "1.0.0-alpha" - is expected to satisfies "1.0.0" - strictly greater than (>) build constraint - is expected not to satisfies "1.0.0-alpha" is expected not to satisfies "1.0.0-alpha.2" - is expected not to satisfies "1.0.1-beta" is expected not to satisfies "1.0.0" - is expected to satisfies "2.0.0" - is expected to satisfies "1.0.1" - 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.0+build" - 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" - aproximately (~) + is expected to satisfies "0.9.9+build" + is expected not to satisfies "2.0.0" + aproximately (~>) when the last value in the constraint is for build with a last non-numeric identifier + 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.5" - is expected not to satisfies "1.2.4" - 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 not to satisfies "1.2.3" is expected to satisfies "1.2.3+zzz" + 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 to satisfies "1.2.3+preview" - 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-alphb" - is expected to satisfies "1.2.3-alpha+preview" + is expected not to satisfies "1.2.4" + is expected not to satisfies "1.2.3+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-alpha+-" + is expected not to satisfies "1.2.3-alpha" + 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.2.3-beta" + is expected not to satisfies "1.2.3-alpha.4" is expected not to satisfies "1.2.3" + is expected to satisfies "1.2.3-alpha+5.5" is expected not to satisfies "1.3.0" - is expected to satisfies "1.2.3-alpha+build.5" + is expected to satisfies "1.2.3-alpha+10" + is expected not to satisfies "1.2.3-alpha+build" + 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-alpha" + is expected not to satisfies "1.2.3-alphb" is expected to satisfies "1.2.3-alpha+build" + is expected not to satisfies "1.3.0" + is expected not to satisfies "1.2.3" + is expected to satisfies "1.2.3-alpha+build.5" + is expected not to satisfies "1.2.3-beta" + is expected to satisfies "1.2.3-alpha+preview" is expected not to satisfies "1.2.3-alpha.4+4" 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-beta" when the last value in the constraint is for minor + is expected to satisfies "1.3" is expected not to satisfies "1.2.0-alpha" - is expected not to satisfies "1.1.0" - is expected to satisfies "1.2.3" - is expected not to satisfies "2.0.0" is expected to satisfies "1.2.3+build" - is expected to satisfies "1.2.0" + is expected to satisfies "1.2.3" is expected not to satisfies "2.0.0-0" - is expected to satisfies "1.3" is expected to satisfies "1.3.0" + is expected not to satisfies "2.0.0" + is expected to satisfies "1.2.0" + is expected not to satisfies "1.1.0" 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-alpha" - is expected to satisfies "1.2.3-10" - is expected not to satisfies "1.3.0" is expected to satisfies "1.2.3-4" - is expected not to satisfies "1.2.3--" is expected not to satisfies "1.2.3" - 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 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--" + is expected not to satisfies "1.2.4" + is expected to satisfies "1.2.3-10" 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-alpha.4" - 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+10" - is expected not to satisfies "1.2.3-alpha+-" - 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-beta" - 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 to satisfies "1.2.3-alpha" - is expected not to satisfies "1.2.3--" - is expected not to satisfies "1.2.3-4" - 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 to satisfies "1.2.3-omega" 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+5.build" is expected not to satisfies "1.2.3" + 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+-" is expected not to satisfies "1.2.3+4" - is expected not to satisfies "1.2.3-alpha" - 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+5.build" - is expected not to satisfies "1.2.3+-" - is expected to satisfies "1.2.3+5" is expected not to satisfies "1.3.0" + 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 patch - is expected to satisfies "1.2.3" - is expected to satisfies "1.2.5+build" is expected to satisfies "1.2.2" + is expected to satisfies "1.2.5+build" + is expected to satisfies "1.2.3" is expected not to satisfies "1.3.0" - is expected not to satisfies "1.3.0-0" - is expected not to satisfies "1.1.0" is expected not to satisfies "1.2.3-alpha" + is expected not to satisfies "1.1.0" + is expected not to satisfies "1.3.0-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" + is expected not to satisfies "1.2.3-4" + is expected to satisfies "1.2.3-omega" + is expected to satisfies "1.2.3-alpha.0" + 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" + 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 not to satisfies "1.0.0" + is expected not to satisfies "1.0.1-beta" + is expected to satisfies "1.0.1" + 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.0+build" + is expected to satisfies "2.0.0" + strictly less than (<) build constraint + is expected not to satisfies "1.0.1" + is expected to satisfies "1.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 "2.0.0" + is expected to satisfies "1.0.0-alpha" + 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" + strictly less than (<) + is expected not to satisfies "1.0.0+build" + 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-beta" + 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" + is expected to satisfies "0.9.9+build" + is expected to satisfies "1.0.0-alpha" + greater than or equal to (>=) + is expected to satisfies "1.0.0+build" + is expected not to satisfies "1.0.1-beta" + is expected to satisfies "1.0.1" + is expected to satisfies "1.0.1+build.2" + is expected not to satisfies "1.0.0-alpha" + is expected not to satisfies "1.0.0-alpha.2" + is expected to satisfies "2.0.0" + is expected to satisfies "1.0.0" + is expected not to satisfies "0.9.9+build" + lower than or equal to (<=) pre-release constraint + is expected not 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.1+build.2" + is expected to satisfies "1.0.0" + 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" + is expected to satisfies "1.0.0-alpha.2" + ClassMethods + ::split + given a constraint containing the elements (operator, major) + 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 5 + returns an array with a nil value at index 3 + returns an array with a nil value at index 2 + 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 major version in index 1 + 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 + 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 pre release version at index 4 + 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 major version in index 1 + 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 the patch version at index 3 + 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 constraint operator at index 0 + returns an array with the minor version at index 2 + given a constraint containing the elements (operator, major, minor) + 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 constraint operator at index 0 + returns an array with the major version in index 1 + returns an array with a nil value at index 3 + given a string that does not contain an operator + returns a constraint constraint with a default operator (=) + given a string that does not match the Constraint REGEXP + raises an InvalidConstraintFormat error + ::new + 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 + fall sback to a default constraint if a blank string is provided + returns a new instance of Constraint + assigns the parsed version string as an instance of Version to the version attribute + assigns the parsed operator to the operator attribute + 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 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 minor version (~>) + has a nil value for patch + has a nil value for minor + 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 + given a constraint that does not include a patch version (~>) + has a nil value for patch + #to_s + is expected to eq ">= 1.2.3-alpha+123" + when the constraint does not contain a minor or patch value + is expected to eq "~> 1" + when the constraint does not contain a build value + is expected to eq ">= 1.2.0-alpha" + 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" + +Semverse::Version + #<=> + compares versions + #to_s + returns a string containing the major.minor.patch-pre_release+build + #zero? + minor is not equal to 0 + is expected to equal false + major is not equal to 0 + is expected to equal false + major, minor and patch are equal to 0 + is expected to equal true + patch 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 + ClassMethods + ::coerce + coerces a String to a Version object + returns an object of the desired class without any additional processing + ::new + a three element array + assigns a major value + doesn't assigns a pre_release value + assigns a patch value + doesn't assigns a build value + assigns a minor value + a five element array + doesn't assigns a pre_release value + assigns a minor value + assigns a patch value + assigns a build value + assigns a major value + a four element array + assigns a patch value + assigns a major value + assigns a pre_release value + doesn't assigns a build value + assigns a minor value + a string containing a major, minor and patch separated by periods and a build + doesn't assigns a pre_release value + assigns a patch value + assigns a build value + assigns a major value + assigns a minor value + a string containing a major, minor, and patch separated by periods + doesn't assigns a build value + doesn't assigns a pre_release value + assigns a major value + assigns a minor value + assigns a patch value + a one element array + doesn't assigns a build value + sets the patch value to 0 (zero) + sets the minor value to 0 (zero) + assigns the major 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 patch value + assigns a build value + assigns a pre_release value + assigns a minor value + assigns a major value + an empty array + sets the majro value to 0 (zero) + sets the minor value to 0 (zero) + doesn't assigns a pre_release value + sets the patch value to 0 (zero) + doesn't assigns a build value + a two element array + doesn't assigns a pre_release value + assigns a major value + doesn't assigns a build value + assigns a minor value + sets the patch value to 0 (zero) + ::split + raises an InvalidVersionFormat error + returns an array containing 5 elements + 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 + given a string only containing a major and minor version + returns an array containing 4 elements + returns 0 as the third element + converts the third element to 0 if it's nil or blank + given a string with only a major version + converts the second element to 0 if it's nil or blank + returns 0 as the second element + returns 0 as the third element + returns an array containing 3 elements -Finished in 0.34279 seconds (files took 0.27937 seconds to load) +Finished in 0.23385 seconds (files took 0.16027 seconds to load) 445 examples, 0 failures -Randomized with seed 53689 +Randomized with seed 19402 ┌──────────────────────────────────────────────────────────────────────────────┐ @@ -2109,12 +2145,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/2193592/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/2193592/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/1762655 and its subdirectories -I: Current time: Mon Jan 20 08:55:17 -12 2025 -I: pbuilder-time-stamp: 1737406517 +I: removing directory /srv/workspace/pbuilder/2193592 and its subdirectories +I: Current time: Mon Feb 23 17:19:16 +14 2026 +I: pbuilder-time-stamp: 1771816756